/* =========================================================
   COMPLETE STYLE.CSS
   Premium Multilingual Medical Website
   Responsive production stylesheet
========================================================= */

/* =========================================================
   01. Reset & Root Variables
========================================================= */

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

:root {
    /* Brand — premium dark medical: gold + teal */
    --gold: #d4a843;
    --gold-light: #f0c96a;
    --gold-dim: rgba(212, 168, 67, 0.14);
    --gold-glow: rgba(212, 168, 67, 0.28);

    --teal: #18bba7;
    --teal-light: #45ddca;
    --teal-dim: rgba(14, 180, 158, 0.14);

    --primary: var(--gold);
    --primary-dark: var(--gold-light);
    --primary-soft: rgba(212, 168, 67, 0.12);

    --accent: var(--teal);
    --accent-dark: #10c7ae;
    --accent-soft: rgba(14, 180, 158, 0.14);

    --whatsapp: #25d366;
    --whatsapp-dark: #1ebe5d;

    /* Text */
    --text-main: #f3f7fb;
    --text-muted: #a7b3c8;
    --text-soft: #5b6478;

    /* Surfaces */
    --bg-base: #0c0f1a;
    --bg-surface: #111725;
    --bg-elevated: #172033;
    --page-bg: var(--bg-base);
    --white: #ffffff;
    --black: #05070d;

    --slate-50: #eef2f7;
    --slate-100: #dde3ee;
    --slate-200: #c3cbdc;
    --slate-300: #a7b0c6;
    --slate-400: #8a93a8;
    --slate-500: #6b7488;
    --slate-600: #545d70;
    --slate-700: #c9d1e0;
    --slate-800: #232838;
    --slate-900: #eef2f7;

    /* Glass */
    --glass-bg: rgba(24, 29, 46, 0.68);
    --glass-bg-strong: rgba(24, 29, 46, 0.88);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-soft: rgba(255, 255, 255, 0.06);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.30);
    --shadow-sm: 0 8px 26px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 16px 46px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.48);
    --shadow-xl: 0 34px 100px rgba(0, 0, 0, 0.55);
    --shadow-blue: 0 18px 46px rgba(212, 168, 67, 0.26);
    --shadow-green: 0 18px 45px rgba(37, 211, 102, 0.22);
    --shadow-gold: 0 10px 40px rgba(212, 168, 67, 0.24);

    /* Radius */
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 44px;
    --radius-pill: 999px;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-14: 3.5rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Fonts */
    --font-arabic: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-english: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-hebrew: "Noto Sans Hebrew", Arial, system-ui, sans-serif;
    --font-main: var(--font-arabic);

    /* Motion */
    --transition-fast: 160ms ease;
    --transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 520ms cubic-bezier(0.22, 1, 0.36, 1);

    /* Layout */
    --container: 1200px;
}

/* =========================================================
   02. Base
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    text-align: start;
    color: var(--text-main);
    background:
        radial-gradient(circle at top right, rgba(212, 168, 67, 0.14), transparent 34rem),
        radial-gradient(circle at 8% 14%, rgba(14, 180, 158, 0.12), transparent 30rem),
        linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 45%, var(--bg-base) 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[lang="ar"] {
    --font-main: var(--font-arabic);
}

html[lang="en"] {
    --font-main: var(--font-english);
}

html[lang="he"] {
    --font-main: var(--font-hebrew);
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="ltr"] body {
    direction: ltr;
}

body::selection {
    background: rgba(212, 168, 67, 0.28);
    color: var(--bg-base);
}

main {
    position: relative;
    z-index: 2;
}

img,
picture,
video,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

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

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
}

input,
textarea {
    text-align: start;
}

input[type="tel"] {
    direction: ltr;
    text-align: left;
}

button {
    border: none;
}

.container {
    width: min(100% - 1.2rem, var(--container));
    margin-inline: auto;
}

/* =========================================================
   03. Background Orbs
========================================================= */

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(64px);
    opacity: 0.8;
    mix-blend-mode: screen;
}

.bg-orb-1 {
    width: 26rem;
    height: 26rem;
    top: -8rem;
    right: -6rem;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.22), transparent 68%);
}

.bg-orb-2 {
    width: 22rem;
    height: 22rem;
    top: 40rem;
    left: -8rem;
    background: radial-gradient(circle, rgba(14, 180, 158, 0.20), transparent 70%);
}

.bg-orb-3 {
    width: 24rem;
    height: 24rem;
    bottom: 8rem;
    right: 14%;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.10), transparent 70%);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   04. Shared Glass / Section Components
========================================================= */

.glass-panel,
.glass-card,
.glass-hero,
.hero-clean-card,
.hero-layout {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(24, 29, 46, 0.86), rgba(17, 21, 32, 0.68));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.glass-panel::before,
.glass-card::before,
.glass-hero::before,
.hero-clean-card::before,
.hero-layout::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 42%),
        linear-gradient(315deg, rgba(212, 168, 67, 0.05), transparent 48%);
}

