/*
Theme Name: STR DENT Landing Page
Theme URI: https://strdent.com
Author: STR DENT
Author URI: https://strdent.com
Description: High-conversion landing page theme for STR DENT Dental Clinic - Health Tourism
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strdent
Domain Path: /languages
Tags: one-page, landing-page, dental, health-tourism, multilingual-ready
*/

/* ==========================================================================
   1. RESET & CSS CUSTOM PROPERTIES
   ========================================================================== */

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

:root {
    /* Brand Colors - overridable via inline styles for admin color picker */
    --gold: #B19777;
    --gold-light: #C9B18F;
    --gold-dark: #8B7A62;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --white: #FFFFFF;
    --off-white: #F8F6F3;

    /* Utility Colors */
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-dark: #374151;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Derived / Alpha Colors */
    --gold-alpha-10: rgba(177, 151, 119, 0.10);
    --gold-alpha-15: rgba(177, 151, 119, 0.15);
    --gold-alpha-30: rgba(177, 151, 119, 0.30);
    --dark-alpha-90: rgba(26, 26, 46, 0.90);
    --dark-alpha-70: rgba(26, 26, 46, 0.70);
    --white-alpha-75: rgba(255, 255, 255, 0.75);
    --white-alpha-60: rgba(255, 255, 255, 0.60);
    --white-alpha-30: rgba(255, 255, 255, 0.30);
    --white-alpha-20: rgba(255, 255, 255, 0.20);
    --white-alpha-10: rgba(255, 255, 255, 0.10);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.85rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.2rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 24px rgba(177, 151, 119, 0.35);
    --shadow-gold-lg: 0 8px 40px rgba(177, 151, 119, 0.4);

    /* Layout */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --container-max: 1200px;
    --header-height: 72px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. BASE STYLES & TYPOGRAPHY
   ========================================================================== */

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    font-size: var(--text-base);
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--gray);
}

::selection {
    background: var(--gold);
    color: var(--white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   3. STICKY TOP BAR
   ========================================================================== */

.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: var(--text-sm);
    position: relative;
    z-index: 100;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar__left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar__left a {
    color: var(--gold-light);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar__left a:hover { color: var(--white); }

.top-bar__right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-switcher { display: flex; gap: 4px; }

.lang-switcher a {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--gold);
    color: var(--white);
}

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--dark);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    height: var(--header-height);
}

.site-header.scrolled {
    background: #181818 !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom-color: transparent;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img,
.custom-logo {
    height: auto;
    width: 200px !important;
    transition: var(--transition);
}

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

.logo span {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover { color: var(--gold-light); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 28px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
    background: var(--gold-dark) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-gold-lg);
}

.nav-cta::after { display: none !important; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.35;
    transition: var(--transition-slow);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: #181818 !important;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 72px;
}

.hero__content { color: var(--white); }
.hero__content h1,
.hero__content h2,
.hero__content h3,
.hero__content h4,
.hero__content p { color: var(--white); }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(177,151,119,0.25);
    border: 1px solid rgba(177,151,119,0.5);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    animation: fadeUp 0.6s var(--ease-smooth) both;
}

.hero__badge svg { width: 16px; height: 16px; }

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeUp 0.6s var(--ease-smooth) 0.1s both;
}

.hero__title span {
    color: var(--gold);
    position: relative;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.9) !important;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
    animation: fadeUp 0.6s var(--ease-smooth) 0.2s both;
}

.hero__stats {
    display: flex;
    gap: 36px;
    margin-bottom: 40px;
    animation: fadeUp 0.6s var(--ease-smooth) 0.3s both;
}

.hero__stat { text-align: center; }

.hero__stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--gold);
    letter-spacing: -0.02em;
}

.hero__stat small {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s var(--ease-smooth) 0.4s both;
}

/* ==========================================================================
   6. HERO FORM
   ========================================================================== */

