/* ==========================================================================
   CG Cleaning Services - Custom Stylesheet
   Hand-authored (no framework) so the shipped CSS has zero unused rules
   and no runtime build step is required on shared PHP hosting.
   ========================================================================== */

/* -------------------------- Design tokens -------------------------- */
:root {
  /* Brand palette: bold corporate navy + crisp white + the logo's red,
     matching the logo's own blue identity instead of a separate
     "editorial" palette. No beige/cream anywhere. */
  --ink:      #0A1F33;
  --deep:     #0F2A44;
  --harbor:   #123A5C;
  --current:  #1D6FA5;
  --mist:     #F1F5F9;
  --foam:     #FFFFFF;
  --maple:    #C8352B;
  --maple-2:  #9E281F;
  --droplet:  #2E8BC0;
  --gold:     #1D6FA5;
  --gold-2:   #123A5C;
  --white:    #FFFFFF;
  --gray-500: #55606B;
  --gray-600: #1F2937;
  --line:     #E2E8F0;

  /* Gradients */
  --grad-harbor: linear-gradient(135deg, #0A1F33 0%, #123A5C 55%, #1D6FA5 100%);
  --grad-droplet: linear-gradient(160deg, #2E8BC0 0%, #123A5C 100%);
  --grad-maple: linear-gradient(135deg, #C8352B 0%, #9E281F 100%);
  --grad-gold: linear-gradient(135deg, #1D6FA5 0%, #123A5C 100%);

  /* Typography: a characterful sans for display type (not a plain
     default, not an ornate serif), clean sans for body copy. */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Shape / elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 45px -20px rgba(10, 31, 51, .3);
  --shadow-card: 0 10px 26px -14px rgba(10, 31, 51, .14);
  --shadow-premium: 0 26px 54px -22px rgba(10, 31, 51, .35);

  /* Layout */
  --container-w: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* -------------------------- Reset -------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Premium, consistent color grading across every photo on the site so
   images from different sources read as one cohesive art direction. */
.service-card__image img,
.media-frame img,
.gallery-card img {
  filter: saturate(1.08) contrast(1.03) brightness(1.01);
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--droplet); outline-offset: 3px; border-radius: 4px; }

/* Base icon sizing: every icon_svg() call renders a 24x24-viewBox SVG.
   Without an explicit size, inline SVGs fall back to a large intrinsic
   default in some browsers, so every icon gets a sane size here and
   individual components only override when they need something different. */
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 32px; height: 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--harbor); color: #fff;
  padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------- Layout helpers -------------------------- */
.container { width: 100%; max-width: var(--container-w); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.section--tight { padding-block: 56px; }
.section--alt { background: var(--mist); }
.section--dark { background: var(--grad-harbor); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 10px; }
.gap-md { gap: 18px; }
.gap-lg { gap: 32px; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0 !important; }

/* -------------------------- Typography -------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); }
.section--dark .eyebrow { color: #E4C878; }

h2.h-lg, .h-lg { font-size: clamp(28px, 4vw, 42px); }
h3.h-md, .h-md { font-size: clamp(20px, 2.4vw, 26px); }
.lead { font-size: 18px; color: var(--gray-600); max-width: 620px; }
.section--dark .lead { color: rgba(255,255,255,.82); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.text-center { margin-inline: auto; }
.section-head > * + * { margin-top: 14px; }

.text-gradient {
  background-image: linear-gradient(135deg, #16324A 0%, #1B4965 60%, #2E6E8E 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------------------------- Buttons -------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 65%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(120%); }
.btn > * { position: relative; z-index: 1; }
.btn--primary { background: var(--grad-maple); color: #fff; box-shadow: 0 14px 30px -12px rgba(178,58,46,.45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(178,58,46,.55); }
.btn--secondary { background: #fff; color: var(--harbor); box-shadow: var(--shadow-card); }
.btn--secondary:hover { transform: translateY(-2px); }
.btn--outline { background: transparent; color: inherit; border-color: currentColor; }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--outline-dark { background: transparent; color: var(--harbor); border-color: var(--harbor); }
.btn--outline-dark:hover { background: var(--harbor); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* -------------------------- Header / Nav -------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--ink);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark-img { display: block; height: 44px; width: 44px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; white-space: nowrap; }
.brand__sub { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9FB3C8; font-weight: 600; }
@media (max-width: 400px) {
  .brand__sub { display: none; }
}

.main-nav__list { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: inline-block; padding: 10px 16px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 15px; color: #C7D4E1; transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.is-active { background: var(--maple); color: #fff; }
.nav-link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--current); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active::after { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; }
.header-phone .icon { color: #9FB3C8; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 10px;
  border-radius: var(--radius-pill); border: 1.5px solid rgba(255,255,255,.25); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .03em;
  transition: background .2s ease, border-color .2s ease;
}
.lang-switch:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.nav-toggle {
  display: none; background: none; border: none; padding: 8px; cursor: pointer; color: #fff;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 940px) {
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { padding: 16px 18px; font-size: 17px; }
  .nav-toggle { display: block; }
  .site-header__actions .btn--primary.btn--sm { display: none; }
}
@media (min-width: 861px) {
  .main-nav .nav-toggle-only { display: none; }
}

/* -------------------------- Hero slider (light, glass-panel style) -------------------------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center;
  overflow: hidden; color: var(--ink); background: var(--ink);
}
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.3s ease;
}
.hero__slide.is-active { opacity: 1; animation: kenburns 12s ease-out forwards; }
.hero__slide::after {
  /* A gentle, uniform darkening rather than a light wash: keeps every
     photo (day or night) rich and true to itself, since the text sits
     on its own card below rather than relying on this layer for contrast. */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,24,31,.35) 0%, rgba(18,24,31,.12) 45%, rgba(18,24,31,0) 65%);
}
@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.09); }
}
.hero__inner {
  position: relative; z-index: 2; margin-block: 56px; max-width: 600px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-premium);
  padding: 48px 44px;
}
@media (max-width: 620px) { .hero__inner { padding: 32px 26px; margin-block: 28px; } }
.hero__inner > * { opacity: 0; transform: translateY(22px); animation: heroFadeUp .8s var(--ease) forwards; }
.hero__inner > .eyebrow { animation-delay: .05s; }
.hero__inner > h1 { animation-delay: .18s; }
.hero__inner > p.lead { animation-delay: .32s; }
.hero__inner > .hero__cta { animation-delay: .46s; }
.hero__inner > .hero__stats { animation-delay: .6s; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat-value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--harbor); }
.hero__stat-label { font-size: 13px; color: var(--gray-600); }
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__dots { position: absolute; z-index: 3; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; transition: background .3s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.hero__dot.is-active { background: var(--gold); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin-top: 18px; color: var(--ink); }
.hero h1 .text-gradient { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); animation: none; }
@keyframes gradientDrift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero p.lead { color: var(--gray-600); margin-top: 18px; }
.hero__wave { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; }
@media (max-width: 620px) { .hero__wave { height: 28px; } }

