/* ============================================================
   WISE DENTAL VJ STYLE TOKENS + AYA DESIGN ORDER LAYOUT
   Styles inspired by https://wisedentalvj.com/
   Form components matching https://aya-design.net/en/order/
   ============================================================ */
:root {
  /* Wise Dental VJ Palette — High-Contrast Crisp Tokens */
  --bg: #fdfcf7;
  --bg-soft: #f6f2e4;
  --bg-sand: #f3ede0;
  --bg-card: #ffffff;
  --ink: #1b1613;
  --ink-soft: #2e2621;
  --ink-mute: #4a4037;
  --primary: #d9563c;        /* Crisp Wise Dental VJ Coral / Terracotta */
  --primary-dark: #b8432b;
  --primary-soft: #fdece8;
  --copper: #a86434;         /* Rich Bronze / Copper with strong contrast */
  --copper-lt: #f0b88d;
  --nav-accent: #b86b35;
  --line: #e2d9c5;
  --success: #188038;
  --danger: #d93025;

  /* Wise Dental VJ Typography */
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-secondary: 'Source Sans Pro', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout metrics */
  --maxw: 1180px;
  --card-shadow: 0 14px 34px rgba(44, 37, 32, 0.07);
  --header-h: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-block;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ============================================================
   HEADER / NAVIGATION (Wise Dental VJ Aesthetic)
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}

header.scrolled {
  box-shadow: 0 6px 24px rgba(44, 37, 32, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-soft);
  box-shadow: 0 3px 10px rgba(202, 133, 84, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.brand-title b {
  color: var(--primary);
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--copper);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-soft);
  align-items: center;
}

.nav-links a {
  padding: 6px 2px;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-admin-link {
  padding: 6px 14px !important;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--copper) !important;
  font-size: 0.85rem;
}

.nav-admin-link:hover {
  border-color: var(--copper);
  color: var(--primary) !important;
}

.nav-cta {
  background: var(--primary);
  color: #ffffff;
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(230, 110, 85, 0.28);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 940px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(253, 252, 247, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 80px 24px 40px;
}

.mnav.open {
  opacity: 1;
  pointer-events: auto;
}

.mnav a {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 24px;
}

.mnav a:hover {
  color: var(--primary);
}

.mnav a.cta {
  margin-top: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 36px;
  border-radius: 999px;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.mnav .close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ink);
  cursor: pointer;
  width: 44px;
  height: 44px;
}

/* ============================================================
   HERO SECTION (Wise Dental VJ Background + Aya Steps)
   ============================================================ */
.phero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.phero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/images/tati_BCKG-mp80nwR8ZrTPGn6b.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
}

.phero > .wrap,
.phero-grid-wrap,
.home-hero-grid,
.phero-content {
  position: relative;
  z-index: 2;
}

.phero-grid-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .phero-grid-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.phero-h1 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.22;
  color: var(--primary);
  margin: 0.35em 0 0.45em;
}

.phero .lead {
  font-size: 1.04rem;
  color: var(--ink);
  max-width: 44em;
  line-height: 1.8;
}

.phero .lead strong {
  color: var(--copper);
}

.od-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
  padding-top: 4px;
  border-top: 2px solid var(--line);
}

.od-steps li {
  padding: 16px 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-mute);
  position: relative;
}

.od-steps li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
  border: 2px solid var(--bg-soft);
}

.od-steps li:first-child::before {
  background: var(--primary);
}

.od-steps b {
  display: block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 4px;
}

@media (max-width: 620px) {
  .od-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
}

.wise-badge-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.wise-hero-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background: #f3efe4;
}

.wise-badge-caption {
  padding: 20px 22px;
}

.wise-pill {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.wise-badge-caption p {
  font-size: 0.9rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ============================================================
   ORDER FORM LAYOUT & CONTROLS (Aya Design Order Form)
   ============================================================ */
.cf-section {
  padding: 68px 0 96px;
}

.cf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  align-items: start;
}

@media (max-width: 940px) {
  .cf-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cf {
  display: grid;
  gap: 26px;
}

.od {
  gap: 54px;
}

.od-sec {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 30px;
  margin: 0;
  display: grid;
  gap: 24px;
  min-width: 0;
  box-shadow: 0 6px 20px rgba(44, 37, 32, 0.03);
}

@media (max-width: 600px) {
  .od-sec {
    padding: 22px 18px;
  }
}

.od-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-soft);
  margin-bottom: 4px;
  float: left;
}

.od-h + * {
  clear: both;
}