.hero__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: fadeUp 0.8s var(--ease-smooth) 0.3s both;
}

.hero__form-wrap::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
}

.form-header {
    text-align: center;
    margin-bottom: 28px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-header p {
    font-size: var(--text-sm);
    color: var(--gray-dark);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* --- Floating Labels --- */

.form-group {
    position: relative;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--dark);
    pointer-events: none;
    transition: var(--transition-fast);
    background: transparent;
    padding: 0 4px;
    z-index: 1;
}

/* When textarea, position label at top-left */
.form-group textarea ~ label,
.form-group label.textarea-label {
    top: 16px;
    transform: translateY(0);
}

/* Floating state: focused or filled */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not([value=""]) ~ label,
.form-group select.has-value ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group .float-label {
    top: 0;
    transform: translateY(-50%);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gold);
    background: var(--white);
    padding: 0 6px;
    left: 10px;
}

/* Static label fallback (for non-floating usage) */
.form-group label.static-label {
    position: static;
    transform: none;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    background: transparent;
    padding: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: var(--transition);
    background: #FFFFFF;
    color: #111827;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-alpha-15);
    background: var(--white);
}

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

/* --- Phone Country Code Picker --- */

.phone-country-group {
    position: relative;
}

.phone-input-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
}

.phone-country-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border: 1.5px solid var(--gray-light);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: #f9fafb;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--dark);
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.phone-country-btn:hover {
    background: #f3f4f6;
}

.phone-country-btn:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-alpha-15);
    z-index: 2;
}

.phone-country-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.phone-country-dial {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.phone-country-arrow {
    color: var(--gray);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.phone-country-btn[aria-expanded="true"] .phone-country-arrow {
    transform: rotate(180deg);
}

.phone-input-wrap input[type="tel"] {
    flex: 1;
    min-width: 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
    border-left: 1px solid var(--gray-light) !important;
}

/* Floating label adjustment for phone field */
.phone-country-group .phone-input-wrap label {
    left: 0;
}

.phone-country-group .phone-input-wrap input:focus ~ label,
.phone-country-group .phone-input-wrap input:not(:placeholder-shown) ~ label {
    left: -4px;
    background: var(--white);
}

/* Country code dropdown */
.phone-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 4px;
    max-height: 260px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-country-dropdown[hidden] {
    display: none;
}

.phone-country-search-wrap {
    padding: 8px;
    border-bottom: 1px solid var(--gray-light);
}

.phone-country-search {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.phone-country-search:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-alpha-15);
}

.phone-country-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    flex: 1;
}

.phone-country-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.15s;
}

.phone-country-list li:hover,
.phone-country-list li.highlighted {
    background: #f3f4f6;
}

.phone-country-list li .pc-flag {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.phone-country-list li .pc-name {
    flex: 1;
    color: var(--dark);
}

.phone-country-list li .pc-dial {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Static label mode */
.phone-country-group > .static-label {
    margin-bottom: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-xs);
    color: var(--gray-dark);
    line-height: 1.5;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--gold);
    color: var(--white);
    width: 100%;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-gold-lg);
}

/* Lead form submit button — WhatsApp green */
.lead-form .btn-primary {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.lead-form .btn-primary:hover {
    background: #1FAD55;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* Phone input always LTR — prevents "644 → 446" bug on RTL locales */
.lead-form input[type="tel"],
.phone-country-dial,
.phone-country-btn {
    direction: ltr !important;
    text-align: left;
    unicode-bidi: isolate;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1;
}
.rtl .lead-form input[type="tel"] { text-align: right; }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white-alpha-30);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(177, 151, 119, 0.08);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1FAD55;
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

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

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

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

.btn-sm {
    padding: 10px 22px;
    font-size: var(--text-sm);
}

.btn-lg {
    padding: 18px 42px;
    font-size: var(--text-lg);
}

/* ==========================================================================
   8. TRUST BAR
   ========================================================================== */

.trust-bar {
    background: var(--off-white);
    padding: 44px 0;
    border-bottom: 1px solid var(--gray-light);
}

.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 52px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: var(--text-sm);
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.trust-item:hover { transform: translateY(-2px); }

.trust-item svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
    flex-shrink: 0;
    transition: var(--transition);
}

