/* =====================================================================
   شركة الخير للحج والعمرة — التنسيقات
   Mobile-first · RTL
   ===================================================================== */

:root {
  /* الألوان (مستوحاة من الشعار) */
  --green-950: #08261b;
  --green-900: #0f3d2c;
  --green-800: #145038;
  --green-700: #1b6647;
  --green-100: #e3eee7;
  --gold-500: #c9a043;
  --gold-400: #d9b560;
  --gold-600: #a8822c;
  --gold-100: #f6ecd2;
  --cream: #fbf7ee;
  --cream-200: #f3ecdb;
  --white: #ffffff;
  --ink: #1c2420;
  --ink-soft: #46514b;
  --line: #e4dcc8;
  --wa: #1f9e52;
  --wa-dark: #178043;
  --fb: #1877f2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 44, .06), 0 2px 8px rgba(15, 61, 44, .05);
  --shadow: 0 6px 24px rgba(15, 61, 44, .09);
  --shadow-lg: 0 18px 48px rgba(8, 38, 27, .18);

  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --header-h: 64px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 700; color: var(--green-950); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--green-900); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
  z-index: 200; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.125rem; }
.container-narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-500); color: var(--green-950); box-shadow: 0 6px 18px rgba(201, 160, 67, .35); }
.btn-gold:hover { background: var(--gold-400); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: var(--white); }
.btn-fb { background: var(--fb); color: var(--white); }
.btn-fb:hover { background: #0f63d1; }

/* ------------------------------ Logo ------------------------------ */
.brand-logo { position: relative; display: inline-block; width: 52px; height: 52px; flex-shrink: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo .logo-svg { display: none; width: 100%; height: 100%; }
.brand-logo.is-fallback img { display: none; }
.brand-logo.is-fallback .logo-svg { display: block; }
.brand-logo-lg { width: 88px; height: 88px; }
.brand-logo-xl { width: 100%; height: 100%; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 238, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green-950); margin-inline-end: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { font-size: .8rem; color: var(--gold-600); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.show-xs { display: inline; }
.hide-xs { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--green-900); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-block; }

/* القائمة على الموبايل */
.main-nav {
  position: absolute; top: 100%; inset-inline: 0;
  background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem 1.125rem 1rem;
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav a {
  display: block; padding: .85rem .5rem; border-bottom: 1px solid var(--line);
  color: var(--green-950); text-decoration: none; font-weight: 500; font-size: 1.05rem;
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a.is-active { color: var(--gold-600); }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(201, 160, 67, .18), transparent 60%),
    radial-gradient(ellipse 70% 70% at 90% 100%, rgba(27, 102, 71, .7), transparent 70%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  padding: 3rem 0 5.5rem;
}
/* نقش هندسي خفيف جداً */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M30 4 L37 23 L56 30 L37 37 L30 56 L23 37 L4 30 L23 23 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-inner { position: relative; display: grid; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--gold-400); font-weight: 500; font-size: 1rem;
  padding: .3rem .9rem; border: 1px solid rgba(217, 181, 96, .4); border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow .icon { width: 1em; height: 1em; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 7.5vw, 3.4rem); line-height: 1.3; margin-bottom: .9rem; }
.hero-sub { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-direction: column; gap: .75rem; }
.hero-cta .btn { width: 100%; }
.hero-visual { display: none; }
/* صورة المسجد النبوي في الواجهة */
.hero-mosque {
  position: relative; width: min(400px, 92%); margin-inline: auto;
}
.hero-mosque::before {
  content: ""; position: absolute; inset: 18% -8% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 67, .30), rgba(201, 160, 67, .08) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-mosque img {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
  /* تلاشي ناعم في الأسفل حتى يندمج الجسر مع الخلفية */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* --------------------------- Trust bar --------------------------- */
.trust { position: relative; margin-top: -3.25rem; z-index: 2; }
.trust-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.trust-list li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem;
  background: var(--white); padding: 1rem .6rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.5;
}
.trust-list strong { display: block; color: var(--green-900); font-size: 1.08rem; }
.trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600);
}