.od-h b {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.od-pair,
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 640px) {
  .od-pair,
  .cf-row {
    grid-template-columns: 1fr;
  }
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-field label,
.cf-legend {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.cf-req,
.cf-opt {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  vertical-align: 1px;
}

.cf-req {
  color: var(--primary);
  background: var(--primary-soft);
}

.cf-opt {
  color: var(--ink-mute);
  background: var(--bg-soft);
}

.cf-hint {
  font-size: 0.84rem;
  color: var(--ink-mute);
  line-height: 1.55;
}

.od-note {
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
}

/* Inputs, Selects, Textareas */
.cf input[type="text"],
.cf input[type="email"],
.cf input[type="tel"],
.cf input[type="date"],
.cf select,
.cf textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.cf textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.cf select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%),
                    linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.cf input:focus,
.cf select:focus,
.cf textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(202, 133, 84, 0.18);
}

/* Modern Web Guidance: validate-input-after-interaction (:user-invalid & :user-valid + fallback) */
.cf input:user-invalid,
.cf select:user-invalid,
.cf textarea:user-invalid,
.cf input.user-invalid-fallback,
.cf select.user-invalid-fallback,
.cf textarea.user-invalid-fallback,
.cf [aria-invalid="true"] {
  border-color: var(--danger);
  background-color: #fce8e6;
}

.cf input:user-valid,
.cf input.user-valid-fallback {
  border-color: var(--success);
}

.cf-err {
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 600;
  min-height: 0;
}

.cf-err:empty {
  display: none;
}

/* Card-style Radio Topics */
.cf-topics {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.cf-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 560px) {
  .cf-topic-grid {
    grid-template-columns: 1fr;
  }
}

.cf-topic {
  position: relative;
}

.cf-topic input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.cf-topic span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}

.cf-topic span::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  border: 1.5px solid var(--ink-mute);
  border-radius: 50%;
  transition: all 0.2s;
}

.cf-topic input:checked + span {
  border-color: var(--primary);
  background: var(--bg-soft);
  color: var(--ink);
}

.cf-topic input:checked + span::before {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.cf-topic input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(230, 110, 85, 0.25);
}

/* ============================================================
   INTERACTIVE TOOTH CHART (FDI / Universal)
   ============================================================ */
.od-notation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  white-space: nowrap;
}

.od-nt {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-mute);
  cursor: pointer;
  transition: all 0.15s;
}

.od-nt.is-on {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.od-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-top: 6px;
}

.od-q {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  padding: 14px 12px;
}

.od-q.ur,
.od-q.lr {
  border-right: 1.5px solid var(--copper);
}

.od-q.ur,
.od-q.ul {
  border-bottom: 1.5px solid var(--copper);
}

.od-qlab {
  grid-column: 1 / -1;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--copper);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.od-q.ul .od-qlab,
.od-q.ll .od-qlab {
  text-align: right;
}

.od-q.lr .od-qlab,
.od-q.ll .od-qlab {
  order: 2;
  margin-top: 2px;
  margin-bottom: 0;
}

.od-tooth {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  min-height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.od-tooth:hover {
  border-color: var(--copper);
  transform: translateY(-1px);
}

.od-tooth:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 110, 85, 0.3);
}

.od-tooth[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.od-tooth[aria-pressed="true"].is-pontic {
  background: #fff;
  color: var(--primary);
  border: 2px dashed var(--primary);
}

@media (max-width: 560px) {
  .od-chart {
    grid-template-columns: 1fr;
  }
  .od-q.ur,
  .od-q.lr {
    border-right: 0;
  }
  .od-q {
    border-bottom: 1px solid var(--line);
  }
  .od-q.ul {
    border-bottom: 1.5px solid var(--copper);
  }
  .od-q.ul .od-qlab,
  .od-q.ll .od-qlab {
    text-align: left;
  }
  .od-tooth {
    min-height: 44px;
  }
}

/* Selected Teeth Restoration Table */
.od-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.94rem;
}

.od-table th {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.od-table td {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.od-table tr:last-child td {
  border-bottom: 0;
}

.od-table td:first-child {
  white-space: nowrap;
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary);
  width: 7.5em;
}

.od-table td:last-child {
  width: 44px;
  text-align: right;
}

.od-table select {
  min-height: 40px !important;
  padding: 6px 36px 6px 12px !important;
  background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px !important;
}

.od-del {
  background: none;
  border: 0;
  color: var(--ink-mute);
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.od-del:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ============================================================
   SCAN FILE DROPZONE & CHECKLIST
   ============================================================ */
.od-drop {
  position: relative;
  border: 2px dashed var(--copper);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: background 0.2s, border-color 0.2s;
}

.od-drop.is-over {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.od-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.od-drop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 150px;
  padding: 28px;
  text-align: center;
  pointer-events: none;
}

.od-drop-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(202, 133, 84, 0.15);
  margin-bottom: 4px;
}

.od-drop-main {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.od-drop-sub {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

.od-file-input:focus-visible + .od-drop-label {
  box-shadow: inset 0 0 0 3px rgba(230, 110, 85, 0.3);
}

.od-files {
  list-style: none;
  display: grid;
  gap: 8px;
}

.od-files:empty {
  display: none;
}

.od-files li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.5em 40px;
  gap: 10px;
  align-items: center;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.88rem;
}

.od-fname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.od-fsize {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-mute);
}

.od-files select {
  min-height: 38px !important;
  padding: 6px 32px 6px 10px !important;
  font-size: 0.86rem !important;
  background-position: calc(100% - 17px) 16px, calc(100% - 12px) 16px !important;
}

@media (max-width: 560px) {
  .od-files li {
    grid-template-columns: minmax(0, 1fr) 40px;
  }
  .od-files li select {
    grid-column: 1;
    grid-row: 2;
  }
}

.od-check {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.od-check li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.od-check li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-mute);
}

