:root {
    --primary: hsl(157, 28%, 28%);
    --primary-dark: hsl(157, 35%, 18%);
    --primary-light: hsl(157, 35%, 38%);
    --accent: hsl(43, 89%, 38%);
    --accent-light: hsl(43, 89%, 88%);
    --cream: #FDFBF7;
    --gray-100: #F7F5F2;
    --gray-200: #E8E4DE;
    --gray-600: #6B6560;
    --gray-800: #3D3A36;
    --black: #1A1918;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, hsl(157, 35%, 38%), hsl(157, 28%, 28%));
    --gradient-warm: linear-gradient(135deg, hsl(43, 89%, 68%), hsl(43, 89%, 48%));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-800);
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px hsla(157, 28%, 28%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px hsla(157, 28%, 28%, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--black);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

/* Dropdown "Más" */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray-800);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s;
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.nav-dropdown-toggle svg {
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0.3rem 0;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    color: var(--primary);
    background: none;
}

.header-cta {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center 30%, rgba(250, 248, 245, 0.45) 0%, transparent 65%),
        linear-gradient(180deg,
            rgba(250, 248, 245, 0.35) 0%,
            rgba(250, 248, 245, 0.5) 20%,
            rgba(250, 248, 245, 0.65) 45%,
            rgba(250, 248, 245, 0.82) 70%,
            rgba(250, 248, 245, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 2rem 3rem;
}

.hero-tagline {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(250, 248, 245, 0.85);
    border: 1px solid rgba(58, 90, 64, 0.2);
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.7s 0.15s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    font-weight: 500;
    line-height: 1.18;
    color: var(--black);
    max-width: 660px;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeInUp 0.7s 0.3s ease forwards;
}

.hero-title span {
    font-style: italic;
    color: #3a5a40;
    -webkit-text-fill-color: #3a5a40;
    background: none;
}

.hero-title-line2 {
    font-style: normal !important;
    color: var(--black) !important;
    -webkit-text-fill-color: var(--black) !important;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.15vw, 1.02rem);
    font-weight: 400;
    line-height: 1.75;
    color: rgba(45, 45, 45, 0.8);
    max-width: 470px;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeInUp 0.7s 0.45s ease forwards;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.7s 0.6s ease forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    animation: fadeInUp 0.7s 1s ease forwards;
}

.scroll-indicator span {
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(45, 45, 45, 0.3);
}

.scroll-line {
    width: 1px;
    height: 26px;
    background: rgba(45, 45, 45, 0.12);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.subtitle {
    font-size: 1.18rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.problems {
    background: white;
    padding-top: 3rem;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.problem-card {
    background: linear-gradient(135deg, #ffffff, var(--gray-100));
    padding: 2.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(45, 90, 71, 0.15);
    border-left-width: 6px;
}

.problem-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-number {
    opacity: 0.25;
    transform: translateX(4px);
}

.problem-card h3 {
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
}

.about {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--cream) 100%);
}

.about-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--black);
    margin-bottom: 2.5rem;
}

.about-text {
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 3rem 0 1rem;
    justify-content: center;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.credential:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.credential svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

.testimonials {
    background: white;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.testimonials-header h2 {
    margin-bottom: 1.5rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-100);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.google-badge svg {
    height: 22px;
    width: auto;
}

.google-badge .stars {
    display: flex;
    gap: 3px;
}

.google-badge .stars svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.google-badge span {
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}

.testimonial {
    background: linear-gradient(135deg, #ffffff, var(--gray-100));
    padding: 2.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(45, 90, 71, 0.08);
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: block;
    text-align: left;
}


.testimonial-info strong {
    display: block;
    color: var(--black);
    font-size: 0.98rem;
}

.testimonial-info span {
    font-size: 0.88rem;
    color: var(--gray-600);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.testimonials-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.testimonials-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.services {
    background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%);
}

.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.service-header:hover h3 {
    color: var(--primary);
}

.service-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--black);
    margin: 0;
    transition: color 0.2s ease;
}

.expand-icon {
    font-size: 1.8rem;
    color: var(--gray-600);
    transition: transform 0.3s ease, color 0.2s ease;
    line-height: 1;
    font-weight: 300;
}

.service-item.active .expand-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.active .service-content {
    max-height: 400px;
    padding-bottom: 1.75rem;
}

.service-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.service-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.service-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--accent-light);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #785807;
    letter-spacing: 0.05em;
}

.clinic {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.clinic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.clinic-inner {
    position: relative;
    z-index: 1;
}

.clinic-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clinic-header .section-label {
    color: rgba(255, 255, 255, 0.85);
}

.clinic-header h2 {
    color: white;
}

.clinic-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.clinic-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.clinic-map {
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    overflow: hidden;
}

.section-label-dark {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff;
    text-shadow: none;
}

.clinic-photo {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.clinic-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.clinic-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.clinic-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.clinic-info-item {
    text-align: center;
}

.clinic-info-item svg {
    width: 32px;
    height: 32px;
    fill: white;
    margin-bottom: 0.75rem;
}

.clinic-info-item h4,
.clinic-info-heading {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.clinic-info-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.clinic-info-item a {
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.clinic-info-item a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.clinic-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.process {
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    padding-top: 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-200) 20%, var(--gray-200) 80%, transparent);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(45, 90, 71, 0.35);
    line-height: 0.85;
    transition: all 0.3s ease;
    padding-bottom: 4px;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(45, 90, 71, 0.45);
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.step p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--cream) 100%);
}

.faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.faq-header p {
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.75rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 22px;
    height: 22px;
    fill: var(--gray-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.2rem;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer p {
    padding: 0 1.75rem 1.5rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.8;
}

.cta-section {
    padding: 5rem 0;
    text-align: center;
    color: white;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.25rem;
}

.cta-section p {
    opacity: 0.95;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    font-size: 1.12rem;
}

/* Formulario de contacto */
.contact-form-section {
    background: linear-gradient(180deg, white 0%, var(--gray-100) 100%);
    padding: 5rem 0;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 90, 71, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-size: 1.05rem;
    padding: 1.2rem 2rem;
}

.footer {
    padding: 3.5rem 0 2rem;
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand p {
    margin-top: 1.2rem;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer h4,
.footer-heading {
    color: white;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.65rem;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer ul a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.88rem;
}

@media (max-width: 968px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 1rem 1.2rem 2rem;
        justify-content: center;
    }

    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        padding: 0.4rem 1.1rem;
        margin-bottom: 1.8rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3rem);
        max-width: 95%;
        margin-bottom: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 90%;
        margin-bottom: 2.5rem;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg,
                rgba(250, 248, 245, 0.45) 0%,
                rgba(250, 248, 245, 0.6) 20%,
                rgba(250, 248, 245, 0.78) 45%,
                rgba(250, 248, 245, 0.9) 70%,
                rgba(250, 248, 245, 0.98) 100%);
    }

    .hero-bg img {
        transform: scale(1);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .faq-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .clinic-gallery {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .clinic-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--gray-100);
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 0.8rem 2.5rem;
        border-bottom: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header-cta {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-steps::before {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

}