/* =============================================================
   Cabinet Dentaire Dr Rabab Leouatni — Public Site v2
   Feminine · Warm · Elegant · Pro
   ============================================================= */

:root {
    /* Primary — soft rose */
    --p:      #ec4899;
    --pl:     #f472b6;
    --pd:     #be185d;
    --p50:    #fdf2f8;
    --p100:   #fce7f3;
    --p200:   #fbcfe8;

    /* Accents */
    --lav:    #a78bfa;   /* lavender */
    --lav-l:  #c4b5fd;
    --lav-50: #f5f3ff;
    --mint:   #10b981;   /* fresh mint */
    --mint-l: #6ee7b7;
    --mint-50:#ecfdf5;
    --peach:  #fb923c;
    --gold:   #fbbf24;

    /* Neutrals — warm */
    --cream:  #fffbf7;
    --bg:     #fefcfb;
    --dark:   #1f1028;
    --g1:     #faf7f9;
    --g2:     #f1e8ed;
    --g3:     #d8c7d0;
    --g5:     #8b7280;
    --g7:     #5c4653;
    --g9:     #2d1b2e;

    --ok:  #10b981;
    --err: #ef4444;

    --shadow-sm: 0 1px 3px rgba(236,72,153,.06);
    --shadow:    0 10px 30px rgba(236,72,153,.1);
    --shadow-lg: 0 25px 60px rgba(236,72,153,.18);
    --shadow-pink: 0 12px 30px rgba(236,72,153,.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    color: var(--g9);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.rtl { direction: rtl; font-family: 'Tajawal', 'Cairo', 'Inter', sans-serif; }

img { max-width: 100%; display: block; }
a { color: var(--p); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pd); }

.serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
body.rtl .serif { font-family: 'Tajawal', 'Cairo', serif; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================================
   DECORATIVE BACKGROUND BLOBS
   ============================================================= */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .4;
    pointer-events: none;
    z-index: 0;
}
.bg-blob.pink  { background: var(--p200); }
.bg-blob.lav   { background: var(--lav-l); }
.bg-blob.mint  { background: var(--mint-l); }

/* =============================================================
   HEADER / NAV
   ============================================================= */
.header {
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--p100);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 20px rgba(236,72,153,.06);
}

.top-strip {
    background: linear-gradient(90deg, var(--pd), var(--p), var(--lav));
    color: #fff;
    font-size: 12px;
    padding: 7px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: .3px;
}

.top-strip .container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--pl), var(--p) 50%, var(--lav));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: var(--shadow-pink);
    position: relative;
    transition: transform .3s;
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }

.brand-logo::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--p200), var(--lav-l));
    z-index: -1;
    opacity: .5;
}

.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--g9);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.brand-text small {
    display: block;
    color: var(--p);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    padding: 10px 16px;
    color: var(--g7);
    font-weight: 500;
    font-size: 14px;
    border-radius: 12px;
    transition: all .2s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--p50);
    color: var(--p);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--p);
    border-radius: 50%;
}

.lang-switch {
    display: flex;
    gap: 2px;
    background: var(--p50);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--p100);
}

.lang-switch a {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--g5);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.lang-switch a.active {
    background: #fff;
    color: var(--p);
    box-shadow: 0 2px 6px rgba(236,72,153,.15);
}

.menu-btn {
    display: none;
    background: var(--p50);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 20px;
    color: var(--p);
    cursor: pointer;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--p50) 100%);
}

.hero .bg-blob.b1 { top: -100px; right: -50px; width: 400px; height: 400px; background: var(--p200); }
.hero .bg-blob.b2 { bottom: -100px; left: -100px; width: 350px; height: 350px; background: var(--lav-l); }
.hero .bg-blob.b3 { top: 40%; left: 40%; width: 250px; height: 250px; background: var(--mint-l); opacity: .25; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--p);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--p100);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    line-height: 1.1;
    color: var(--g9);
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--p) 0%, var(--lav) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero h1 .underlined {
    position: relative;
    display: inline-block;
}

.hero h1 .underlined::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--p200);
    z-index: -1;
    border-radius: 12px;
}

.hero p {
    font-size: 18px;
    color: var(--g7);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px dashed var(--p200);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-trust-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--p50), var(--p100));
    color: var(--p);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-trust-text {
    font-size: 12px;
    color: var(--g5);
    line-height: 1.3;
}