.od-check li.ok {
  border-color: var(--copper);
  background: var(--bg-soft);
  color: var(--ink);
}

.od-check li.ok::before {
  background: var(--copper);
  border-color: var(--copper);
}

.od-check li.miss {
  border-color: var(--danger);
  background: #fce8e6;
  color: var(--danger);
}

.od-check li.miss::before {
  border-color: var(--danger);
}

/* ============================================================
   CONSENT, SUBMIT & PROGRESS BARS
   ============================================================ */
.cf-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.65;
  cursor: pointer;
}

.cf-consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.od-first {
  font-weight: 700;
}

.cf-privacy {
  font-size: 0.84rem;
  color: var(--ink-mute);
  line-height: 1.75;
  background: var(--bg-soft);
  padding: 14px 18px;
  border-left: 3px solid var(--copper);
  border-radius: 0 8px 8px 0;
}

.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.od-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.od-submit-row .cf-hint {
  max-width: 28em;
}

.cf-submit,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 44px;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(230, 110, 85, 0.3);
}

.cf-submit:hover,
.lang-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.lang-btn-outline {
  background: #fff;
  color: var(--copper);
  border-color: var(--copper);
  box-shadow: none;
}

.lang-btn-outline:hover {
  background: var(--bg-soft);
  color: var(--primary);
  border-color: var(--primary);
}

.cf-submit[disabled] {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 560px) {
  .cf-submit {
    width: 100%;
  }
}

.cf-status {
  padding: 20px 22px;
  font-size: 0.94rem;
  line-height: 1.75;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.cf-status.ok {
  border-color: var(--copper);
  background: var(--bg-soft);
}

.cf-status.ng {
  border-color: var(--danger);
  background: #fce8e6;
  color: var(--danger);
}

.od-prog {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.od-prog li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 4em;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
}

.od-prog-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.od-prog-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.od-prog-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--primary);
  transition: width 0.2s;
}

.od-prog-st {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--copper);
}

.od-prog-final {
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* Thank You Box */
.cf-done {
  text-align: center;
  padding: 56px 28px;
  border: 2px solid var(--copper);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.cf-done h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--primary);
  font-weight: 700;
  margin: 0.35em 0 0.7em;
}

.cf-done p {
  color: var(--ink-mute);
  line-height: 1.9;
  margin-bottom: 8px;
}

.od-no {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--bg-soft);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.od-done-miss {
  color: var(--danger) !important;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ============================================================
   STICKY RIGHT SUMMARY ASIDE
   ============================================================ */
.cf-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

@media (max-width: 940px) {
  .cf-aside {
    position: static;
  }
}

.cf-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 24px 22px;
  box-shadow: 0 6px 20px rgba(44, 37, 32, 0.04);
}

.cf-card.od-sum {
  border-top: 4px solid var(--primary);
}

.cf-card h3 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 14px;
}

.cf-card p {
  font-size: 0.88rem;
  color: var(--ink-mute);
  line-height: 1.75;
}

.od-sum dl {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.od-sum dt {
  color: var(--ink-mute);
  font-weight: 600;
}

.od-sum dd {
  word-break: break-word;
  font-weight: 600;
}

.od-sum dd b {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
}

.od-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-mute);
}

.od-est {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.od-est-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--copper);
  letter-spacing: 0.08em;
}

.od-est-val {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
}

.od-est-note {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.6;
}

/* ============================================================
   WISE DENTAL VJ SHOWCASE SECTION
   ============================================================ */
.wise-showcase-section {
  padding: 72px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.wise-sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.wise-sec-head h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--primary);
  margin: 6px 0 10px;
}

.wise-sec-head p {
  color: var(--ink-mute);
  font-size: 1rem;
}

.wise-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .wise-cases-grid {
    grid-template-columns: 1fr;
  }
}

