:root {
  --emerald: #0F4C3A;
  --emerald-2: #123F34;
  --gold: #C9A961;
  --cream: #FAF7F2;
  --cream-2: #F1E8DA;
  --ink: #1A1A1A;
  --muted: #6E6A63;
  --line: rgba(15, 76, 58, .16);
  --white: #FFFFFF;
  --wa: #25D366;
  --shadow: 0 22px 60px rgba(15, 76, 58, .13);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img, svg, iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.pattern {
  position: relative;
  overflow: hidden;
}

.pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(30deg, rgba(201,169,97,.3) 12%, transparent 12.5%, transparent 87%, rgba(201,169,97,.3) 87.5%, rgba(201,169,97,.3)),
    linear-gradient(150deg, rgba(201,169,97,.3) 12%, transparent 12.5%, transparent 87%, rgba(201,169,97,.3) 87.5%, rgba(201,169,97,.3)),
    linear-gradient(30deg, rgba(201,169,97,.3) 12%, transparent 12.5%, transparent 87%, rgba(201,169,97,.3) 87.5%, rgba(201,169,97,.3)),
    linear-gradient(150deg, rgba(201,169,97,.3) 12%, transparent 12.5%, transparent 87%, rgba(201,169,97,.3) 87.5%, rgba(201,169,97,.3));
  background-size: 84px 148px;
  background-position: 0 0, 0 0, 42px 74px, 42px 74px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 86px);
  background:
    radial-gradient(circle at 12% 18%, rgba(201,169,97,.22), transparent 30%),
    linear-gradient(135deg, #FAF7F2 0%, #F4ECDF 48%, #E9DDC7 100%);
}

.hero-content,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 930px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--emerald);
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  line-height: 1.14;
  font-weight: 800;
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 4.2rem); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--emerald);
  font-weight: 800;
}

.hero-subtitle,
.page-hero p,
.section-head p,
.final-cta p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--emerald); color: var(--white); box-shadow: 0 14px 30px rgba(15,76,58,.22); }
.btn-whatsapp { background: var(--wa); color: #062B16; box-shadow: 0 14px 30px rgba(37,211,102,.22); }
.btn-outline { color: var(--emerald); border-color: var(--emerald); background: transparent; }
.text-link { color: var(--emerald); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: Inter, Tajawal, sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--emerald);
  font-weight: 700;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.section h2,
.final-cta h2 {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.22;
}

.muted-band {
  background: linear-gradient(180deg, rgba(241,232,218,.75), rgba(250,247,242,.95));
  border-block: 1px solid var(--line);
}

.card-grid,
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.pillar,
.wide-card,
.accordion-item,
.testimonial,
.info-panel {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card,
.pillar,
.testimonial,
.info-panel {
  padding: 24px;
}

.service-card h3,
.pillar h3,
.timeline h3,
.wide-card h2 {
  margin: 0 0 10px;
  color: var(--emerald);
  line-height: 1.35;
}

.service-card p,
.pillar p,
.timeline p,
.wide-card p,
.prose p {
  color: var(--muted);
}

.card-icon,
.number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--gold);
  font-family: Inter, Tajawal, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--emerald);
  text-decoration: none;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: Inter, Tajawal, sans-serif;
  font-weight: 800;
}

.accordion,
.faq-list,
.long-list {
  display: grid;
  gap: 14px;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--emerald);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  text-align: right;
  font-weight: 800;
  font-size: 1.1rem;
}

.accordion-trigger::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-family: Inter, Tajawal, sans-serif;
}

.accordion-trigger[aria-expanded="true"]::after { content: "−"; }
.accordion-panel { display: none; padding: 0 22px 20px; color: var(--muted); }
.accordion-trigger[aria-expanded="true"] + .accordion-panel { display: block; }

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-right: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: .8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.center { text-align: center; margin-top: 28px; }
.testimonial-track { display: grid; grid-template-columns: repeat(5, minmax(250px, 1fr)); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.testimonial { min-width: 250px; scroll-snap-align: start; }
.testimonial blockquote { margin: 0 0 18px; color: var(--ink); font-size: 1.05rem; }
.testimonial figcaption { color: var(--emerald); font-weight: 800; }

.final-cta {
  margin: clamp(24px, 5vw, 70px);
  padding: clamp(40px, 7vw, 86px);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  color: var(--white);
}

.final-cta h2,
.final-cta .eyebrow,
.final-cta p { color: var(--white); }

.page-hero {
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 76px);
  background: linear-gradient(135deg, #FAF7F2 0%, #EDE0C9 100%);
  border-bottom: 1px solid var(--line);
}

.wide-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 24px;
}

.prose {
  font-size: 1.12rem;
}

.info-panel {
  position: sticky;
  top: 96px;
}

.info-panel h2 { font-size: 1.45rem; }
.info-panel dl { margin: 0; display: grid; gap: 12px; }
.info-panel dt { color: var(--emerald); font-weight: 800; }
.info-panel dd { margin: 0 0 8px; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.hours-table caption {
  text-align: right;
  color: var(--emerald);
  font-weight: 800;
  margin-bottom: 8px;
}

.hours-table th,
.hours-table td {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  text-align: right;
}

.site-footer {
  padding: 46px clamp(18px, 5vw, 76px) 28px;
  background: #112E27;
  color: rgba(255,255,255,.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr 1fr;
  gap: 28px;
}

.site-footer .brand-mark { background: var(--gold); color: var(--emerald); }
.site-footer a { color: inherit; }
.site-footer h2 { color: var(--gold); font-size: 1.1rem; }
.footer-text, .site-footer small, .site-footer address, .footer-bottom { color: rgba(255,255,255,.72); }
.footer-links, .footer-areas { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer address { font-style: normal; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

.floating-actions {
  position: fixed;
  inset: auto 0 20px 0;
  z-index: 9999;
  pointer-events: none;
}

.float-btn {
  pointer-events: auto;
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  animation: pulse 2.2s ease-in-out infinite;
}

.float-whatsapp { right: 20px; background: var(--wa); color: #053A1D; }
.float-call { left: 20px; background: var(--emerald); }
.tooltip {
  position: absolute;
  bottom: 72px;
  background: var(--ink);
  color: #fff;
  padding: 6px 9px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: .2s ease;
  font-size: .82rem;
}
.float-btn:hover .tooltip { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(0,0,0,.22), 0 0 0 0 rgba(201,169,97,.38); }
  50% { box-shadow: 0 12px 34px rgba(0,0,0,.22), 0 0 0 14px rgba(201,169,97,0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .card-grid, .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-track { grid-template-columns: repeat(5, 280px); }
}

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero h1, .page-hero h1 { font-size: 2.25rem; }
  .card-grid, .pillar-grid, .split-section, .contact-grid { grid-template-columns: 1fr; }
  .wide-card { grid-template-columns: 1fr; }
  .info-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .float-btn { width: 64px; height: 64px; bottom: 16px; }
  .float-whatsapp { right: 14px; }
  .float-call { left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
