/* Al Mahaya — shared stylesheet.
   Section 1 is lifted verbatim from the original landing page (index.html).
   Section 2 adds the components the inner pages need. */

:root {
  --green-900: #0a3d2c;
  --green-800: #0F6E56;
  --green-700: #137a5f;
  --green-600: #1D9E75;
  --green-500: #3eb38a;
  --green-100: #d9efe5;
  --green-50: #eef8f3;
  --cream: #f5f2ea;
  --cream-dark: #ece8dc;
  --ink: #1a1f1d;
  --ink-soft: #4a524e;
  --ink-muted: #7a807d;
  --line: rgba(10, 61, 44, 0.12);
  --line-soft: rgba(10, 61, 44, 0.06);
  --white: #ffffff;
  --amber: #c97a1c;
  --whatsapp: #25D366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

a { color: inherit; text-decoration: none; }

/* ============ TOP UTILITY BAR ============ */
.util-bar {
  background: var(--green-900);
  color: var(--cream);
  font-size: 12.5px;
  padding: 8px 0;
}
.util-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.util-left { display: flex; gap: 24px; align-items: center; }
.util-item { display: inline-flex; align-items: center; gap: 6px; opacity: 0.9; }
.util-item svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.util-right { display: flex; gap: 16px; align-items: center; }
.util-right a { opacity: 0.7; transition: opacity 0.2s; }
.util-right a:hover { opacity: 1; }

/* ============ HEADER ============ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.96);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 52px; width: auto; display: block; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--green-800); }
.nav a.active { color: var(--green-800); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green-600);
}

.header-cta { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--green-800);
  color: var(--green-800);
}
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--green-900);
  color: var(--cream);
  overflow: hidden;
  padding: 100px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(62, 179, 138, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(29, 158, 117, 0.2), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 28px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--green-500);
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 24px;
  color: var(--white);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-500);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245, 242, 234, 0.75);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-light {
  background: var(--cream);
  color: var(--green-900);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 242, 234, 0.3);
}
.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(255,255,255,0.05);
}

/* Hero side card with quick stats */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(20px);
}
.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 24px;
  font-weight: 500;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-row:last-child { border-bottom: none; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(245,242,234,0.6);
  text-align: right;
}

/* ============ SECTORS ============ */
.sectors {
  padding: 120px 0;
  background: var(--cream);
}
.sectors-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section-header h2 {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--ink);
}
.section-header h2 em {
  font-style: italic;
  color: var(--green-800);
  font-weight: 400;
}
.section-intro {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 480px;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sector-card {
  background: var(--cream);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sector-card:hover {
  background: var(--white);
}
.sector-num {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--ink-muted);
  font-feature-settings: 'tnum';
  margin-bottom: 32px;
}
.sector-icon {
  width: 44px;
  height: 44px;
  color: var(--green-800);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.sector-card:hover .sector-icon { transform: translateY(-4px); }
.sector-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sector-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sector-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.sector-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green-800);
  transition: gap 0.2s;
}
.sector-card:hover .sector-arrow { gap: 12px; }
.sector-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============ ABOUT / PHILOSOPHY ============ */
.philosophy {
  padding: 120px 0;
  background: var(--white);
}
.philosophy-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.philosophy-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-800);
  font-weight: 500;
  margin-bottom: 16px;
}
.philosophy h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ink);
  line-height: 1.1;
}
.pillars { display: flex; flex-direction: column; gap: 0; }
.pillar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--green-800);
  font-feature-settings: 'tnum';
  padding-top: 4px;
}
.pillar h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.pillar p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============ MISSION / VISION ============ */
.mv {
  padding: 0 0 120px;
  background: var(--white);
}
.mv-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  background: var(--green-900);
  color: var(--cream);
  padding: 56px 48px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.mv-card.vision {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
}
.mv-card-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 24px;
}
.mv-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.mv-card p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
}
.mv-card.vision h3 { color: var(--green-800); }

/* ============ WHY CHOOSE US ============ */
.why {
  padding: 120px 0;
  background: var(--cream);
}
.why-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.why h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ink);
  margin-bottom: 64px;
  max-width: 700px;
}
.why h2 em { font-style: italic; color: var(--green-800); font-weight: 400; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item { }
.why-icon {
  width: 32px;
  height: 32px;
  color: var(--green-800);
  margin-bottom: 20px;
}
.why-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.why-item h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
.why-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--green-800);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(62, 179, 138, 0.3), transparent 60%);
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-inner h2 em {
  font-style: italic;
  color: var(--green-100);
  font-weight: 400;
}
.cta-inner p {
  font-size: 17px;
  opacity: 0.85;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(245, 242, 234, 0.7);
  padding: 80px 0 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 24px;
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 4px;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 360px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 14.5px;
  padding: 6px 0;
  color: rgba(245, 242, 234, 0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-500); }