.wise-case-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s;
}

.wise-case-card:hover {
  transform: translateY(-4px);
}

.wise-case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.wise-case-info {
  padding: 20px 22px;
}

.wise-case-info h4 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  color: var(--copper);
  margin-bottom: 6px;
}

.wise-case-info p {
  font-size: 0.9rem;
  color: var(--ink-mute);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #241f1c;
  color: #f8f6eb;
  padding: 64px 0 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(230, 223, 206, 0.15);
}

.footer-col h5 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--nav-accent);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(248, 246, 235, 0.78);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

@media (max-width: 780px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.brand-foot {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-foot b {
  color: var(--primary);
}

.foot-copy {
  font-size: 0.85rem;
  color: rgba(248, 246, 235, 0.65);
}


/* ============================================================
   MULTI-PAGE WEBSITE STYLES (Home, Services, Cases, About)
   ============================================================ */
.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch button,
.lang-switch a {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-mute);
  font: inherit;
  transition: all 0.2s;
}

.lang-switch button.is-active,
.lang-switch a.is-active {
  background: var(--primary);
  color: #fff;
}

.section-block {
  position: relative;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section-block.bg-pattern,
.section-block.section-alt {
  background-color: var(--bg-soft);
}

.section-block.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/images/tati_BCKG-mp80nwR8ZrTPGn6b.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
}

.section-block > .wrap {
  position: relative;
  z-index: 2;
}

.sec-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.sec-header h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  color: var(--primary);
  margin: 8px 0 14px;
  line-height: 1.25;
}

.sec-header p {
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Home Hero Split */
.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 920px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
}

.home-hero-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 20px 50px rgba(44, 37, 32, 0.14);
}

.home-hero-photo img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stat-item strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stat-item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Our Focus Grid */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 880px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
}

.service-pills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

@media (max-width: 560px) {
  .service-pills-grid {
    grid-template-columns: 1fr;
  }
}

.service-pill-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(44, 37, 32, 0.04);
}

.service-pill-item span {
  font-size: 0.78rem;
  color: var(--copper);
  font-weight: 700;
  white-space: nowrap;
}

.focus-images-stack {
  display: grid;
  gap: 20px;
}

.focus-images-stack img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: block;
  cursor: zoom-in;
}

/* Service Fee Table & Cards */
.fee-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.fee-table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--copper) 100%);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  text-align: left;
  padding: 15px 20px;
  letter-spacing: 0.04em;
}

.fee-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.fee-table tr:last-child td {
  border-bottom: none;
}

.fee-table tr:nth-child(even) {
  background: #fcfbf7;
}

.fee-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.fee-price {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.fee-time {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.fee-included-grid,
.inc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 780px) {
  .fee-included-grid,
  .inc-grid {
    grid-template-columns: 1fr;
  }
}

.fee-info-card,
.inc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--copper);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--card-shadow);
}

.fee-info-card h3,
.inc-card h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.fee-info-card ul,
.inc-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.fee-info-card li,
.inc-card li {
  position: relative;
  padding-left: 24px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.fee-info-card li::before,
.inc-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.quotation-sheets-grid,
.quote-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .quotation-sheets-grid,
  .quote-docs-grid {
    grid-template-columns: 1fr;
  }
}

.quotation-sheets-grid img,
.quote-doc-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  cursor: zoom-in;
  display: block;
  transition: transform 0.2s;
}

.quote-doc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.quote-doc-card span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.quotation-sheets-grid img:hover,
.quote-doc-card img:hover {
  transform: translateY(-3px);
}

/* Filterable Cases Gallery */
.case-filters,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.case-filter-btn,
.filter-pill {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  padding: 9px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.case-filter-btn:hover,
.filter-pill:hover {
  border-color: var(--copper);
  color: var(--primary);
}

.case-filter-btn.is-active,
.filter-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 86, 60, 0.28);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: zoom-in;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(44, 37, 32, 0.12);
}

.portfolio-thumb {
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: #f2efe4;
}

.portfolio-card img,
.portfolio-thumb img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  background: #f2efe4;
  transition: transform 0.3s;
}

.portfolio-card:hover img {
  transform: scale(1.03);
}

.portfolio-caption,
.portfolio-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: block;
}

.portfolio-caption h4,
.portfolio-body h4 {
  font-family: var(--font-primary);
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.3;
}

.portfolio-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Customer Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #e69500;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.review-text,
.review-quote {
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.72;
  font-style: italic;
}

.review-author,
.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  gap: 10px;
}

.review-author strong,
.review-meta .review-author {
  color: var(--copper);
  font-weight: 700;
  padding-top: 0;
  border-top: none;
  display: block;
}

.review-badge {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-mute);
}

