/* =============================================
   ESPAÇO FISIO - CLÍNICA DE REABILITAÇÃO
   Complete CSS Styles
   ============================================= */

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy-900: hsl(212, 100%, 14%);
    --navy-800: hsl(210, 100%, 20%);
    --gold-400: hsl(46, 65%, 52%);
    --gold-500: hsl(40, 47%, 56%);
    --gold-600: hsl(40, 43%, 48%);
    --whatsapp: hsl(142, 70%, 49%);
    --background: hsl(210, 40%, 98%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --radius: 0.75rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-gold {
    background: linear-gradient(to right, var(--gold-500), var(--gold-600));
    color: white;
    box-shadow: 0 4px 15px hsla(40, 47%, 56%, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(to right, var(--gold-400), var(--gold-500));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(40, 47%, 56%, 0.4);
}

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

.btn-outline:hover {
    background: white;
    color: var(--navy-900);
}

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

.btn-outline-navy:hover {
    background: var(--navy-900);
    color: white;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background: hsl(142, 70%, 42%);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.main-nav {
    display: none;
}

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

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--navy-900);
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-500);
}

.dropdown-arrow {
    transition: transform 0.2s;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    z-index: 100;
}

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

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

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--navy-900);
    border-radius: calc(var(--radius) - 4px);
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: hsla(40, 47%, 56%, 0.1);
    color: var(--gold-500);
}

/* Nested Dropdown (Fan) */
.nested-dropdown {
    position: relative;
}

.nested-menu {
    display: none;
    position: absolute;
    top: -0.5rem;
    left: 100%;
    min-width: 220px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.12);
    padding: 0.5rem;
    z-index: 101;
    margin-left: 0.5rem;
}

.nested-dropdown:hover > .nested-menu {
    display: block;
}

.nested-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.dropdown-arrow-right {
    transition: transform 0.2s;
}

.nested-dropdown:hover .dropdown-arrow-right {
    transform: translateX(3px);
}

/* Mobile adjustments for nested menu are handled in the main media query section */

.header-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.header-actions .btn {
    white-space: nowrap;
}

.header-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.contact-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-800);
    font-weight: 700;
    opacity: 0.8;
}

.contact-phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--navy-900);
    transition: all 0.3s ease;
}

.contact-phone-link:hover {
    color: var(--gold-600);
    transform: translateY(-1px);
}

.contact-phone-link svg {
    color: var(--gold-500);
}

.social-link {
    color: var(--navy-900);
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--gold-500);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy-900);
}

.header-cta {
    font-size: 0.8125rem;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--navy-900);
    padding-top: 72px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--navy-900) 40%, transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: hsla(40, 47%, 56%, 0.15);
    border: 1px solid hsla(40, 47%, 56%, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold-400);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-400);
}

.stat-icon {
    font-size: 1.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-image {
    flex: 0 0 45%;
    display: none;
}

.hero-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2rem;
}

#heroSlider {
    position: relative;
    height: 600px;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-img.active {
    opacity: 1;
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: hsla(40, 47%, 56%, 0.1);
    border: 1px solid hsla(40, 47%, 56%, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    color: var(--navy-900);
    letter-spacing: -0.025em;
}

/* =============================================
   THERAPY CATALOG
   ============================================= */
.catalog {
    padding: 2.5rem 0;
    background: white;
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.therapy-card {
    position: relative;
    display: block;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    text-decoration: none;
}

.therapy-card-image {
    position: absolute;
    inset: 0;
}

.therapy-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.therapy-card:hover .therapy-card-image img {
    transform: scale(1.05);
}

.therapy-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.therapy-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 2;
}

.therapy-card-content h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.therapy-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gold-500);
    color: white;
    border-radius: 50%;
    font-size: 1.125rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.therapy-card:hover .therapy-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   ESPECIALIDADES SECTION (PREMIUM)
   ============================================= */
.especialidades {
    padding: 3rem 0;
    background-color: #FAFAFA;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

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

@media (min-width: 1024px) {
    .especialidades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.especialidades-card {
    background: #FFFFFF;
    padding: 3rem 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Detalhe curvo no topo direito (conforme imagem 2) */
.especialidades-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: rgba(198, 164, 108, 0.05); /* Dourado muito sutil */
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.especialidades-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.especialidades-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: #FAFAFA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.especialidade-icon-svg {
    width: 28px;
    height: 28px;
    color: #0D2B45;
    transition: all 0.3s ease;
}

.especialidades-card:hover .especialidades-icon-wrapper {
    background-color: #0D2B45;
}

.especialidades-card:hover .especialidade-icon-svg {
    color: #FFFFFF;
}

.especialidades-card h3 {
    color: #0D2B45;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.especialidades-card p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.especialidades-link {
    color: #C6A46C;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.especialidades-card:hover .especialidades-link {
    color: #0D2B45;
}

/* =============================================
   EXCELÊNCIA SECTION
   ============================================= */
.excelencia {
    padding: 3rem 0;
    background-color: #0B2A4A;
    color: white;
    position: relative;
    overflow: hidden;
}

.excelencia-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .excelencia-container {
        grid-template-columns: 420px 1fr;
    }
}

.excelencia-text {
    display: flex;
    flex-direction: column;
}

.excelencia-image-wrapper {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.excelencia-image-wrapper img {
    width: 100%;
    display: block;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: imageFloat 6s ease-in-out infinite;
}

.excelencia-image-wrapper:hover img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1);
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.excelencia-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine-loop 5s infinite;
}

