/* ==========================================================================
   Gondel — Custom Product Development & Sourcing Partner
   Shared stylesheet. Plain CSS, no build step, mobile-first.
   Design system: Onyx #14171B / warm paper #F6F4EF / sky-blue accent.
   No gold anywhere outside the untouched logo files.
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

:root {
  /* Brand + UI colors — Onyx & Sky, matching the chosen logo palette */
  --navy: #14171B;
  --navy-700: #0A0C0E;
  --navy-600: #1E232A;
  --paper: #F6F4EF;
  --paper-alt: #EEE9DC;
  --paper-card: #FBFAF6;
  --steel: #1B6E96;
  --steel-light: #3FA9DC;
  --steel-pale: #E3F1F8;
  --ink: #14171B;
  --ink-soft: #575C61;
  --ink-faint: #83878C;
  --line: #DCD5C4;
  --line-on-navy: rgba(246, 244, 239, 0.14);
  --white: #FFFFFF;

  /* Type */
  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing / shape */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --shadow-card: 0 1px 2px rgba(7, 25, 47, 0.04), 0 12px 32px -16px rgba(7, 25, 47, 0.16);
  --shadow-lift: 0 24px 60px -24px rgba(7, 25, 47, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--steel); color: var(--white); }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

@media (min-width: 960px) {
  .container { padding-inline: 40px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--steel);
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--steel); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }

.btn-on-navy { background: var(--paper); color: var(--navy); }
.btn-on-navy:hover { background: var(--white); }