.review-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.review-shot {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 10px;
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.2s;
}

.review-shot:hover {
  transform: translateY(-3px);
}

.review-screenshots-grid img,
.review-shot img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  display: block;
  cursor: zoom-in;
}

/* Team Page Layout (.team-grid & .team-photos) + Home Team Section (.team-contact-grid) */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.team-grid > * {
  min-width: 0;
}

@media (max-width: 920px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}

.team-photos img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #fff;
  box-shadow: var(--card-shadow);
  display: block;
  cursor: zoom-in;
  transition: transform 0.22s;
}

.team-photos img.main-photo {
  grid-column: 1 / -1;
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.team-photos img:hover {
  transform: translateY(-3px);
}

@media (max-width: 560px) {
  .team-photos {
    grid-template-columns: 1fr;
  }
  .team-photos img,
  .team-photos img.main-photo {
    height: 230px;
  }
}

.team-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .team-contact-grid {
    grid-template-columns: 1fr;
  }
}

.team-photo-card {
  background: #fff;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.team-photo-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  cursor: zoom-in;
}

.contact-card-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
}

.contact-card-box h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--primary);
  margin: 6px 0 14px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 20px 0 26px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* Contact Banner on About Page */
.contact-banner {
  background: #241f1c;
  color: #fdfcf7;
  border-radius: 20px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(36, 31, 28, 0.18);
}

@media (max-width: 900px) {
  .contact-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.contact-banner h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin: 8px 0 14px;
}

.contact-banner p {
  color: rgba(253, 252, 247, 0.88);
  line-height: 1.75;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 18px;
  border-radius: 12px;
}

.contact-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper-lt);
  font-weight: 700;
}

.contact-item a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Semantic FAQ Accordion (<details> / <summary>) for SEO & AI Answer Engines */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-family: var(--font-primary);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s, background 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary {
  color: var(--primary);
  border-bottom: 1px solid var(--line);
  background: #fcfaf4;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  padding: 18px 22px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* Lightbox Dialog */
dialog.lightbox-dialog {
  margin: auto;
  max-width: min(1080px, 94vw);
  max-height: 92vh;
  border: none;
  border-radius: 14px;
  background: #1c1917;
  color: #fff;
  padding: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

dialog.lightbox-dialog::backdrop {
  background: rgba(18, 15, 13, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-caption {
  font-size: 0.94rem;
  color: #f8f6eb;
  text-align: center;
  padding: 4px 12px;
}

.lightbox-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--primary);
}

/* Floating WhatsApp Button (matches wisedentalvj.com) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}


/* ============================================================
   HOME PAGE REFINEMENTS (Per HOME.pdf Specification — Slides 1–79)
   ============================================================ */
.brand-logo[data-lightbox] {
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}

.brand-logo[data-lightbox]:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(217, 86, 60, 0.35);
}

.brand-title {
  color: var(--primary);
  font-size: 1.56rem;
  letter-spacing: 0.11em;
  line-height: 1.1;
}

/* Slide 60: "Advanced CAD/CAM Dental Design・JAPAN standard", +1 font-size unit */
.brand-sub-badge {
  display: inline-block;
  background: #f5b056;
  border: 1.5px solid #e8912d;
  color: #ffffff !important;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 7px;
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(232, 145, 45, 0.22);
}

.nav-links {
  gap: 18px;
  flex-wrap: nowrap;
}

.nav-links a,
.lang-switch,
.lang-switch button,
.lang-switch a,
.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Slide 61–64: Hero 2-column proportions, h1 2-line fit, starred lead >13.5pt, centered CTA stack, 2 stacked right photos */
#our-service .home-hero-grid {
  grid-template-columns: 1.26fr 0.74fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 960px) {
  #our-service .home-hero-grid {
    grid-template-columns: 1fr;
  }
}

#our-service .phero-h1 {
  font-size: clamp(1.95rem, 3.15vw, 2.75rem);
  line-height: 1.24;
  margin: 0.3em 0 0.45em;
}

#our-service .lead {
  max-width: none;
  font-size: 1.14rem; /* > 13.5pt (18px) per Slide 62 */
  line-height: 1.68;
}

/* Slide 63: Top CTA button horizontally centered relative to the bottom button */
#our-service .hero-cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 600px) {
  #our-service .hero-cta-group {
    display: flex;
    width: 100%;
  }
}

.hero-cta-multiline {
  text-align: center;
  line-height: 1.35;
  padding: 12px 28px;
}

/* Slide 64: Right column stacked hero images (DF All on 6 _HOME.jpg above Our Team 2_jpg.jpg) */
.home-hero-photos-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

.home-hero-photos-stack .home-hero-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 18px 44px rgba(44, 37, 32, 0.14);
}