@keyframes shine-loop {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.excelencia-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.excelencia-text .section-badge {
    background-color: transparent;
    color: #C9A86A;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0;
}

.excelencia-text .section-title {
    color: white;
    text-align: left;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .excelencia-text .section-title {
        font-size: 3rem;
    }
}

.excelencia-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.excelencia-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #C9A86A;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.excelencia-link:hover {
    color: white;
}

.excelencia-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.excelencia-card {
    background-color: #123A5C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.excelencia-card:hover {
    background-color: #164B73;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.excelencia-card-icon {
    width: 24px;
    height: 24px;
    color: #C9A86A;
    margin-bottom: 1rem;
}

.excelencia-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.excelencia-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* =============================================
   JORNADA SECTION
   ============================================= */
/* =============================================
   JORNADA SECTION
   ============================================= */
.jornada {
    padding: 3rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.jornada .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy-900);
}

@media (min-width: 768px) {
    .jornada .section-title {
        font-size: 3rem;
    }
}

.jornada-flow {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

/* Connecting line segments */
.jornada-line-bg,
.jornada-line-progress {
    position: absolute;
    top: 40px; /* middle of 80px circle */
    left: 10%;
    right: 10%;
    height: 2px;
    z-index: 1;
}

.jornada-line-bg {
    background-color: #E5E7EB;
}

.jornada-line-progress {
    background-color: #C6A46C;
    width: 0%;
    transition: width 0.4s ease;
}

.jornada-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.jornada-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0 1rem;
    max-width: 250px;
}

.jornada-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.jornada-icon {
    width: 32px;
    height: 32px;
    color: #0D2B45;
    transition: color 0.3s ease;
}

/* Hover State */
.jornada-step:hover .jornada-circle {
    background-color: #0D2B45;
    border-color: #C6A46C;
}

.jornada-step:hover .jornada-icon {
    color: #FFFFFF;
}

/* Active State (Gold) */
.jornada-step.active .jornada-circle {
    background-color: #C6A46C;
    border-color: #C6A46C;
}

.jornada-step.active .jornada-icon {
    color: #FFFFFF;
}

.jornada-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0D2B45;
    margin-bottom: 0.5rem;
    text-align: center;
}

.jornada-step p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 768px) {
    .jornada-flow {
        margin-top: 2rem;
    }

    .jornada-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .jornada-line-bg,
    .jornada-line-progress {
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        margin-left: -1px;
    }

    .jornada-line-bg {
        height: 100%;
        background-color: #E5E7EB;
    }

    .jornada-line-progress {
        width: 2px;
        height: 0%;
        background-color: #C6A46C;
        transition: height 0.4s ease;
    }

    .jornada-step {
        width: 100%;
        max-width: 100%;
    }
}

.jornada-completion-msg {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background-color: rgba(198, 164, 108, 0.1);
    border: 2px solid #C6A46C;
    border-radius: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
}

.jornada-completion-msg.show {
    display: block;
}