/* ---------------------------- Sections ---------------------------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--cream-200); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.25rem; }
.section-head h2 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
.section-head p:last-child { color: var(--ink-soft); margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--gold-600); font-weight: 700; font-size: .95rem; margin-bottom: .35rem;
}
.kicker::before, .kicker::after { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.sub-title { font-size: 1.35rem; margin: 3rem 0 1.25rem; text-align: center; }

/* ---------------------------- Packages ---------------------------- */
.packages-grid { display: grid; gap: 1.25rem; }
.package {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.35rem; box-shadow: var(--shadow-sm);
}
.package.is-featured { border: 2px solid var(--gold-500); box-shadow: var(--shadow); }
.package-badge {
  align-self: flex-start; font-size: .82rem; font-weight: 700;
  background: var(--green-100); color: var(--green-800); padding: .2rem .75rem; border-radius: 999px; margin-bottom: .75rem;
}
.package.is-featured .package-badge { background: var(--gold-500); color: var(--green-950); }
.package h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.package-desc { color: var(--ink-soft); font-size: 1rem; }
.package-meta { display: grid; gap: .55rem; padding: 1rem 0; border-block: 1px dashed var(--line); margin-bottom: 1rem; }
.package-meta li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.package-meta .icon { color: var(--gold-600); margin-top: .2em; }
.package-meta b { color: var(--green-950); font-weight: 500; }
.pending { color: var(--ink-soft); font-style: normal; }
.package-includes { margin-bottom: 1.25rem; }
.package-includes h4 { font-size: 1rem; margin-bottom: .5rem; }
.package-includes ul { display: grid; gap: .35rem; }
.package-includes li { display: flex; gap: .5rem; align-items: flex-start; font-size: .97rem; }
.package-includes li .icon { color: var(--green-700); margin-top: .25em; width: 1.05em; height: 1.05em; }
.package-includes .pending { font-size: .95rem; }
.package-price {
  margin-top: auto; background: var(--cream); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.package-price span { font-size: .85rem; color: var(--ink-soft); }
.package-price strong { font-size: 1.35rem; color: var(--green-900); }
.package-price small { color: var(--ink-soft); font-size: .85rem; }

/* ---------------------------- Services ---------------------------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--line);
}
.service-icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--green-900); color: var(--gold-400);
}
.service-icon .icon { width: 26px; height: 26px; }
.service h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.service p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------------------------- Gallery ---------------------------- */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-200); position: relative; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: .5rem .75rem; font-size: .85rem; color: var(--white);
  background: linear-gradient(transparent, rgba(8, 38, 27, .85));
}
.placeholder-box {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  border: 2px dashed #cfc3a5; border-radius: inherit; color: #8a7d5c; text-align: center; padding: .75rem; font-size: .85rem; line-height: 1.5;
}
.placeholder-box .icon { width: 32px; height: 32px; opacity: .7; }

/* ----------------------------- Videos ----------------------------- */
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 600px) { .videos-grid { gap: 1rem; } }
.video-card {
  display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--green-800), var(--green-950)); color: var(--white); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-card:hover img { opacity: 1; }