.home-hero-photos-stack .home-hero-photo img {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s;
}

.home-hero-photos-stack .home-hero-photo:hover img {
  transform: scale(1.02);
}

/* Slide 65: Ensure Section 2 h2 stays on 2 lines ("Combining Japan's Advanced Craftsmanship Skills" / "& Quality Standards") */
.sec-header {
  max-width: 1080px;
}

.sec-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.focus-grid {
  align-items: center;
}

.focus-images-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

/* Slide 67: Plain orange text (not a button/link) at bottom of Section 3 */
.fee-contact-notice {
  color: var(--primary);
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
}

/* Slide 70: Enlarge Customer Review screenshot images so review text is clearly legible */
.review-screenshots-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-screenshots-grid img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  display: block;
  cursor: zoom-in;
  transition: transform 0.22s, box-shadow 0.22s;
}

.review-screenshots-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(44, 37, 32, 0.12);
}

@media (max-width: 780px) {
  .review-screenshots-grid {
    grid-template-columns: 1fr;
  }
  .review-screenshots-grid img {
    height: auto;
    max-height: 420px;
  }
}

/* Slide 71 & 72: Our Team single-line heading & 13.5pt (18px) 2-paragraph description */
.team-heading-singleline {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  color: var(--primary);
  margin: 6px 0 14px;
  line-height: 1.25;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .team-heading-singleline {
    white-space: normal;
  }
}

.team-lead-text {
  color: var(--ink-mute);
  font-size: 1.125rem; /* 13.5pt (18px) per Slide 72 */
  line-height: 1.72;
  margin-bottom: 22px;
}

/* Mirror-Glass Translucent Gradient Footer (Slide 51 & Slide 79) */
footer {
  background: linear-gradient(
    135deg,
    rgba(22, 19, 18, 0.92) 0%,
    rgba(46, 39, 35, 0.84) 48%,
    rgba(18, 15, 14, 0.95) 100%
  );
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 -12px 32px rgba(0, 0, 0, 0.16);
}

.footer-cols.footer-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Slide 79: 4 evenly spaced columns with DF All on 6 _FOOTER.jpg in Column 4 */
.footer-cols.footer-cols-4 {
  grid-template-columns: 1fr 1.15fr 1fr 1.15fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 960px) {
  .footer-cols.footer-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .footer-cols.footer-cols-3,
  .footer-cols.footer-cols-4 {
    grid-template-columns: 1fr;
  }
}

.footer-media-card {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(248, 246, 235, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.footer-media-card img {
  width: 100%;
  max-height: 175px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s;
}

.footer-media-card:hover img {
  transform: scale(1.03);
}

.footer-col ul li.footer-static-item {
  color: rgba(248, 246, 235, 0.82);
  font-size: 0.9rem;
  cursor: default;
}

@keyframes footerOrangeBlink {
  0%, 100% {
    color: var(--nav-accent);
    opacity: 1;
    text-shadow: 0 0 10px rgba(217, 86, 60, 0.45);
  }
  50% {
    color: var(--primary);
    opacity: 0.35;
    text-shadow: none;
  }
}

.footer-col a.footer-blink-link {
  color: var(--nav-accent) !important;
  font-weight: 700;
  animation: footerOrangeBlink 1.35s ease-in-out infinite;
}

.brand-foot {
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* ============================================================
   DESIGN CASES PAGE REFINEMENTS (Per Design Cases.pdf — Slides 1–15)
   ============================================================ */
.portfolio-grid.cases-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .portfolio-grid.cases-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .portfolio-grid.cases-grid-3col {
    grid-template-columns: 1fr;
  }
}

.portfolio-card.portfolio-card-image-only {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f2efe4;
  box-shadow: var(--card-shadow);
}

.portfolio-card.portfolio-card-image-only .portfolio-thumb {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f2efe4;
}

.portfolio-card.portfolio-card-image-only .portfolio-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   TEAM & REVIEWS PAGE REFINEMENTS (Per Team & Reviews.pdf — Slides 1–16)
   ============================================================ */
.team-photos.team-photos-2stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
}

.team-photos.team-photos-2stack img,
.team-photos.team-photos-2stack img.main-photo {
  grid-column: 1 / -1;
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #fff;
  box-shadow: var(--card-shadow);
  display: block;
  cursor: zoom-in;
}

.sec-heading-singleline {
  white-space: nowrap;
  font-size: clamp(1.7rem, 2.65vw, 2.38rem) !important;
}

@media (max-width: 860px) {
  .sec-heading-singleline {
    white-space: normal;
  }
}

/* ============================================================
   DESIGN ORDER PORTAL REFINEMENTS (Per Design Order Portal.pdf — Slides 1–20)
   ============================================================ */

/* Slides 7 & 8: Progress Arrow Steps (Chevron Progress Bar instead of Dots) */
.od-steps.od-steps-arrows {
  border-top: none;
  padding-top: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  filter: drop-shadow(0 6px 14px rgba(44, 37, 32, 0.07));
}

.od-steps.od-steps-arrows li {
  position: relative;
  background: #ffffff;
  padding: 14px 18px 14px 24px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-soft);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
}