.footer-col ul { list-style: none; }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 480px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav { display: none; }
  .section-header { grid-template-columns: 1fr; gap: 24px; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .util-inner { padding: 0 20px; }
  .util-left { gap: 12px; }
  .util-item span { display: none; }
  .util-item svg { width: 16px; height: 16px; }
  .header-inner { padding: 14px 20px; }
  .logo img { height: 38px; }
  .header-cta .btn-ghost { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero-inner, .sectors-inner, .philosophy-inner, .mv-inner, .why-inner, .cta-inner, .footer-inner { padding: 0 20px; }
  .sectors, .philosophy, .why { padding: 72px 0; }
  .mv { padding-bottom: 72px; }
  .sector-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card { padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}


/* =====================================================================
   SECTION 2 — Inner-page components (same tokens, same patterns)
   ===================================================================== */

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-900); color: var(--cream);
  padding: 10px 16px; z-index: 300; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Generic container for sections added after the original landing page */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 120px 0; background: var(--white); }
.section.cream { background: var(--cream); }
.section.tight { padding: 88px 0; }
.section.flush-top { padding-top: 0; }
.section-title.compact { margin-bottom: 32px; }
.section-header:last-child { margin-bottom: 0; }
.why-icon.fill svg { fill: currentColor; stroke: none; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-800);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 760px;
}
.section-title em, .story h2 em, .quote-panel h2 em, .philosophy h2 em {
  font-style: italic; font-weight: 400; color: var(--green-800);
}
.util-bar a.util-item:hover { opacity: 1; }

/* ---------- Mobile navigation ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Page hero (inner pages) ---------- */
.hero.page-hero { padding: 88px 0 96px; }
.hero-inner.single { grid-template-columns: 1fr; }
.hero-inner.single > div { max-width: 860px; }
.hero.page-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.crumbs {
  font-size: 13px;
  color: rgba(245, 242, 234, 0.55);
  margin-bottom: 20px;
}
.crumbs a { color: rgba(245, 242, 234, 0.75); transition: color 0.2s; }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }
.hero-list { list-style: none; }
.hero-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  color: rgba(245,242,234,0.85);
}
.hero-list li:last-child { border-bottom: none; }
.hero-list li:has(> a) { display: block; padding: 0; }
.hero-list li > a {
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  padding: 14px 0;
  color: rgba(245,242,234,0.85);
  transition: color 0.2s, padding 0.2s;
}
.hero-list li > a::after {
  content: "→";
  opacity: 0;
  color: var(--green-500);
  transition: opacity 0.2s;
}
.hero-list li > a:hover { color: var(--white); padding-left: 4px; }
.hero-list li > a:hover::after { opacity: 1; }
.hero-list .n {
  font-family: 'Fraunces', serif;
  color: var(--green-500);
  font-feature-settings: 'tnum';
}

/* ---------- Sector grid variants ---------- */
a.sector-card { color: inherit; }
.footer-brand img { width: auto; display: block; }
.logo picture, .footer-brand picture { display: block; }
.sectors .sector-grid { grid-template-columns: repeat(3, 1fr); }
.sectors .sector-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Our story (about) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.story h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; }
.story-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.story-body p:first-child {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 32px;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  margin-bottom: 28px;
}
.team-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-800);
  font-weight: 500;
  margin-bottom: 16px;
}
.team-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; max-width: 920px; }
.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline-year {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--green-800);
  line-height: 1;
  font-feature-settings: 'tnum';
}
.timeline h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}
.timeline p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }

/* ---------- Product list (sector pages) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-item {
  background: var(--cream);
  padding: 36px 32px;
  min-height: 220px;
}
.product-item .sector-num { margin-bottom: 24px; }
/* Jump-to target: clear the sticky header and flash the card briefly */
.product-item { scroll-margin-top: 110px; }
.product-item:target { animation: target-flash 2.4s ease-out; }
@keyframes target-flash {
  0%, 30% { background: var(--green-100); }
  100% { background: var(--cream); }
}
.product-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.product-item p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.product-items { list-style: none; margin-top: 20px; border-top: 1px solid var(--line); }
.product-items li {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink);
}
.product-items .r {
  font-family: 'Fraunces', serif;
  font-size: 12.5px;
  color: var(--green-800);
  padding-top: 1px;
}

