/* ============================================================
   METIS Construction — Kitchen Remodeling Landing Page
   Palette: brand orange #F7941D · charcoal #3E3D40
   Kitchen feel: warm cream, walnut, brass, quartz white
   ============================================================ */

:root {
  --orange: #F7941D;
  --orange-dark: #DD7F0B;
  --orange-soft: #FDEBD3;
  --charcoal: #3E3D40;
  --charcoal-deep: #2A2A2E;
  --ink: #33323A;
  --muted: #6E6D76;
  --cream: #FAF7F1;
  --linen: #F3EDE2;
  --linen-line: #E5DCCB;
  --walnut: #7A5C44;
  --brass: #C9A24B;
  --navy: #2C3A55;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(42, 42, 46, 0.07);
  --shadow-md: 0 10px 34px rgba(42, 42, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(42, 42, 46, 0.16);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--charcoal-deep); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.015em; }
h1 em, h2 em { font-style: italic; color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 0.97rem; line-height: 1;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(247, 148, 29, 0.45); }
.btn-ghost { background: transparent; color: var(--charcoal-deep); border-color: var(--charcoal-deep); }
.btn-ghost:hover { background: var(--charcoal-deep); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--charcoal-deep); color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 500; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-phone { color: var(--orange); font-weight: 700; }
@media (max-width: 640px) { .topbar-item { display: none; } .topbar-inner > span:first-child { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 90; background: rgba(250, 247, 241, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linen-line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: center; }
/* Logo hangs below the sticky header like a sign — same as land2.metisbaths.com */
.nav .logo { align-self: flex-start; }
.nav .logo-img {
  height: 75px; box-sizing: content-box; padding: 12px 18px 14px;
  background: #fff; border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 26px rgba(46, 45, 48, 0.14);
}
.logo-img { height: 58px; width: auto; }
@media (max-width: 640px) {
  .nav .logo-img { height: 60px; padding: 9px 14px 11px; }
}
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 0.94rem; font-weight: 600; color: var(--charcoal); }
.nav-links a:hover { color: var(--orange-dark); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.94rem; color: var(--charcoal-deep); }
.nav-phone:hover { color: var(--orange-dark); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.nav-burger span { width: 24px; height: 2.5px; background: var(--charcoal-deep); border-radius: 2px; transition: 0.2s; }
@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 18px 5%; gap: 16px; border-bottom: 1px solid var(--linen-line); box-shadow: var(--shadow-md); }
  .nav-links.is-open { display: flex; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 560px) { .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 85% 8%, rgba(247, 148, 29, 0.10), transparent 65%),
    linear-gradient(180deg, var(--linen) 0%, var(--cream) 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--linen-line); border-radius: 999px;
  padding: 8px 16px; font-size: 0.84rem; font-weight: 600; color: var(--charcoal);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.2); }
.hero-sub { font-size: 1.13rem; color: var(--muted); margin: 20px 0 30px; max-width: 540px; }
.hero-sub strong { color: var(--charcoal-deep); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 36px; list-style: none; margin-top: 38px; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-head); font-size: 1.65rem; color: var(--charcoal-deep); line-height: 1.1; }
.hero-trust span { font-size: 0.83rem; color: var(--muted); margin-top: 3px; }