/* -------------------------- Page hero (interior pages, light glass style) -------------------------- */
.page-hero {
  position: relative; padding-block: 72px; color: var(--ink); background-size: cover; background-position: center;
  overflow: hidden; display: flex; align-items: center; min-height: 340px;
}
.page-hero::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(18,24,31,.4) 0%, rgba(18,24,31,.12) 50%, rgba(18,24,31,0) 70%);
}
.page-hero__inner {
  position: relative; z-index: 2; max-width: 620px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-premium);
  padding: 40px 40px;
}
@media (max-width: 620px) { .page-hero__inner { padding: 28px 24px; } }
.page-hero__inner > * { opacity: 0; transform: translateY(18px); animation: heroFadeUp .75s var(--ease) forwards; }
.page-hero__inner > .breadcrumb { animation-delay: .02s; }
.page-hero__inner > .eyebrow { animation-delay: .12s; }
.page-hero__inner > h1 { animation-delay: .24s; }
.page-hero__inner > p { animation-delay: .38s; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 14px; color: var(--ink); }
.page-hero p { margin-top: 14px; color: var(--gray-600); font-size: 17px; }
.breadcrumb { position: relative; z-index: 2; font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.breadcrumb a { color: var(--harbor); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

/* -------------------------- Cards -------------------------- */
.card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-harbor); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); border-color: rgba(46,110,142,.3); }