.glass-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px rgba(212, 168, 67, 0.22);
    border-color: rgba(212, 168, 67, 0.30);
}

.section-shell {
    position: relative;
    padding: clamp(3.4rem, 7vw, 6.5rem) 0;
}

.section-heading {
    width: min(760px, 100%);
    margin-inline: auto;
    margin-bottom: clamp(1.8rem, 5vw, 3.5rem);
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: fit-content;
    margin-bottom: var(--space-4);
    padding: 0.52rem 0.95rem;
    border-radius: var(--radius-pill);
    color: var(--gold-light);
    background: rgba(212, 168, 67, 0.09);
    border: 1px solid rgba(212, 168, 67, 0.28);
    box-shadow: none;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.section-title {
    margin-bottom: var(--space-4);
    color: var(--text-main);
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-description {
    width: min(620px, 100%);
    margin-inline: auto;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    line-height: 1.9;
}

.card-body {
    padding: var(--space-4);
}

.card-kicker {
    display: inline-flex;
    margin-bottom: var(--space-2);
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
    color: var(--primary-dark);
    background: rgba(212, 168, 67, 0.10);
    font-size: 0.78rem;
    font-weight: 900;
}

.card-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.12), rgba(14, 180, 158, 0.12));
}

.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 40%, rgba(5, 7, 13, 0.55)),
        radial-gradient(circle at top right, rgba(212, 168, 67, 0.14), transparent 45%);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

.glass-card:hover .card-image img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.02);
}

/* =========================================================
   05. Header / Navigation
========================================================= */

.header {
    position: sticky;
    top: 0.75rem;
    z-index: 1000;
    width: min(calc(100% - 1rem), 1240px);
    margin: 0.75rem auto 0;
    border-radius: 26px;
    transition:
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.header.is-scrolled {
    border-color: rgba(24, 187, 167, 0.20);
}

.navbar {
    width: 100%;
}

.nav-wrapper {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.5rem, 2vw, 1rem);
    padding: 0.38rem 0.65rem;
}

.logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
}

.logo-img {
    inline-size: clamp(70px, 12vw, 92px);
    block-size: 52px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.logo-text {
    display: none;
}

.nav-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    inset-inline: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    background: rgba(15, 21, 34, 0.97);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(26px) saturate(155%);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
}

.nav-menu.active {
    display: flex;
    animation: menuDrop 260ms ease both;
}

.nav-link {
    position: relative;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 0.96rem;
    font-weight: 800;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0.9rem;
    bottom: 0.38rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--teal);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
    background: rgba(24, 187, 167, 0.09);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 28px;
}

.nav-actions {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.whatsapp-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    color: var(--white);
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.22);
    font-size: 1.25rem;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast);
}

.whatsapp-btn-text {
    display: none;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28);
}

/* Accessible language selector */
.language-selector {
    position: relative;
    z-index: 1100;
    flex: 0 0 auto;
}

.language-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    border: 1px solid rgba(212, 168, 67, 0.24);
    border-radius: 14px;
    color: var(--gold-light);
    background:
        linear-gradient(135deg, rgba(212, 168, 67, 0.10), rgba(24, 187, 167, 0.06)),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    white-space: nowrap;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast);
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"],
.language-selector.is-open .language-toggle {
    color: var(--white);
    border-color: rgba(69, 221, 202, 0.48);
    background:
        linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(24, 187, 167, 0.12)),
        rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.language-toggle:active {
    transform: scale(0.97);
}

.language-toggle > .fa-globe {
    flex: 0 0 auto;
    font-size: 1rem;
}

.language-toggle-label,
.language-toggle-chevron {
    display: none;
}

.language-toggle-chevron {
    flex: 0 0 auto;
    font-size: 0.72rem;
    transition: transform var(--transition-fast);
}

.language-toggle[aria-expanded="true"] .language-toggle-chevron,
.language-selector.is-open .language-toggle-chevron {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    inset-inline-end: 0;
    z-index: 1200;
    width: max-content;
    min-width: 174px;
    max-width: min(220px, calc(100vw - 1.5rem));
    display: grid;
    gap: 0.3rem;
    padding: 0.45rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(26, 34, 52, 0.98), rgba(12, 18, 30, 0.98));
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    transform-origin: top center;
}

.language-menu[hidden] {
    display: none;
}

.language-menu:not([hidden]) {
    animation: languageMenuIn 180ms ease both;
}

.language-menu li {
    min-width: 0;
}

.language-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.62rem 0.72rem;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
    text-align: start;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.language-option:hover,
.language-option:focus-visible {
    color: var(--white);
    border-color: rgba(24, 187, 167, 0.22);
    background: rgba(24, 187, 167, 0.09);
}

.language-option[aria-checked="true"],
.language-option.is-active {
    color: var(--gold-light);
    border-color: rgba(212, 168, 67, 0.28);
    background: rgba(212, 168, 67, 0.10);
}

.language-option .fa-check {
    flex: 0 0 auto;
    color: var(--teal-light);
    font-size: 0.75rem;
    opacity: 0;
}

