/* ============================================================
   AL TAIR ALTHAHBI KEY CUTTING — Website Styles
   Brand: Gold (#c9a84c) + Navy (#1a1a2e)
   Single CSS file — no inline styles in .astro files
   ============================================================ */

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

/* --- Design Tokens --- */
:root {
    /* Brand Colors */
    --gold:        #c9a84c;
    --gold-light:  #e8c56a;
    --gold-dark:   #a07830;
    --gold-bg:     #fdf8ee;
    --gold-border: #e8d8a0;

    /* Neutrals */
    --navy:        #1a1a2e;
    --navy-light:  #2a2a40;
    --off-white:   #f8f6f0;
    --white:       #ffffff;
    --charcoal:    #1a1a1a;
    --text:        #2d2d2d;
    --text-light:  #5a5a5a;
    --text-muted:  #8a8a8a;
    --gray-light:  #f0ede8;
    --gray:        #ddd8d0;

    /* Semantic */
    --danger:      #ff7875;
    --success:     #28a745;

    /* Layout */
    --max-width:   1200px;

    /* Shadows */
    --shadow-sm:   0 1px 4px rgba(26,26,46,0.08);
    --shadow-md:   0 4px 16px rgba(26,26,46,0.12);
    --shadow-lg:   0 8px 32px rgba(26,26,46,0.15);
    --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   18px;

    /* Transition */
    --transition:  0.3s ease;
}

/* --- Base --- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    padding-top: 0; /* JS sets this via fixHeaderOffset */
}

/* Arabic & RTL */
body.rtl,
body.rtl .header__brand-en,
body.rtl .header__brand-ar,
body.rtl .nav__link,
body.rtl .btn,
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4,
body.rtl p, body.rtl li, body.rtl a {
    font-family: 'Cairo', 'Inter', sans-serif;
}
body.rtl { direction: rtl; text-align: right; }
body.rtl .header__logo { flex-direction: row-reverse; }
body.rtl .service-card__link { direction: rtl; }
body.rtl .footer h4::after { left: auto; right: 0; }
body.rtl .nav__list { padding-right: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; }
.text-gold { color: var(--gold); }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Language Toggle --- */
.lang-toggle {
    background: var(--gold);
    border: none;
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
    font-family: 'Cairo', sans-serif;
    line-height: 1.4;
}
.lang-toggle:hover { background: var(--gold-light); color: var(--navy); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.btn--lg { padding: 15px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    position: relative;
    overflow: hidden;
}
.btn--gold::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: none;
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn--gold:hover::after { transform: translateX(100%); transition: transform 0.6s ease; }

.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--off-white); color: var(--gold-dark); transform: translateY(-1px); }

.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--white); }

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

/* --- HEADER — Always Fixed Two-Tier --- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

/* Tier 1: Dark info bar */
.header__topbar { background: var(--navy); }
.header__topbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 0;
    font-size: 0.82rem;
    flex-wrap: wrap;
}
.header__emergency {
    color: var(--danger);
    font-weight: 700;
    animation: emergencyPulse 2.5s ease-in-out infinite;
}
.header__emergency a { color: var(--danger); text-decoration: none; }
.header__emergency a:hover { color: #ffa39e; }

@keyframes emergencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.header__hours { color: rgba(255,255,255,0.75); margin-left: auto; }
.header__wa { color: rgba(255,255,255,0.88); font-weight: 500; }
.header__wa:hover { color: var(--gold-light); }

/* Tier 2: White nav bar */
.header__navbar { background: var(--white); border-top: 1px solid rgba(0,0,0,0.06); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo */
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.header__logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}
.header__logo-img:hover { transform: scale(1.05); }
.header__brand { display: flex; flex-direction: column; }
.header__brand-en { font-size: 0.82rem; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: 0.5px; }
.header__brand-ar { font-family: 'Cairo', sans-serif; font-size: 0.7rem; color: var(--gold); line-height: 1.2; }

/* Nav */
.nav__list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__link {
    padding: 7px 14px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 14px; right: 14px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--gold); background: var(--gold-bg); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.nav__cta-item { margin-left: 4px; }
.nav__lang { display: none; }

/* Hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all var(--transition); border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Image Utilities --- */
.img-cover { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.img-contain { width: 100%; height: 100%; object-fit: contain; }
.img-rounded { width: 100%; border-radius: var(--radius-md); margin: 0 0 24px; box-shadow: var(--shadow-md); }

/* --- HERO --- */
.hero { position: relative; overflow: hidden; min-height: 85vh; display: flex; align-items: center; color: var(--white); }

/* Ken Burns background */
.hero__bg {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-position: 65% center;
    animation: kenBurns 20s ease-in-out infinite alternate;
    will-change: transform;
    z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
    .hero__bg { animation: none; }
}
@keyframes kenBurns {
    0%   { transform: scale(1);    background-position: 65% center; }
    100% { transform: scale(1.08); background-position: 60% center; }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,26,46,0.92) 40%, rgba(26,26,46,0.35));
    z-index: 1;
}

