@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1e3a5f;
    --primary-dark: #0f2440;
    --secondary: #2c5282;
    --accent: #3498db;
    --accent-hover: #2980b9;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #2d3748;
    --text-light: #718096;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 20px;
}

.home-promo-badge {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(220, 53, 69, 0.28);
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.96);
    color: var(--text-white);
    box-shadow: 0 14px 34px rgba(7, 23, 46, 0.16);
    cursor: pointer;
    backdrop-filter: blur(10px);
    animation: promoBadgePulse 2s ease-in-out infinite;
}

.home-promo-badge:hover {
    transform: translateY(-2px);
    animation-play-state: paused;
}

.home-promo-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
    animation: promoBadgeDot 1.8s ease-in-out infinite;
}

.home-promo-badge-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes promoBadgePulse {
    0%, 100% { box-shadow: 0 14px 34px rgba(7, 23, 46, 0.16); }
    50% { box-shadow: 0 14px 34px rgba(7, 23, 46, 0.16), 0 0 0 8px rgba(220, 53, 69, 0.12); }
}

@keyframes promoBadgeDot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.32); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    color: var(--accent);
}

.navbar ul {
    display: flex;
    gap: 30px;
}

.navbar a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.navbar a:hover {
    color: var(--accent);
}

.navbar .nav-access-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.22);
}

.navbar .nav-access-link:hover,
.navbar .nav-access-link:focus-visible {
    background: var(--accent-hover);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(41, 128, 185, 0.28);
}

.navbar .nav-access-link:focus-visible {
    outline: 3px solid rgba(52, 152, 219, 0.28);
    outline-offset: 3px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 36, 64, 0.96) 0%, rgba(44, 82, 130, 0.9) 100%);
    overflow: hidden;
}

#inicio,
#nosotros,
#servicios,
#porque,
#contacto {
    scroll-margin-top: 95px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px;
    opacity: 0.5;
}

.hero-slider-track {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-slide-copy {
    color: var(--text-white);
    max-width: 680px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-slide-copy h1,
.hero-slide-copy h2 {
    font-size: clamp(1.9rem, 3.2vw, 3.2rem);
    line-height: 1.12;
    margin-bottom: 18px;
    color: var(--text-white);
    text-wrap: balance;
}

.hero-slide-copy p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-slide-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.hero-slide-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 36, 64, 0.06) 0%, rgba(15, 36, 64, 0.18) 100%);
    pointer-events: none;
}

.hero-slide-media img {
    display: block;
    width: 100%;
    height: clamp(280px, 48vh, 560px);
    object-fit: cover;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(15, 36, 64, 0.55);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    background: rgba(52, 152, 219, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--accent);
    transform: scale(1.15);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: stretch;
}

.home-intro-card,
.home-visual-card {
    background: var(--bg-white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
    height: 100%;
}

.home-intro-card h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.home-intro-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.home-keypoints {
    display: grid;
    gap: 12px;
}

.home-keypoints li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-dark);
}

.home-keypoints i {
    color: var(--accent);
    margin-top: 4px;
}

.home-visual-card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.06) 0%, rgba(52, 152, 219, 0.08) 100%);
}

.home-visual-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 340px;
}

.home-visual-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.home-visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(15, 36, 64, 0) 0%, rgba(15, 36, 64, 0.82) 100%);
    color: var(--text-white);
}

.home-visual-overlay h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.home-visual-overlay p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

.home-visual-card .btn {
    margin-top: auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

#servicios.section .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-link {
    display: flex;
    height: 100%;
    color: inherit;
}

.service-card-link:hover {
    transform: translateY(-6px);
}

#servicios.section .service-card {
    min-height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-media {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

#porque .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background:
        linear-gradient(135deg, rgba(15, 36, 64, 0.94) 0%, rgba(44, 82, 130, 0.88) 100%),
        url('../assets/images/fondo.jpeg') center/cover no-repeat;
    color: var(--text-white);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 50px;
    opacity: 0.45;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: stretch;
}

.page-hero-copy,
.page-hero-media {
    height: 100%;
}

.page-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 18px;
}

.page-hero-copy p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin-bottom: 28px;
}

.page-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-hero-badges span,
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
}

.page-hero-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.page-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.content-block {
    padding: 80px 0;
}