.language-option[lang="ar"] {
    font-family: var(--font-arabic);
}

.language-option[lang="en"] {
    font-family: var(--font-english);
}

.language-option[lang="he"] {
    font-family: var(--font-hebrew);
}

.language-option[aria-checked="true"] .fa-check,
.language-option.is-active .fa-check {
    opacity: 1;
}

.hamburger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.045);
    cursor: pointer;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.hamburger:hover {
    color: var(--teal-light);
    border-color: rgba(24, 187, 167, 0.34);
    background: rgba(24, 187, 167, 0.08);
}

.hamburger span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
        transform var(--transition),
        opacity var(--transition),
        width var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   06. Refined Split Hero
========================================================= */

.hero-split-clean {
    padding-top: clamp(1.25rem, 3vw, 2.4rem);
    padding-bottom: clamp(3.25rem, 7vw, 6rem);
}

.hero-split-clean .container {
    width: min(100% - 2rem, var(--container));
}

.hero-top-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "media"
        "copy";
    direction: ltr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: clamp(24px, 4vw, 34px);
    background:
        linear-gradient(135deg, rgba(23, 32, 51, 0.94), rgba(13, 20, 34, 0.92));
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.hero-top-image {
    grid-area: media;
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #0d1422;
}

.hero-slider-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #101827;
}

.hero-slider-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 9, 16, 0.04), rgba(5, 9, 16, 0.20)),
        linear-gradient(90deg, rgba(5, 9, 16, 0.12), transparent 36%);
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.015);
    animation: heroSliderFade 12s infinite;
}

.hero-slide.active {
    opacity: 1;
    animation-name: heroSliderFadeActive;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slide:nth-child(3) {
    animation-delay: 8s;
}

.hero-top-copy {
    grid-area: copy;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    direction: rtl;
    padding: clamp(1.4rem, 6vw, 2rem);
    text-align: start;
}

html[dir="ltr"] .hero-top-copy {
    direction: ltr;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: clamp(18px, 2.2vw, 24px);
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(214, 173, 96, 0.30);
    border-radius: var(--radius-pill);
    color: #e4c781;
    background: rgba(214, 173, 96, 0.08);
    font-size: clamp(0.78rem, 2.4vw, 0.9rem);
    font-weight: 800;
    line-height: 1.4;
}

.hero-split-clean .hero-title {
    /* Single semantic H1 with three art-directed visual lines (primary / highlight / secondary) */
    width: 100%;
    max-width: none;
    margin: 0 0 clamp(18px, 4vw, 26px);
    font-family: inherit;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: normal;
    direction: inherit;
    text-align: start;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.hero-title-primary,
.hero-title-highlight,
.hero-title-secondary {
    display: block;
    font-weight: 900;
    text-wrap: balance;
    -webkit-font-smoothing: antialiased;
}

.hero-title-primary {
    color: #f8fafc;
    margin-bottom: 0.16em;
    line-height: 1.14;
}

.hero-title-highlight {
    color: var(--teal-light);
    margin-bottom: 0.2em;
    line-height: 1.14;
    position: relative;
    display: inline-block;
}

.hero-title-highlight::after {
    /* subtle, scalable underline to emphasize the highlighted line */
    content: "";
    display: block;
    height: 3px;
    width: 62%;
    border-radius: 999px;
    margin-top: 0.22em;
    background: linear-gradient(90deg, var(--teal-light), rgba(24, 187, 167, 0.2));
    opacity: 0.9;
}

.hero-title-secondary {
    color: #e5edf5; /* softer white / light slate */
    margin-bottom: 0;
    line-height: 1.14;
    font-size: 0.86em;
}

.hero-card-actions {
    width: 100%;
    display: block;
    max-width: 100%;
    margin: 0;
}

.hero-card-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-inline: clamp(1rem, 2vw, 1.4rem);
    font-size: clamp(0.96rem, 1.2vw, 1rem);
}

.hero-services-btn.btn-secondary {
    color: var(--text-main);
    border-color: rgba(24, 187, 167, 0.46);
    background: rgba(24, 187, 167, 0.10);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

.hero-services-btn.btn-secondary:hover {
    color: var(--white);
    border-color: rgba(69, 221, 202, 0.72);
    background: rgba(24, 187, 167, 0.18);
    box-shadow: 0 16px 34px rgba(24, 187, 167, 0.18);
}

.hero-services-btn.btn-secondary i {
    transition: transform var(--transition-fast);
}

.hero-services-btn.btn-secondary:hover i {
    transform: translateX(-3px);
}

html[dir="ltr"] .hero-services-btn.btn-secondary i {
    transform: scaleX(-1);
}

html[dir="ltr"] .hero-services-btn.btn-secondary:hover i {
    transform: scaleX(-1) translateX(-3px);
}

@keyframes heroSliderFade {
    0%,
    38%,
    100% {
        opacity: 0;
    }

    8%,
    30% {
        opacity: 1;
    }
}

@keyframes heroSliderFadeActive {
    0%,
    30% {
        opacity: 1;
    }

    38%,
    92% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* =========================================================
   07. Buttons
========================================================= */

.btn {
    position: relative;
    isolation: isolate;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.9rem 1.3rem;
    border-radius: 18px;
    border: 1px solid transparent;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.36), transparent);
    transform: translateX(100%);
    transition: opacity var(--transition), transform 650ms ease;
}

.btn:hover::before {
    opacity: 1;
    transform: translateX(-100%);
}

.btn-primary {
    color: #241a06;
    background:
        radial-gradient(circle at 30% 10%, rgba(255, 255, 255, 0.35), transparent 30%),
        linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 0 8px rgba(212, 168, 67, 0.10),
        0 22px 56px rgba(212, 168, 67, 0.32);
}

.btn-secondary {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 168, 67, 0.32);
    box-shadow: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    color: var(--gold-light);
    background: rgba(212, 168, 67, 0.08);
    border-color: rgba(212, 168, 67, 0.50);
    box-shadow: var(--shadow-sm);
}