.hero .container { position: relative; z-index: 2; width: 100%; }

.hero__content { max-width: 760px; }

.hero__eyebrow {
    color: var(--gold-light);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    display: block;
}
.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
    color: var(--white);
}
.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.87);
    max-width: 640px;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero__trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: rgba(0,0,0,0.45);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero__trust span {
    color: var(--white);
    font-size: 0.87rem;
    font-weight: 500;
    animation: fadeInUp 0.6s ease both;
}
.hero__trust span:nth-child(1) { animation-delay: 0.3s; }
.hero__trust span:nth-child(2) { animation-delay: 0.45s; }
.hero__trust span:nth-child(3) { animation-delay: 0.6s; }
.hero__actions .btn--gold { animation: ctaPulse 2.5s ease-in-out infinite; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.55); }
    60% { box-shadow: 0 0 0 14px rgba(201,168,76,0); }
}

/* --- Service Area Ticker --- */
.service-area-ticker {
    background: var(--gold-bg);
    border-top: 2px solid var(--gold-border);
    border-bottom: 2px solid var(--gold-border);
    padding: 11px 0;
    overflow: hidden;
    white-space: nowrap;
}
.service-area-ticker__track {
    display: inline-flex;
    animation: tickerScroll 38s linear infinite;
}
.service-area-ticker__track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.service-area-ticker__item {
    display: inline-block;
    padding: 0 48px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}
.service-area-ticker__item strong { color: var(--gold-dark); }
@media (prefers-reduced-motion: reduce) {
    .service-area-ticker__track { animation: none; }
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--navy);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}
.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.stats-bar__item { position: relative; }
.stats-bar__number {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}
.stats-bar__label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    font-weight: 500;
}

/* --- Section Styles --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { margin-bottom: 12px; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* --- Services Grid --- */
.services { padding: 80px 0; background: var(--off-white); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Service cards */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); border-color: var(--gold); }
.service-card__img-wrap { height: 200px; overflow: hidden; background: var(--gray-light); }
.service-card:hover .service-card__img-wrap img { transform: scale(1.06); }
.service-card__body { padding: 20px 24px 24px; }
.service-card__icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.service-card__title { font-size: 1.15rem; margin-bottom: 8px; color: var(--navy); }
.service-card__desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.6; }
.service-card__link { font-weight: 700; font-size: 0.88rem; color: var(--gold); transition: gap var(--transition); display: inline-flex; align-items: center; gap: 4px; }
.service-card__link:hover { color: var(--gold-dark); gap: 8px; }

/* Stagger animation */
.services__grid .service-card { animation: fadeInUp 0.55s ease both; }
.services__grid .service-card:nth-child(1) { animation-delay: 0.05s; }
.services__grid .service-card:nth-child(2) { animation-delay: 0.10s; }
.services__grid .service-card:nth-child(3) { animation-delay: 0.15s; }
.services__grid .service-card:nth-child(4) { animation-delay: 0.20s; }
.services__grid .service-card:nth-child(5) { animation-delay: 0.25s; }
.services__grid .service-card:nth-child(6) { animation-delay: 0.30s; }

/* --- Image Gallery --- */
.img-gallery { padding: 64px 0; background: var(--white); }
.img-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.img-gallery__item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; background: var(--gray-light); cursor: pointer; }
.img-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.img-gallery__item:hover img { transform: scale(1.05); }
.img-gallery__caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    color: white; padding: 30px 16px 14px;
    font-size: 0.85rem; font-weight: 500;
}

/* --- Why Us --- */
.why-us { padding: 80px 0; background: var(--off-white); }
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.why-us__card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.why-us__card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.why-us__icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.why-us__card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.why-us__card p { color: var(--text-light); font-size: 0.92rem; }