.jornada-completion-msg.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.jornada-completion-msg h3 {
    color: #0D2B45;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.jornada-completion-msg p {
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* =============================================
   TEAM
   ============================================= */
.team {
    padding: 2.5rem 0;
    background: var(--background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-card {
    text-align: center;
    background: white;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    border: 1px solid hsla(40, 47%, 56%, 0.1);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: hsla(40, 47%, 56%, 0.3);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid hsla(40, 47%, 56%, 0.2);
}

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

.team-card h3 {
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.team-card p {
    font-size: 0.875rem;
    color: var(--gold-500);
    font-weight: 500;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews {
    padding: 2.5rem 0;
    background: var(--navy-900);
    color: white;
}

.reviews .section-badge {
    background: hsla(40, 47%, 56%, 0.15);
    border-color: hsla(40, 47%, 56%, 0.3);
    color: var(--gold-400);
}

.reviews .section-title {
    color: white;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.rating-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.reviews-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0 2rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.reviews-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.review-card {
    flex: 0 0 85%; /* Mobile default */
    flex-shrink: 0;
    background: hsla(0, 0%, 100%, 0.05);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    scroll-snap-align: center;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-size: 0.875rem;
    font-weight: 600;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.review-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
}

/* =============================================
   UNITS
   ============================================= */
.units {
    padding: 2.5rem 0;
    background: white;
}

.units-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.unit-card {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.unit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.unit-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.unit-content {
    padding: 1.5rem;
}

.unit-content h3 {
    font-size: 1.25rem;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.unit-address,
.unit-phone {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.unit-address svg,
.unit-phone svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.unit-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.unit-buttons .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    padding: 2.5rem 0;
    background: var(--background);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info .section-badge {
    display: inline-block;
}

.contact-info .section-title {
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy-900);
    font-weight: 500;
}

.contact-item svg {
    color: var(--gold-500);
}

.contact-form {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    background: white;
    color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px hsla(40, 47%, 56%, 0.1);
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy-900);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-400);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.1);
    color: white;
    transition: all 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    box-shadow: 0 4px 15px hsla(142, 70%, 49%, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px hsla(142, 70%, 49%, 0.5);
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--whatsapp);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =============================================
   SERVICE PAGE (used in subpages)
   ============================================= */
.service-page {
    padding-top: 72px;
}

.service-hero {
    background: var(--navy-900);
    padding: 4rem 0;
    color: white;
}

.service-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-400);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.service-back:hover {
    color: var(--gold-500);
}

.service-hero-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.service-hero-text {
    flex: 1;
}

.service-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: hsla(40, 47%, 56%, 0.15);
    border-radius: 2rem;
    font-size: 0.75rem;
    color: var(--gold-400);
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.service-hero-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: hsla(40, 47%, 56%, 0.15);
    border-radius: 50%;
    color: var(--gold-400);
    flex-shrink: 0;
}

.service-feature span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-hero-image {
    flex: 0 0 45%;
    display: none;
}

.service-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* New Header Contact Section */
.header-contact-info {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .header-contact-info {
        display: flex;
    }
}

.contact-label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-bottom: 2px;
}

.contact-phone-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-900);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-phone-link:hover {
    color: var(--gold-500);
}

.contact-phone-link svg {
    color: #c4a163;
}

/* =============================================
   CLEAN CARD SERVICE LAYOUT
   ============================================= */
.service-clean-section {
    padding: 2.5rem 0 3.5rem;
    background-color: #f1f4f8; /* Soft blue/grey background */
}

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

.back-link-wrapper {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}

.back-link:hover {
    color: var(--gold-500);
    transform: translateX(-5px);
}

.clean-card {
    display: flex;
    background: white;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 550px;
}

.clean-card-image {
    flex: 0 0 52%;
    position: relative;
    overflow: hidden;
}

.clean-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clean-card-content {
    flex: 1;
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clean-card-category {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.clean-card-title {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--navy-900);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.clean-card-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2.5rem;
}

.clean-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.clean-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.clean-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(201, 168, 106, 0.12);
    border-radius: 50%;
    color: var(--gold-500);
    flex-shrink: 0;
}

.clean-feature-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
}

.btn-whatsapp-green {
    background-color: #25D366;
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.0625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    width: 100%;
}

.btn-whatsapp-green:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

@media (max-width: 1100px) {
    .clean-card-content {
        padding: 3rem 2.5rem;
    }
    .clean-card-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .clean-card {
        flex-direction: column;
    }
    .clean-card-image {
        flex: 0 0 350px;
    }
    .clean-card-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .clean-card-title {
        font-size: 2.25rem;
    }
    .clean-card-content {
        padding: 2.5rem 1.5rem;
    }
    .service-clean-section {
        padding: 3rem 0;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 640px) {
    .therapy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        display: flex;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }

    .service-hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }

    .header-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-image {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .therapy-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .reviews-grid {
        display: flex;
    }

    .review-card {
        flex: 0 0 calc(25% - 1.125rem);
    }

    .service-hero-image {
        display: block;
    }

    .service-hero-text h1 {
        font-size: 3rem;
    }
}

/* Mobile menu open state */
.main-nav.active {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.main-nav.active .nav-list {
    flex-direction: column;
    align-items: stretch;
}

.main-nav.active .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    background: hsla(210, 40%, 98%, 0.5);
    border-radius: var(--radius);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .container.hero-content {
        padding: 2rem 2rem 4rem 2rem;
    }
}

/* Mobile Nested Menu */
.main-nav.active .nested-menu {
    display: none;
    position: static;
    box-shadow: none;
    padding-left: 2rem;
    margin-left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
}

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

.main-nav.active .nested-toggle {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}