.hero-trust-text strong {
    display: block;
    color: var(--g9);
    font-size: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pl), var(--p));
    color: #fff;
    box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(236,72,153,.4);
    color: #fff;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transition: left .5s;
}
.btn-primary:hover::before { left: 100%; }

.btn-secondary {
    background: #fff;
    color: var(--p);
    border: 2px solid var(--p100);
}
.btn-secondary:hover {
    background: var(--p50);
    border-color: var(--p);
    transform: translateY(-2px);
}

.btn-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37,211,102,.4);
    color: #fff;
}

.btn-full { width: 100%; justify-content: center; }

/* Hero visual card */
.hero-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--p100);
}

.hero-card::before {
    content: '🌸';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 40px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(10deg); }
}

.hero-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.status-open { background: var(--mint-50); color: #065f46; border: 1px solid var(--mint-l); }
.status-closed { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.9); }
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--p100);
    font-size: 14px;
}
.hours-list li:last-child { border: 0; }
.hours-list .day { color: var(--g7); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.hours-list .time { color: var(--g9); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-list .today {
    background: var(--p50);
    margin: 0 -14px;
    padding: 12px 14px;
    border-radius: 10px;
    border-bottom-color: transparent;
}
.hours-list .today .day { color: var(--p); font-weight: 700; }
.hours-list .today .time { color: var(--p); }
.hours-list .today .day::before { content: '✨'; }
.hours-list .closed-day { color: var(--err); font-style: italic; font-size: 13px; }

/* =============================================================
   STATS BANNER
   ============================================================= */
.stats-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--p50), var(--lav-50));
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.stat-item .icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--p200), var(--lav-l));
    z-index: -1;
    opacity: .3;
}

.stat-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--g9);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item .num .plus { color: var(--p); font-size: 30px; }

.stat-item .lbl {
    color: var(--g5);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* =============================================================
   SECTIONS
   ============================================================= */
section {
    padding: 90px 0;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-head .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--p50);
    color: var(--p);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--p100);
    margin-bottom: 16px;
}

.section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--g9);
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-head h2 em {
    font-style: italic;
    color: var(--p);
    font-weight: 500;
}

.section-head p {
    color: var(--g5);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================================
   ABOUT / WHY CHOOSE US
   ============================================================= */
.why {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.why .bg-blob.b1 { top: 20%; right: -100px; width: 300px; height: 300px; background: var(--p200); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 30px;
    border: 1px solid var(--p100);
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--p200);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pl), var(--lav));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--p50), var(--p100));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    position: relative;
    transition: all .3s;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--pl), var(--p));
    transform: rotate(-5deg);
}

.why-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    border: 2px dashed var(--p200);
    opacity: 0;
    transition: opacity .3s;
}
.why-card:hover .why-icon::after { opacity: 1; animation: spin 10s linear infinite; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.why-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    color: var(--g5);
    font-size: 15px;
    line-height: 1.7;
}

/* =============================================================
   SERVICES GRID (3 big actions)
   ============================================================= */
.services {
    background: linear-gradient(180deg, var(--bg) 0%, var(--p50) 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--p100);
    transition: all .3s;
    cursor: pointer;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--p50) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .4s;
}
.service-card:hover::before { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--p100), var(--p200));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    transition: all .4s;
    position: relative;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--pl), var(--p));
    transform: scale(1.08) rotate(-5deg);
    box-shadow: var(--shadow-pink);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed var(--p200);
    border-radius: 34px;
    opacity: 0;
    transition: opacity .3s;
}
.service-card:hover .service-icon::after { opacity: 1; animation: spin 12s linear infinite; }

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 24px;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-card p {
    color: var(--g5);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.7;
    min-height: 54px;
}

.service-link {
    color: var(--p);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--p50);
    border-radius: 30px;
    transition: all .3s;
}

.service-card:hover .service-link {
    background: var(--p);
    color: #fff;
    gap: 12px;
}

/* =============================================================
   TREATMENTS
   ============================================================= */
.treatments {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.treatments .bg-blob.b1 { top: 10%; left: -100px; width: 300px; height: 300px; background: var(--lav-l); opacity: .3; }

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.treat-card {
    background: #fff;
    border: 1px solid var(--p100);
    border-radius: 18px;
    padding: 22px;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.treat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--pl), var(--p));
    transform: scaleY(0);
    transition: transform .3s;
}
body.rtl .treat-card::before { left: auto; right: 0; }
.treat-card:hover::before { transform: scaleY(1); }

.treat-card:hover {
    border-color: var(--p200);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.treat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    position: relative;
}