/* --- Testimonials --- */
.testimonials { padding: 80px 0; background: var(--white); }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--off-white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 28px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.testimonial-card__stars { font-size: 1.2rem; color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card__text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px; right: 20px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.18;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card__author strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 2px; }
.testimonial-card__author span { font-size: 0.82rem; color: var(--text-muted); }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, var(--gold-light) 100%);
    padding: 68px 0;
    text-align: center;
    color: var(--white);
}
.cta-banner__content h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner__content p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 26px; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- FAQ --- */
.faq { padding: 80px 0; background: var(--off-white); }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { background: var(--white); border: 1px solid var(--gray); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq__question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.98rem;
    color: var(--navy);
    transition: background var(--transition);
}
.faq__question:hover { background: var(--gold-bg); }
.faq__question::after { content: '+'; font-size: 1.6rem; color: var(--gold); font-weight: 300; transition: transform var(--transition); flex-shrink: 0; }
.faq__item[open] .faq__question { background: var(--gold-bg); }
.faq__item[open] .faq__question::after { content: '−'; }
.faq__answer { padding: 0 24px 20px; color: var(--text-light); font-size: 0.93rem; line-height: 1.75; }

/* --- Page Header (inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #16213e 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}
.page-header__title { color: var(--white); margin-bottom: 12px; }
.page-header__subtitle { color: rgba(255,255,255,0.8); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }

.breadcrumb { margin-bottom: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.78); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 6px; }

/* --- Service Detail Sections --- */
.service-section { padding: 72px 0; }
.service-section--alt { background: var(--off-white); }
.service-section__grid { max-width: 820px; margin: 0 auto; }
.service-section__icon { font-size: 3rem; display: block; margin-bottom: 16px; }
.service-section__title { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2rem); }
.service-section__lead { font-size: 1.08rem; color: var(--text-light); font-weight: 500; margin-bottom: 20px; line-height: 1.65; }
.service-section__content p { margin-bottom: 16px; }
.service-section__content h3 { margin: 24px 0 12px; font-size: 1.15rem; }
.service-section__content ul { margin: 12px 0 24px; padding-left: 24px; }
.service-section__content li { margin-bottom: 9px; line-height: 1.65; }
.service-section__content .btn { margin-top: 16px; }
.service-section__img { width: 100%; border-radius: var(--radius-md); margin: 0 0 24px; box-shadow: var(--shadow-md); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.service-section__img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.emergency-cta {
    background: #fff5f5;
    border: 2px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-top: 26px;
    text-align: center;
}
.emergency-cta p { font-size: 1.08rem; margin-bottom: 14px; }

/* --- About Page --- */
.about-intro { padding: 72px 0; }
.about-intro__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.about-intro__lead { font-size: 1.12rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; line-height: 1.7; }
.about-intro__text p { margin-bottom: 14px; }
.credential-card { background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 16px; }
.credential-card h3 { font-size: 1rem; margin-bottom: 6px; }
.credential-card p { color: var(--text-light); font-size: 0.9rem; }

.about-areas { padding: 72px 0; background: var(--off-white); }
.areas__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.area-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-sm); padding: 20px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.area-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.area-card h3 { font-size: 1rem; margin-bottom: 6px; }
.area-card p { color: var(--text-light); font-size: 0.88rem; }

.about-expertise { padding: 72px 0; }
.expertise__content { max-width: 820px; margin: 0 auto; }
.expertise__content p { margin-bottom: 16px; }
.expertise__list { margin: 16px 0 24px; padding-left: 22px; }
.expertise__list li { margin-bottom: 10px; line-height: 1.65; }

.about-mission { padding: 72px 0; background: var(--off-white); }
.mission__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.mission__card { background: var(--white); border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--gray-light); transition: transform var(--transition), border-color var(--transition); }
.mission__card:hover { transform: translateY(-4px); border-color: var(--gold); }
.mission__card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.mission__card p { color: var(--text-light); font-size: 0.93rem; }

