/* ==========================================================================
   NECST — Corporate design system v2
   Display: Fraunces (used sparingly, upright — authority not flourish)
   Body: Work Sans
   Utility/data: IBM Plex Mono (labels, stats, phone numbers)
   ========================================================================== */

:root {
  --navy-deep: #071E3D;
  --navy-royal: #123A63;
  --gold: #D6A84B;
  --gold-soft: #e8c98a;
  --bg-soft: #F7F8FA;
  --bg-section: #E9EDF2;
  --text-charcoal: #202832;
  --text-muted: #5b6572;
  --whatsapp: #1D7A52;
  --whatsapp-deep: #145c3e;
  --white: #ffffff;
  --border: #DDE3EA;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 3px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(7,30,61,0.06);
  --shadow-md: 0 8px 24px rgba(7,30,61,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-charcoal); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--navy-royal);
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  display: inline-block;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy-deep); color: #b9c5d6; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #b9c5d6; }
.section--grey { background: var(--bg-section); }
.section--bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------------- Utility bar ---------------- */
.utility-bar {
  background: var(--navy-deep);
  color: #9fb0c8;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 20px;
  flex-wrap: wrap;
}
.utility-links { display: flex; gap: 22px; align-items: center; }
.utility-links a { color: #cfd8e6; display: inline-flex; align-items: center; gap: 6px; }
.utility-links a:hover { color: var(--gold); }
.utility-links .divider { color: #3d4f6b; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 50px; width: auto; display: block; }
.brand-logo--footer { height: 44px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  color: var(--text-charcoal);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy-deep); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
}
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--navy-deep);
  width: 40px; height: 40px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-deep); color: var(--white); }
.btn-primary:hover { background: var(--navy-royal); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; border-color: var(--navy-deep); color: var(--navy-deep); }
.btn-outline:hover { background: var(--navy-deep); color: var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 0.8rem; }
.icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------------- Hero ---------------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lede { font-size: 1.08rem; color: var(--text-muted); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-figure {
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: top center; aspect-ratio: 4/3.1; }
.hero-figure .figure-tag {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 10px 16px;
}

/* ---------------- Trust / stats strip ---------------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 24px;
}
.trust-item {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--border);
}
.trust-item:first-child { border-left: none; }
.trust-item .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy-deep); font-weight: 500; }
.trust-item .label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* ---------------- Division / product cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-left: none; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.div-card {
  background: var(--white);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.div-card .photo { aspect-ratio: 4/3.4; overflow: hidden; border-bottom: 1px solid var(--border); }
.div-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.div-card .body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.div-card .index { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.div-card h3 { margin-bottom: 10px; }
.div-card p { color: var(--text-muted); font-size: 0.93rem; flex: 1; }
.div-card .link-arrow { margin-top: 12px; font-weight: 600; font-size: 0.86rem; color: var(--navy-deep); display: inline-flex; align-items: center; gap: 6px; }
.div-card:hover .link-arrow { color: var(--navy-royal); }

/* ---------------- Checklist / value grid ---------------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 36px; }
.check-item { display: flex; gap: 16px; }
.check-item .mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.check-item .mark svg { width: 15px; height: 15px; }
.check-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.check-item p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------------- Split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.split-reverse .split { direction: rtl; }
.split-reverse .split > * { direction: ltr; }

/* ---------------- Story / quote block ---------------- */
.quote-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: var(--bg-soft);
  padding: 32px 34px;
  margin: 32px 0;
  position: relative;
}
.quote-box .qmark { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }
.quote-box p { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-deep); margin-bottom: 8px; }
.quote-box cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.signoff { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 22px; }
.story-marks { font-family: var(--font-mono); font-size: 0.8rem; color: var(--navy-royal); line-height: 2; letter-spacing: 0.02em; }

/* ---------------- Photo strip ---------------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 40px; }
.photo-strip img { aspect-ratio: 4/5; object-fit: cover; object-position: top center; width: 100%; height: 100%; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-left: none; margin-top: 36px; }
.testi-card { background: var(--white); border-left: 1px solid var(--border); padding: 30px 28px; }
.testi-card .qmark { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.testi-card p { font-size: 0.95rem; color: var(--text-charcoal); }
.testi-name { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--navy-royal); text-transform: uppercase; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 14px; }

/* ---------------- Forms ---------------- */
.form-card { background: var(--white); border: 1px solid var(--border); padding: 38px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-royal);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--text-charcoal);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }

/* ---------------- Branch directory ---------------- */
.branch-directory { border: 1px solid var(--border); margin-top: 8px; }
.branch-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.7fr;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.branch-row:last-child { border-bottom: none; }
.branch-row:nth-child(even) { background: var(--bg-soft); }
.branch-row h3 { font-size: 1rem; margin-bottom: 3px; }
.branch-row .contact-person { font-size: 0.85rem; color: var(--text-muted); }
.branch-row .address { font-size: 0.88rem; color: var(--text-muted); }
.branch-row .tel {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--navy-deep);
  font-weight: 600;
  justify-self: end;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.branch-row .tel:hover { border-color: var(--navy-deep); }

/* ---------------- FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  color: var(--navy-royal);
  font-size: 1.3rem;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { color: var(--text-muted); margin-top: 12px; font-size: 0.94rem; max-width: 68ch; }

/* ---------------- CTA banner ---------------- */
.cta-banner { background: var(--navy-deep); padding: 68px 0; }
.cta-banner .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #b9c5d6; margin-bottom: 0; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #9fb0c8; padding: 64px 0 28px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { color: #9fb0c8; font-size: 0.9rem; display: block; margin-bottom: 11px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 46px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: #6b7c94; flex-wrap: wrap; gap: 10px;
}

/* ---------------- WhatsApp float ---------------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  background: var(--whatsapp); color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.wa-float:hover { background: var(--whatsapp-deep); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------------- Page header (interior) ---------------- */
.page-header { background: var(--navy-deep); color: var(--white); padding: 52px 0 44px; border-bottom: 3px solid var(--gold); }
.page-header p.lede { color: #b9c5d6; max-width: 62ch; font-size: 1.02rem; margin-bottom: 0; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; display: block; }

/* ---------------- Utility ---------------- */
.center { text-align: center; }
.max-w { max-width: 64ch; }
.max-w.center { margin-left: auto; margin-right: auto; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .utility-bar { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-figure { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split { direction: ltr; }
  .card-grid, .card-grid.cols-2, .photo-strip, .testi-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .branch-row { grid-template-columns: 1fr; gap: 8px; }
  .branch-row .tel { justify-self: start; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.cols-2, .photo-strip, .testi-grid, .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--border); padding-top: 16px; }
  .trust-item:first-child { border-top: none; padding-top: 0; }
  .header-inner { height: 68px; }
  .brand-logo { height: 40px; }
  .header-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