.trust-item:hover svg { transform: scale(1.1); }

/* ==========================================================================
   9. SECTIONS COMMON
   ========================================================================== */

.section { padding: 100px 0; }
.section--gray { background: var(--off-white); }
.section--dark {
    background: var(--dark);
    color: var(--white);
}
.section--gold {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: var(--white);
}
.section--gold .section-header h2,
.section--gold .section-header p { color: var(--white); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-header h2 span { color: var(--gold); }

.section-header p {
    color: var(--gray);
    font-size: var(--text-base);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

/* ==========================================================================
   10. SERVICES
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 68px;
    height: 68px;
    background: var(--gold-alpha-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
    transition: var(--transition);
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.service-card:hover .service-card__icon svg {
    transform: rotate(8deg) scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.7;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 18px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}

.service-card__link:hover { gap: 10px; color: var(--gold-dark); }

.service-card__price {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    background: var(--gold-alpha-10);
    color: var(--gold-dark);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   11. WHY US
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.why-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-card__number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.why-card h4 {
    font-size: var(--text-base);
    margin-bottom: 8px;
    color: var(--dark);
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================================================
   12. BEFORE / AFTER
   ========================================================================== */

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
}

.ba-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ba-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.ba-card__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.ba-card__images img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.ba-card:hover .ba-card__images img { filter: brightness(1.05); }

.ba-card__divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.ba-card:hover .ba-card__divider { transform: translate(-50%, -50%) scale(1.15); }

.ba-card__info {
    padding: 18px;
    text-align: center;
    background: var(--white);
}

.ba-card__info h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.ba-card__info p { font-size: 0.8rem; color: var(--gray); }

/* --- Before/After Placeholder --- */

.ba-placeholder {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 350px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.ba-placeholder__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 20px;
}

.ba-placeholder__side svg {
    opacity: 0.6;
}

.ba-placeholder__side span {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.ba-placeholder__divider {
    background: var(--gold);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    position: relative;
    z-index: 2;
    margin: 0 -20px;
}

/* --- Before/After Single Image (collage/composite) --- */
.ba-single-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--off-white);
}

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

.ba-card:hover .ba-single-image img {
    transform: scale(1.02);
}

/* --- Before/After Static Images --- */

/* ==========================================================================
   13. VIDEO SECTION
   ========================================================================== */

.video-section {
    background: var(--dark);
    padding: 100px 0;
}

.video-section .section-header h2 { color: var(--white) !important; }
.video-section .section-header p { color: rgba(255,255,255,0.7) !important; }

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    aspect-ratio: 16/9;
    background: var(--dark-light);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn:hover { background: rgba(26, 26, 46, 0.3); }

.video-play-btn svg {
    width: 72px;
    height: 72px;
    color: var(--white);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.video-play-btn:hover svg { transform: scale(1.12); }

/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold-alpha-15);
    line-height: 1;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.testimonial-card__stars {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-base);
    flex-shrink: 0;
}

.testimonial-card__info strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--dark);
}

.testimonial-card__info small {
    font-size: var(--text-xs);
    color: var(--gray);
}

/* ==========================================================================
   15. INSTAGRAM FEED
   ========================================================================== */

.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.insta-item:hover img { transform: scale(1.08); }

.insta-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(177, 151, 119, 0.8), rgba(139, 122, 98, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.5rem;
}

.insta-item:hover .insta-item__overlay { opacity: 1; }

/* Instagram Placeholder */
.insta-placeholder {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition);
}

.insta-placeholder:hover {
    background: linear-gradient(135deg, var(--gold-alpha-15) 0%, var(--gold-alpha-30) 100%);
    transform: scale(1.03);
}