.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card__image { height: 190px; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__image img { transform: scale(1.07); }
.service-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--mist); color: var(--harbor);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .4s var(--ease), background .3s ease, color .3s ease;
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-4deg); background: var(--grad-harbor); color: #fff; }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__title { font-size: 19px; font-weight: 700; }
.service-card__desc { color: var(--gray-600); font-size: 14.5px; flex: 1; }
.service-card__link { font-weight: 600; color: var(--current); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.service-card__link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }

.value-card { padding: 30px; text-align: left; }
.value-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--grad-harbor); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  transition: transform .4s var(--ease);
}
.value-card__icon--1 { background: var(--grad-droplet); }
.value-card__icon--2 { background: var(--grad-maple); }
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(-6deg); }
.value-card__icon .icon { width: 26px; height: 26px; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--gray-600); font-size: 14.5px; }

.testimonial-card { padding: 32px; position: relative; }
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__stars .icon { width: 16px; height: 16px; color: #F5A623; fill: #F5A623; stroke-width: 1; }
.testimonial-card p.quote-text { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--gray-600); }
.testimonial-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad-harbor); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-body); flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: 14.5px; }
.testimonial-card__role { font-size: 13px; color: var(--gray-500); }

.gallery-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px;
  background: linear-gradient(0deg, rgba(7,27,46,.85), transparent 80%);
  color: #fff; font-weight: 600; font-size: 14px; font-family: var(--font-body);
}

/* -------------------------- Stats / counters -------------------------- */
.stats-strip { background: var(--grad-harbor); color: #fff; border-radius: var(--radius-lg); padding: 44px 32px; }
.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-size: 38px; font-weight: 700; }
.stat__label { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 6px; }

/* -------------------------- Process steps -------------------------- */
.process-steps { position: relative; }
.process-step { display: flex; gap: 20px; align-items: flex-start; }
.process-step__num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-card);
}
.process-step__title { font-weight: 700; font-size: 16.5px; margin-bottom: 4px; }
.process-step__desc { color: var(--gray-600); font-size: 14.5px; }

/* -------------------------- Pricing -------------------------- */
.pricing-card { padding: 38px 30px; text-align: center; position: relative; overflow: visible; }
.pricing-card--featured {
  border: 1.5px solid var(--gold); box-shadow: var(--shadow-premium);
}
.pricing-card--featured .pricing-card__badge { background: var(--grad-gold); }
@media (max-width: 980px) { .pricing-card--featured { transform: none; } }
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-maple); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 18px; border-radius: var(--radius-pill); letter-spacing: .04em;
}
.pricing-card__title { font-size: 19px; font-weight: 700; margin-bottom: 18px; }
.pricing-card__price { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--harbor); }
.pricing-card__unit { display: block; font-size: 13px; color: var(--gray-500); font-weight: 500; margin-top: 4px; margin-bottom: 26px; }
.pricing-card__features { text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.pricing-card__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--gray-600); }
.pricing-card__features .icon { color: var(--droplet); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* -------------------------- FAQ accordion -------------------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq-question .icon { width: 20px; height: 20px; color: var(--current); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 4px 22px; color: var(--gray-600); font-size: 14.5px; max-width: 680px; }

/* -------------------------- Industries strip -------------------------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  padding: 10px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--deep); box-shadow: var(--shadow-card);
}

/* -------------------------- CTA banner -------------------------- */
.cta-banner {
  background: var(--grad-harbor); border-radius: var(--radius-lg); padding: 56px 48px;
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,154,63,.22), transparent 45%);
}
.cta-banner__content { position: relative; z-index: 1; max-width: 560px; }
.cta-banner__content h2 { color: #fff; }
.cta-banner__content p { color: rgba(255,255,255,.9); margin-top: 10px; }
.cta-banner__actions { position: relative; z-index: 1; display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------- Forms -------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--deep); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--current); box-shadow: 0 0 0 4px rgba(46,110,142,.14); outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .field-error { font-size: 13px; color: var(--maple); display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--maple); }
.form-field.has-error .field-error { display: block; }
.form-note { font-size: 13px; color: var(--gray-500); margin-top: 6px; }