.video-card .video-duration {
  position: absolute; top: .75rem; inset-inline-end: .75rem; direction: ltr;
  background: rgba(0, 0, 0, .65); color: var(--white); font-size: .82rem; font-weight: 500;
  padding: .1rem .55rem; border-radius: 6px;
}
.video-card .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(201, 160, 67, .95); color: var(--green-950);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s;
}
.video-card:hover .play { transform: scale(1.08); }
.video-card .play .icon { width: 28px; height: 28px; margin-inline-start: -3px; }
.video-card .video-title {
  position: absolute; inset-inline: 0; bottom: 0; padding: 2.5rem 1rem .85rem; font-weight: 500; line-height: 1.5;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* --------------------------- Video page --------------------------- */
.video-page { padding: 1.5rem 0 4rem; }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.25rem;
  color: var(--green-800); font-weight: 500; text-decoration: none;
}
.back-link:hover { color: var(--gold-600); }
.back-link .icon { transform: scaleX(-1); width: 1.1em; height: 1.1em; }
.watch { display: grid; gap: 1.5rem; align-items: start; }
.player {
  background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 460px; margin-inline: auto;
}
.player video { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; }
.watch-info h1 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); margin-bottom: .6rem; }
.watch-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.1rem; }
.watch-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.watch-meta .icon { color: var(--gold-600); width: 1.05em; height: 1.05em; }
.caption {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem;
  white-space: pre-line; color: var(--ink); font-size: 1rem; line-height: 1.9; margin-bottom: 1.25rem;
}
.caption.is-collapsed { max-height: 15rem; overflow: hidden; position: relative; }
.caption.is-collapsed::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4rem;
  background: linear-gradient(transparent, var(--white));
}
.caption-toggle { background: none; border: 0; color: var(--green-700); font-weight: 700; cursor: pointer; padding: 0; margin: -.5rem 0 1.25rem; }
.watch-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.related { margin-top: 3rem; }
.related h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.related .videos-grid { grid-template-columns: repeat(2, 1fr); }
.not-found { text-align: center; padding: 3rem 1rem; }

@media (min-width: 1000px) {
  .video-page { padding-top: 2rem; }
  .watch { grid-template-columns: minmax(0, 440px) 1fr; gap: 2.5rem; }
  .player { margin: 0; position: sticky; top: calc(var(--header-h) + 1rem); }
}
.video-card.is-placeholder { border: 2px dashed rgba(217, 181, 96, .5); }
.video-card.is-placeholder .play { background: rgba(255, 255, 255, .15); color: var(--gold-400); box-shadow: none; }
.video-card.is-placeholder .video-title { background: none; color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* --------------------------- Facebook CTA --------------------------- */
.fb-cta {
  margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
  background: var(--green-900); color: var(--white); border-radius: var(--radius); padding: 1.5rem;
}
.fb-cta h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .25rem; }
.fb-cta p { color: rgba(255, 255, 255, .8); margin: 0; }

/* --------------------------- Testimonials --------------------------- */
.testimonials-grid { display: grid; gap: 1rem; }
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; margin: 0; }
.testimonial > .icon { color: var(--gold-500); width: 30px; height: 30px; margin-bottom: .5rem; }
.testimonial blockquote { margin: 0 0 .75rem; }
.testimonial figcaption { font-weight: 700; color: var(--green-900); }
.testimonial figcaption small { display: block; font-weight: 400; color: var(--ink-soft); }
.testimonial.is-placeholder { background: transparent; border: 2px dashed #cfc3a5; color: #8a7d5c; text-align: center; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.testimonials-note { text-align: center; margin-top: 1.25rem; color: var(--ink-soft); }

/* ------------------------------- FAQ ------------------------------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.15rem; font-weight: 700; color: var(--green-950);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100); color: var(--gold-600); font-size: 1.3rem; font-weight: 500; line-height: 1;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--green-700); }
.faq-item .faq-answer { padding: 0 1.15rem 1.1rem; color: var(--ink-soft); }
.faq-item .faq-answer p { margin: 0; }

/* --------------------------- Branches / contact --------------------------- */
.contact-layout { display: grid; gap: 1.5rem; }
.branches-grid { display: grid; gap: 1rem; align-content: start; }
.branch { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
.branch .btn { margin-top: auto; }
.branch h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.2rem; }
.branch h3 .icon { color: var(--gold-600); }
.branch-address { color: var(--ink-soft); }
.branch.is-main { border: 2px solid var(--gold-500); }
.branch-badge {
  display: inline-block; font-size: .8rem; font-weight: 700; background: var(--gold-500); color: var(--green-950);
  padding: .15rem .7rem; border-radius: 999px; margin-bottom: .6rem; align-self: flex-start;
}
.branch-note { font-size: .88rem; color: var(--gold-600); margin: -.5rem 0 .5rem; }
.branch-phones { display: grid; gap: .5rem; margin-bottom: 1rem; }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.phone-link {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .85rem;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--green-900); font-weight: 700;
  background: var(--cream);
}
.phone-link:hover { border-color: var(--green-700); }
.phone-link.is-wa { color: var(--wa-dark); }
.phone-link .num { direction: ltr; unicode-bidi: isolate; }
.branch .btn { width: 100%; }