.treat-info { flex: 1; min-width: 0; }

.treat-info h4 {
    color: var(--g9);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Playfair Display', serif;
}

.treat-info .cat {
    color: var(--p);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials {
    background: linear-gradient(135deg, var(--p50) 0%, var(--lav-50) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials .bg-blob.b1 { top: -50px; right: -50px; width: 300px; height: 300px; background: var(--p200); }
.testimonials .bg-blob.b2 { bottom: -50px; left: -50px; width: 300px; height: 300px; background: var(--lav-l); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testi-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid #fff;
    position: relative;
    transition: all .3s;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testi-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: var(--p100);
    line-height: 1;
    font-weight: 700;
}

.testi-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testi-text {
    color: var(--g7);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px dashed var(--p200);
}

.testi-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pl), var(--p));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    box-shadow: var(--shadow-sm);
}

.testi-name {
    font-weight: 700;
    color: var(--g9);
    font-size: 15px;
    font-family: 'Playfair Display', serif;
}

.testi-role {
    color: var(--g5);
    font-size: 12px;
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 14px;
    border: 1px solid var(--p100);
    transition: all .3s;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--p200);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--p);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, #fff 0%, var(--p50) 100%);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--g9);
    cursor: pointer;
    list-style: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::before {
    content: '💗';
    font-size: 20px;
}

.faq-q::after {
    content: '+';
    width: 32px;
    height: 32px;
    background: var(--p50);
    color: var(--p);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    margin-left: auto;
    flex-shrink: 0;
    transition: all .3s;
}

.faq-item[open] .faq-q::after {
    content: '×';
    background: var(--p);
    color: #fff;
    transform: rotate(180deg);
}

.faq-a {
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px dashed var(--p200);
    color: var(--g7);
    font-size: 15px;
    line-height: 1.75;
}

/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 50%, var(--lav) 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-banner::before {
    width: 400px; height: 400px;
    top: -200px; right: -100px;
}
.cta-banner::after {
    width: 300px; height: 300px;
    bottom: -150px; left: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-content h2 em {
    font-style: italic;
    color: var(--p200);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 34px;
    opacity: .95;
    line-height: 1.7;
}

.cta-banner .btn {
    background: #fff;
    color: var(--p);
}
.cta-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
    background: #fff;
    color: var(--pd);
}

.cta-banner .btn-wa {
    background: rgba(255,255,255,.15);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
}
.cta-banner .btn-wa:hover { background: rgba(255,255,255,.25); }

/* =============================================================
   CONTACT / LOCATION
   ============================================================= */
.contact-section {
    background: var(--bg);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--p100);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--p50), var(--lav-50));
    border-radius: 50%;
    transform: translate(60px, -60px);
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--g9);
    margin-bottom: 6px;
    position: relative;
}

.contact-info > p {
    color: var(--g5);
    font-size: 14px;
    margin-bottom: 24px;
    position: relative;
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--p200);
    position: relative;
}

.contact-item:last-child { border: 0; padding-bottom: 0; }

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--p50), var(--p100));
    color: var(--p);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all .3s;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--pl), var(--p));
    color: #fff;
    transform: scale(1.05);
}

.contact-item h4 {
    color: var(--g5);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--g9);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
}

.contact-item a { color: var(--p); font-weight: 600; }
.contact-item a:hover { color: var(--pd); text-decoration: underline; }

.contact-buttons {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    position: relative;
}

.map-wrap {
    border-radius: 28px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: var(--shadow);
    border: 1px solid var(--p100);
    position: relative;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

/* =============================================================
   PAGE HERO (non-home pages)
   ============================================================= */
.page-hero {
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 50%, var(--lav) 100%);
    padding: 70px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
    border-radius: 50%;
}

.page-hero .page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.2);
    position: relative;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.01em;
}

.page-hero p {
    font-size: 17px;
    opacity: .95;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    line-height: 1.7;
}

/* =============================================================
   FORMS
   ============================================================= */
.form-section {
    padding: 60px 0 100px;
    margin-top: -50px;
    position: relative;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto;
    align-items: flex-start;
}

/* When success screen is showing, make wrapper single centered column */
.form-wrapper.is-success {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.form-card {
    background: #fff;
    border-radius: 28px;
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--p100);
    position: relative;
}

.form-card.single,
.form-wrapper.is-success .form-card {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.form-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--pl), var(--lav));
    border-radius: 3px;
}

.form-head {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--p200);
}

.form-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: var(--g9);
    margin-bottom: 6px;
}