.content-block.alt {
    background: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.content-card {
    background: var(--bg-white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card h2,
.content-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
}

.content-card p,
.content-card li {
    color: var(--text-light);
}

.content-card ul {
    display: grid;
    gap: 12px;
}

.content-card li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.content-card li i {
    color: var(--accent);
    margin-top: 4px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 22px 24px;
    border-left: 4px solid var(--accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-item h3 {
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-light);
}

.service-callout {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 22px;
    padding: 32px;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-callout h2,
.service-callout h3,
.service-callout p {
    color: var(--text-white);
}

.service-callout .btn {
    margin-top: 12px;
}

.service-callout .btn,
.home-stats-card .btn,
.content-card .btn {
    margin-top: auto;
}

.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-about span {
    color: var(--accent);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

#infoModal .modal-content {
    max-width: 420px;
    padding: 30px;
}

#infoModal .modal-header {
    margin-bottom: 20px;
}

#infoModal .form-group {
    margin-bottom: 14px;
}

#infoModal textarea {
    min-height: 120px;
}

#infoModal .alert {
    margin-bottom: 14px;
    padding: 12px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 36, 64, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    z-index: 2;
    touch-action: manipulation;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-light);
}

.promo-modal-content {
    max-width: 920px;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(52, 152, 219, 0.14), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(15, 76, 144, 0.08);
    box-shadow: 0 24px 70px rgba(7, 23, 46, 0.22);
}

.promo-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.promo-modal-media {
    position: relative;
    min-height: 100%;
    background: #0f4c90;
}

.promo-modal-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

.promo-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 23, 46, 0.06) 0%, rgba(7, 23, 46, 0.28) 100%);
}

.promo-modal-media-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(7, 23, 46, 0.18);
}

.promo-modal-body {
    position: relative;
    padding: 32px 34px;
}

.promo-modal-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(52, 152, 219, 0.12);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.promo-modal-header {
    padding-right: 28px;
    margin-bottom: 20px;
}

.promo-modal-header h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.08;
    margin-bottom: 12px;
    color: var(--primary);
}

