/* ==========================================================================
   Scelto Glass & Mirror — Switchable Glass Landing Page
   Sits on top of Bootstrap 5.3. No build step: brand tokens are CSS variables.
   ========================================================================== */

:root {
  /* Brand tokens */
  --sc-ink: #18191B;
  --sc-ink-soft: #333437;
  --sc-text: #55565A;
  --sc-muted: #86868A;
  --sc-bg: #F7F5F2;
  --sc-surface: #FFFFFF;
  --sc-sand: #EFEBE4;
  --sc-line: #E4DFD7;
  --sc-line-soft: #EAE5DD;
  --sc-dark: #141518;
  --sc-darker: #0F1012;
  --sc-accent: #A87A3C;          /* change this one value to re-accent the page */
  --sc-accent-dark: #7E5A2A;
  --sc-whatsapp: #25A65B;

  --sc-serif: 'Bodoni Moda', Didot, 'Bodoni MT', Georgia, serif;
  --sc-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--sc-sans);
  --bs-body-color: var(--sc-ink);
  --bs-body-bg: var(--sc-bg);
  --bs-border-color: var(--sc-line);
  --bs-border-radius: 2px;
  --bs-border-radius-sm: 2px;
  --bs-border-radius-lg: 2px;
  --bs-link-color: var(--sc-accent);
  --bs-link-color-rgb: 168, 122, 60;
  --bs-link-hover-color: var(--sc-accent-dark);
  --bs-link-hover-color-rgb: 126, 90, 42;
  --bs-focus-ring-color: rgba(168, 122, 60, .3);
}

body {
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

/* ---------- Type ---------- */
.font-serif { font-family: var(--sc-serif); font-weight: 400; }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--sc-serif); font-weight: 400; letter-spacing: -0.01em; }
.display-hero { font-size: clamp(2.5rem, 4.3vw, 3.875rem); line-height: 1.05; text-wrap: balance; }
.section-title { font-size: clamp(1.875rem, 2.9vw, 2.625rem); line-height: 1.12; text-wrap: balance; }
.lead-copy { font-size: 1.0625rem; line-height: 1.6; color: var(--sc-text); text-wrap: pretty; }
.text-body-soft { color: var(--sc-text) !important; }
.text-muted-sc { color: var(--sc-muted) !important; }
.text-ink { color: var(--sc-ink) !important; }
.text-accent { color: var(--sc-accent) !important; }
.fw-semibold { font-weight: 600 !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sc-accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sc-accent);
}

.label-caps {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sc-muted);
}

/* ---------- Surfaces ---------- */
.bg-sc { background: var(--sc-bg) !important; }
.bg-surface { background: var(--sc-surface) !important; }
.bg-sand { background: var(--sc-sand) !important; }
.bg-ink { background: var(--sc-ink) !important; }
.bg-dark-sc { background: var(--sc-dark) !important; }
.bg-darker-sc { background: var(--sc-darker) !important; }
.border-sc { border-color: var(--sc-line) !important; }
.section { padding-block: 4.5rem; }
@media (max-width: 767.98px) { .section { padding-block: 2.75rem; } }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; letter-spacing: .01em; padding: .95rem 1.75rem; }
.btn-ink {
  --bs-btn-color: #fff; --bs-btn-bg: var(--sc-ink); --bs-btn-border-color: var(--sc-ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--sc-ink); --bs-btn-disabled-border-color: var(--sc-ink);
}
.btn-accent {
  --bs-btn-color: #fff; --bs-btn-bg: var(--sc-accent); --bs-btn-border-color: var(--sc-accent);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--sc-accent-dark); --bs-btn-hover-border-color: var(--sc-accent-dark);
  --bs-btn-active-bg: var(--sc-accent-dark); --bs-btn-active-border-color: var(--sc-accent-dark); --bs-btn-active-color: #fff;
  font-weight: 600;
}
.btn-outline-sc {
  --bs-btn-color: var(--sc-ink); --bs-btn-bg: #fff; --bs-btn-border-color: #D2CCC2;
  --bs-btn-hover-color: var(--sc-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--sc-ink);
  --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--sc-ink); --bs-btn-active-border-color: var(--sc-ink);
}
.btn-outline-ink {
  --bs-btn-color: var(--sc-ink); --bs-btn-border-color: var(--sc-ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--sc-ink); --bs-btn-hover-border-color: var(--sc-ink);
}
.btn svg { flex-shrink: 0; }

/* ---------- Navbar ---------- */
.navbar-sc { background: rgba(247, 245, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sc-line); min-height: 78px; }
.navbar-sc .navbar-brand img { height: 36px; width: auto; }
.navbar-sc .nav-link { font-size: .875rem; color: var(--sc-text); padding-inline: 1rem !important; }
.navbar-sc .nav-link:hover { color: var(--sc-ink); }
.nav-phone small { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-muted); }
.nav-phone a { font-weight: 600; color: var(--sc-ink); text-decoration: none; }
@media (max-width: 991.98px) { .navbar-sc .navbar-brand img { height: 28px; } }