.form-head p {
    color: var(--g5);
    font-size: 14px;
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

label {
    display: block;
    color: var(--g7);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

label .req { color: var(--p); font-size: 16px; }

input, select, textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--p100);
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    background: var(--p50);
    color: var(--g9);
    transition: all .25s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--p);
    background: #fff;
    box-shadow: 0 0 0 5px var(--p100);
}

input::placeholder, textarea::placeholder { color: var(--g5); }

textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.help-text {
    color: var(--g5);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* File upload */
.file-upload {
    border: 2px dashed var(--p200);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
    background: var(--p50);
    display: block;
}

.file-upload:hover {
    border-color: var(--p);
    background: var(--p100);
    transform: translateY(-2px);
}

.file-upload-icon {
    font-size: 44px;
    margin-bottom: 14px;
    display: inline-block;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.file-upload p { color: var(--g9); font-weight: 600; margin-bottom: 4px; font-size: 15px; }
.file-upload small { color: var(--g5); font-size: 12px; }
.file-upload input[type="file"] { display: none; }

.file-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.file-preview-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--g1);
    border: 2px solid var(--p100);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form sidebar (info card) */
.form-sidebar {
    background: linear-gradient(135deg, var(--p50), var(--lav-50));
    border-radius: 28px;
    padding: 36px 32px;
    border: 1px solid var(--p100);
    position: sticky;
    top: 100px;
}

.form-sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--g9);
    margin-bottom: 8px;
}

.form-sidebar > p {
    color: var(--g5);
    font-size: 14px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--p200);
}
.info-item:last-child { border: 0; }

.info-item .ic {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--p);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 12px;
    color: var(--g5);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
    font-weight: 600;
}

.info-item p {
    color: var(--g9);
    font-weight: 600;
    font-size: 14px;
}

/* =============================================================
   ALERTS
   ============================================================= */
.alert {
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.alert-success { background: var(--mint-50); color: #065f46; border: 1px solid var(--mint-l); }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--p50); color: var(--pd); border: 1px solid var(--p100); }

.alert .ic {
    font-size: 22px;
    flex-shrink: 0;
}

/* Success screen */
.success-screen {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--mint-50), #d1fae5);
    color: var(--mint);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    margin: 0 auto 26px;
    animation: scaleIn .6s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 20px 40px rgba(16,185,129,.2);
    position: relative;
}

.success-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px dashed var(--mint-l);
    border-radius: 50%;
    animation: spin 12s linear infinite;
}

@keyframes scaleIn {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.success-screen h2 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 32px;
    margin-bottom: 12px;
}

.success-screen > p {
    color: var(--g5);
    margin-bottom: 10px;
    font-size: 16px;
}

.code-box {
    display: inline-block;
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: #fff;
    padding: 20px 40px;
    border-radius: 18px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 24px 0;
    box-shadow: var(--shadow-pink);
    position: relative;
}

.code-box::before {
    content: '🎫';
    position: absolute;
    top: -14px;
    left: -14px;
    font-size: 28px;
    transform: rotate(-20deg);
}

/* =============================================================
   TRACKING CARD
   ============================================================= */
.tracking-card {
    background: #fff;
    border-radius: 22px;
    padding: 32px;
    border: 1px solid var(--p100);
    margin-top: 28px;
    box-shadow: var(--shadow-sm);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--p200);
    flex-wrap: wrap;
    gap: 14px;
}

.tracking-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 22px;
    margin-bottom: 6px;
}

.tracking-header .code-inline {
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--p);
    font-size: 13px;
    background: var(--p50);
    padding: 4px 12px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.tracking-detail {
    display: flex;
    padding: 14px 0;
    gap: 16px;
    border-bottom: 1px dashed var(--p100);
}
.tracking-detail:last-child { border: 0; }