.insta-placeholder svg {
    opacity: 0.5;
    transition: var(--transition);
}

.insta-placeholder:hover svg {
    opacity: 1;
    transform: scale(1.15);
}

/* ==========================================================================
   16. CTA SECTION
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 72px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-bottom: 14px;
    color: var(--white) !important;
}

.cta-section p {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.95);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   17. PROCESS STEPS / TIMELINE
   ========================================================================== */

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 80px;
    right: 80px;
    height: 3px;
    background: var(--gray-light);
    z-index: 0;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 32px;
    left: 80px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 1;
    transition: width 1s var(--ease-smooth);
}

.process-steps.animated::after { width: calc(100% - 160px); }

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 180px;
}

.process-step__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 18px;
    transition: var(--transition);
}

.process-step.active .process-step__number,
.process-step:hover .process-step__number {
    border-color: var(--gold);
    color: var(--white);
    background: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.1);
}

.process-step__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.process-step__desc {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.5;
}

/* ==========================================================================
   18. FAQ ACCORDION
   ========================================================================== */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-item__question,
.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    user-select: none;
    gap: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-item__question:hover,
.faq-item__header:hover { color: var(--gold); }

.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.faq-item__icon::before {
    width: 12px;
    height: 2px;
}

.faq-item__icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-item__icon {
    background: var(--gold);
    transform: rotate(45deg);
}

.faq-item.active .faq-item__icon::before,
.faq-item.active .faq-item__icon::after {
    background: var(--white);
}

.faq-item__answer,
.faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
    padding: 0 24px;
}

.faq-item.active .faq-item__answer,
.faq-item.active .faq-item__body {
    max-height: 400px;
    padding: 0 24px 24px;
}

.faq-item__answer p,
.faq-item__body p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.8;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white) !important;
    font-size: var(--text-base);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col p {
    font-size: var(--text-sm);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a {
    display: block;
    font-size: var(--text-sm);
    margin-bottom: 10px;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--white-alpha-20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-bottom: 0;
    padding-left: 0;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-social a svg { width: 18px; height: 18px; }

.footer-bottom {
    border-top: 1px solid var(--white-alpha-10);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
}

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

/* ==========================================================================
   20. FLOATING WHATSAPP
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 30px; height: 30px; }

@keyframes pulse-wp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   21. MOBILE MENU
   ========================================================================== */

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.mobile-nav .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-nav .close-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   22. FORM SUCCESS STATE
   ========================================================================== */

.form-success {
    display: none;
    text-align: center;
    padding: 44px 24px;
}

.form-success.active { display: block; }

.form-success svg {
    width: 68px;
    height: 68px;
    color: var(--success);
    margin-bottom: 18px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.form-success p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================================================
   23. EXIT INTENT POPUP
   ========================================================================== */

.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 44px 36px;
    position: relative;
    box-shadow: var(--shadow-xl);
    border-top: 4px solid var(--gold);
    animation: popupSlideIn 0.4s var(--ease-bounce) both;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-modal__close,
.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray);
    transition: var(--transition);
}

.popup-modal__close:hover,
.popup-close:hover {
    background: var(--gray-light);
    color: var(--dark);
    transform: rotate(90deg);
}

.popup-modal h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

.popup-modal p {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.popup-form input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: var(--transition);
    background: var(--off-white);
}

.popup-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-alpha-15);
    background: var(--white);
}

.popup-form .btn {
    margin-top: 4px;
}

/* ==========================================================================
   24. MOBILE CTA BAR
   ========================================================================== */

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
}

.mobile-cta-bar .btn {
    flex: 1;
    padding: 12px 10px;
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    letter-spacing: 0;
}

.mobile-cta-bar .btn-whatsapp {
    max-width: 44%;
}

.mobile-cta-bar .btn-primary {
    max-width: 56%;
}

