/* ==========================================================================
   NECST — Design tokens
   Display: Fraunces (warm, tailored serif — echoes garment-label lettering)
   Body: Work Sans (clean, workshop-neutral grotesk)
   Utility: IBM Plex Mono (spec-sheet / measurement-tag numerals)
   ========================================================================== */

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

  --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: 4px;
  --container: 1180px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-charcoal);
  background: var(--bg-soft);
  line-height: 1.55;
  -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.12;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

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

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--navy { background: var(--navy-deep); color: #cfd8e6; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--grey { background: var(--bg-section); }

/* Stitched seam divider — the signature motif: every raw-hem panel is
   finished with an embroidery-style running stitch instead of a hard rule */
.stitch {
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg, var(--gold) 0 10px, transparent 10px 20px
  );
  background-position: center;
  background-size: 20px 2px;
  background-repeat: repeat-x;
  opacity: 0.55;
}
.stitch--dense { background-size: 12px 2px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(214,168,75,0.25);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 6px;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: #cfd8e6;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
}
.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  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.92rem;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-deep);
  color: var(--navy-deep);
}
.btn-outline-dark:hover { background: var(--navy-deep); 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.82rem; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 76px 24px 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}
.hero-copy { padding-bottom: 64px; }
.hero-copy p.lede {
  font-size: 1.1rem;
  color: #c3ceDe;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-figure {
  position: relative;
  align-self: stretch;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-top-left-radius: 120px;
}
.hero-tag {
  position: absolute;
  left: -18px;
  bottom: 40px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* ---------------- Quick-action strip ---------------- */
.quick-actions {
  background: var(--bg-section);
  border-bottom: 1px solid #d7dee6;
}
.quick-actions .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
  justify-content: center;
}
.quick-actions a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-royal);
  border: 1px solid #c7d0da;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quick-actions a:hover { border-color: var(--gold); color: var(--navy-deep); }

/* ---------------- Garment-tag cards (signature component) ---------------- */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.tag-card {
  position: relative;
  background: var(--white);
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tag-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(7,30,61,0.08); }
.tag-card::before {
  /* die-cut hang-tag hole */
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-soft);
}
.tag-card .tag-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
.tag-card h3 { margin-bottom: 8px; }
.tag-card p { color: #4b5563; font-size: 0.94rem; margin-bottom: 0; }

/* ---------------- Product cards with photo ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.product-grid--two { grid-template-columns: repeat(2, 1fr); }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dfe4ea;
  display: flex;
  flex-direction: column;
}
.product-photo { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-photo .stitch { position: absolute; bottom: 0; left: 0; }
.product-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-body .tag-code { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--navy-royal); text-transform: uppercase; }
.product-body h3 { margin-top: 6px; }
.product-body p { color: #4b5563; font-size: 0.92rem; flex: 1; }
.product-body .btn { margin-top: 10px; align-self: flex-start; }

/* ---------------- Stats row ---------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.stat { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--white); }
.stat .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb0c8; }

/* ---------------- Two column ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); }
.split-reverse .split { direction: rtl; }
.split-reverse .split > * { direction: ltr; }

/* ---------------- Story block ---------------- */
.story-marks {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  line-height: 2.1;
  letter-spacing: 0.03em;
}
.story-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy-deep);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 34px 0;
}
.story-verse cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #6b7684;
  margin-top: 10px;
  text-transform: uppercase;
}
.signoff {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #6b7684;
  margin-top: 26px;
}

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

/* ---------------- Values ---------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-grid .tag-code { display:block; font-family: var(--font-mono); color: var(--gold); font-size: 0.7rem; margin-bottom: 8px; }

/* ---------------- Testimonials ---------------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.testi-card {
  background: var(--white);
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
  padding: 26px;
}
.testi-card p { font-style: italic; color: #3a4250; }
.testi-name { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--navy-royal); text-transform: uppercase; }

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--white);
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  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 #cfd6de;
  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: #6b7684; margin-top: 14px; }

/* ---------------- Contact cards ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.branch-list { display: grid; gap: 16px; margin-top: 8px; }
.branch-card {
  background: var(--white);
  border: 1px solid #dfe4ea;
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.branch-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.branch-card p { margin: 0; font-size: 0.88rem; color: #4b5563; }
.branch-card .tel { font-family: var(--font-mono); font-size: 0.85rem; color: var(--navy-royal); }

/* ---------------- FAQ ---------------- */
.faq-item {
  border-bottom: 1px solid #d7dee6;
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  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-family: var(--font-body);
  color: var(--gold);
  font-size: 1.4rem;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { color: #4b5563; margin-top: 12px; font-size: 0.95rem; max-width: 65ch; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: #9fb0c8;
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { color: #9fb0c8; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 44px;
  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 floating button ---------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: var(--whatsapp);
  color: var(--white);
  width: 58px;
  height: 58px;
  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: 28px; height: 28px; }

/* ---------------- Page header (interior pages) ---------------- */
.page-header {
  background: var(--navy-deep);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-header p.lede { color: #c3cedE; max-width: 60ch; font-size: 1.05rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

/* ---------------- Utility ---------------- */
.center { text-align: center; }
.max-w { max-width: 62ch; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .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 { height: 320px; order: -1; }
  .hero-figure img { border-top-left-radius: 60px; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split { direction: ltr; }
  .tag-grid, .product-grid, .product-grid--two, .photo-strip, .testi-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: repeat(2,1fr); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tag-grid, .product-grid, .product-grid--two, .photo-strip, .testi-grid, .value-grid, .stat-row { grid-template-columns: 1fr; }
  .header-inner { height: 66px; }
  .header-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
