/* ===========================================================
   PLASTEKS ENGINEERING & MANUFACTURING
   Design system: industrial spec-sheet aesthetic.
   Palette pulled from the company mark (orange + navy),
   set against machine-enamel steel and paper.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* --- Color tokens --- */
  --ink: #15191d;
  --ink-soft: #262e35;
  --steel-700: #3d454d;
  --steel-500: #6b7680;
  --steel-300: #a6aeb4;
  --paper: #f4f5f3;
  --paper-dim: #e9eae6;
  --line: #d7dad7;
  --line-strong: #b9bdb8;
  --white: #ffffff;
  --orange: #f26a21;
  --orange-dark: #c04f14;
  --orange-tint: #fde7d8;
  --navy: #1b3b6f;
  --navy-tint: #e4ebf3;
  --ok-green: #2f7d4f;

  /* --- Type --- */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- Layout --- */
  --maxw: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(21, 25, 29, 0.06), 0 8px 24px -12px rgba(21, 25, 29, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

/* ---------- Eyebrow / dimension-line divider ----------
   Mimics an engineering-drawing dimension line: two tick
   marks bracketing a label, drawn with a hairline rule. */
.dim-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  color: var(--orange-dark);
}
.dim-eyebrow .tick {
  position: relative;
  height: 1px;
  width: clamp(24px, 4vw, 56px);
  background: var(--line-strong);
  flex: 0 0 auto;
}
.dim-eyebrow .tick::before,
.dim-eyebrow .tick::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}
.dim-eyebrow .tick::before { left: 0; }
.dim-eyebrow .tick::after { right: 0; }
.dim-eyebrow .tick.grow { flex: 1 1 auto; }
.dim-eyebrow span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--steel-700);
}
@media (max-width: 480px) {
  .dim-eyebrow { flex-wrap: wrap; row-gap: 0.4rem; }
  .dim-eyebrow span { white-space: normal; letter-spacing: 0.08em; }
  .dim-eyebrow .tick { width: 24px; }
}
.dim-eyebrow.on-dark span { color: var(--orange); }
.dim-eyebrow.on-dark .tick,
.dim-eyebrow.on-dark .tick::before,
.dim-eyebrow.on-dark .tick::after { background: rgba(255,255,255,0.28); }
.dim-eyebrow.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost-light:hover { background: var(--paper-dim); border-color: var(--steel-700); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: #142d54; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 245, 243, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}
.brand img { height: 30px; width: auto; }
@media (min-width: 480px) { .brand img { height: 38px; } }
.brand .tag {
  display: none;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-500);
  border-left: 1px solid var(--line-strong);
  padding-left: 0.65rem;
  line-height: 1.3;
}
@media (min-width: 640px) { .brand .tag { display: block; } }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.9rem; }
.main-nav a {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel-700);
  padding: 0.4rem 0.05rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transition: right 0.18s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--ink); }
@media (min-width: 980px) { .main-nav { display: block; } }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.header-actions .phone-link {
  display: none;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
}
@media (min-width: 760px) { .header-actions .phone-link { display: inline-flex; align-items: center; gap: 0.4rem; } }
.header-actions .btn { padding: 0.68rem 1.05rem; font-size: 0.72rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.nav-toggle svg { width: 18px; height: 18px; }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 0.5rem var(--gutter) 1rem; display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  color: var(--steel-700);
}
.mobile-nav a.active { color: var(--orange-dark); }
.mobile-nav .mobile-cta { padding-top: 1rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3rem, 8vw, 5rem) clamp(2.5rem, 6vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 85%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  max-width: 18ch;
}
.page-hero p.lead {
  margin-top: 1rem;
  max-width: 56ch;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}
.hero .hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(15,18,21,0.94) 0%, rgba(15,18,21,0.75) 28%, rgba(15,18,21,0.35) 58%, rgba(15,18,21,0.55) 100%);
}
.hero .container {
  position: relative;
  padding-top: clamp(6rem, 18vw, 10rem);
  padding-bottom: 0;
  width: 100%;
}
.hero-copy { max-width: 760px; }
.hero-copy .dim-eyebrow span { color: var(--orange); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  margin-top: 0.9rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lead {
  margin-top: 1.15rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.82);
}
.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Nameplate strip across bottom of hero */
.nameplate {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.16);
  background: rgba(21,25,29,0.55);
}
.nameplate ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .nameplate ul { grid-template-columns: repeat(4, 1fr); } }
.nameplate li {
  padding: 1.05rem 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 760px) { .nameplate li { border-bottom: none; } }
.nameplate li:nth-child(2n) { border-right: none; }
@media (min-width: 760px) {
  .nameplate li:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.14); }
  .nameplate li:last-child { border-right: none; }
}
.nameplate .val {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--white);
}
.nameplate .lbl {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 62ch;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head.wide { max-width: 76ch; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--steel-700); font-size: 1.02rem; }
.section-head.split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section-head.split > div:first-child { max-width: 60ch; }
.section-head.split .btn { flex: 0 0 auto; }
@media (max-width: 640px) { .section-head.split { flex-direction: column; align-items: flex-start; } }

.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }
.bg-ink .section-head p { color: rgba(255,255,255,0.65); }
.bg-dim { background: var(--paper-dim); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Capacity / gauge teaser ---------- */
.gauge-split {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) { .gauge-split { grid-template-columns: 1.1fr 0.9fr; } }
.gauge-wrap { display: flex; justify-content: center; }
.gauge-wrap svg { width: min(100%, 420px); height: auto; }
.gauge-needle { transform-origin: 210px 200px; animation: needle-sweep 1.8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes needle-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(150deg); }
}
@media (prefers-reduced-motion: reduce) { .gauge-needle { animation: none; } }
.gauge-readout { text-anchor: middle; font-family: var(--f-mono); }
.gauge-readout .num { font-size: 46px; font-weight: 600; fill: var(--ink); }
.gauge-readout .unit { font-size: 13px; letter-spacing: 0.12em; fill: var(--steel-500); }

