@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #8b7355;
    --primary-light: #a89278;
    --primary-dark: #6d5a43;
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --dark-menu: #2a2a2a;
    --text: #555555;
    --text-light: #888888;
    --border: #e0dbd4;
    --bg: #ffffff;
    --bg-alt: #f5f1eb;
    --bg-warm: #eae5dc;
    --bg-cream: #f0ebe3;
    --white: #ffffff;
    --gold: #c4a265;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

/* ===================== HEADER ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 0 4vw;
}

.header--transparent {
    background: transparent;
}

.header--solid {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.header--transparent .header__logo {
    color: var(--white);
}

.header--transparent .header__logo img {
    filter: brightness(0) invert(1);
}

.header--solid .header__logo {
    color: var(--dark);
}

.header--solid .header__logo img {
    filter: none;
}

.header__nav {
    display: none;
    gap: 0;
    align-items: center;
}

.header__link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.header__link .chevron {
    font-size: 0.55rem;
    transition: transform 0.3s;
}

.header--transparent .header__link {
    color: rgba(255,255,255,0.9);
}

.header--solid .header__link {
    color: var(--text);
}

.header__link:hover {
    opacity: 0.7;
}

/* ===================== DROPDOWN MENUS ===================== */
.header__dropdown {
    position: relative;
}

.header__dropdown .header__link {
    cursor: pointer;
}

.header__dropdown:hover .header__link .chevron i {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1001;
}

.header__dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__link {
    display: block;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown__link:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

/* ===================== MOBILE MENU EXPANDABLE ===================== */
.mobile-menu__group {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__group:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.2rem 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mobile-menu__toggle .arrow {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s;
}

.mobile-menu__toggle.active .arrow i {
    transform: rotate(180deg);
}

.mobile-menu__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu__toggle.active + .mobile-menu__sub {
    max-height: 500px;
}

.mobile-menu__sublink {
    display: block;
    padding: 0.7rem 0 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.mobile-menu__sublink:hover {
    color: var(--white);
}

.header__right {
    display: none;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__search {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: var(--transition);
}

.header--transparent .header__search {
    color: rgba(255,255,255,0.9);
}

.header--solid .header__search {
    color: var(--text);
}

.header__search:hover {
    opacity: 0.7;
}

.header__cta {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header--transparent .header__cta {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.header--transparent .header__cta:hover {
    background: var(--white);
    color: var(--dark);
}

.header--solid .header__cta {
    background: var(--dark);
    color: var(--white);
    border: 1px solid var(--dark);
}

.header--solid .header__cta:hover {
    background: var(--dark-soft);
}

.header__mobile {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
    padding: 8px;
    position: absolute;
    right: 0;
}

.header__mobile span {
    display: block;
    width: 24px;
    height: 1.5px;
    transition: var(--transition);
}

.header--transparent .header__mobile span {
    background: var(--white);
}

.header--solid .header__mobile span {
    background: var(--dark);
}

.header__mobile.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
    background: var(--white);
}

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

.header__mobile.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
    background: var(--white);
}

/* ===================== MOBILE MENU OVERLAY ===================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-menu);
    z-index: 1001;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
}

.mobile-menu__header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    padding: 0 4vw;
    position: relative;
}

.mobile-menu__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    display: flex;
    align-items: center;
}

.mobile-menu__logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-menu__close {
    position: absolute;
    left: 4vw;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu__search {
    position: absolute;
    right: 4vw;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 6vw;
    gap: 0;
}

.mobile-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__link:first-child {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu__link .arrow {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.mobile-menu__footer {
    padding: 2rem 6vw 3rem;
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 12px 24px;
    background: var(--bg-cream);
    color: var(--dark);
    border-radius: var(--radius-sm);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero--short {
    height: 70vh;
    min-height: 500px;
}

.hero__video,
.hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 4vw 6rem;
    max-width: 750px;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.2rem;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s 0.3s forwards;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s 0.5s forwards;
}

.hero__text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    max-width: 450px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 1s 0.9s forwards;
}

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

/* ===================== HERO FULL (Specialty pages) ===================== */
.hero-full {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.hero-full__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-full__media img,
.hero-full__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-full__video {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.7s ease;
}
.hero-full__video--a { opacity: 1; z-index: 1; }
.hero-full__video--b { opacity: 0; z-index: 1; }

.hero-full__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.55) 0%,
        rgba(26, 26, 26, 0.15) 50%,
        rgba(26, 26, 26, 0.05) 100%
    );
    z-index: 1;
}

.hero-full__content {
    position: absolute;
    bottom: 4rem;
    left: 4vw;
    z-index: 2;
    max-width: 600px;
    animation: heroFadeIn 1.2s ease-out;
}

.hero-full__indicator {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.hero-full__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: 0.01em;
}

.hero-full__subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 450px;
}

/* ===================== SUB NAV (Specialty pages) ===================== */
.subnav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.subnav__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 0;
}