.form-alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; margin-bottom: 22px; display: none; }
.form-alert.is-visible { display: block; }
.form-alert--success { background: #E7F7EE; color: #16794A; border: 1px solid #BEEBD1; }
.form-alert--error { background: #FCEAEC; color: var(--maple-2); border: 1px solid #F6C6CD; }

.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff;
  border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.contact-info-card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--harbor);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 14px; color: var(--gray-600); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* -------------------------- WhatsApp float -------------------------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .25s ease;
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: pulseRing 2.6s ease-out infinite; z-index: -1;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }

/* -------------------------- Footer (dark navy) -------------------------- */
.site-footer { background: var(--ink); color: #B7C4D1; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #93A3B5; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--maple); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-heading { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 18px; }
.footer-list { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-list a:hover { color: #fff; }
.footer-list--contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-list--contact .icon { width: 16px; height: 16px; margin-top: 3px; color: #6E97BE; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; }
.footer-bottom__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #7A8CA0; }

/* -------------------------- Utilities / animations -------------------------- */
.reveal { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.1); color: #fff; padding: 8px 14px; border-radius: var(--radius-pill);
}
.badge .icon { width: 15px; height: 15px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.two-col--reverse .two-col__media { order: 2; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-premium); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4/5; }
.media-frame--wide { aspect-ratio: 16/10; }

.list-check { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.list-check .icon { color: var(--current); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; background: var(--mist); border-radius: 50%; padding: 3px; box-sizing: content-box; }

.value-pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.not-found { text-align: center; padding-block: 120px; }
.not-found .h-lg { font-size: clamp(64px, 12vw, 120px); color: var(--harbor); font-family: var(--font-display); font-weight: 800; }

/* Loading spinner for the AJAX contact form */
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff; animation: spin .7s linear infinite; display: none;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .section { padding-block: 60px; }
  .cta-banner { padding: 40px 26px; flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; }
  .hero__stats { gap: 20px; }
  .hero__stat-value { font-size: 28px; }
  .header-phone { display: none; }
  .site-header__inner { height: 68px; }
  :root { --header-h: 68px; }
  .page-hero { padding-block: 56px; min-height: auto; }
  .stats-strip { padding: 32px 22px; }
  .stat__value { font-size: 30px; }
  .pricing-card__price { font-size: 36px; }
}

@media (max-width: 400px) {
  .hero__stats { gap: 10px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__stat-value { font-size: 22px; }
  .hero__stat-label { font-size: 11.5px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   RTL (Arabic) support
   ========================================================================== */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-family: 'Cairo', 'Inter', ui-sans-serif, sans-serif;
}
html[dir="rtl"] body { direction: rtl; }

/* Fixed-position elements need an explicit side flip; everything else
   (flexbox, grid, text alignment) already mirrors automatically once
   `direction: rtl` is set on the document. */
html[dir="rtl"] .skip-link { left: auto; right: -9999px; }
html[dir="rtl"] .skip-link:focus { right: 0; left: auto; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 22px; }
html[dir="rtl"] .hero__wave { transform: scaleX(-1); }

/* Icons that visually imply direction (arrows) should flip in RTL. */
html[dir="rtl"] .icon-arrow {
  transform: scaleX(-1);
}
html[dir="rtl"] .service-card:hover .service-card__link .icon-arrow { transform: scaleX(-1) translateX(4px); }

/* Eyebrow rule sits before the label in reading order either way, since
   it is generated with a flex row that already mirrors under RTL. */
html[dir="rtl"] .breadcrumb span { display: inline-block; }

/* Numeric/price displays should stay visually left-to-right for digits
   even inside RTL text (browsers already do this via the bidi algorithm,
   this just prevents any accidental centring drift in narrow cards). */
html[dir="rtl"] .pricing-card__price,
html[dir="rtl"] .hero__stat-value,
html[dir="rtl"] .stat__value {
  direction: ltr;
  unicode-bidi: isolate;
}