.feature-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
}
.feature-list li:first-child { border-top: none; }
.feature-list .ico { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 0.15rem; color: var(--orange); }
.feature-list strong { display: block; font-family: var(--f-mono); font-size: 0.92rem; letter-spacing: 0.02em; }
.feature-list span { color: var(--steel-700); font-size: 0.93rem; }

/* ---------- Cards grid (services) ---------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.spec-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.spec-card .num {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--orange-dark);
  letter-spacing: 0.1em;
}
.spec-card .ico { width: 34px; height: 34px; color: var(--navy); }
.spec-card h3 { font-size: 1.12rem; text-transform: none; letter-spacing: 0; }
.spec-card p { color: var(--steel-700); font-size: 0.94rem; margin: 0; flex: 1; }
.spec-card .more { font-family: var(--f-mono); font-size: 0.78rem; color: var(--orange-dark); font-weight: 600; letter-spacing: 0.03em; }

/* ---------- Process strip (real sequence -> numbers earn their place) ---------- */
.process-strip {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(1, 1fr);
  border: 1px solid rgba(255,255,255,0.14);
}
@media (min-width: 760px) { .process-strip { grid-template-columns: repeat(5, 1fr); } }
.process-step {
  padding: 1.6rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
@media (min-width: 760px) {
  .process-step { border-top: none; border-left: 1px solid rgba(255,255,255,0.14); }
  .process-step:first-child { border-left: none; }
}
.process-step:first-child { border-top: none; }
.process-step .step-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
}
.process-step h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: 0.6rem;
}
.process-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(0deg, rgba(15,18,21,0.82), transparent);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-item.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  border: 1.5px dashed var(--line-strong);
  background: transparent;
  cursor: default;
}
.gallery-item.empty svg { width: 26px; height: 26px; color: var(--steel-300); }
.gallery-item.empty span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
  text-align: center;
  padding-inline: 1rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,12,14,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border: 1px solid rgba(255,255,255,0.15); }
.lightbox .close-btn {
  position: absolute; top: 1.3rem; right: 1.3rem;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--white);
}
.lightbox .close-btn svg { width: 18px; height: 18px; }

/* ---------- About / values ---------- */
.value-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}
.value-item { padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.value-item .n { font-family: var(--f-mono); font-size: 0.75rem; color: var(--orange-dark); }
.value-item h4 { font-size: 1.02rem; letter-spacing: 0; text-transform: none; margin-top: 0.4rem; }
.value-item p { color: var(--steel-700); font-size: 0.92rem; margin-top: 0.4rem; }

.two-col {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); border: 1px solid var(--line); }
.two-col p + p { margin-top: 1rem; }
.two-col p { color: var(--steel-700); }

/* ---------- Spec table ---------- */
.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.spec-table th, table.spec-table td {
  text-align: left;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
table.spec-table thead th {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border-bottom: none;
}
table.spec-table tbody tr:last-child td { border-bottom: none; }
table.spec-table tbody tr:hover { background: var(--paper); }
table.spec-table td.tonnage { font-family: var(--f-mono); font-weight: 600; color: var(--orange-dark); white-space: nowrap; }

.note-box {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--navy-tint);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Materials chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.chip {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--steel-700);
  background: var(--white);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-700);
  margin-bottom: 0.45rem;
}
.field label .req { color: var(--orange-dark); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--f-mono);
}
.form-status.show { display: block; }
.form-status.ok { background: #e7f4ec; color: var(--ok-green); border: 1px solid #bfe3cc; }
.form-status.err { background: #fbe9e6; color: #b23a1f; border: 1px solid #f3c3b8; }

.contact-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.contact-panel h3 { color: var(--white); font-size: 1.2rem; }
.contact-panel .cp-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-panel .cp-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-panel .cp-list .ico { width: 20px; height: 20px; color: var(--orange); flex: 0 0 auto; margin-top: 0.15rem; }
.contact-panel .cp-list strong { display: block; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.contact-panel .cp-list span, .contact-panel .cp-list a { font-size: 0.98rem; }
.contact-panel .map-embed { margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.14); }
.contact-panel .map-embed iframe { width: 100%; height: 200px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,0.68); margin-top: 0.8rem; max-width: 52ch; margin-inline: auto; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-soft); color: rgba(255,255,255,0.75); }
.footer-top {
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1.3fr repeat(3, 1fr);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo-chip {
  display: inline-block;
  background: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
}
.footer-brand .logo-chip img { height: 34px; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; max-width: 32ch; color: rgba(255,255,255,0.55); }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.4);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.5);
}
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-float:hover { filter: brightness(1.05); }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--orange); color: var(--white);
  padding: 0.8rem 1.2rem; z-index: 2000;
  font-family: var(--f-mono); font-size: 0.85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Visible by default (progressive enhancement): if JS never runs, or runs
   late, content is never stuck invisible. Only once main.js confirms it can
   animate does it add .js-anim to <html> and switch .reveal to a hidden
   pre-state that .in then resolves. */
.reveal { opacity: 1; transform: none; }
html.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js-anim .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html.js-anim .reveal { opacity: 1; transform: none; transition: none; } }

.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--orange); }