.hero-visual { position: relative; }
.hero-photo-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 13px 18px;
  box-shadow: var(--shadow-md); font-size: 0.86rem;
}
.hero-card strong { display: block; color: var(--charcoal-deep); line-height: 1.25; }
.hero-card span { color: var(--muted); font-size: 0.8rem; }
.hero-card-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--orange-soft); color: var(--orange-dark); font-weight: 800;
}
.hero-card-1 { bottom: 26px; left: -28px; }
.hero-card-2 { top: 26px; right: -18px; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-1 { left: 10px; } .hero-card-2 { right: 10px; }
  .hero { padding: 44px 0 60px; }
}
@media (max-width: 560px) {
  .hero-trust { gap: 22px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.truststrip { background: var(--charcoal-deep); color: rgba(255,255,255,0.75); padding: 16px 0; }
.truststrip-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.truststrip-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); white-space: nowrap; }
.truststrip-logos { display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: 0.88rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--linen); }
.section-dark { background: var(--charcoal-deep); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--orange-dark); margin-bottom: 12px;
}
.eyebrow-light { color: var(--orange); }
.h-light { color: #fff; }
.h-light em { color: var(--orange); }
.p-light { color: rgba(255,255,255,0.72) !important; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pricing-includes h3 { font-size: 1.45rem; margin-bottom: 20px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { padding-left: 36px; position: relative; color: var(--muted); }
.check-list li strong { color: var(--charcoal-deep); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  font-weight: 800; font-size: 0.8rem; display: grid; place-items: center;
}
.pricing-note {
  margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--brass);
  background: var(--linen); border-radius: 0 12px 12px 0;
  font-size: 0.9rem; color: var(--muted);
}
.sample-card {
  background: #fff; border: 1px solid var(--linen-line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.sample-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--brass); }
.sample-head h3 { font-size: 1.5rem; margin: 6px 0 4px; }
.sample-total { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--orange-dark); margin-bottom: 18px; }
.sample-rows { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--linen-line); border-bottom: 1px solid var(--linen-line); }
.sample-rows li { display: flex; align-items: baseline; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.sample-rows i { flex: 1; border-bottom: 2px dotted var(--linen-line); transform: translateY(-4px); }
.sample-rows strong { color: var(--charcoal-deep); }
.sample-addon { color: var(--walnut); }
.sample-addon strong { color: var(--walnut); }
.sample-foot { font-size: 0.88rem; color: var(--muted); margin: 16px 0 20px; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Calculator ---------- */
.calc-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); max-width: 980px; margin: 0 auto;
}
.calc-controls { padding: 44px 40px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1rem; color: var(--charcoal-deep); margin-bottom: 18px; }
.calc-label output { font-family: var(--font-head); font-size: 1.7rem; color: var(--orange-dark); font-weight: 700; }
input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--orange) var(--fill, 40%), var(--linen) var(--fill, 40%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--orange); box-shadow: var(--shadow-md); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--orange); box-shadow: var(--shadow-md); cursor: grab;
}
.calc-scale { display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--muted); margin-top: 10px; }
.calc-toggle {
  display: flex; align-items: center; gap: 12px; margin-top: 34px;
  font-weight: 600; font-size: 0.95rem; color: var(--charcoal-deep); cursor: pointer;
}
.calc-toggle em { color: var(--muted); font-style: normal; font-weight: 500; }
.calc-toggle input { position: absolute; opacity: 0; }
.toggle-pill {
  width: 48px; height: 28px; border-radius: 99px; background: var(--linen);
  position: relative; transition: background 0.2s; flex: 0 0 48px;
}
.toggle-pill::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s;
}
.calc-toggle input:checked + .toggle-pill { background: var(--orange); }
.calc-toggle input:checked + .toggle-pill::after { transform: translateX(20px); }

