
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: #f5f0e8;
  color: #0f1b3d;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: "Space Grotesk", system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, textarea, button { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; border: none; background: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #f5f0e8;
  --fg: #0f1b3d;
  --primary: #0f1b3d;
  --accent: #c4654a;
  --accent-hover: #a8553a;
  --muted: #e8e4dd;
  --muted-fg: #5a6278;
  --card: #ffffff;
  --border: #d8d4cc;
  --shadow-soft: 0 1px 2px rgba(15,27,61,0.04), 0 4px 16px rgba(15,27,61,0.06);
  --shadow-elevated: 0 4px 12px rgba(15,27,61,0.08), 0 24px 48px -12px rgba(15,27,61,0.18);
  --shadow-accent: 0 8px 24px -8px rgba(196,101,74,0.5);
  --gradient-hero: linear-gradient(135deg, #0f1b3d 0%, #1a2d5a 60%, #1e3a5f 100%);
  --radius: 0.5rem;
}

/* ===== UTILITIES ===== */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s, opacity 0.2s;
}
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-accent:disabled { opacity: 0.6; cursor: not-allowed; }

.section-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--accent);
  margin-bottom: 1.25rem;
  margin-top: 0!important;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(216,212,204,0.6);
  background: rgba(245,240,232,0.85);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; }
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo img { height: 2.5rem; width: 2.5rem; }
.logo-text { display: flex; flex-direction:column; gap: 2px; line-height: 1.2; }
.logo-text .name { font-family: "Space Grotesk", sans-serif; font-size: 1rem; font-weight: 700; color: var(--primary); }
.logo-text .tag { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-fg); }
@media (max-width: 767px) {
  .logo-text .name { font-size: 0.8rem; }
  .logo-text .tag { font-size: 0.45rem; }
}
.desktop-nav { display: none; align-items: center; justify-content: center; flex: 1; min-width: 0; gap: 1rem; margin: 0 1rem; padding: 0 0.75rem; font-size: 0.8125rem; font-weight: 500; color: rgba(15,27,61,0.8); }
.desktop-nav a:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.phone-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none;
}
.phone-link svg { color: var(--accent); flex-shrink: 0; }
.phone-link:hover { color: var(--accent); }
.phone-link-text { display: none; }
@media (min-width: 768px) { .phone-link-text { display: inline; } }
.messenger-link {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); text-decoration: none; flex-shrink: 0;
}
.messenger-link svg.icon-brand { fill: var(--accent); stroke: none; color: var(--accent); }
.messenger-link:hover svg.icon-brand { fill: var(--accent); }


.burger { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1280px) { .burger { display: none; } }

.mobile-nav {
  display: none; flex-direction: column; gap: 0.5rem;
  padding: 1rem 0; border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; color: var(--fg); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--primary); color: #fff;
  padding: 4rem 0 3rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient-hero); opacity: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 20%, white 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, white 1px, transparent 1px);
  background-size: 48px 48px, 64px 64px;
  z-index: -2;
}
.hero-inner { position: relative; display: grid; gap: 3rem; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; padding: 1.5rem 0; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(255,255,255,0.75);
}
.hero h1 { margin-top: 1.25rem; font-size: clamp(2.25rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.05; }
.hero h1 .accent { color: var(--accent); }
.hero p { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: rgba(255,255,255,0.75); line-height: 1.625; }
.hero-points { margin-top: 2rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .hero-points { grid-template-columns: repeat(3, 1fr); } }
.hero-point {
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); padding: 1rem;
}
.hero-point svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.hero-point .val { margin-top: 0.5rem; font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 600; }
.hero-point .lbl { margin-top: 0.25rem; font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.hero-badges { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-badges svg { width: 1rem; height: 1rem; color: var(--accent); }

.hero-images { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hero-grid img { aspect-ratio: 4/5; width: 100%; border-radius: 0.75rem; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.hero-grid img:nth-child(2) { margin-top: 2rem; }
.hero-grid img:nth-child(3) { margin-top: -1rem; }
.hero-grid img:nth-child(4) { margin-top: 1rem; }

.hero-form-wrap {
  position: relative; margin-top: -1.5rem;
  left: 50%; transform: translateX(-50%);
  width: 92%; border-radius: 0.75rem;
  background: var(--bg); color: var(--fg);
  padding: 1.25rem; box-shadow: var(--shadow-elevated);
}
@media (min-width: 640px) { .hero-form-wrap { padding: 1.5rem; margin-top: -2rem; } }

/* ===== FORMS ===== */
.form-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .form-grid.form-compact { grid-template-columns: 1fr 1fr auto; } }
@media (min-width: 640px) { .form-grid.form-full { grid-template-columns: 1fr 1fr; } }
.form-grid .span-2 { grid-column: 1 / -1; }
.input-dark {
  width: 100%; border-radius: var(--radius);
  border: 1px solid #ddd7cd; background: rgba(255,255,255,0.05);
  padding: 0.75rem 1rem; font-size: 0.875rem; color: #fff;
}
/*.input-dark::placeholder { color: rgba(255,255,255,0.5); }*/
.input-dark:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,101,74,0.3); }
.input-light {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fff;
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--fg);
}