.subnav__link {
    flex: 1;
    text-align: center;
    padding: 1.4rem 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.subnav__link:hover,
.subnav__link.active {
    color: var(--dark);
    border-bottom-color: var(--dark);
}

.breadcrumb {
    padding: 1.2rem 4vw;
    font-size: 0.88rem;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: 0.2px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--dark);
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border-radius: var(--radius-sm);
}

.btn .arrow {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

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

.btn--white:hover {
    background: rgba(255,255,255,0.85);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

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

.btn--dark:hover {
    background: var(--dark-soft);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

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

.btn--outline-warm {
    background: transparent;
    color: var(--dark);
    border-color: var(--border);
}

.btn--outline-warm:hover {
    border-color: var(--dark);
}

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

.btn--primary:hover {
    background: var(--primary-dark);
}

.btn--cream {
    background: var(--bg-cream);
    color: var(--dark);
    border-color: var(--bg-cream);
}

.btn--cream:hover {
    background: var(--bg-warm);
}

/* ===================== SECTIONS ===================== */
.section {
    padding: 7rem 4vw;
}

.section--alt {
    background: var(--bg-alt);
}

.section--warm {
    background: var(--bg-warm);
}

.section--cream {
    background: var(--bg-cream);
}

.section--dark {
    background: var(--dark);
    color: var(--white);
}

.section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.section--dark .section__label {
    color: var(--gold);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #8b7355 0%, #8b7355 var(--title-fill, 0%), #1a1a1a var(--title-fill, 0%), #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section--dark .section__title {
    background: linear-gradient(90deg, #c4a87c 0%, #c4a87c var(--title-fill, 0%), #ffffff var(--title-fill, 0%), #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
}

.section--dark .section__desc {
    color: rgba(255,255,255,0.7);
}

/* ===================== ABOUT ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about__content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about__content p {
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* ===================== SPECIALTIES GRID (IMR style - icons) ===================== */
.specialties-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.specialties-icon-grid--4 {
    max-width: 800px;
    gap: 1.5rem;
}

.spec-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
    position: relative;
    border: 1px solid transparent;
}

.spec-icon:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.1);
    transform: translateY(-4px);
}

.spec-icon:hover .spec-icon__icon {
    color: var(--primary-dark);
    transform: scale(1.15);
}

.spec-icon__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.4rem;
    line-height: 1;
    transition: var(--transition);
    background: rgba(139, 115, 85, 0.08);
    border-radius: 50%;
}

.spec-icon__title {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.spec-grid-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===================== OLD SPECIALTIES (image cards) ===================== */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.spec-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    background: var(--dark);
    border-radius: var(--radius);
}

.spec-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s;
    opacity: 0.7;
}

.spec-card:hover .spec-card__img {
    transform: scale(1.05);
    opacity: 0.5;
}

.spec-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.spec-card__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.spec-card__text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    margin-bottom: 1rem;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.spec-card:hover .spec-card__text {
    transform: translateY(0);
    opacity: 1;
}

.spec-card__link {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spec-card__link::after {
    content: '\2192';
    transition: transform 0.3s;
}

.spec-card:hover .spec-card__link::after {
    transform: translateX(5px);
}

/* ===================== BENEFITS ===================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.benefit {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.benefit:hover {
    background: rgba(139, 115, 85, 0.05);
}

.benefit__icon {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.benefit__text {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================== CTA ===================== */
.cta-section {
    padding: 5rem 4vw;
    text-align: center;
    background: var(--primary);
    color: var(--white);
}

.cta-section h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.cta-section p {
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.85;
}

/* ===================== TEAM ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    cursor: pointer;
    perspective: 1000px;
}

.team-card__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.team-card.flipped .team-card__inner {
    transform: rotateY(180deg);
}

.team-card__front,
.team-card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: var(--radius);
}

.team-card__front {
    background: var(--bg-warm);
}

.team-card__front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: var(--transition);
}

.team-card:hover .team-card__front img {
    opacity: 0.75;
    transform: scale(1.03);
}

.team-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
}

.team-card__role {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-top: 0.3rem;
}

.team-card__back {
    background: var(--dark);
    color: var(--white);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.team-card__back h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.team-card__back p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

/* ===================== CLINIC SLIDER ===================== */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider__slide {
    min-width: 100%;
    height: 550px;
}

.slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.slider__nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider__btn {
    pointer-events: all;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    border-radius: 0;
    padding: 0;
}

.slider__btn::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-left: 2px solid rgba(255,255,255,0.75);
    border-bottom: 2px solid rgba(255,255,255,0.75);
    transform: rotate(45deg);
    transition: var(--transition);
}