.od-steps.od-steps-arrows li::before {
  display: none !important;
}

.od-steps.od-steps-arrows li:first-child {
  padding-left: 16px;
  border-radius: 10px 0 0 10px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  background: linear-gradient(135deg, var(--primary) 0%, #e46d54 100%);
  color: #ffffff;
}

.od-steps.od-steps-arrows li:first-child b {
  color: #ffffff;
}

.od-steps.od-steps-arrows li b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 3px;
}

.od-steps.od-steps-arrows li b::after {
  content: "➔";
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  opacity: 0.85;
}

.od-steps.od-steps-arrows li:last-child b::after {
  content: "✓";
}

@media (max-width: 760px) {
  .od-steps.od-steps-arrows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .od-steps.od-steps-arrows li,
  .od-steps.od-steps-arrows li:first-child {
    padding: 14px 18px 14px 16px;
    border-radius: 10px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  }
}

/* Slides 9 & 10: WAX UP Hero Showcase Image */
.wise-hero-img.wise-hero-img-waxup {
  width: 100%;
  height: auto;
  aspect-ratio: 1090 / 722;
  object-fit: cover;
  cursor: zoom-in;
}

/* Slides 11 & 12: Horizontal 2-Column Form Layout & Horizontal Summary Row */
.wrap.od-horizontal-wrap {
  max-width: 1320px;
}

.od.od-horiz-form {
  display: grid;
  gap: 28px;
}

.od-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.od-grid-2col > .od-sec {
  align-content: start;
}

.od-col-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.od-col-stack > .od-sec:last-child {
  flex: 1;
  align-content: start;
}

@media (max-width: 1040px) {
  .od-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Align Country input cleanly beside "You are a" radio cards in Section 01 */
.od-country-top input[type="text"] {
  min-height: 50px;
}

/* Align Case ID and Requested Delivery Date nicely side-by-side in Section 02 */
.od-case-top-row {
  align-items: end;
}

/* Compact Tooth Chart sizing inside 2-column horizontal card */
.od-grid-2col .od-q {
  padding: 10px 8px;
  gap: 4px;
}

.od-grid-2col .od-tooth {
  min-height: 38px;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .od-grid-2col .od-q {
    padding: 12px 10px;
    gap: 5px;
  }
}

/* Slide 15: Restoration Category Pill Buttons (Active Dark-Orange like Teeth) */
.od-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.od-cat-pill {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  padding: 8px 15px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.1s, box-shadow 0.16s;
}

.od-cat-pill:hover {
  border-color: var(--copper);
  color: var(--primary);
  transform: translateY(-1px);
}

.od-cat-pill:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(217, 86, 60, 0.28);
}

.od-cat-pill[aria-pressed="true"],
.od-cat-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 86, 60, 0.28);
}

/* Slides 11, 12 & 18: Horizontal Summary, Delivery & Questions Cards */
.od-summary-horiz {
  position: static;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}

.od-summary-horiz .cf-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.od-summary-horiz .cf-card:not(.od-sum) {
  justify-content: flex-start;
}

.od-summary-horiz .od-sum-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.od-summary-horiz .od-est {
  margin-top: 0;
  padding-top: 0;
  padding-left: 18px;
  border-top: 0;
  border-left: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .od-summary-horiz {
    grid-template-columns: 1fr;
  }
  .od-summary-horiz .od-sum-body {
    grid-template-columns: 1fr;
  }
  .od-summary-horiz .od-est {
    margin-top: 16px;
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Horizontal Submit Bar */
.od-submit-bar {
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  box-shadow: 0 6px 20px rgba(44, 37, 32, 0.04);
}

.od-submit-bar .cf-hint {
  max-width: none;
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .od-submit-bar {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ============================================================
   HOME_UPDATED.pdf Refinements (Lightbox Nav & Line Wrapping)
   ============================================================ */
.lightbox-inner {
  position: relative;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(25, 21, 18, 0.72);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: -58px;
}

.lightbox-next {
  right: -58px;
}

@media (max-width: 900px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

/* Slide 8: Japanese Hero H1 — Do not wrap line 2 prematurely */
html[lang="ja"] #our-service .phero-h1 {
  font-size: clamp(1.55rem, 2.55vw, 2.25rem);
  white-space: nowrap;
}

@media (max-width: 760px) {
  html[lang="ja"] #our-service .phero-h1 {
    white-space: normal;
  }
}

/* Slide 9 & 11-12: Exact manual line breaks for Hero lead & Focus header */
#our-service .lead,
#our-focus .sec-header p {
  max-width: none;
}

html[lang="ja"] #our-service .lead {
  font-size: 0.94rem;
}

html[lang="ja"] #our-focus .focus-desc-text {
  font-size: 0.94rem;
}