.input-light::placeholder { color: var(--muted-fg); }
.input-light:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,101,74,0.3); }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.75rem; cursor: pointer; user-select: none; }
.checkbox-label input { margin-top: 2px; width: 1rem; height: 1rem; accent-color: var(--accent); flex-shrink: 0; }
/*.checkbox-label.dark { color: rgba(255,255,255,0.65); }*/
.checkbox-label.light { color: var(--muted-fg); }

/* ===== SECTIONS COMMON ===== */
section { padding: 3.5rem 0; }
@media (min-width: 640px) { section { padding: 4rem 0; } }
@media (min-width: 1024px) { section { padding: 5rem 0; } }

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.5rem; font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; color: var(--primary); }
.section-header p { margin-top: 1rem; color: var(--muted-fg); max-width: 42rem; }

/* ===== CASES ===== */
#cases { background: var(--bg); border-top: 1px solid rgba(216,212,204,0.6); }
.cases-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  display: flex; flex-direction: column;
  border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
  box-shadow: var(--shadow-soft); transition: box-shadow 0.3s;
}
.case-card:hover { box-shadow: var(--shadow-elevated); }
.case-header { display: flex; align-items: center; justify-content: space-between; }
.case-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: rgba(196,101,74,0.1); color: var(--accent); }
.case-num { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; color: rgba(15,27,61,0.3); }
.case-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.case-rows { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.case-row { display: grid; grid-template-columns: 88px 1fr; gap: 0.75rem; font-size: 0.875rem; }
.case-row dt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-fg); }
.case-row dd.accent { font-weight: 500; }