/* ==========================================================================
   25. SOCIAL PROOF TOAST
   ========================================================================== */

.social-proof-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 997;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 360px;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s var(--ease-bounce), opacity 0.4s var(--ease-smooth);
}

.social-proof-toast.visible {
    transform: translateX(0);
    opacity: 1;
}

.social-proof-toast__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.social-proof-toast__content strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--dark);
    margin-bottom: 2px;
}

.social-proof-toast__content small {
    font-size: var(--text-xs);
    color: var(--gray);
}

.social-proof-toast__content span {
    font-size: var(--text-xs);
    color: var(--gray);
    display: block;
}

.social-proof-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--text-xs);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-proof-toast__close:hover { background: var(--off-white); }

/* ==========================================================================
   26. SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 996;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   DOCTORS BEFORE FORM (inline in hero area)
   ========================================================================== */

.doctors-before-form {
    grid-column: 1 / -1;
    width: 100%;
    padding: 40px 0;
    text-align: center;
}
.doctors-before-form .doctors-team-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   PATIENT PHOTOS / STUDIO
   ========================================================================== */

.patient-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.patient-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.patient-photo-item img:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}
.patient-photo-placeholder {
    height: 300px;
    background: var(--off-white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
}
.patient-photo-placeholder svg { stroke: var(--gray-light); }
.patient-photo-placeholder span { font-size: var(--text-xs); text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   SECOND FORM SECTION
   ========================================================================== */

.second-form-section {
    background: var(--dark);
}
.second-form-wrap {
    max-width: 550px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: fadeUp 0.8s var(--ease-smooth) 0.3s both;
}
.second-form-wrap::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
}
.second-form-wrap .form-header {
    text-align: center;
    margin-bottom: 28px;
}
.second-form-wrap .form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.second-form-wrap .form-header p {
    font-size: var(--text-sm);
    color: var(--gray-dark);
}
.second-form-wrap .lead-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.second-form-wrap .btn-primary {
    width: 100%;
}

/* ==========================================================================
   CLINIC GALLERY
   ========================================================================== */

.clinic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: block;
}
.gallery-item img:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}
.gallery-placeholder {
    height: 250px;
    background: var(--off-white);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
}
.gallery-placeholder svg { stroke: var(--gray-light); }
.gallery-placeholder span { font-size: var(--text-xs); text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   CLINIC HERO PHOTO (full-width below hero)
   ========================================================================== */

.clinic-hero-photo {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.clinic-hero-photo img {
    width: 100%;
    display: block;
}
.clinic-hero-placeholder {
    width: 100%;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray);
}
.clinic-hero-placeholder svg {
    stroke: var(--gray-light);
}

/* Patient Studio Photo - Card Style */
.patient-studio-card {
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.patient-studio-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   27. COOKIE CONSENT BAR
   ========================================================================== */

.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark);
    color: var(--white);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-smooth);
}

.cookie-bar.visible {
    transform: translateY(0);
}

.cookie-bar p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    flex: 1;
    min-width: 250px;
    line-height: 1.5;
}

.cookie-bar p a {
    color: var(--gold-light);
    text-decoration: underline;
}

.cookie-bar p a:hover { color: var(--gold); }

.cookie-bar__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-bar__actions .btn {
    padding: 10px 24px;
    font-size: var(--text-sm);
}

.cookie-bar__actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

/* ==========================================================================
   28. LOADING & SKELETON STATES
   ========================================================================== */