/* Slide 3: Keep Our Team lines from wrapping prematurely on desktop */
#our-team .team-lead-text {
  max-width: none;
  font-size: 0.92rem;
}

/* Slide 6: Keep Contact Us inquiry line on one line */
#contact-us .contact-lead-text {
  font-size: 0.95rem;
}

/* ============================================================
   Team & Reviews Mobile Responsive & Desktop Grid Ratios
   ============================================================ */
@media (min-width: 961px) {
  .home-hero-grid.about-hero-grid {
    grid-template-columns: 1.22fr 0.78fr;
  }
  .team-grid.about-team-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

@media (max-width: 960px) {
  .home-hero-grid.about-hero-grid,
  .team-grid.about-team-grid,
  .team-grid {
    grid-template-columns: 1fr !important;
  }
  .sec-heading-singleline,
  .team-heading-singleline {
    white-space: normal !important;
  }
}

/* ============================================================
   Mobile Header & Hamburger Menu Visibility Fix (All Pages)
   ============================================================ */
@media (max-width: 940px) {
  .nav {
    gap: 10px;
  }
  .brand {
    flex-shrink: 1;
    min-width: 0;
    gap: 10px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .brand-text {
    min-width: 0;
  }
  .brand-title {
    font-size: clamp(1.08rem, 4.2vw, 1.35rem);
    letter-spacing: 0.06em;
  }
  .brand-sub-badge {
    font-size: clamp(0.58rem, 2.2vw, 0.72rem);
    padding: 2px 7px;
    letter-spacing: 0;
    white-space: normal;
    line-height: 1.25;
    text-align: left;
  }
  .menu-btn {
    display: flex !important;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
  }
}

/* ============================================================
   Responsive Line Breaks for Team & Reviews Hero Lead
   ============================================================ */
.br-mobile {
  display: none;
}

.br-desktop {
  display: inline;
}

@media (max-width: 780px) {
  .br-mobile {
    display: inline;
  }
  .br-desktop {
    display: none;
  }
  html[lang="en"] .about-hero-lead {
    font-size: clamp(0.86rem, 3.8vw, 1.02rem) !important;
  }
}

/* ============================================================
   Design Order Portal Hour:Minute Selection Box (Slide 5)
   ============================================================ */
.od-due-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
}

.od-due-time select {
  width: auto !important;
  min-width: 68px;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 6px 28px 6px 10px !important;
  font-size: 0.96rem !important;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

.od-due-colon {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ============================================================
   Design Order Portal_New.pdf Refinements
   ============================================================ */
/* Page 2: Circled numbers ① ② ③ ④ */
.od-h {
  align-items: center;
}

.od-h b {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--primary);
  background: transparent;
  padding: 0;
  border-radius: 0;
  line-height: 1;
}

/* Page 3: Balanced bottom row inside ① Your Information */
.od-info-bottom-row {
  padding-top: 14px;
  border-top: 1px solid var(--bg-soft);
  align-items: center;
}

.od-info-bottom-row .od-first {
  margin-top: 6px;
}

/* Page 6: Do not wrap Delivery date in Summary */
#sumDue {
  white-space: nowrap;
}

.od-summary-horiz .od-sum-body {
  grid-template-columns: 1.38fr 0.62fr;
}

@media (max-width: 1040px) {
  .od-summary-horiz .od-sum-body {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Full-Arch & Framework Selection Boxes (Slides 5 & 6)
   ============================================================ */
.od-arch-boxes-field {
  margin-top: 4px;
  margin-bottom: 4px;
}

.od-arch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.od-cat-pill.od-arch-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #5c5346;
  background: #fdf2d0;
  color: #1f1a17;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.1s, box-shadow 0.16s;
}

.od-cat-pill.od-arch-box:hover {
  border-color: var(--primary);
  background: #fae8b4;
  color: #1f1a17;
  transform: translateY(-1px);
}

.od-cat-pill.od-arch-box[aria-pressed="true"],
.od-cat-pill.od-arch-box.is-active {
  background: #c84628;
  border-color: #b5381c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(200, 70, 40, 0.28);
}

@media (max-width: 520px) {
  .od-arch-grid {
    gap: 8px 10px;
  }
  .od-cat-pill.od-arch-box {
    font-size: 0.84rem;
    padding: 9px 8px;
  }
}