/* ---------- Hero ---------- */
.hero { padding-block: 4.25rem 3.5rem; }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; line-height: 1.45; color: var(--sc-ink-soft); }
.hero-points li + li { margin-top: .7rem; }
.hero-points li::before { content: ""; width: 5px; height: 5px; background: var(--sc-accent); margin-top: .45rem; flex-shrink: 0; }
@media (max-width: 767.98px) { .hero { padding-block: 2rem 1.75rem; } }

/* Hero order: copy → demo → actions on mobile; copy + actions left, demo right on desktop */
.hero-grid { display: grid; gap: 1.75rem; grid-template-areas: "copy" "demo" "actions"; }
.hero-copy { grid-area: copy; }
.hero-demo { grid-area: demo; min-width: 0; }
.hero-actions { grid-area: actions; }
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "copy demo" "actions demo";
    column-gap: 4rem;
    row-gap: 1.75rem;
    align-items: start;
  }
}

/* ---------- Glass demo (CSS room + switchable pane) ---------- */
.glass-demo { position: relative; width: 100%; aspect-ratio: 3 / 2; background: #17181B; border-radius: 2px; overflow: hidden; isolation: isolate; }
.glass-demo > * { position: absolute; }
.gd-wall { inset: 0; background: linear-gradient(180deg, #23252A 0%, #1D1F23 62%, #17181B 100%); }
.gd-ceiling { top: 0; left: 0; right: 0; height: 12.74%; background: #262930; }
.gd-window { top: 22.64%; left: 10.38%; width: 30.82%; height: 41.51%; background: linear-gradient(165deg, #B9C4C9 0%, #8D9BA3 48%, #6E7C86 100%); }
.gd-window::before { content: ""; position: absolute; top: 0; bottom: 0; left: 49%; width: 2px; background: #2A2D33; }
.gd-window::after { content: ""; position: absolute; left: 0; right: 0; top: 49%; height: 2px; background: #2A2D33; }
.gd-floor { bottom: 0; left: 0; right: 0; height: 34.91%; background: linear-gradient(180deg, #2C2F35 0%, #1B1D21 100%); }
.gd-cord { top: 12.74%; width: 1px; height: 14.62%; background: #3A3E45; }
.gd-shade { top: 26.42%; width: 5.03%; height: 2.83%; border-radius: 0 0 16px 16px; background: #C7A86A; }
.gd-glow { top: 28.3%; width: 11.32%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(214,180,112,.34) 0%, rgba(214,180,112,0) 70%); }
.gd-table { bottom: 17.92%; left: 30.82%; width: 53.46%; height: 14.62%; border-radius: 50%; background: linear-gradient(180deg, #3C4047 0%, #2A2D33 100%); }
.gd-table-sheen { bottom: 24.53%; left: 33.02%; width: 49.06%; height: 4.25%; border-radius: 50%; background: rgba(255,255,255,.05); }
.gd-chair { bottom: 26.42%; width: 7.23%; height: 8.02%; border-radius: 6px 6px 2px 2px; background: #34383F; }
.gd-chair-front { bottom: 9.43%; width: 8.18%; height: 9.43%; border-radius: 6px; background: #41464E; }
.gd-pot { bottom: 13.68%; right: 9.75%; width: 5.35%; height: 8.96%; border-radius: 3px 3px 8px 8px; background: #3A3E45; }
.gd-plant { bottom: 21.7%; right: 7.23%; width: 10.38%; height: 18.4%; }

/* The switchable pane */
.gd-frost {
  inset: 0;
  -webkit-backdrop-filter: blur(17px) saturate(.8);
  backdrop-filter: blur(17px) saturate(.8);
  background: linear-gradient(178deg, rgba(252,251,249,.80) 0%, rgba(244,242,238,.74) 100%);
  transition: opacity 480ms cubic-bezier(.4, 0, .2, 1);
  opacity: 1;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gd-frost { background: rgba(244, 242, 238, .96); }
}
.glass-demo.is-clear .gd-frost { opacity: 0; }

.gd-mullion { top: 0; bottom: 0; width: 3px; background: rgba(18,19,21,.55); }
.gd-rail { left: 0; right: 0; height: 1.65%; background: #101114; }
.gd-sheen { top: 0; left: 0; width: 38%; height: 100%; background: linear-gradient(112deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,0) 62%); pointer-events: none; }

.gd-chip { top: 6%; left: 4%; display: flex; align-items: center; gap: .5rem; background: rgba(16,17,20,.74); padding: .5rem .8rem; border-radius: 2px; }
.gd-chip span { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: #F3F1ED; font-weight: 600; }
.gd-led { position: static; width: 6px; height: 6px; border-radius: 50%; background: #C96A4E; transition: background 300ms; }
.glass-demo.is-clear .gd-led { background: #5FBF7E; }

/* Segmented toggle */
.demo-toggle { display: inline-flex; background: #EBE7E0; padding: 4px; gap: 4px; border-radius: 2px; }
.demo-toggle button {
  border: 0; background: transparent; color: #6E6F74;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  padding: .7rem 1.9rem; min-height: 44px; border-radius: 2px;
  transition: background 200ms ease, color 200ms ease;
}
.demo-toggle button[aria-pressed="true"] { background: var(--sc-ink); color: #fff; }
.demo-toggle button:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
@media (max-width: 575.98px) { .demo-toggle { display: flex; } .demo-toggle button { flex: 1; } }

/* ---------- Lead form band ---------- */
.form-band { background: var(--sc-ink); padding-block: 1.9rem; }
.form-dark .form-label { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #8C8D92; margin-bottom: .35rem; }
.form-dark .form-control, .form-dark .form-select {
  background-color: #202126; border-color: #2E3036; color: #F3F1ED; padding: .8rem .85rem; font-size: .9rem;
}
.form-dark .form-control::placeholder { color: #6A6B70; }
.form-dark .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238C8D92' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-dark .form-control:focus, .form-dark .form-select:focus { background-color: #25262B; border-color: var(--sc-accent); color: #fff; box-shadow: 0 0 0 .2rem rgba(168,122,60,.25); }
.form-dark .invalid-feedback { color: #F0A58F; }
.form-dark .form-control.is-invalid, .form-dark .form-select.is-invalid { border-color: #D9745A; }

.form-light .form-label { font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sc-muted); margin-bottom: .35rem; }
.form-light .form-control, .form-light .form-select { border-color: #DDD7CD; padding: .8rem .85rem; font-size: .9rem; }
.form-light .form-control:focus, .form-light .form-select:focus { border-color: var(--sc-accent); box-shadow: 0 0 0 .2rem rgba(168,122,60,.2); }

.form-success { display: none; }
.lead-form.is-sent .form-fields { display: none; }
.lead-form.is-sent .form-success { display: block; }

/* ---------- Trust bar ---------- */
.stat-num { font-family: var(--sc-serif); font-size: clamp(1.875rem, 3vw, 2.5rem); line-height: 1; color: var(--sc-ink); }
.stat-label { font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase; color: var(--sc-muted); font-weight: 600; margin-top: .35rem; }
.cert-badge { border: 1px solid #D8D2C8; padding: .4rem .7rem; font-size: .6875rem; color: var(--sc-text); letter-spacing: .04em; }
@media (min-width: 992px) { .trust-col + .trust-col { border-left: 1px solid var(--sc-line); } }

/* ---------- Cards ---------- */
.card-sc { background: #fff; border: 1px solid #E8E3DB; border-radius: 2px; padding: 2rem; height: 100%; }
.card-sc h3 { font-family: var(--sc-sans); font-size: 1.1875rem; font-weight: 600; letter-spacing: 0; margin: .95rem 0 .75rem; }
.card-sc p { font-size: .9rem; line-height: 1.62; color: var(--sc-text); margin: 0; }
.spec-strip { background: var(--sc-sand); padding: 1.25rem 2rem; font-size: .85rem; color: var(--sc-ink-soft); }
.spec-strip strong { font-weight: 600; }

/* Applications grid: hairline dividers */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #E8E3DB; border: 1px solid #E8E3DB; }
.app-grid > div { background: #fff; padding: 1.9rem; }
.app-grid h3 { font-family: var(--sc-sans); font-size: 1.09rem; font-weight: 600; letter-spacing: 0; margin: .8rem 0 .6rem; }
.app-grid p { font-size: .875rem; line-height: 1.6; color: var(--sc-text); margin: 0; }
@media (max-width: 991.98px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .app-grid { grid-template-columns: 1fr; }
  .app-grid > div { display: grid; grid-template-columns: 24px 1fr; column-gap: 1rem; padding: 1.15rem 1.25rem; }
  .app-grid > div svg { grid-row: span 2; margin-top: 2px; }
  .app-grid h3 { margin: 0 0 .3rem; }
}

/* ---------- Pricing ---------- */
.price-card { background: #fff; border: 1px solid #E8E3DB; padding: 2.1rem; height: 100%; display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.price-card .tier-name { font-size: 1.3rem; font-weight: 600; margin-top: .4rem; }
.price-card .price { font-family: var(--sc-serif); font-size: 2.375rem; line-height: 1; }
.price-card .per { font-size: .875rem; color: var(--sc-muted); }
.price-card hr { margin: 0; border-color: #E8E3DB; opacity: 1; }
.price-card p { font-size: .875rem; line-height: 1.62; color: var(--sc-text); margin: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--sc-ink-soft); }
.price-card ul li + li { margin-top: .55rem; }
.price-card ul li::before { content: "\2014\2002"; }
.price-card.featured { background: var(--sc-ink); border-color: var(--sc-ink); color: #fff; }
.price-card.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sc-accent); }
.price-card.featured .per { color: #9A9BA0; }
.price-card.featured hr { border-color: #2E3036; }
.price-card.featured p { color: #B4B5BA; }
.price-card.featured ul { color: #DDDEE1; }

/* ---------- Specs table ---------- */
.spec-table { width: 100%; margin: 0; }
.spec-table th, .spec-table td { padding: .95rem 0; border-bottom: 1px solid var(--sc-line-soft); font-size: .9rem; }
.spec-table th { font-weight: 400; color: var(--sc-text); }
.spec-table td { font-weight: 600; text-align: right; color: var(--sc-ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Projects ---------- */
.project-photo { aspect-ratio: 4 / 3; background: #E7E2DA; border: 1px dashed #C8C1B5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-photo:has(img) { border: 0; margin-bottom: 0; }
.project-photo.is-switchable { position: relative; display: block; }
.project-photo.is-switchable img { position: absolute; inset: 0; transition: opacity 450ms ease; }
.project-photo.is-switchable .pp-private { opacity: 0; }
.project-photo.is-switchable[data-state="private"] .pp-private { opacity: 1; }
.pp-switch {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .5rem .9rem .5rem .6rem; border: 0; border-radius: 2px;
  background: rgba(16,17,20,.74); color: #F3F1ED; font-size: .8rem; font-weight: 600;
}
.pp-knob { position: relative; width: 30px; height: 16px; border-radius: 8px; background: #5A5B60; transition: background 200ms; }
.pp-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform 200ms; }
.pp-switch[aria-pressed="true"] .pp-knob { background: var(--sc-accent); }
.pp-switch[aria-pressed="true"] .pp-knob::after { transform: translateX(14px); }
.pp-switch:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .project-photo.is-switchable img, .pp-knob, .pp-knob::after { transition: none; } }
.project-photo span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #96908A; font-weight: 600; }

/* ---------- Process ---------- */
.step-num { font-family: var(--sc-serif); font-size: 1.875rem; color: var(--sc-accent); line-height: 1; }
.step-rule { height: 1px; background: #D6D0C6; margin-block: .7rem; }
.step h3 { font-family: var(--sc-sans); font-size: .97rem; font-weight: 600; letter-spacing: 0; margin-bottom: .45rem; }
.step p { font-size: .85rem; line-height: 1.55; color: var(--sc-text); margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq .accordion-item { background: transparent; border: 0; border-top: 1px solid var(--sc-line); border-radius: 0; }
.faq .accordion-item:last-child { border-bottom: 1px solid var(--sc-line); }
.faq .accordion-button { background: transparent; box-shadow: none; padding: 1.35rem 0; font-size: 1.09rem; font-weight: 600; color: var(--sc-ink); }
.faq .accordion-button:not(.collapsed) { color: var(--sc-ink); }
.faq .accordion-button:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.faq .accordion-button::after { --bs-accordion-btn-icon-width: .9rem; }
.faq .accordion-body { padding: 0 0 1.35rem; font-size: .9rem; line-height: 1.62; color: var(--sc-text); max-width: 46rem; }

/* ---------- Final CTA ---------- */
.final-cta h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.contact-line small { display: block; font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: #7C7D82; font-weight: 600; }
.contact-line a { font-size: 1.2rem; font-weight: 600; color: #fff; text-decoration: none; }
.form-card { background: #fff; padding: 2.1rem; }

/* ---------- Footer ---------- */
.footer img { height: 30px; width: auto; }
.footer, .footer a { font-size: .8rem; color: #6E6F74; text-decoration: none; }
.footer a:hover { color: #B4B5BA; }

/* ---------- Mobile sticky action bar ---------- */
.action-bar { display: flex; border-top: 1px solid #D6D0C6; box-shadow: 0 -6px 20px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.action-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 62px; font-weight: 600; text-decoration: none; }
.action-bar .ab-call { background: #fff; color: var(--sc-ink); }
.action-bar .ab-wa { background: var(--sc-ink); color: #fff; }
@media (max-width: 991.98px) { body { padding-bottom: 62px; } }

@media (prefers-reduced-motion: reduce) {
  .gd-frost, .gd-led, .demo-toggle button { transition: none; }
}