/* ---------- Applications ---------- */
.app-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.app-layout h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.1; }
.app-layout h2 em { font-style: italic; font-weight: 400; color: var(--green-800); }
.app-layout .section-intro { margin-top: 20px; }
.app-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.app-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-family: 'Fraunces', serif;
  font-size: 19px;
  color: var(--ink);
}
.app-list .n {
  font-size: 15px;
  color: var(--green-800);
  font-feature-settings: 'tnum';
  padding-top: 3px;
}

/* ---------- Inline quote panel ---------- */
.quote-panel {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.quote-panel h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.quote-panel > div > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }
.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.quote-actions { display: flex; flex-direction: column; gap: 12px; }
.quote-actions .btn { justify-content: center; padding: 14px 20px; }
.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { filter: brightness(0.95); transform: translateY(-1px); }
.btn-whatsapp svg { fill: currentColor; stroke: none; }

/* ---------- Why-us expanded ---------- */
.why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 56px 48px; }
.why-item .sector-num { margin-bottom: 20px; }

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-tile {
  border: 1px dashed rgba(10, 61, 44, 0.3);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  background: var(--white);
}
.cert-badge {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-800);
}
.cert-badge svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cert-tile h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.cert-tile p { font-size: 13.5px; color: var(--ink-muted); }

/* ---------- Process ---------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process li { background: var(--white); padding: 36px 28px; }
.process .step-num {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  color: var(--green-800);
  line-height: 1;
  margin-bottom: 28px;
  font-feature-settings: 'tnum';
}
.process h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.process p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.contact-card .why-icon { margin-bottom: 28px; }
.contact-card .team-role { margin-bottom: 8px; }
.contact-value {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  word-break: break-word;
}
.contact-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 28px; flex: 1; }
.contact-card .btn { align-self: flex-start; }
.map-link { margin-top: 24px; font-size: 15px; }
.map-link a { display: inline-flex; align-items: center; gap: 8px; color: var(--green-800); font-weight: 500; }
.map-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.contact-card p a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

.office {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: stretch;
}
.office address { font-style: normal; font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 40px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours th { color: var(--ink); }
.hours td { color: var(--ink-soft); text-align: right; }
.office h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.map-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--cream);
  position: relative;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder svg { width: 36px; height: 36px; stroke: var(--green-800); fill: none; stroke-width: 1.5; }

/* ---------- Legal / simple prose ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 20px; }
.prose a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 20px;
    box-shadow: 0 16px 32px rgba(10, 61, 44, 0.08);
  }
  .site-header.nav-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .site-header.nav-open .nav a.active::after { right: auto; width: 32px; bottom: -1px; }
  .sectors .sector-grid, .sectors .sector-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .sector-grid .sector-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
  .story, .app-layout, .office { grid-template-columns: 1fr; gap: 48px; }
  .team-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-panel { grid-template-columns: 1fr; gap: 32px; padding: 44px; }
  .why-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 56px 0; }
  .section.flush-top { padding-top: 0; }
  .section-title { margin-bottom: 40px; }
  .hero.page-hero { padding: 56px 0 64px; }
  .site-header.nav-open .nav { padding: 8px 20px 20px; }
  .sectors .sector-grid, .sectors .sector-grid.cols-5 { grid-template-columns: 1fr; }
  .team-grid, .contact-grid, .product-grid, .cert-grid, .process { grid-template-columns: 1fr; }
  .process li:last-child { grid-column: auto; }
  .why-grid.cols-3 { grid-template-columns: 1fr; gap: 40px; }
  .timeline li { grid-template-columns: 1fr; gap: 12px; }
  .app-list { grid-template-columns: 1fr; }
  .quote-panel { padding: 32px 24px; }
  .map-frame { min-height: 300px; }
  .story-body p:first-child { font-size: 19px; }
}

/* Small phones (≤400px): tighten the header so logo, quote button and menu fit */
@media (max-width: 400px) {
  .header-inner { gap: 12px; padding: 12px 16px; }
  .logo img { height: 32px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: 10px 12px; }
  .header-cta .btn-primary svg { display: none; }
}