.about-trust { padding: 72px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.trust__card { background: var(--off-white); border-radius: var(--radius-md); padding: 28px; text-align: center; border: 1px solid var(--gray-light); transition: transform var(--transition), border-color var(--transition); }
.trust__card:hover { transform: translateY(-4px); border-color: var(--gold); }
.trust__icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.trust__card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.trust__card p { color: var(--text-light); font-size: 0.9rem; }

/* --- Contact Page --- */
.contact-section { padding: 72px 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact__info h2, .contact__form-wrap h2 { margin-bottom: 8px; }
.contact__info > p, .contact__form-wrap > p { color: var(--text-light); margin-bottom: 24px; }
.contact__cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact__card { display: flex; gap: 14px; align-items: flex-start; background: var(--off-white); border: 1px solid var(--gray-light); border-radius: var(--radius-sm); padding: 16px 18px; }
.contact__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact__card h3 { font-size: 0.92rem; margin-bottom: 3px; color: var(--text-muted); font-weight: 600; }
.contact__value { font-weight: 600; color: var(--navy); font-size: 0.95rem; display: block; }
.contact__card-sub { font-size: 0.82rem; color: var(--gold); margin-top: 4px; display: block; }
.contact__emergency { background: #fff5f5; border: 2px solid var(--danger); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.contact__emergency h3 { margin-bottom: 8px; }
.contact__emergency p { margin-bottom: 16px; font-size: 0.93rem; }

/* Contact Form */
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form__group input, .form__group select, .form__group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
input:invalid, textarea:invalid, select:invalid { border-color: var(--danger); }
input:focus:invalid, textarea:focus:invalid { box-shadow: 0 0 0 3px rgba(255,120,117,0.15); }
.form-success { text-align: center; padding: 40px 20px; }
.form-success__check { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--success); margin-bottom: 8px; }
.form-success p { color: var(--text-light); }

/* Map */
.contact-map { }
.contact-map__embed { width: 100%; }
.contact-map__embed iframe { display: block; }
.contact-map__actions { display: flex; gap: 16px; justify-content: center; padding: 30px 0; flex-wrap: wrap; }

/* --- Footer --- */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 60px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { width: 80px !important; height: 80px !important; object-fit: contain; background: transparent !important; padding: 0 !important; margin-bottom: 14px; }
.footer__name { color: var(--white); font-size: 0.9rem; margin-bottom: 4px; }
.footer__name-ar { font-family: 'Cairo', sans-serif; color: var(--gold-light); font-size: 0.8rem; margin-bottom: 12px; }
.footer__brand p { font-size: 0.85rem; line-height: 1.65; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gold); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer a:hover { color: var(--gold-light); }
.footer address { font-style: normal; font-size: 0.88rem; line-height: 1.85; }
.footer address a { color: var(--gold-light); }
.footer__credit { color: rgba(255,255,255,0.32); font-size: 0.7rem; text-decoration: none; transition: color .2s; }
.footer__credit:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.48); }

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Keyframes --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .about-intro__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Header top bar adjustments */
    .header__topbar-inner {
        gap: 8px;
        justify-content: center;
        font-size: 0.76rem;
        padding: 7px 0;
        flex-wrap: wrap;
    }
    .header__hours { margin-left: 0; }
    .header__wa { display: none; }
    .header__topbar-inner .lang-toggle { display: none; }

    /* Logo smaller */
    .header__logo-img { width: 44px; height: 44px; }
    .header__brand-en { font-size: 0.68rem; }
    .header__brand-ar { font-size: 0.6rem; }
    .header__inner { height: 64px; }

    /* Mobile nav */
    .nav__toggle { display: flex; }
    .nav__lang { display: block; text-align: center; padding: 8px 0; }
    .nav__lang .lang-toggle { margin: 0; }
    .nav__list {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray);
        z-index: 999;
    }
    .nav__list.active { display: flex; }
    .nav__link { width: 100%; padding: 12px 16px; font-size: 1rem; }
    .nav__cta-item { margin-left: 0; width: 100%; margin-top: 8px; }
    .nav__cta-item .btn { width: 100%; justify-content: center; }

    /* Hero */
    .hero { min-height: 80vh; }
    .hero__bg { background-position: 55% center; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__trust { flex-direction: column; gap: 8px; }

    /* Grids */
    .services__grid, .why-us__grid, .testimonials__grid, .mission__grid, .trust__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-banner__actions, .contact-map__actions { flex-direction: column; }
    .cta-banner__actions .btn, .contact-map__actions .btn { width: 100%; justify-content: center; }
    .faq__question { font-size: 0.92rem; padding: 15px 20px; }
    .faq__answer { padding: 0 20px 16px; }
    .img-gallery__grid { grid-template-columns: 1fr 1fr; }
    .stats-bar__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 1.9rem; }
    .img-gallery__grid { grid-template-columns: 1fr; }
    .stats-bar__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1400px) {
    .container { max-width: 1300px; }
    .hero__title { font-size: 3.4rem; }
}