/* ===== WHY US ===== */
#why { background: var(--primary); color: #fff; }
#why h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; }
.why-grid { margin-top: 3rem; display: grid; gap: 1px; overflow: hidden; border-radius: 0.75rem; background: rgba(255,255,255,0.1); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: var(--primary); padding: 1.5rem; }
.why-item-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: rgba(196,101,74,0.15); color: var(--accent); }
.why-item h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.why-item ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.why-item li { display: flex; gap: 0.5rem; }
.why-item li::before { content: ""; margin-top: 0.5rem; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ===== INCLUDED IN COST ===== */
#included { background: var(--bg); }
.included-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .included-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.included-card {
  min-height: 15rem;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: #fff !important;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (min-width: 640px) { .included-card { padding: 1.75rem; } }
.included-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.included-card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.included-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem; font-weight: 600;
}
.included-icon { color: var(--primary); opacity: 0.8; display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; }
.included-icon svg { width: 3rem !important; height: 3rem !important; min-width: 3rem; min-height: 3rem; }
.included-card h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.included-card p { margin-top: 1rem; font-size: 0.95rem; color: rgba(15,27,61,0.82); line-height: 1.6; max-width: 30rem; }
@media (max-width: 639px) { .included-card { min-height: 0; } }

/* ===== SERVICES ===== */

#services { background: var(--bg); border-top: 1px solid rgba(216,212,204,0.6); }
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  display: flex; flex-direction: column;
  border-radius: 0.75rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
  box-shadow: var(--shadow-soft); transition: box-shadow 0.3s;
}
@media (min-width: 640px) { .service-card { padding: 2rem; } }
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service-meta { display: flex; align-items: center; gap: 1rem; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: rgba(15,27,61,0.05); color: var(--primary); }
.service-num { font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; font-weight: 600; color: var(--muted-fg); }
.service-price { border-radius: 9999px; background: rgba(196,101,74,0.1); padding: 0.25rem 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.service-card h3 { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 600; color: var(--primary); line-height: 1.3; }
.service-intro { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.625; }
.service-blocks { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .service-blocks { grid-template-columns: 1fr 1fr; } }
.service-block p { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-fg); }
.service-block ul { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(15,27,61,0.85); }
.service-block li { display: flex; gap: 0.5rem; }
.service-block li::before { content: ""; margin-top: 0.375rem; width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.service-tech { margin-top: 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(232,228,221,0.4); padding: 1rem; font-size: 0.875rem; color: rgba(15,27,61,0.8); }
.service-tech span { font-weight: 600; color: var(--primary); }
.service-life { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-life span { border-radius: 9999px; border: 1px solid var(--border); background: var(--bg); padding: 0.25rem 0.75rem; font-size: 0.75rem; color: var(--muted-fg); }
.service-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.service-link:hover { color: var(--accent-hover); }

/* ===== PROCESS ===== */
#process {
  background: var(--bg);
  border-top: 1px solid rgba(216,212,204,0.6);
}

#process .section-header {
  margin-bottom: 2.25rem;
}

.process-list {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 1px;
  background: var(--border);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 0;
}

.process-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--border);
}

.process-content {
  padding: 1rem 1.25rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.process-step:hover .process-content {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.process-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.process-content p {
  margin-top: 0.45rem;
  font-size: 0.95rem;
  color: rgba(15,27,61,0.82);
  line-height: 1.6;
  max-width: 52rem;
}

@media (min-width: 1024px) {
  .process-list {
    gap: 0.65rem;
  }

  .process-list::before {
    left: 50%;
    top: 1.75rem;
    bottom: 1.75rem;
    transform: translateX(-50%);
  }

  .process-step {
    grid-template-columns: minmax(0, 1fr) 3.5rem minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
  }

  .process-step:nth-child(odd) .process-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }

  .process-step:nth-child(odd) .process-number {
    grid-column: 2;
    grid-row: 1;
  }

  .process-step:nth-child(even) .process-number {
    grid-column: 2;
    grid-row: 1;
  }

  .process-step:nth-child(even) .process-content {
    grid-column: 3;
    grid-row: 1;
  }

  .process-content p {
    margin-left: auto;
  }
}

@media (max-width: 639px) {
  #process .section-header {
    margin-bottom: 1.75rem;
  }

  .process-list {
    gap: 1rem;
  }

  .process-list::before {
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .process-step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.875rem;
  }

  .process-number {
    width: 3rem;
    height: 3rem;
    font-size: 0.8rem;
  }

  .process-content {
    padding: 0.9rem 1rem 0.95rem;
  }

  .process-content h3 {
    font-size: 1rem;
  }

  .process-content p {
    font-size: 0.9rem;
  }
}