.contact-form { background: var(--green-900); color: var(--white); border-radius: var(--radius); padding: 1.5rem 1.35rem; box-shadow: var(--shadow); }
.contact-form h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .25rem; }
.form-hint { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.field .optional { font-weight: 400; color: rgba(255, 255, 255, .65); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; background: var(--white); color: var(--ink); font-size: 1rem;
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 160, 67, .35); }
.field .is-invalid { border-color: #e57373; }
.form-error { background: #fdecea; color: #9b1c1c; border-radius: var(--radius-sm); padding: .6rem .9rem; font-size: .95rem; }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .82); padding-top: 3rem; }
.site-footer h4 { color: var(--gold-400); font-size: 1.05rem; margin-bottom: .85rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand strong { color: var(--white); font-size: 1.15rem; display: block; margin-bottom: .3rem; }
.footer-brand p { margin: 0; font-size: .95rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-400); }
.footer-contact { display: grid; gap: .15rem; }
.footer-contact .icon { color: var(--gold-400); }
.footer-contact .num, .footer-contact .email { direction: ltr; unicode-bidi: isolate; }
.footer-contact .email { word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0 5.5rem; font-size: .88rem; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .25rem; text-align: center; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .65); }

/* ------------------------ Floating WhatsApp ------------------------ */
.wa-float {
  position: fixed; z-index: 90;
  inset-inline-end: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); color: var(--white); box-shadow: 0 8px 24px rgba(31, 158, 82, .45);
  transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.06); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }

.noscript { position: fixed; bottom: 0; inset-inline: 0; margin: 0; background: var(--gold-100); padding: .75rem; text-align: center; z-index: 300; }

/* =========================== Breakpoints =========================== */
@media (min-width: 420px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta .btn { width: auto; }
}

@media (min-width: 600px) {
  .show-xs { display: none; }
  .hide-xs { display: inline; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .related .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .fb-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .container { padding-inline: 1.5rem; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li { flex-direction: row; text-align: start; padding: 1.25rem 1rem; gap: .75rem; justify-content: center; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { gap: 2.5rem; }
  .contact-form { width: 100%; max-width: 680px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { padding-bottom: 1.25rem; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: start; }
  .section { padding: 5rem 0; }
}

@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0;
  }
  .main-nav ul { display: flex; gap: .25rem; }
  .main-nav a { border: 0; padding: .5rem .8rem; font-size: 1rem; border-radius: 8px; }
  .main-nav a:hover { background: var(--cream-200); }
  .brand { margin-inline-end: 0; }
  .header-inner { justify-content: space-between; }
  .brand-logo { width: 64px; height: 64px; }
  .brand-logo.brand-logo-lg { width: 96px; height: 96px; }
  .brand-logo.brand-logo-xl { width: 100%; height: 100%; }

  .hero { padding: 5rem 0 8rem; }
  .hero-inner { grid-template-columns: 1.25fr 1fr; gap: 3rem; }
  .hero-visual { display: block; }
  .trust { margin-top: -4rem; }

  .packages-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .package.is-featured { transform: translateY(-10px); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service { flex-direction: column; padding: 1.6rem; }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .branches-grid { grid-template-columns: repeat(3, 1fr); }
  .wa-float { inset-inline-end: 1.5rem; bottom: 1.5rem; }
}