.skeleton {
    background: linear-gradient(90deg,
        var(--gray-light) 25%,
        #f0f0f0 37%,
        var(--gray-light) 63%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text:last-child { width: 70%; }

.skeleton-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.skeleton-card {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image loading state */
.img-loading {
    position: relative;
    overflow: hidden;
    background: var(--off-white);
}

.img-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 25%,
        rgba(255, 255, 255, 0.3) 37%,
        transparent 63%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
}

.img-loading img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-loading.loaded::after { display: none; }
.img-loading.loaded img { opacity: 1; }

/* ==========================================================================
   29. ANIMATIONS
   ========================================================================== */

/* Fade Up */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Left */
.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade Right */
.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In */
.scale-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-bounce);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* Parallax-ready */
.parallax-slow { will-change: transform; }
.parallax-medium { will-change: transform; }
.parallax-fast { will-change: transform; }

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float { animation: float 3s ease-in-out infinite; }

/* Core keyframes */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Utility animation classes */
.animate-fade-up { animation: fadeUp 0.6s var(--ease-smooth) both; }
.animate-fade-in { animation: fadeIn 0.6s var(--ease-smooth) both; }
.animate-slide-left { animation: slideInLeft 0.6s var(--ease-smooth) both; }
.animate-slide-right { animation: slideInRight 0.6s var(--ease-smooth) both; }
.animate-scale-in { animation: scaleIn 0.5s var(--ease-bounce) both; }

/* Animation delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-up, .fade-left, .fade-right, .scale-in {
        opacity: 1;
        transform: none;
    }
}

/* ===== PRICE COMPARISON TABLE ===== */
.price-compare { padding: 80px 0; background: var(--white); }

.price-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-md);
}

.price-table__header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: var(--text-sm);
    text-align: center;
}

.price-table__header > div {
    padding: 16px 12px;
}

.price-table__header .price-table__highlight {
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
}

.price-table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-light);
    text-align: center;
    font-size: var(--text-sm);
    transition: var(--transition);
}

.price-table__row:last-child { border-bottom: none; }
.price-table__row:hover { background: var(--off-white); }