/* ===== GALLERY ===== */
#gallery { background: rgba(232,228,221,0.3); border-top: 1px solid rgba(216,212,204,0.6); }
.gallery-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  grid-auto-rows: 220px;
}
@media (min-width: 640px) { .gallery-grid { gap: 1rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; overflow: hidden; border-radius: 0.75rem; background: var(--card); box-shadow: var(--shadow-soft); }
.gallery-item.featured { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(15,27,61,0.95), rgba(15,27,61,0.75), transparent);
  color: #fff; font-size: 0.75rem; font-weight: 500;
  transform: translateY(100%); transition: transform 0.3s;
}
@media (min-width: 640px) { .gallery-caption { padding: 1rem; font-size: 0.875rem; } }
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ===== REFERENCES ===== */
#references { background: rgba(232,228,221,0.3); }
.ref-search { position: relative; width: 100%; max-width: 20rem; }
.ref-search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-fg); }
.ref-search input { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); padding: 0.625rem 0.75rem 0.625rem 2.25rem; font-size: 0.875rem; box-shadow: var(--shadow-soft); }
.ref-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,101,74,0.3); }
.ref-table { margin-top: 2.5rem; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-soft); }
.ref-header {
  display: none; grid-template-columns: 1.1fr 1.4fr 56px; gap: 1rem;
  border-bottom: 1px solid var(--border); background: rgba(232,228,221,0.5);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-fg);
}
@media (min-width: 640px) { .ref-header { display: grid; } }
.ref-list { max-height: 560px; overflow-y: auto; }
.ref-list li {
  display: grid; gap: 0.5rem; padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border); transition: background 0.2s;
}
@media (min-width: 640px) { .ref-list li { grid-template-columns: 1.1fr 1.4fr 56px; align-items: start; gap: 1rem; } }
.ref-list li:hover { background: rgba(232,228,221,0.4); }
.ref-list li:last-child { border-bottom: none; }
.ref-object { display: flex; align-items: flex-start; gap: 0.75rem; }
.ref-object svg { margin-top: 2px; width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; }
.ref-object span { font-weight: 500; color: var(--primary); }
.ref-subject { font-size: 0.875rem; color: rgba(15,27,61,0.8); }
@media (min-width: 640px) { .ref-subject { font-size: 0.95rem; } }
.ref-num { display: none; text-align: right; font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; color: var(--muted-fg); }
@media (min-width: 640px) { .ref-num { display: block; } }
.ref-empty { padding: 2.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-fg); }

/* ===== DOCUMENTS ===== */
#docs { background: rgba(232,228,221,0.4); }
.docs-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .docs-layout { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.docs-scans { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.docs-scans > * { min-width: 0; }
.scan-card { overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-soft); }
.scan-card > button { display: block; width: 100%; cursor: zoom-in; border: none; background: none; padding: 0; }
.scan-card > button img { aspect-ratio: 3/4; width: 100%; object-fit: cover; transition: transform 0.3s; }
.scan-card > button:hover img { transform: scale(1.02); }
.carousel { position: relative; overflow: hidden; width: 100%; min-width: 0; }
.carousel-track { display: flex; transition: transform 0.4s ease; will-change: transform; touch-action: pan-y; }
.carousel-track .slide { flex: 0 0 auto; width: 100%; box-sizing: border-box; }
.carousel-track .slide > button { display: block; width: 100%; cursor: zoom-in; border: none; background: none; padding: 0; }
.carousel-track .slide img { aspect-ratio: 3/4; width: 100%; object-fit: cover; display: block; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.25rem!important; height: 2.25rem; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); opacity: 1;
  z-index: 10; cursor: pointer; border: none; pointer-events: auto;
}
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }
.docs-list-card {
  border-radius: 1rem; border: 1px solid var(--border); background: var(--card);
  padding: 1.5rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .docs-list-card { padding: 2rem; } }