.promo-modal-header p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.promo-modal-points {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.promo-modal-point {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(15, 76, 144, 0.05);
    color: var(--text-dark);
}

.promo-modal-point i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.promo-modal-point span {
    font-weight: 500;
    line-height: 1.45;
}

.promo-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-modal-actions .btn {
    flex: 1 1 180px;
}

.promo-modal-actions .btn-primary {
    background: linear-gradient(180deg, #4aa3e6 0%, #3498db 100%);
    color: #ffffff;
    border: 1px solid rgba(52, 152, 219, 0.55);
    box-shadow: 0 10px 22px rgba(52, 152, 219, 0.22);
}

.promo-modal-actions .btn-primary:hover,
.promo-modal-actions .btn-primary:focus,
.promo-modal-actions .btn-primary:active {
    background: linear-gradient(180deg, #5bb0ea 0%, #429fe0 100%);
    color: #ffffff;
    border-color: rgba(52, 152, 219, 0.68);
    box-shadow: 0 12px 24px rgba(52, 152, 219, 0.28);
}

.promo-modal-actions .btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: var(--primary);
    border: 1px solid rgba(30, 58, 95, 0.18);
    box-shadow: 0 10px 22px rgba(15, 36, 64, 0.08);
}

.promo-modal-actions .btn-secondary:hover,
.promo-modal-actions .btn-secondary:focus,
.promo-modal-actions .btn-secondary:active {
    background: linear-gradient(180deg, #edf6ff 0%, #e6f1fd 100%);
    color: var(--primary);
    border-color: rgba(30, 58, 95, 0.34);
    transform: none;
    box-shadow: 0 10px 18px rgba(15, 36, 64, 0.12);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .modal {
        align-items: flex-start;
        padding: 12px;
        overflow-y: auto;
    }

    .promo-modal-layout {
        grid-template-columns: 1fr;
    }

    .promo-modal-media {
        min-height: 200px;
    }

    .promo-modal-body {
        padding: 24px 26px;
    }

    .promo-modal-content {
        max-width: 560px;
        width: 100%;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 12px;
    }

    .promo-modal-content {
        max-height: none;
        overflow: hidden;
        width: 100%;
    }

    .promo-modal-layout {
        grid-template-columns: 1fr;
    }

    .promo-modal-media {
        display: none;
    }

    .promo-modal-body {
        padding: 22px 18px;
    }

    .modal-close {
        top: 8px;
        right: 8px;
        width: 44px;
        height: 44px;
    }

    .promo-modal-header {
        padding-right: 16px;
        margin-bottom: 14px;
    }

    .promo-modal-header h2 {
        font-size: 1.4rem;
    }

    .promo-modal-header p {
        font-size: 0.9rem;
    }

    .promo-modal-points {
        gap: 8px;
        margin-bottom: 14px;
    }

    .promo-modal-point {
        padding: 9px 12px;
        gap: 10px;
    }

    .promo-modal-point i {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }

    .promo-modal-point:last-child {
        display: none;
    }

    .promo-modal-actions {
        gap: 8px;
        margin-top: 8px;
    }

    .promo-modal-actions .btn {
        width: 100%;
        flex-basis: 100%;
        padding: 10px 16px;
    }

    .home-promo-badge {
        max-width: calc(100vw - 20px);
        white-space: normal;
        text-align: center;
        gap: 8px;
    }

    .home-promo-badge-text {
        white-space: normal;
    }
}

@media (max-width: 992px) {
    .hero-dots {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin: 18px 0 0;
        justify-content: center;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group .password-wrapper {
    position: relative;
}

.form-group .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
}

.form-group .password-toggle:hover {
    color: var(--primary);
}

.form-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: var(--accent);
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.contact-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: var(--primary);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-white);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-container > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
    transition: var(--transition);
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.legal-page {
    padding-top: 120px;
}

.legal-container {
    max-width: 900px;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.legal-container h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.legal-container h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.legal-container p {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.cookies-table th,
.cookies-table td {
    border: 1px solid var(--border);
    padding: 10px;
    text-align: left;
}

.cookies-table th {
    background: var(--bg-light);
    color: var(--primary);
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-check input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.privacy-check label {
    margin-bottom: 0;
    font-weight: 400;
}

.privacy-check a {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .hero,
    .hero-slider-track {
        min-height: auto;
        height: auto;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-slider-track {
        display: block;
        width: 100%;
    }

    .hero-slide {
        position: relative;
        inset: auto;
        display: none;
        align-items: flex-start;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-slide.active {
        display: flex;
    }

    .hero-slide-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-slide-copy h1,
    .hero-slide-copy h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-slide-media {
        order: -1;
    }
    
    .hero-slide-media img {
        height: 360px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    #porque .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero-inner,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-media {
        order: -1;
    }

    .home-intro-grid {
        grid-template-columns: 1fr;
    }

    .home-visual-media,
    .home-visual-media img {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        gap: 15px;
    }

    .navbar .nav-access-item {
        width: 100%;
        padding-top: 4px;
    }

    .navbar .nav-access-link {
        width: 100%;
        padding: 12px 18px;
    }
    
    .header-buttons {
        display: none;
    }
    
    .hero-slide-copy h1,
    .hero-slide-copy h2 {
        font-size: 2rem;
    }

    .hero {
        background-position: 60% center;
    }

    .hero-slider-track {
        position: relative;
    }

    .hero-slide {
        padding-top: 96px;
        padding-bottom: 48px;
    }

    .hero-slide-media img {
        height: 260px;
    }

    .home-promo-badge {
        top: 78px;
        right: 14px;
        padding: 9px 12px;
    }

    #nosotros.section,
    #servicios.section,
    #porque.section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    #contacto.cta-section {
        padding: 60px 0;
    }

    .page-hero {
        padding: 100px 0 70px;
    }

    .home-visual-media,
    .home-visual-media img {
        min-height: 240px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        position: static;
        transform: none;
        width: 100%;
        justify-content: center;
        margin-top: 18px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    #servicios.section .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 22px;
    }

    .service-media {
        height: 152px;
    }

    .service-icon {
        width: 62px;
        height: 62px;
        margin-bottom: 17px;
    }

    .service-icon i {
        font-size: 1.55rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    #porque .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-badges {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-social {
        justify-content: center;
        display: flex;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        padding-top: 88px;
        padding-bottom: 42px;
    }

    .hero-slide-copy h1,
    .hero-slide-copy h2 {
        font-size: 1.75rem;
    }

    .hero-slide-copy p {
        font-size: 1rem;
    }

    .hero-slide-media img {
        height: 220px;
    }

    .home-promo-badge {
        top: 74px;
        right: 10px;
        padding: 6px 8px;
        gap: 6px;
    }

    .home-promo-badge-text {
        font-size: 0.66rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    #servicios.section .service-card {
        padding: 26px 18px;
    }

    .service-media {
        height: 136px;
        margin-bottom: 16px;
    }

    .service-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 15px;
    }

    .service-icon i {
        font-size: 1.45rem;
    }

    .service-card h3 {
        font-size: 1.06rem;
        line-height: 1.25;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .modal-content {
        padding: 30px 20px;
    }

    .content-card,
    .service-callout,
    .faq-item {
        padding: 22px;
    }

    .legal-container {
        padding: 25px;
    }

    #infoModal .modal-content {
        padding: 22px 18px;
        max-height: 90vh;
        overflow-y: auto;
    }
}