.calc-result { padding: 44px 40px; background: var(--linen); }
.calc-result-label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; color: var(--walnut); }
.calc-price { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--charcoal-deep); margin: 8px 0 22px; }
.calc-breakdown { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; }
.calc-breakdown li { display: grid; grid-template-columns: 130px 1fr 64px; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--muted); }
.calc-breakdown .bar { height: 8px; border-radius: 99px; background: rgba(0,0,0,0.07); overflow: hidden; }
.calc-breakdown .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--brass)); transition: width 0.3s ease; }
.calc-breakdown strong { color: var(--charcoal-deep); text-align: right; font-size: 0.88rem; }
.calc-foot { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 12px; }
.calc-email { display: flex; gap: 10px; margin-top: 14px; }
.calc-email input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 0.92rem; color: var(--ink);
  padding: 12px 16px; border: 1.5px solid var(--linen-line); border-radius: 999px;
  background: #fff; outline: none; transition: border-color 0.15s;
}
.calc-email input:focus { border-color: var(--orange); }
.calc-email input.is-invalid { border-color: #D64541; }
.btn-ghost-light {
  padding: 12px 18px; font-size: 0.88rem; border-radius: 999px; white-space: nowrap;
  background: transparent; border: 2px solid var(--charcoal-deep); color: var(--charcoal-deep);
  font-weight: 700; transition: background 0.15s, color 0.15s;
}
.btn-ghost-light:hover { background: var(--charcoal-deep); color: #fff; }
.calc-email-note { font-size: 0.85rem; font-weight: 600; margin-top: 10px; text-align: center; color: #2E7D32; }
.calc-email-note.is-error { color: #D64541; }
@media (max-width: 560px) { .calc-email { flex-direction: column; } }
@media (max-width: 880px) {
  .calc-card { grid-template-columns: 1fr; }
  .calc-controls, .calc-result { padding: 32px 26px; }
}

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ba-card { margin: 0; }
.ba-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-md);
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba-before-wrap {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
.ba-before-wrap .ba-img { filter: saturate(0.85); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-md);
}
.ba-handle span::before { content: "◂ ▸"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.7rem; color: var(--charcoal-deep); letter-spacing: 1px; }
.ba-tag {
  position: absolute; top: 12px; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 99px; color: #fff;
}
.ba-tag-before { left: 12px; background: rgba(42,42,46,0.75); }
.ba-tag-after { right: 12px; background: var(--orange); }
.ba-card figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 12px; text-align: center; }
@media (max-width: 880px) { .ba-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Process ---------- */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff; border: 1px solid var(--linen-line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: var(--muted); }
.step-hot { border: 2px solid var(--orange); box-shadow: 0 12px 36px rgba(247, 148, 29, 0.18); }
.step-hot .step-num { background: var(--orange); color: #fff; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.ai-callout {
  display: flex; align-items: flex-start; gap: 22px; margin-top: 28px;
  background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 130%);
  border: 1px solid var(--linen-line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.ai-callout-icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(247, 148, 29, 0.35);
}
.ai-callout h3 { font-size: 1.18rem; margin-bottom: 8px; }
.ai-callout p { font-size: 0.95rem; color: var(--muted); max-width: 920px; }
@media (max-width: 560px) { .ai-callout { flex-direction: column; padding: 24px 22px; } }

/* ---------- Comparison ---------- */
.compare-table { background: #fff; border: 1px solid var(--linen-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.compare-row {
  display: grid; grid-template-columns: 150px 1fr 1fr; gap: 14px;
  padding: 16px 26px; font-size: 0.94rem; align-items: center;
}
.compare-row:nth-child(even) { background: var(--cream); }
.compare-row > span:first-child { font-weight: 700; color: var(--charcoal-deep); }
.compare-row > span:last-child { color: var(--muted); }
.compare-metis { font-weight: 600; color: var(--charcoal-deep); position: relative; padding-left: 24px; }
.compare-metis::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 800; }
.compare-head { background: var(--charcoal-deep) !important; color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 13px 26px; }
.compare-head .compare-metis { color: var(--orange); padding-left: 0; }
.compare-head .compare-metis::before { content: none; }
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; }
  .compare-row > span:first-child { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--walnut); }
  .compare-head { display: none; }
  .compare-row > span:last-child::before { content: "vs.  "; font-style: italic; opacity: 0.7; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote {
  background: #fff; border: 1px solid var(--linen-line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote-stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 14px; }
.quote p { font-family: var(--font-head); font-size: 1.1rem; color: var(--charcoal-deep); line-height: 1.5; flex: 1; }
.quote footer { margin-top: 18px; display: flex; flex-direction: column; font-size: 0.88rem; }
.quote footer strong { color: var(--charcoal-deep); }
.quote footer span { color: var(--muted); }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--linen-line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 54px 20px 24px;
  font-weight: 700; color: var(--charcoal-deep); position: relative; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--orange-dark); transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--orange);
  margin: 22px 0;
}
.contact-phone:hover { color: #fff; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.contact-form {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg); position: relative;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.84rem; font-weight: 700; color: var(--charcoal-deep); }
.field input, .field select {
  font-family: inherit; font-size: 0.97rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--linen-line); border-radius: 12px;
  background: var(--cream); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field select {
  /* native selects (esp. Safari) ignore vertical padding — style it ourselves */
  appearance: none; -webkit-appearance: none; height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232A2A2E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px; cursor: pointer;
}
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.15); background-color: #fff; }
.field input.is-invalid { border-color: #D64541; }
.field-error { font-size: 0.78rem; color: #D64541; font-weight: 600; }

/* Option pills (radio groups styled as tap-to-select buttons) */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 12px 18px; border: 1.5px solid var(--linen-line);
  border-radius: 999px; background: var(--cream); font-size: 0.92rem; font-weight: 600;
  color: var(--ink); transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pill:hover span { border-color: var(--orange); }
.pill input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.25); }
.pill-group.is-invalid .pill span { border-color: #D64541; }
.form-fine { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success {
  position: absolute; inset: 0; background: #fff; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px; gap: 10px;
}
.form-success[hidden] { display: none; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dark); font-size: 1.8rem; font-weight: 800;
}
.form-success p { color: var(--muted); }
@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--charcoal-deep); color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 0.85fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-brand .logo-img { height: 72px; margin-bottom: 18px; background: #fff; padding: 10px 16px; border-radius: 12px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; line-height: 1.65; }
.footer-cred {
  display: inline-block; margin-top: 14px; font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 6px 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.footer-col a:hover { color: var(--orange); }
.footer-phone { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--orange) !important; line-height: 1.2; }
.footer-phone:hover { color: #fff !important; }
.footer-hint { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: -4px; }
.footer-cities ul {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
}
.footer-cities li { position: relative; padding-left: 14px; }
.footer-cities li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.footer-legal { display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; font-size: 0.8rem; }
/* Tablets: 2x2 grid with the brand block spanning the top row */
@media (max-width: 1020px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 460px; }
}
@media (max-width: 640px) {
  .footer { padding-top: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand .logo-img { height: 60px; }
  .footer-cities { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  display: none; gap: 1px; box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
}
.sticky-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 10px; font-weight: 800; font-size: 0.95rem;
}
.sticky-call { background: var(--charcoal-deep); color: #fff; }
.sticky-quote { background: var(--orange); color: #fff; }
/* Phones only — on tablets the top nav carries both CTAs instead,
   so the page content gets the full height */
@media (max-width: 560px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 56px; }
}

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

/* ---------- Chat widget ---------- */
/* While the full-screen chat is open on phones, freeze the page behind
   it so iOS can't pan/scroll it into view around the keyboard */
body.chat-lock { overflow: hidden; height: 100dvh; }
.chat-fab {
  position: fixed; bottom: 22px; left: 22px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,0.9); cursor: pointer;
  background: var(--charcoal-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(46,45,48,0.35);
  transition: transform 0.2s ease, background 0.2s;
}
.chat-fab:hover { transform: scale(1.08); background: var(--charcoal); }
.chat-fab-badge {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.chat-fab.is-open .chat-fab-badge { display: none; }

.chat-panel[hidden] { display: none; }
.chat-panel {
  position: fixed; bottom: 94px; left: 22px; z-index: 250;
  width: min(370px, calc(100vw - 32px)); height: min(520px, calc(100vh - 130px));
  background: #fff; border-radius: 18px;
  border: 2.5px solid #fff;
  box-shadow: 0 24px 70px rgba(46,45,48,0.45), 0 0 0 1px rgba(46,45,48,0.08);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  background: var(--charcoal-deep); color: #fff; padding: 12px 14px 12px 18px;
}
.chat-head-info { display: flex; flex-direction: column; gap: 2px; padding-top: 3px; }
.chat-head-info strong { font-size: 0.98rem; }
.chat-head-info span { font-size: 0.76rem; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.chat-online { width: 8px; height: 8px; border-radius: 50%; background: #5BBF6E; display: inline-block; }
.chat-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chat-head-btns { display: flex; align-items: center; gap: 2px; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; opacity: 0.8; line-height: 1; padding: 0 6px; }
.chat-close:hover { opacity: 1; }
.chat-reset { background: none; border: 0; color: #fff; font-size: 1.15rem; cursor: pointer; opacity: 0.7; line-height: 1; padding: 0 6px; }
.chat-reset:hover { opacity: 1; }
.chat-human-head {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 0.74rem; font-weight: 600; white-space: nowrap;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: 0.15s;
}
.chat-human-head:hover { background: var(--orange); border-color: var(--orange); }

.chat-msgs { position: relative; flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg-bot { background: #fff; border: 1px solid rgba(62,61,64,0.1); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--ink); }
.chat-msg-bot a { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }
.chat-msg-bot a:hover { color: var(--orange); }
.chat-msg-user { background: var(--orange); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg-typing { color: var(--muted); font-style: italic; }

/* quick-reply chips */
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.chat-chips button {
  background: #fff; border: 1.5px solid rgba(247,148,29,0.5); color: var(--orange-dark);
  font-weight: 700; font-size: 0.82rem; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; transition: 0.15s;
}
.chat-chips button:hover { background: var(--orange-soft); border-color: var(--orange); }

/* messages from the human team (via Telegram) */
.chat-msg-team { background: var(--charcoal-deep); color: #fff; border: 0; }
.chat-msg-team::before {
  content: "METIS TEAM"; display: block; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--orange); margin-bottom: 4px;
}

/* 👍/👎 rating row */
.chat-rate { display: flex; gap: 6px; align-self: flex-start; margin: -4px 0 0 6px; }
.chat-rate button {
  background: none; border: 0; cursor: pointer; font-size: 0.85rem;
  opacity: 0.35; transition: 0.15s; padding: 2px;
}
.chat-rate button:hover { opacity: 0.9; transform: scale(1.15); }
.chat-rate button.is-voted { opacity: 1; transform: scale(1.2); }
.chat-rate button:disabled:not(.is-voted) { opacity: 0.15; }

/* proactive teaser bubble */
.chat-teaser {
  position: fixed; bottom: 94px; left: 22px; z-index: 249;
  max-width: 270px; background: #fff; border: 2px solid #fff; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(46,45,48,0.35), 0 0 0 1px rgba(46,45,48,0.08);
  padding: 16px 18px; cursor: pointer; animation: teaserIn 0.4s ease;
}
.chat-teaser strong { display: block; font-size: 0.92rem; color: var(--charcoal-deep); margin-bottom: 4px; padding-right: 14px; }
.chat-teaser span { font-size: 0.8rem; color: var(--muted); }
.chat-teaser-x {
  position: absolute; top: 6px; right: 10px; background: none; border: 0;
  font-size: 1.1rem; color: var(--muted); cursor: pointer; opacity: 0.6;
}
.chat-teaser-x:hover { opacity: 1; }
@keyframes teaserIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .chat-teaser { bottom: 152px; left: 14px; } }

.chat-inputrow { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(62,61,64,0.1); background: #fff; }
.chat-inputrow input {
  flex: 1; border: 1.5px solid rgba(62,61,64,0.15); border-radius: 999px;
  padding: 11px 16px; font-family: inherit; font-size: 0.9rem; outline: none;
}
.chat-inputrow input:focus { border-color: var(--orange); }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.18s;
}
.chat-send:hover { background: var(--orange-dark); }
.chat-send:disabled { opacity: 0.5; cursor: default; }

@media (max-width: 760px) {
  /* 16px minimum stops iOS from auto-zooming the page on input focus */
  .chat-inputrow input { font-size: 16px; }
}
/* Phones: lift the chat button above the sticky CTA bar (tablets have no bar) */
@media (max-width: 560px) {
  .chat-fab { bottom: 86px; left: 14px; }
  .chat-panel { bottom: 150px; left: 14px; }
}
/* Phones only: full-screen chat — no page bleed, keyboard-safe */
@media (max-width: 600px) {
  .chat-panel {
    inset: 0; width: 100%; height: 100dvh; max-height: none;
    border-radius: 0; border: 0;
  }
  .chat-head { padding-top: calc(14px + env(safe-area-inset-top)); }
  .chat-inputrow { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}


/* ---------- Owner edit mode ---------- */
.edit-dot {
  width: 26px; height: 26px; background: none; border: 0;
  color: rgba(255,255,255,0.0); font-size: 0.95rem; opacity: 1; cursor: pointer;
  margin-left: auto;
}
.edit-dot:hover { color: rgba(255,255,255,0.35); }
.is-editable { transition: outline-color 0.15s; }
.is-editable:hover { outline: 2px dashed rgba(247,148,29,0.65); outline-offset: 3px; cursor: text; }
.is-editable:focus { outline: 2px solid var(--orange); outline-offset: 3px; }
.edit-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 300;
  display: flex; align-items: center; gap: 14px;
  background: var(--charcoal-deep); color: #fff;
  padding: 10px 12px 10px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.edit-bar strong { font-size: 0.92rem; white-space: nowrap; }
.edit-bar span { font-size: 0.8rem; opacity: 0.7; white-space: nowrap; }
@media (max-width: 640px) { .edit-bar span { display: none; } }

/* ---------- Reveal animation ---------- */