.is-pressed {
    transform: scale(0.98) !important;
}

/* =========================================================
   08. Services
========================================================= */

.services,
.why-choose-us,
.testimonials {
    background: transparent;
}

.booking,
.contact {
    background:
        linear-gradient(180deg, transparent 0%, rgba(17, 21, 32, 0.75) 15%, rgba(17, 21, 32, 0.75) 85%, transparent 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(0.9rem, 2.6vw, 1.5rem);
}

.service-card {
    min-width: 0;
    min-height: 230px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    text-align: start;
    background:
        radial-gradient(circle at top left, rgba(24, 187, 167, 0.10), transparent 44%),
        linear-gradient(155deg, rgba(23, 32, 51, 0.92), rgba(15, 22, 36, 0.94));
}

.service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(69, 221, 202, 0.16);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition);
}

.service-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.2rem, 3vw, 1.65rem);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-bottom: 1.15rem;
    border: 1px solid rgba(69, 221, 202, 0.24);
    border-radius: 20px;
    color: var(--white);
    background:
        radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.25), transparent 34%),
        linear-gradient(135deg, rgba(212, 168, 67, 0.92), rgba(24, 187, 167, 0.92));
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.24),
        0 0 0 6px rgba(24, 187, 167, 0.035);
    font-size: 1.45rem;
    transition: transform var(--transition-fast);
}

.service-card .card-body {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.service-title {
    margin: 0 0 0.7rem;
    color: var(--text-main);
    font-size: clamp(1.08rem, 3.6vw, 1.42rem);
    font-weight: 900;
    line-height: 1.45;
    text-wrap: balance;
}

.service-description {
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    font-weight: 600;
    line-height: 1.85;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(24, 187, 167, 0.30);
        box-shadow:
            var(--shadow-xl),
            0 0 0 1px rgba(24, 187, 167, 0.16);
    }

    .service-card:hover .service-image img {
        transform: scale(1.04);
    }

    .service-card:hover .service-card-icon {
        transform: scale(1.04);
    }
}

/* =========================================================
   09. Team / Specialists
========================================================= */

.team {
    background:
        radial-gradient(circle at 15% 18%, rgba(24, 187, 167, 0.055), transparent 28rem),
        transparent;
}