.price-table__row > div {
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-table__row > div:first-child {
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    justify-content: flex-start;
}

.price-table__row > div:not(:first-child) {
    color: var(--gray);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-table__row .price-table__highlight {
    background: rgba(177,151,119,0.08);
    color: var(--gold-dark) !important;
    font-weight: 700;
    text-decoration: none !important;
    opacity: 1 !important;
    position: relative;
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 12px 0;
    text-align: center;
    font-size: var(--text-sm);
    color: var(--white);
}

.urgency-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.urgency-bar__pulse {
    width: 10px;
    height: 10px;
    background: #EF4444;
    border-radius: 50%;
    display: inline-block;
    animation: urgencyPulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes urgencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.urgency-bar strong { color: var(--gold-light); }

.urgency-bar__count {
    background: var(--gold);
    color: var(--white);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

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

.about-content .section-label {
    margin-bottom: 8px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 480px;
}

/* ===== DOCTORS GRID ===== */
.cert-logo-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(30%);
    transition: all 0.3s;
}

.cert-logo-img:hover {
    opacity: 1;
    filter: none;
}

.doctors-team-image {
    text-align: center;
}

.doctors-team-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

.doctors-team-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 2px dashed var(--gray-light);
    color: var(--gold);
    opacity: 0.6;
}

.doctors-team-placeholder p {
    margin-top: 16px;
    font-size: var(--text-sm);
    color: var(--gray);
}

/* ==========================================================================
   30. RESPONSIVE — TABLET LANDSCAPE (1024px)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title { font-size: 2.6rem; }

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

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

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

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


    .process-steps { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .process-steps::before,
    .process-steps::after { display: none; }
    .process-step { max-width: 200px; }
}

/* ==========================================================================
   31. RESPONSIVE — TABLET PORTRAIT (768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.2rem;
        --text-4xl: 1.8rem;
        --text-3xl: 1.5rem;
    }

    .hero { min-height: auto; }

    .hero .container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero__title { font-size: var(--text-5xl); }

    .hero__stats { gap: 20px; }
    .hero__stat strong { font-size: 1.5rem; }

    .nav-menu { display: none; }
    .hamburger { display: flex; }

    .section { padding: 72px 0; }
    .section-header h2 { font-size: var(--text-4xl); }
    .section-header { margin-bottom: 40px; }

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

    .services-grid,
    .testimonials-grid,
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-image img { max-height: 350px; }

    .ba-single-image { height: 100%; }
    .ba-placeholder { height: 280px; }

    .top-bar { display: none; }

    .cta-buttons { flex-direction: column; align-items: center; }

    .cta-section h2 { font-size: 1.6rem; }

    /* Show mobile CTA bar */
    .mobile-cta-bar { display: flex; }

    /* Adjust WhatsApp button position above mobile CTA */
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Scroll-to-top stacks above WhatsApp float */
    .scroll-to-top {
        bottom: 148px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* Adjust social proof toast */
    .social-proof-toast {
        left: 12px;
        right: 12px;
        bottom: 80px;
        max-width: none;
    }

    .process-steps { gap: 20px; }
    .process-step { max-width: 160px; }

    .faq-item__question, .faq-item__header { padding: 16px 18px; font-size: var(--text-sm); }
    .faq-item__answer, .faq-item__body { padding: 0 18px; }
    .faq-item.active .faq-item__answer, .faq-item.active .faq-item__body { padding: 0 18px 18px; }

    .price-table__header,
    .price-table__row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: var(--text-xs);
    }

    .price-table__header > div,
    .price-table__row > div {
        padding: 10px 6px;
    }

    .urgency-bar { font-size: var(--text-xs); }
    .urgency-bar .container { flex-wrap: wrap; gap: 6px; }
}

/* ==========================================================================
   32. RESPONSIVE — MOBILE (480px)
   ========================================================================== */

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.8rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.3rem;
    }

    .container { padding: 0 16px; }

    .hero__title { font-size: var(--text-5xl); }

    .hero__stats {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero__stat { flex: 1; min-width: 80px; }

    .hero__form-wrap { padding: 28px 20px; }

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


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

    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }

    .popup-modal { padding: 32px 24px; }

    .process-steps { flex-direction: column; align-items: center; }
    .process-step { max-width: 100%; width: 100%; }

    .price-table__header,
    .price-table__row {
        grid-template-columns: 1fr 1fr;
    }

    .price-table__header > div:nth-child(2),
    .price-table__header > div:nth-child(3),
    .price-table__row > div:nth-child(2),
    .price-table__row > div:nth-child(3) {
        display: none;
    }
}

/* ==========================================================================
   33. RESPONSIVE — SMALL MOBILE (360px)
   ========================================================================== */

@media (max-width: 360px) {
    :root {
        --text-5xl: 1.6rem;
        --text-4xl: 1.35rem;
    }

    html { font-size: 15px; }

    .container { padding: 0 12px; }

    .hero__form-wrap { padding: 24px 16px; }

    .hero__stats { gap: 10px; }

    .hero__badge {
        font-size: var(--text-xs);
        padding: 6px 12px;
    }

    .logo img { height: 36px; }
    .logo span { font-size: 1.2rem; }

    .mobile-cta-bar { padding: 8px 10px; gap: 8px; }
    .mobile-cta-bar .btn { padding: 10px 8px; font-size: var(--text-xs); }
    .scroll-to-top { bottom: 144px; }

    .popup-modal { padding: 24px 16px; }
    .popup-modal h3 { font-size: var(--text-xl); }
}

/* ==========================================================================
   34. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-lg { font-size: var(--text-lg); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 2px; }
.tracking-wider { letter-spacing: 3px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Focus-visible for accessibility */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ==========================================================================
   RTL (Right-to-Left) Support — Arabic, Persian, Urdu
   ========================================================================== */

body.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .top-bar__left,
.rtl .top-bar__right {
    direction: rtl;
}

.rtl .site-header .container {
    flex-direction: row-reverse;
}

.rtl .nav-menu {
    flex-direction: row-reverse;
}

.rtl .hero__content {
    text-align: right;
}