.btn-ghost-on-navy { background: transparent; color: var(--paper); border-color: var(--line-on-navy); }
.btn-ghost-on-navy:hover { border-color: var(--paper); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--steel);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link:hover { color: var(--steel-light); border-color: currentColor; }
.text-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 26px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  margin-inline: auto;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--paper);
  padding: 32px 24px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  overflow-y: auto;
}
.main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
.main-nav li { width: 100%; }
.main-nav a { display: block; padding: 16px 4px; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
.main-nav a.nav-cta {
  display: flex;
  margin-top: 20px;
  text-align: center;
  color: var(--paper);
  border-bottom: 0;
  padding: 15px 28px;
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    inset: auto;
    background: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }
  .main-nav ul { flex-direction: row; align-items: center; gap: 36px; }
  .main-nav li { width: auto; }
  .main-nav a { padding: 4px 0; font-size: 0.95rem; border: 0; }
  .main-nav a.nav-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
}
.sticky-cta .btn { box-shadow: var(--shadow-lift); }
body.nav-open .sticky-cta { display: none; }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding-block: 56px 72px;
}
.hero-inner {
  display: grid;
  gap: 40px;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  position: relative;
  box-shadow: var(--shadow-card);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 960px) {
  .hero { padding-block: 84px 100px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
}

/* ---------- Logo strip ---------- */
.logo-strip { padding-block: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-strip-label { text-align: center; font-size: 0.85rem; color: var(--ink-faint); letter-spacing: 0.04em; margin-bottom: 28px; }
.logo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.logo-placeholder {
  height: 64px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper-card);
}
.logo-item {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}
.logo-item img:hover { filter: grayscale(0%); opacity: 1; }
@media (min-width: 640px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .logo-row { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Section spacing ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--paper-alt); }
.section-navy { background: var(--navy); color: var(--paper); }
.section-navy h2, .section-navy h3 { color: var(--paper); }
.section-navy p { color: rgba(246, 244, 239, 0.7); }
.section-navy .eyebrow { color: var(--steel-light); }
.section-navy .eyebrow::before { background: var(--steel-light); }

/* ---------- Two Ways to Work ---------- */
.ways-grid {
  display: grid;
  gap: 24px;
}
.way-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.way-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.way-card .way-index { font-size: 0.85rem; font-weight: 600; color: var(--steel); letter-spacing: 0.1em; }
.way-card h3 { margin-top: 4px; }
.way-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.way-card li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-soft); align-items: flex-start; }
.way-card li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--steel); }
.way-price { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.way-card .btn { margin-top: 8px; align-self: flex-start; }
.ways-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ways-note p { font-weight: 500; color: var(--navy); font-size: 1.05rem; }

@media (min-width: 800px) { .ways-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Product gallery ---------- */
.gallery-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.gallery-subhead h3 { color: var(--navy); }
.gallery-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.gallery-grid:last-of-type { margin-bottom: 0; }
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  position: relative;
  aspect-ratio: 4 / 5;
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover img { transform: scale(1.05); }
.product-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(7,25,47,0.82), transparent);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 500;
}
.product-placeholder {
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  border: 1px dashed var(--line);
  background: var(--paper-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--ink-faint);
  font-size: 0.85rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-num {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { max-width: 60ch; }
@media (min-width: 720px) {
  .process-step { grid-template-columns: 120px 1fr; align-items: baseline; }
}

/* ---------- Why Gondel ---------- */
.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.why-card {
  padding: 30px 26px;
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius);
  background: rgba(246, 244, 239, 0.04);
}
.why-card .why-icon { width: 30px; height: 30px; margin-bottom: 18px; color: var(--steel-light); }
.why-card h3 { margin-bottom: 10px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cases / testimonials ---------- */
.case-grid { display: grid; gap: 24px; }
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-card);
}
.case-photo {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, var(--steel-pale), var(--steel-pale) 10px, var(--paper-alt) 10px, var(--paper-alt) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.case-field { display: flex; flex-direction: column; gap: 3px; }
.case-field span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.case-field strong, .case-field p { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
@media (min-width: 900px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .section-head { margin-inline: auto; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(246,244,239,0.72); padding-top: 72px; }
.footer-top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-on-navy); }
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
}
.footer-logo-wrap .logo-img { height: 32px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; color: rgba(246,244,239,0.6); font-size: 0.92rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-col h4 { color: var(--paper); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; padding-block: 6px; font-size: 0.92rem; color: rgba(246,244,239,0.68); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-col address { display: block; padding-block: 6px; font-size: 0.92rem; font-style: normal; color: rgba(246,244,239,0.68); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-block: 28px 40px;
  font-size: 0.82rem;
  color: rgba(246,244,239,0.5);
}
.footer-credit { font-size: 0.72rem; }
.footer-credit a { color: rgba(246,244,239,0.75); border-bottom: 1px solid rgba(246,244,239,0.3); }

@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1fr 2fr; }
  .footer-nav { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: 56px 48px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .lede { margin-top: 20px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}
@media (min-width: 640px) { .form-card { padding: 44px; } }

.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field .hint { font-size: 0.78rem; color: var(--ink-faint); font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(27, 110, 150, 0.15);
}

.file-field {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.file-field:hover { border-color: var(--steel); background: var(--steel-pale); }
.file-field input { display: none; }
.file-field .file-label { font-size: 0.88rem; color: var(--ink-soft); }
.file-field .file-name { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--steel); font-weight: 600; }

.form-actions { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); }
.form-error { margin-top: 14px; font-size: 0.85rem; color: #B3261E; }
.form-error a { text-decoration: underline; }

.form-confirm {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-confirm.is-visible { display: block; }
.form-confirm .check-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--steel-pale);
  color: var(--steel);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-confirm h3 { margin-bottom: 10px; }
.form-card.is-submitted .form-content { display: none; }

/* ---------- Work-with-Gondel selector (book.html) ---------- */
.option-grid { display: grid; gap: 16px; margin-bottom: 8px; }
.option-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px 54px;
  background: var(--paper-card);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.option-card:hover { border-color: var(--steel); }
.option-card input {
  position: absolute;
  left: 22px; top: 24px;
  width: 18px; height: 18px;
  accent-color: var(--steel);
}
.option-card .option-title { font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.option-card .option-desc { font-size: 0.88rem; color: var(--ink-soft); }
.option-card:has(input:checked) { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(27, 110, 150, 0.15); background: var(--white); }
@media (min-width: 900px) { .option-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Scheduler placeholder ---------- */
.scheduler-placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  background: var(--paper-card);
  color: var(--ink-faint);
}
.scheduler-placeholder svg { width: 32px; height: 32px; margin: 0 auto 16px; color: var(--steel); }
.scheduler-placeholder p { max-width: 44ch; margin: 8px auto 0; font-size: 0.9rem; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 74ch; }
.legal-content h2 { margin-top: 48px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--ink-soft); padding-left: 20px; position: relative; }
.legal-content li::before { content: '\2013'; position: absolute; left: 0; color: var(--steel); }
.legal-updated { color: var(--ink-faint); font-size: 0.88rem; margin-bottom: 40px; }

/* ---------- Work page: capability tags / material grid ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  background: var(--paper-card);
}
.detail-grid { display: grid; gap: 20px; }
.detail-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-card); }
.detail-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.detail-card p { font-size: 0.92rem; }
@media (min-width: 720px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Modal (quote form) ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 25, 47, 0.55);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
  padding: 0;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal-panel {
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  padding: 32px 24px 40px;
  transform: translateY(24px);
  transition: transform 0.3s var(--ease);
}
.modal-overlay.is-open .modal-panel { transform: translateY(0); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-alt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-close svg { width: 16px; height: 16px; }

@media (min-width: 720px) {
  .modal-overlay { align-items: center; padding: 24px; }
  .modal-panel { border-radius: 20px; padding: 44px; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