.people-grid,
.team-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.team-card {
    min-width: 0;
    min-height: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 4vw, 1.35rem);
    text-align: center;
    background: linear-gradient(155deg, rgba(23, 32, 51, 0.92), rgba(15, 22, 36, 0.94));
    border-color: rgba(255, 255, 255, 0.085);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.team-card:hover {
    transform: none;
    border-color: rgba(24, 187, 167, 0.24);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.team-card-main {
    width: 100%;
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-avatar {
    width: clamp(124px, 34vw, 158px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid rgba(24, 187, 167, 0.30);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.34),
        0 0 0 6px rgba(24, 187, 167, 0.045);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-card[data-specialist-slug="salem"] .team-avatar img {
    object-position: 50% 32%;
}

.team-card[data-specialist-slug="mohamed-adawi"] .team-avatar img {
    object-position: 50% 38%;
}

.team-card[data-specialist-slug="fatima"] .team-avatar img {
    object-position: 50% 24%;
}

.team-card[data-specialist-slug="raafat"] .team-avatar img {
    object-position: 50% 34%;
}

.team-card[data-specialist-slug="tamer"] .team-avatar img {
    object-position: 50% 28%;
}

.team-card[data-specialist-slug="ali"] .team-avatar img {
    object-position: 50% 34%;
}

.team-card[data-specialist-slug="mamoun"] .team-avatar img {
    object-position: 50% 32%;
}

.team-card[data-specialist-slug="mohamed-ghanaim"] .team-avatar img {
    object-position: 50% 30%;
}

.team-card[data-specialist-slug="beshara"] .team-avatar img,
.team-card[data-specialist-slug="marian"] .team-avatar img {
    object-position: 50% 32%;
}

.team-card[data-specialist-slug="amin-abu-eshba"] .team-avatar img {
    object-position: 50% 25%;
}

.team-avatar-fallback,
.specialist-modal-fallback {
    position: relative;
    isolation: isolate;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--teal-light);
    background:
        radial-gradient(circle at 30% 18%, rgba(212, 168, 67, 0.22), transparent 34%),
        linear-gradient(145deg, #1d2a40, #0d1727);
}

.team-avatar-fallback::before,
.specialist-modal-fallback::before {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.team-avatar-fallback i,
.specialist-modal-fallback i {
    font-size: clamp(2rem, 7vw, 2.8rem);
}

.team-avatar-initials,
#specialistModalInitials {
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.team-info {
    width: 100%;
    min-width: 0;
    margin-bottom: 1.15rem;
}

.team-name {
    margin: 0 0 0.35rem;
    color: var(--text-main);
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    font-weight: 900;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.team-role {
    margin: 0;
    color: var(--teal-light);
    font-size: clamp(0.88rem, 3vw, 0.98rem);
    font-weight: 750;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.team-expand-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: auto;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(24, 187, 167, 0.26);
    border-radius: 14px;
    color: var(--text-main);
    background: rgba(24, 187, 167, 0.085);
    cursor: pointer;
    font-weight: 850;
    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.team-expand-btn:hover {
    color: var(--white);
    border-color: rgba(69, 221, 202, 0.52);
    background: rgba(24, 187, 167, 0.15);
}

.team-expand-btn:active {
    transform: scale(0.985);
}

.team-expand-btn i {
    font-size: 0.9rem;
    transition: transform var(--transition);
}

.team-card.is-expanded .team-expand-btn i {
    transform: rotate(180deg);
}

.team-drawer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease;
}

.team-card.is-expanded .team-drawer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.team-drawer-inner {
    min-height: 0;
    overflow: hidden;
}

.team-details-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-align: start;
    background: rgba(4, 10, 18, 0.24);
}

.team-detail-item {
    min-width: 0;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.team-detail-item dt {
    margin-bottom: 0.25rem;
    color: #d7b86d;
    font-size: 0.83rem;
    font-weight: 900;
    line-height: 1.5;
}

.team-detail-item dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.team-swipe-hint,
.team-carousel-controls {
    display: none;
}

/* =========================================================
   Mobile Specialist Bottom Sheet Modal
========================================================= */

.specialist-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.specialist-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.specialist-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.specialist-bottom-sheet {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    border: 1px solid rgba(24, 187, 167, 0.32);
    border-bottom: none;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    background: linear-gradient(165deg, #172033 0%, #0d1422 100%);
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.specialist-modal-overlay.is-open .specialist-bottom-sheet {
    transform: translateY(0);
}

.specialist-sheet-handle-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0 0.35rem;
}

.specialist-sheet-handle {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.specialist-sheet-close {
    position: absolute;
    top: 0.85rem;
    inset-inline-end: 1rem;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 180ms ease, color 180ms ease;
}

.specialist-sheet-close:hover {
    color: var(--teal-light);
    background: rgba(24, 187, 167, 0.2);
}

.specialist-sheet-content {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem 1.25rem 1rem;
}

.specialist-sheet-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    text-align: center;
}

.specialist-sheet-avatar {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 3px solid rgba(24, 187, 167, 0.35);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.specialist-sheet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-modal-fallback:not([hidden]) {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialist-modal-fallback[hidden] {
    display: none;
}

.specialist-sheet-name {
    margin: 0 0 0.25rem;
    color: var(--text-main);
    font-size: 1.3rem;
    font-weight: 900;
}

.specialist-sheet-role {
    margin: 0;
    color: var(--teal-light);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.6;
}

.specialist-sheet-body .team-details-list {
    margin: 0;
    padding: 0.85rem;
    background: rgba(4, 10, 18, 0.35);
}

/* =========================================================
   10. Why Choose Us
========================================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2.6vw, 1.5rem);
}

.feature-card {
    padding: clamp(1rem, 3vw, 1.8rem);
    text-align: center;
}

.feature-icon {
    width: clamp(58px, 15vw, 82px);
    height: clamp(58px, 15vw, 82px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    border-radius: 24px;
    color: var(--white);
    background:
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.3), transparent 38%),
        linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 34px rgba(212, 168, 67, 0.22);
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.feature-title {
    margin-bottom: var(--space-2);
    color: var(--text-main);
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    font-weight: 900;
    line-height: 1.25;
}

.feature-description {
    color: var(--text-muted);
    font-size: clamp(0.82rem, 2.7vw, 1rem);
    line-height: 1.75;
    font-weight: 600;
}

/* =========================================================
   11. Branch Maps / WhatsApp Booking
========================================================= */

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 3vw, 1.6rem);
}

.booking-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 3vw, 1.4rem);
}

.branch-location-card {
    background: linear-gradient(155deg, rgba(23, 32, 51, 0.94), rgba(14, 21, 35, 0.95));
    border-color: rgba(255, 255, 255, 0.085);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
}

.branch-location-card:hover {
    transform: translateY(-3px);
    border-color: rgba(24, 187, 167, 0.22);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.branch-header {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.branch-heading {
    min-width: 0;
    flex: 1 1 auto;
}

.branch-label {
    display: inline-flex;
    margin-bottom: 0.25rem;
    color: #d9b86b;
    font-size: 0.78rem;
    font-weight: 900;
}

.branch-name {
    margin: 0 0 0.55rem;
    color: var(--text-main);
    font-size: clamp(1.3rem, 5vw, 1.75rem);
    font-weight: 900;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.branch-address {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.branch-address i {
    flex: 0 0 auto;
    margin-top: 0.3rem;
    color: var(--teal-light);
}

.branch-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 187, 167, 0.24);
    border-radius: 16px;
    color: var(--teal-light);
    background: rgba(24, 187, 167, 0.10);
    box-shadow: none;
    font-size: 1.15rem;
}

.branch-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 210px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: #0d1422;
}

.branch-map {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.booking-form {
    display: grid;
    gap: 0.85rem;
    margin-top: auto;
}

.branch-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
}

.branch-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 0.9rem;
    font-size: 0.9rem;
    white-space: normal;
}

.btn-book {
    color: var(--white);
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    box-shadow: 0 13px 30px rgba(37, 211, 102, 0.20);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 36px rgba(37, 211, 102, 0.28);
}

.btn-map-directions {
    color: #d9e2ef;
    border-color: rgba(24, 187, 167, 0.30);
    background: rgba(24, 187, 167, 0.065);
    box-shadow: none;
}

.btn-map-directions:hover {
    transform: translateY(-2px);
    color: var(--white);
    border-color: rgba(69, 221, 202, 0.52);
    background: rgba(24, 187, 167, 0.13);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   12. Testimonials
========================================================= */

.testimonials-swipe-hint,
.testimonials-carousel-controls {
    display: none;
}

html[dir="ltr"] .team-carousel-btn i,
html[dir="ltr"] .testimonials-carousel-btn i {
    transform: scaleX(-1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.2rem, 4vw, 2rem);
    text-align: center;
}

.testimonial-image {
    width: 86px;
    height: 86px;
    margin: 0 auto var(--space-4);
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(212, 168, 67, 0.32);
    box-shadow: var(--shadow-sm);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: var(--space-4);
    color: var(--gold-light);
    font-size: 1.05rem;
}

.testimonial-text {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 700;
}

.testimonial-author {
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 1.05rem;
    margin-top: auto;
}

/* =========================================================
   13. Contact
========================================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.7rem);
}

.contact-info {
    display: grid;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: clamp(1rem, 3vw, 1.45rem);
}

.contact-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--white);
    background:
        radial-gradient(circle at 25% 18%, rgba(255, 255, 255, 0.3), transparent 38%),
        linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 32px rgba(212, 168, 67, 0.20);
    font-size: 1.3rem;
}

.contact-details h3 {
    margin-bottom: var(--space-2);
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 900;
}

.contact-details p {
    margin-bottom: 0.2rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    font-weight: 800;
}

.contact-details a {
    color: var(--primary-dark);
}

.contact-details a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--whatsapp-dark) !important;
    font-weight: 900;
}

.contact-form {
    padding: clamp(1rem, 4vw, 2rem);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--text-main);
    font-size: 0.98rem;
    font-weight: 900;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    resize: vertical;
    box-shadow: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-soft);
}

.form-group textarea {
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(212, 168, 67, 0.50);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 5px rgba(212, 168, 67, 0.12);
}

.contact-form .btn {
    width: 100%;
}

/* =========================================================
   14. Floating Mobile CTA
========================================================= */

.floating-cta {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: block;
    pointer-events: none;
}

.floating-cta-btn {
    pointer-events: auto;
    min-height: 56px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    border-radius: 22px;
    color: var(--white);
    background:
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.34), transparent 34%),
        linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.32);
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* =========================================================
   15. Footer
========================================================= */

.footer {
    position: relative;
    z-index: 2;
    padding: clamp(3rem, 7vw, 5rem) 0 calc(5.5rem + env(safe-area-inset-bottom));
    color: rgba(255, 255, 255, 0.80);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(212, 168, 67, 0.14), transparent 28rem),
        radial-gradient(circle at 20% 20%, rgba(14, 180, 158, 0.12), transparent 24rem),
        linear-gradient(180deg, var(--bg-surface), var(--black));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-logo {
    margin-bottom: var(--space-4);
}

.footer-logo .logo-img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    display: block;
}

.footer-description {
    width: min(390px, 100%);
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.9;
    font-weight: 700;
}

.footer-title {
    margin-bottom: var(--space-4);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: var(--space-2);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 800;
}

.footer-links a:hover {
    color: var(--white);
    padding-inline-start: var(--space-2);
}

.footer-branches {
    display: grid;
    gap: var(--space-4);
}

.footer-branches p {
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.8;
    font-weight: 700;
}

.footer-branches strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 900;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: 0.35rem;
    color: var(--whatsapp) !important;
    font-weight: 900;
}

.footer-whatsapp:hover {
    color: #7cf5aa !important;
}

.social-links {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.social-link {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 1.2rem;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.social-link:hover {
    transform: translateY(-4px);
    background: rgba(212, 168, 67, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    font-weight: 700;
}

/* =========================================================
   16. Animations
========================================================= */

@keyframes languageMenuIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }

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

@keyframes menuDrop {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }

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

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

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

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 18px 42px rgba(212, 168, 67, 0.22);
    }

    50% {
        box-shadow: 0 22px 60px rgba(212, 168, 67, 0.32);
    }
}

.fade-in {
    animation: fadeInUp 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.keyboard-active {
    transform: scale(0.98);
}

/* Mobile adjustments below 768px */
@media (max-width: 767px) {
    .hero-top-card {
        border-radius: clamp(20px, 4vw, 28px);
    }

    .hero-slider-frame {
        aspect-ratio: 16 / 10;
        max-height: 300px;
    }

    .hero-top-copy {
        padding: clamp(20px, 5vw, 26px) clamp(16px, 4.5vw, 22px);
    }

    .team-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: clamp(250px, 82vw, 340px);
        align-items: stretch;
        gap: 14px;
        padding-inline: 4px;
        padding-bottom: 8px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-padding-inline: 4px;
        scroll-snap-type: inline mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .team-card {
        min-height: 332px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 1.1rem 1rem 1rem;
    }

    .team-avatar {
        width: clamp(120px, 32vw, 140px);
        height: clamp(120px, 32vw, 140px);
        margin-bottom: 0.8rem;
    }

    .team-info {
        margin-bottom: 0.8rem;
    }

    .team-name {
        margin-bottom: 0.25rem;
        font-size: 1.18rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-expand-btn {
        min-height: 48px;
        padding: 0.65rem 0.9rem;
    }

    .team-drawer {
        display: none;
    }

    .team-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        margin: 0 0 1.25rem;
        color: var(--gold-light);
        font-size: 0.86rem;
        font-weight: 750;
    }

    .team-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .team-carousel-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(24, 187, 167, 0.32);
        border-radius: 50%;
        color: var(--text-main);
        background: rgba(24, 187, 167, 0.09);
        cursor: pointer;
        font-size: 1rem;
        transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 150ms ease;
    }

    .team-carousel-btn:hover:not(:disabled) {
        border-color: rgba(69, 221, 202, 0.55);
        background: rgba(24, 187, 167, 0.2);
    }

    .team-carousel-btn:active:not(:disabled) {
        transform: scale(0.94);
    }

    .team-carousel-btn:disabled {
        opacity: 0.32;
        cursor: not-allowed;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
    }

    .team-carousel-indicator {
        min-width: 58px;
        color: var(--teal-light);
        font-size: 0.95rem;
        font-weight: 850;
        text-align: center;
        letter-spacing: 0.04em;
    }

    /* Testimonials Track & Horizontal Carousel */
    .testimonials-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        margin: 0 0 1.25rem;
        color: var(--gold-light);
        font-size: 0.86rem;
        font-weight: 750;
    }

    .testimonials-grid {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: clamp(270px, 85vw, 360px) !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: inline mandatory !important;
        overscroll-behavior-inline: contain !important;
        scroll-behavior: smooth !important;
        gap: 14px !important;
        padding-inline: 4px !important;
        padding-bottom: 8px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none !important;
    }

    .testimonial-card {
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        height: 100% !important;
        padding: 1.15rem 1rem 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .testimonial-image {
        width: 76px !important;
        height: 76px !important;
        margin: 0 auto 0.75rem !important;
    }

    .testimonial-rating {
        margin-bottom: 0.65rem !important;
        font-size: 0.95rem !important;
    }

    .testimonial-text {
        font-size: clamp(0.92rem, 3.8vw, 1.02rem) !important;
        line-height: 1.8 !important;
        margin-bottom: 0.85rem !important;
    }

    .testimonial-author {
        font-size: 1.05rem !important;
        margin-top: auto !important;
    }

    .testimonials-carousel-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .testimonials-carousel-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(212, 168, 67, 0.35);
        background: rgba(212, 168, 67, 0.09);
        color: var(--text-main);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 150ms ease;
    }

    .testimonials-carousel-btn:hover:not(:disabled) {
        background: rgba(212, 168, 67, 0.22);
        border-color: rgba(212, 168, 67, 0.6);
    }

    .testimonials-carousel-btn:focus-visible {
        outline: 2px solid var(--gold-light);
        outline-offset: 2px;
    }

    .testimonials-carousel-btn:active:not(:disabled) {
        transform: scale(0.94);
    }

    .testimonials-carousel-btn:disabled {
        opacity: 0.32;
        cursor: not-allowed;
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.03);
    }

    .testimonials-carousel-indicator {
        min-width: 48px;
        color: var(--gold-light);
        font-size: 0.95rem;
        font-weight: 850;
        text-align: center;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 420px) {
    .container,
    .hero-split-clean .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .header {
        width: min(calc(100% - 0.75rem), 1240px);
        border-radius: 20px;
    }

    .nav-wrapper {
        min-height: 62px;
        padding: 0.32rem 0.45rem;
    }

    .logo-img {
        inline-size: 66px;
        block-size: 44px;
    }

    .whatsapp-btn,
    .language-toggle,
    .hamburger {
        width: 40px;
        height: 40px;
    }

    .nav-actions {
        gap: 0.32rem;
    }

    .language-menu {
        min-width: 166px;
    }

    .services-grid,
    .people-grid,
    .features-grid,
    .booking-grid {
        gap: 0.85rem;
    }

    .service-card {
        min-height: 0;
    }

    .service-card-content {
        padding: 1.1rem;
    }

    .service-card-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 1rem;
        border-radius: 18px;
        font-size: 1.3rem;
    }

    .booking-card {
        padding: 0.9rem;
    }

    .branch-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .branch-map-wrap {
        min-height: 190px;
    }
}