.docs-list-card .card-title { display: flex; align-items: center; gap: 0.75rem; }
.docs-list-card .card-title-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: rgba(196,101,74,0.1); color: var(--accent); }
.docs-list-card .card-title h3 { font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.docs-list { margin-top: 1.5rem; display: flex; flex-direction: column; }
.docs-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; color: rgba(15,27,61,0.85);
}
.docs-list li:last-child { border-bottom: none; }
.docs-list .num { font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; font-weight: 600; color: var(--muted-fg); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.85); align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 64rem; width: 100%; text-align: center; }
.lightbox-inner img { max-height: 85vh; width: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox-inner p { margin-top: 0.5rem; color: rgba(255,255,255,0.75); font-size: 0.875rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,0.15); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; cursor: pointer; transition: background 0.2s; border: none; }
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ===== MATERIALS ===== */
.materials-grid { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .materials-grid { grid-template-columns: repeat(3, 1fr); } }
.material-card {
  border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card);
  padding: 1.25rem; transition: border-color 0.2s;
}
.material-card:hover { border-color: rgba(196,101,74,0.4); }
.material-card .mat-header { display: flex; align-items: center; gap: 0.75rem; }
.material-card h3 { font-size: 1rem; font-weight: 600; color: var(--primary); }
.material-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-fg); }

/* ===== INCLUDED CTA ===== */
.included-cta { background: var(--bg); border-top: 0; padding: 0.4rem 0 3.5rem !important; }
.included-cta-inner { display: grid; gap: 0.5rem; align-items: center; padding: 0 !important; }
.included-cta-text p { max-width: 48rem; font-size: 1rem; line-height: 1.35; color: var(--primary); }
.included-cta-button { justify-self: start; white-space: nowrap; }
@media (min-width: 768px) {
  .included-cta-inner { grid-template-columns: 1fr auto; gap: 1.25rem; padding: 0 !important; }
  .included-cta-button { justify-self: end; }
}
.callback-modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 1rem; }
.callback-modal.open { display: flex; }
.callback-modal-backdrop { position: absolute; inset: 0; background: rgba(15,27,61,0.72); }
.callback-modal-dialog { position: relative; z-index: 1; width: min(100%, 34rem); padding: 2rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--primary); color: #fff; box-shadow: var(--shadow-elevated); }
.callback-modal-dialog h2 { margin-top: 0.5rem; color: #fff; font-size: clamp(1.5rem, 4vw, 2rem); }
.callback-modal-dialog .section-label { color: var(--accent); }
.callback-modal-subtitle { margin-top: 0.4rem; color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.callback-modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.callback-modal-close:hover { background: rgba(255,255,255,0.18); }
.callback-form { margin-top: 1.25rem; }
@media (max-width: 639px) {
  .included-cta { padding: 0.3rem 0 3.5rem !important; }
  .included-cta-inner { padding: 0 !important; }
  .included-cta-text p { font-size: 1rem; }
  .callback-modal-dialog { padding: 1.5rem; }
}
/* ===== CONTACT ===== */
#contact { position: relative; overflow: hidden; background: var(--primary); color: #fff; padding: 3.5rem 0; }
#contact::before { content: ""; position: absolute; inset: 0; background: var(--gradient-hero); opacity: 0.9; }
#contact .container { position: relative; }
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1.1fr 1fr; align-items: start; } }
#contact h2 { margin-top: 0.75rem; font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; }
#contact p { margin-top: 1rem; max-width: 36rem; color: rgba(255,255,255,0.75); }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-row .icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: rgba(196,101,74,0.15); color: var(--accent); flex-shrink: 0; }
.contact-row .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.55); }
.contact-row .val { margin-top: 0.125rem; font-weight: 500; color: #fff; }
.contact-row a:hover { opacity: 0.8; }

.contact-form-card {
  border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); backdrop-filter: blur(8px);
  padding: 1.5rem;
}
@media (min-width: 640px) { .contact-form-card { padding: 2rem; } }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { padding: 2.5rem 0; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 640px) { .footer-top { flex-direction: row; align-items: center; } }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-fg); }