.rtl .hero__stats {
    direction: ltr;
}

.rtl .hero__badge svg {
    margin-right: 0;
    margin-left: 8px;
}

.rtl .section-header {
    text-align: center;
}

.rtl .trust-bar .container {
    flex-direction: row-reverse;
}

.rtl .trust-item svg {
    margin-right: 0;
    margin-left: 8px;
}

.rtl .service-card,
.rtl .why-card,
.rtl .testimonial-card {
    text-align: right;
}

.rtl .process-steps {
    direction: rtl;
}

.rtl .about-grid {
    direction: rtl;
}

.rtl .about-content {
    text-align: right;
}

.rtl .footer-grid {
    direction: rtl;
}

.rtl .footer-col {
    text-align: right;
}

.rtl .footer-social {
    justify-content: flex-start;
}

.rtl .faq-item__header {
    text-align: right;
    flex-direction: row-reverse;
}

.rtl .faq-item__icon {
    margin-left: 0;
    margin-right: auto;
}

.rtl .faq-item__body p {
    text-align: right;
}

.rtl .lead-form label,
.rtl .lead-form input,
.rtl .lead-form select,
.rtl .lead-form textarea {
    text-align: right;
}

.rtl .form-consent {
    flex-direction: row-reverse;
}

.rtl .phone-country-btn {
    border-right: 1.5px solid var(--gray-light);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.rtl .phone-input-wrap input[type="tel"] {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
    border-right: 1px solid var(--gray-light) !important;
    border-left: none !important;
}

.rtl .mobile-nav {
    left: auto;
    right: 0;
    text-align: right;
}

.rtl .whatsapp-float {
    right: auto;
    left: 24px;
}

.rtl .mobile-cta-bar {
    direction: rtl;
}

.rtl .social-proof-toast {
    left: auto;
    right: 24px;
}

.rtl .cookie-bar__content {
    text-align: right;
}

.rtl .scroll-to-top {
    right: auto;
    left: 24px;
}

.rtl .lang-switcher {
    direction: ltr;
}

/* ==================================================================
   FORM OVERRIDES — placeholder + WhatsApp green submit button
   ================================================================== */

/* Phone & all input placeholders always visible (also for floating labels) */
.lead-form input::placeholder,
.lead-form textarea::placeholder,
.popup-form input::placeholder {
    color: #B0B0B0 !important;
    opacity: 1 !important;
}

/* Floating labels: always keep label floated up so placeholder is visible underneath */
.lead-form .form-group input + label,
.lead-form .form-group textarea + label,
.lead-form .phone-country-group input[type="tel"] ~ label {
    transform: translateY(-130%) scale(0.85) !important;
    background: #fff !important;
    padding: 0 4px !important;
    color: var(--gray) !important;
    pointer-events: none;
    top: 14px;
    left: 12px;
}

/* Submit button — WhatsApp green */
.lead-form button[type="submit"],
.lead-form .btn-primary,
.second-form-wrap .btn-primary,
.popup-form .btn-primary {
    background: #25D366 !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3) !important;
}
.lead-form button[type="submit"]:hover,
.lead-form .btn-primary:hover,
.second-form-wrap .btn-primary:hover,
.popup-form .btn-primary:hover {
    background: #1FAD55 !important;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4) !important;
}

/* Form validation errors — visible on empty/invalid submit */
.lead-form .field-error,
.popup-form .field-error {
    display: block;
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 500;
}
.lead-form .field-invalid,
.lead-form .field-invalid + label,
.popup-form .field-invalid {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
}
.lead-form .phone-country-group:has(.field-invalid) .phone-input-wrap,
.lead-form .form-group:has(.field-invalid) .phone-input-wrap {
    border: 1px solid #dc2626;
    border-radius: 8px;
}

/* Top-level form error banner */
.lead-form .form-error-banner,
.popup-form .form-error-banner {
    display: block;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: shake 0.3s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}