.tracking-detail .label {
    color: var(--g5);
    font-size: 13px;
    min-width: 160px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tracking-detail .value {
    color: var(--g9);
    font-weight: 500;
    flex: 1;
    font-size: 14px;
}

.response-box {
    background: linear-gradient(135deg, var(--p50), var(--lav-50));
    border-left: 4px solid var(--p);
    padding: 20px 24px;
    border-radius: 14px;
    margin-top: 18px;
    position: relative;
}

body.rtl .response-box {
    border-left: 0;
    border-right: 4px solid var(--p);
}

.response-box::before {
    content: '💬';
    position: absolute;
    top: -10px;
    right: 20px;
    background: #fff;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 16px;
}

.response-box h5 {
    font-family: 'Playfair Display', serif;
    color: var(--p);
    font-size: 15px;
    margin-bottom: 8px;
}

.response-box p { color: var(--g7); font-size: 14px; line-height: 1.7; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #0f0519 100%);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,.15), transparent 60%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.footer .brand-text h1 { color: #fff; }
.footer .brand-text small { color: var(--pl); }

.footer-about {
    color: #a89aae;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all .3s;
    border: 1px solid rgba(255,255,255,.1);
}

.footer-social a:hover {
    background: var(--p);
    transform: translateY(-3px);
    color: #fff;
    border-color: var(--p);
}

.footer h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 22px;
    font-size: 17px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--p);
    border-radius: 3px;
}

.footer p, .footer a { color: #a89aae; font-size: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer ul li::before {
    content: '🌸';
    font-size: 11px;
    opacity: .6;
}
.footer a:hover { color: var(--pl); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    text-align: center;
    color: #a89aae;
    font-size: 13px;
    position: relative;
}

.footer-bottom .heart {
    color: var(--p);
    animation: pulse 1.5s infinite;
    display: inline-block;
}

/* =============================================================
   LANGUAGE SELECTION SCREEN
   ============================================================= */
.lang-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--p) 0%, var(--pd) 50%, var(--lav) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.lang-screen::before,
.lang-screen::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.lang-screen::before { width: 500px; height: 500px; top: -200px; right: -150px; }
.lang-screen::after { width: 400px; height: 400px; bottom: -150px; left: -150px; }

.lang-box {
    background: #fff;
    border-radius: 32px;
    padding: 60px 45px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 40px 80px rgba(0,0,0,.25);
    text-align: center;
    position: relative;
    z-index: 1;
}

.lang-box .logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--pl), var(--p), var(--lav));
    border-radius: 28px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    box-shadow: var(--shadow-pink);
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.lang-box .logo::before {
    content: '✨';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 28px;
    animation: pulse 2s infinite;
}

.lang-box h1 {
    font-family: 'Playfair Display', serif;
    color: var(--g9);
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.lang-box .dentist {
    color: var(--p);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lang-box .welcome {
    color: var(--g5);
    margin-bottom: 32px;
    font-size: 14px;
    font-style: italic;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lang-option {
    padding: 18px 24px;
    background: var(--p50);
    border: 2px solid var(--p100);
    border-radius: 16px;
    color: var(--g9);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all .25s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lang-option:hover {
    background: var(--p100);
    border-color: var(--p);
    color: var(--p);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.lang-option .flag { font-size: 22px; }

/* =============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================= */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37,211,102,.4);
    z-index: 999;
    transition: all .3s;
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
    50% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 20px rgba(37,211,102,0); }
}

.float-wa:hover {
    transform: scale(1.1) rotate(-10deg);
    color: #fff;
}

body.rtl .float-wa { right: auto; left: 24px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }
    .form-wrapper { grid-template-columns: 1fr; }
    .form-sidebar { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .top-strip { display: none; }
    .hero { padding: 50px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 36px; }
    .hero-trust { gap: 16px; }
    .why-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--p100);
        box-shadow: var(--shadow);
        align-items: stretch;
        gap: 8px;
    }
    .nav-links.open a { text-align: center; }
    .menu-btn { display: flex; align-items: center; justify-content: center; }
    .form-card { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 30px; }
    .page-hero h1 { font-size: 32px; }
    .page-hero { padding: 50px 0 80px; }
    section { padding: 60px 0; }
    .cta-content h2 { font-size: 30px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item .num { font-size: 30px; }
    .float-wa { width: 56px; height: 56px; font-size: 28px; bottom: 16px; right: 16px; }
    body.rtl .float-wa { right: auto; left: 16px; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: 30px; }
    .section-head h2 { font-size: 26px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* RTL tweaks */
body.rtl .hero-trust,
body.rtl .hero-buttons,
body.rtl .contact-buttons { direction: rtl; }

body.rtl .brand-logo { transform: scaleX(-1); }
body.rtl .brand-logo > * { transform: scaleX(-1); }

body.rtl .treat-card:hover { transform: translateY(-3px); }
body.rtl .faq-q::after { margin-left: 0; margin-right: auto; }

/* =============================================================
   V3 ENHANCEMENTS — animations, polish, new effects
   ============================================================= */

/* Smooth scroll reveal */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn2 {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}

.reveal {
    opacity: 0;
    animation: fadeInUp .8s ease-out forwards;
}
.reveal-delay-1 { animation-delay: .1s; }
.reveal-delay-2 { animation-delay: .2s; }
.reveal-delay-3 { animation-delay: .3s; }
.reveal-delay-4 { animation-delay: .4s; }
.reveal-delay-5 { animation-delay: .5s; }

/* Heartbeat for key CTAs */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.05); }
    20% { transform: scale(.98); }
}