/* ===== TOAST ===== */
.toast { position: fixed; top: 1rem; right: 1rem; z-index: 200; display: none; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-elevated); font-size: 0.875rem; font-weight: 500; animation: slideIn 0.3s ease; }
.toast.show { display: flex; }
.toast-success { background: #fff; border-left: 4px solid #22c55e; color: #14532d; }
.toast-error { background: #fff; border-left: 4px solid #ef4444; color: #7f1d1d; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.faq-section { background: var(--bg); border-top: 1px solid rgba(216,212,204,0.6); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; }
.faq-item { border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; overflow: hidden; align-self: start; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border: 0; background: transparent; color: var(--primary); text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.faq-question:hover { background: rgba(216,212,204,0.2); }
.faq-icon { flex: 0 0 auto; font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq-answer { padding: 0 1.25rem 1.15rem; color: var(--text); }
.faq-answer p { margin: 0; line-height: 1.6; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
@media (max-width: 767px) { .faq-grid { grid-template-columns: 1fr; } .faq-question { padding: 1rem; } .faq-answer { padding: 0 1rem 1rem; } }

.important-note { margin: 2.5rem 2rem 0; padding: 1.5rem 1.75rem; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 1rem; background: var(--card); box-shadow: var(--shadow-soft); color: var(--primary); font-size: 1.05rem; line-height: 1.7; }\n/* ===== PRICING ===== */
.pricing-section { background: rgba(232,228,221,0.4); }
.price-table-wrap { margin-top: 2rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); box-shadow: var(--shadow-soft); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: rgba(232,228,221,0.5); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-fg); }
.price-table td:first-child { color: var(--primary); font-weight: 500; }
.price-table td:last-child { white-space: nowrap; color: var(--accent); font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(232,228,221,0.35); }
.pricing-form {
  margin: 3rem auto 0;
  max-width: 72rem;
  background: var(--primary);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}
.pricing-form h3 { margin-top: 0.6rem; font-size: clamp(1.35rem, 2.5vw, 2rem); color: #fff; }
.pricing-form .input-dark { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.05); }
.pricing-form .input-dark::placeholder { color: rgba(255,255,255,0.5); }
.pricing-form .checkbox-label.dark { color: rgba(255,255,255,0.65); }
@media (max-width: 639px) {
  .price-table th, .price-table td { padding: 0.875rem 0.75rem; }
  .price-table th:last-child, .price-table td:last-child { text-align: right; }
}



/* Pricing form: copy left, form right */
.pricing-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:2rem; align-items:start; }
.pricing-form-copy { min-width:0; }
.pricing-form-fields { min-width:0; }
@media (max-width: 767px) { .pricing-form { grid-template-columns:1fr; gap:1.25rem; } }


/* ===== References carousel ===== */
.references-header { align-items: flex-end; }
.ref-carousel-controls { display: flex; gap: 0.5rem; }
.ref-carousel-btn {
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--border);
  border-radius: 999px; background: var(--card); color: var(--fg);
  font-size: 1.25rem; cursor: pointer; transition: opacity .2s, background .2s, transform .2s;
}
.ref-carousel-btn:hover:not(:disabled) { background: rgba(232,228,221,.6); transform: translateY(-1px); }
.ref-carousel-btn:disabled { opacity: .35; cursor: default; }
.ref-carousel { margin-top: 2.5rem; overflow: hidden; }
.ref-track { display: flex; transition: transform .35s ease; }
.ref-card {
  flex: 0 0 100%; box-sizing: border-box; min-height: 150px;
  padding: 1.1rem; margin-right: 1rem; border: 1px solid var(--border);
  border-radius: .75rem; background: var(--card); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; justify-content: space-between;
}
.ref-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: .65rem;
  border: 1px solid var(--border);
  border-radius: .65rem;
  background: rgba(232,228,221,.35);
  font-size: 1.35rem;
  line-height: 1;
}
.ref-card-num { font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--muted-fg); }
.ref-card h3 { margin: 2rem 0 0; font-family: Space Grotesk, sans-serif; font-size: 1rem; line-height: 1.25; }
@media (min-width: 900px) {
  .ref-card { flex-basis: calc((100% - 2rem) / 3); }
}
@media (max-width: 640px) {
  .references-header { align-items: flex-start; }
  .ref-carousel-controls { margin-top: .5rem; }
  .ref-card { min-height: 135px; padding: .9rem; }
}