.slider__btn--next::before {
    transform: rotate(-135deg);
}

.slider__btn:hover::before {
    border-color: var(--white);
}

.slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider__dot.active {
    background: var(--primary);
}

/* ===================== REVIEWS ===================== */
.reviews-container {
    overflow: hidden;
    position: relative;
    background: var(--primary);
    border-radius: var(--radius);
    padding: 4rem 5rem;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review {
    min-width: 100%;
    text-align: center;
    padding: 0 1rem;
}

.review__label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}

.review__stars {
    display: none;
}

.review__text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.review__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    background: none;
    cursor: pointer;
}

.review__cta:hover {
    border-color: var(--white);
}

.review__author {
    display: none;
}

.reviews__nav {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.reviews__btn {
    pointer-events: all;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    padding: 0;
}

.reviews__btn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    transition: var(--transition);
}

.reviews__btn--next::before {
    transform: rotate(-135deg);
}

.reviews__btn:hover::before {
    border-color: var(--white);
}

.reviews__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.reviews__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.reviews__dot.active {
    background: var(--white);
}

/* ===================== FAQ ===================== */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    width: 100%;
    padding: 1.8rem 0;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

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

.faq__icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    padding-bottom: 1.8rem;
}

.faq__answer p {
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===================== DOCTOR PROFILE ===================== */
.doctor-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.doctor-profile__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.doctor-profile__content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.doctor-profile__content .doctor-role {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.doctor-profile__content p {
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.section--dark .doctor-profile__content h3 {
    color: var(--white);
}

.section--dark .doctor-profile__content .doctor-role {
    color: var(--gold);
}

.section--dark .doctor-profile__content p {
    color: rgba(255,255,255,0.75);
}

/* ===================== PATHOLOGIES ===================== */
.pathologies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
}

.pathology {
    padding: 2.5rem 2rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border-radius: var(--radius-sm);
}

.pathology:hover {
    background: var(--bg-alt);
}

.pathology__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pathology__desc {
    display: none;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 1rem;
}

.pathology.active .pathology__desc {
    display: block;
}

/* ===================== SERVICES LIST ===================== */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
}

.service-item {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.service-item:hover {
    background: var(--bg-alt);
}

.service-item__icon {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.service-item__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 4vw 2rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2rem;
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer__logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer__heading {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.footer__link {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
    border-radius: var(--radius-sm);
}

.footer__social-icon:hover {
    background: var(--white);
    color: var(--dark);
}

.footer__legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__legal-link {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer__legal-link:hover {
    color: rgba(255,255,255,0.7);
}
.footer__bottom {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    padding-top: 1rem;
}

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #c4a87c);
    z-index: 100000;
    transition: width 0.05s linear;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {

    position: fixed;
    bottom: 5.5rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); }

/* ===================== COOKIE CONSENT ===================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    color: rgba(255,255,255,0.85);
    padding: 1.5rem 4vw;
    z-index: 100001;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-family: var(--font-body);
    border-top: 1px solid rgba(255,255,255,0.06);
    animation: cookieSlideUp 0.5s ease-out;
}
.cookie-banner.active { display: flex; }
.cookie-banner__text { font-size: 0.82rem; line-height: 1.6; max-width: 700px; }
.cookie-banner__text a { color: var(--primary-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-banner__btn { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; padding: 10px 22px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.3s ease; border: none; letter-spacing: 0.3px; }
.cookie-banner__btn--accept { background: var(--primary); color: var(--white); }
.cookie-banner__btn--accept:hover { background: var(--primary-dark); }
.cookie-banner__btn--reject { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.cookie-banner__btn--reject:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
@keyframes cookieSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45); }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35); } 50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.55); } }

/* ===================== IMAGE LAZY LOAD ===================== */
img[loading="lazy"] { opacity: 0; transition: opacity 0.6s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* ===================== CHAT BUTTON (dark circle) ===================== */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 9998;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    border: none;
    cursor: pointer;
}

.chat-btn:hover {
    transform: scale(1.08);
    background: var(--dark-soft);
}

.chat-btn.active {
    background: transparent;
    box-shadow: none;
    z-index: 10001;
}

.chat-btn.active i::before {
    content: "\f00d";
}

/* ===================== CHAT OVERLAY (IMR style) ===================== */
.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 47, 44, 0.97);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.chat-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-overlay__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 2rem;
}

.chat-overlay__options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.chat-overlay__link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
    padding: 0.4rem 0;
}

.chat-overlay__link:hover {
    color: var(--white);
}

.chat-overlay__link .arrow {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
    .chat-btn {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }

    .chat-overlay__title {
        font-size: 2rem;
    }

    .chat-overlay__link {
        font-size: 1rem;
    }
}

/* ===================== WHATSAPP FLOAT (legacy) ===================== */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: var(--transition);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.whatsapp:hover {
    transform: scale(1.08);
    background: var(--dark-soft);
}

/* ===================== ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specialties-icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .specialties-icon-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pathologies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__logo img {
        height: 90px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__content {
        padding: 0 5vw 4rem;
    }

    .section {
        padding: 3.5rem 5vw;
    }

    .section__title {
        font-size: 1.8rem;
    }

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

    .about__img {
        height: 300px;
    }

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

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

    .specialties-icon-grid,
    .specialties-icon-grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .spec-icon__title {
        font-size: 0.85rem;
    }

    .spec-card {
        aspect-ratio: 16/9;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pathologies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .doctor-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-profile__img {
        height: 300px;
    }

    .slider {
        margin: 0 -5vw;
    }

    .slider__slide {
        height: 280px;
    }

    .reviews-container {
        padding: 2.5rem 1.5rem;
    }

    .review__text {
        font-size: 1.1rem;
    }

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

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .btn {
        font-size: 0.85rem;
    }

    .hero-full {
        height: 70vh;
        min-height: 400px;
    }

    .hero-full__content {
        bottom: 3rem;
        left: 5vw;
    }

    .hero-full__title {
        font-size: 2rem;
    }

    .hero-full__media {
        height: 100%;
    }

    .subnav {
        top: 60px;
    }

    .subnav__inner {
        padding: 0 3vw;
        gap: 0;
    }

    .subnav__link {
        padding: 0.8rem 0.8rem;
        font-size: 0.75rem;
    }

    .cta-section {
        padding: 3rem 5vw;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }

    .mobile-menu__nav {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.8rem 5vw;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .header__logo img {
        height: 80px;
    }

    .specialties-icon-grid,
    .specialties-icon-grid--4 {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .spec-icon__icon {
        width: 64px;
        height: 64px;
        font-size: 1.7rem;
    }

    .hero-full__content {
        bottom: 2rem;
        left: 5vw;
    }

    .hero-full__title {
        font-size: 1.6rem;
    }

    .hero-full__media {
        height: 100%;
    }

    .reviews-container {
        padding: 2rem 1.2rem;
    }

    .review__text {
        font-size: 1rem;
    }

    .slider__slide {
        height: 220px;
    }

    .team-card {
        height: 350px;
    }

    .doctor-profile__img {
        height: 250px;
    }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
}
.lang-switcher__btn {
    background: none;
    border: 1px solid transparent;
    color: inherit;
    font-size: 0.72rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 3px 5px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
    text-transform: uppercase;
    line-height: 1;
}
.lang-switcher__btn:hover { opacity: 0.9; border-color: currentColor; }
.lang-switcher__btn.active { opacity: 1; border-color: currentColor; font-weight: 700; }
.lang-switcher__btn + .lang-switcher__btn::before { content: ""; }
.header--transparent .lang-switcher__btn { color: #fff; }
.header--scrolled .lang-switcher__btn { color: var(--dark); }
.header:not(.header--transparent) .lang-switcher__btn { color: var(--dark); }
.mobile-menu .lang-switcher {
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu .lang-switcher__btn { color: #fff; font-size: 0.8rem; padding: 4px 7px; }
@media (max-width: 768px) {
    .lang-switcher { gap: 1px; }
    .lang-switcher__btn { font-size: 0.68rem; padding: 2px 4px; }
}
.header__inner .lang-switcher {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
@media (max-width: 1024px) {
    .header__inner .lang-switcher {
        right: 55px;
    }
}
@media (max-width: 768px) {
    .header__inner .lang-switcher {
        display: none;
    }
}