@media (min-width: 520px) {
    .whatsapp-btn {
        width: auto;
        padding-inline: 1rem;
    }

    .whatsapp-btn-text {
        display: inline;
        font-size: 0.86rem;
        font-weight: 850;
        white-space: nowrap;
    }

    .branch-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .container,
    .hero-split-clean .container {
        width: min(100% - 3rem, var(--container));
    }

    .language-toggle {
        width: auto;
        min-width: 44px;
        padding-inline: 0.75rem;
    }

    .language-toggle-label,
    .language-toggle-chevron {
        display: inline;
    }

    .language-toggle-label {
        max-width: 7.5rem;
        overflow: hidden;
        font-size: 0.84rem;
        font-weight: 850;
        text-overflow: ellipsis;
    }

    .people-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .contact-wrapper {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
    }

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

    .floating-cta {
        display: none;
    }

    .footer {
        padding-bottom: clamp(3rem, 7vw, 5rem);
    }
}

@media (min-width: 900px) {
    /* Desktop split hero: image | copy. Below this width the hero stays stacked. */
    .hero-top-card {
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(400px, 1fr);
        grid-template-areas: "media copy";
        grid-template-rows: minmax(0, 1fr);
        align-items: stretch;
        min-height: clamp(480px, 40vw, 560px);
        border-radius: clamp(24px, 3vw, 34px);
    }

    .hero-top-image,
    .hero-top-copy {
        grid-row: 1;
        min-height: 0;
    }

    .hero-top-image {
        grid-area: media;
        height: 100%;
    }

    .hero-slider-frame,
    .hero-slider {
        height: 100%;
        min-height: 0;
    }

    .hero-slider-frame {
        aspect-ratio: auto;
    }

    .hero-top-copy {
        grid-area: copy;
        justify-content: center;
        padding: clamp(2.25rem, 4vw, 3.25rem) clamp(2rem, 3.5vw, 3rem);
    }

    .hero-split-clean .hero-title {
        font-size: clamp(2.5rem, 2.9vw, 3.4rem);
        line-height: 1.2;
    }

    .hero-title-highlight::after {
        width: 68%;
    }

    .hero-card-actions {
        width: min(100%, 420px);
        display: block;
    }

    .hero-card-actions .btn {
        padding-inline: clamp(0.9rem, 1.4vw, 1.4rem);
        font-size: clamp(0.96rem, 1.1vw, 1rem);
    }

    .hamburger {
        display: none;
    }

    .nav-wrapper {
        min-height: 72px;
        padding: 0.45rem 0.85rem;
    }

    .logo-img {
        inline-size: 96px;
        block-size: 58px;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.05rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-link {
        min-height: 42px;
        padding: 0.55rem 0.68rem;
        font-size: 0.88rem;
    }

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

    .team-card:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

@media (min-width: 1024px) {
    .header {
        top: 1rem;
        margin-top: 1rem;
    }

    .nav-link {
        padding-inline: 0.86rem;
        font-size: 0.95rem;
    }

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

    .team-avatar {
        width: clamp(132px, 11vw, 154px);
    }

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

@media (min-width: 1280px) {
    .people-grid,
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .team-card:nth-last-child(2):nth-child(4n + 1) {
        grid-column: 2;
    }
}

/* =========================================================
   22. Accessibility / Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide {
        animation: none !important;
        opacity: 0;
    }

    .hero-slide:first-child {
        opacity: 1;
    }
}

:focus-visible {
    outline: 3px solid rgba(69, 221, 202, 0.62);
    outline-offset: 3px;
}

/* =========================================================
   23. Print
========================================================= */

@media print {
    .header,
    .floating-cta,
    .whatsapp-btn,
    .language-selector,
    .hamburger,
    .hero-actions,
    .hero-buttons,
    .btn,
    .social-links,
    .site-bg {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .glass-card,
    .glass-hero,
    .glass-panel,
    .hero-top-card,
    .hero-top-image {
        box-shadow: none;
        border: 1px solid #dddddd;
        background: #ffffff;
    }

    section {
        padding: 1rem 0;
    }
}