.btn-primary.heartbeat:hover { animation: heartbeat 1.3s ease-in-out; }

/* Sparkle decoration */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.sparkle {
    position: absolute;
    font-size: 20px;
    pointer-events: none;
    animation: sparkle 3s ease-in-out infinite;
}

.hero-card {
    position: relative;
}
.hero-card .sparkle.s1 { top: 20px; left: -15px; animation-delay: 0s; }
.hero-card .sparkle.s2 { bottom: 30px; right: -10px; animation-delay: 1s; }
.hero-card .sparkle.s3 { top: 50%; right: 20px; animation-delay: 2s; }

/* Dual-button hero layout */
.hero-shortcuts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.hero-shortcuts .btn {
    padding: 20px 24px;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    min-height: 88px;
}

.hero-shortcuts .btn .big {
    font-size: 22px;
    line-height: 1;
}

.hero-shortcuts .btn .small {
    font-size: 13px;
    font-weight: 600;
    opacity: .9;
}

.hero-shortcuts .btn .tiny {
    font-size: 11px;
    opacity: .75;
    font-weight: 500;
}

@media (max-width: 520px) {
    .hero-shortcuts { grid-template-columns: 1fr; }
}

/* Smooth hover lift */
.hover-lift {
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Shimmer loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Card link full wrap */
a.service-card { text-decoration: none; }

/* Improved success screen — now centered properly + polish */
.success-screen {
    text-align: center;
    padding: 40px 20px;
    max-width: 560px;
    margin: 0 auto;
    animation: scaleIn2 .5s ease-out;
}

.success-icon {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
}

/* Code box click to copy */
.code-box {
    cursor: pointer;
    transition: all .3s;
}
.code-box:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(236,72,153,.4);
}
.code-box::after {
    content: '📋 Click to copy';
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: .7;
    margin-top: 8px;
    letter-spacing: 0;
}
body.rtl .code-box::after { content: '📋 اضغط للنسخ'; }

.code-box.copied::after {
    content: '✓ Copied!';
    color: #d1fae5;
}

/* Testimonial verified badge */
.testi-card .verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--mint);
    font-size: 11px;
    font-weight: 700;
    background: var(--mint-50);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Smooth entrance for all sections */
section { scroll-margin-top: 120px; }

/* Better nav active state */
.nav-links a {
    position: relative;
}

.nav-links a:not(.active):hover::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--p);
    border-radius: 50%;
    opacity: .5;
}

/* Section divider ornament */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 10px auto 20px;
    color: var(--p);
}

.ornament::before,
.ornament::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p));
}
.ornament::after { background: linear-gradient(90deg, var(--p), transparent); }

/* Print styles — for confirmation pages */
@media print {
    .header, .footer, .float-wa, .nav, .page-hero,
    .form-sidebar, .hero-buttons, .top-strip, .menu-btn,
    .btn-wa, .cta-banner, .testimonials, .faq, .stats-banner,
    .why, .services, .treatments, .contact-section { display: none !important; }
    body { background: #fff !important; }
    .form-card, .success-screen, .tracking-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .code-box { background: #fff !important; color: #000 !important; border: 2px solid #000; }
    .code-box::after { display: none; }
}

/* =============================================================
   Tracking page (suivi) — mobile fix
   Stack label/value vertically on small screens so long values don't overflow
   ============================================================= */
@media (max-width: 640px) {
  .tracking-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .tracking-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    gap: 10px;
  }
  .tracking-header h3 { font-size: 18px; }
  .tracking-header > div:first-child { flex: 1; min-width: 0; }
  .tracking-header .code-inline {
    font-size: 11px;
    padding: 3px 8px;
    word-break: break-all;
  }

  .tracking-detail {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }
  .tracking-detail .label {
    min-width: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--g5);
    opacity: 0.85;
  }
  .tracking-detail .value {
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .response-box {
    padding: 14px 16px 14px 18px;
    font-size: 13px;
    line-height: 1.55;
  }

  .badge {
    padding: 6px 12px;
    font-size: 10px;
  }
}