/* Core theme */
:root {
  --bg: #080b0e;
  --bg-soft: #0f141a;
  --surface: #141b22;
  --surface-2: #1a232d;
  --text: #f6f5f2;
  --muted: #a9b2be;
  --line: #283341;
  --accent: #d5a44b;
  --accent-2: #b4832f;
  --ok: #63d28a;
  --danger: #ff6d6d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --container: min(1140px, 92vw);
  --font-body: "Sora", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(213, 164, 75, 0.16), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(76, 118, 170, 0.18), transparent 25%),
    linear-gradient(160deg, #070a0d 0%, #0d1218 45%, #090d12 100%);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 14, 0.78);
  border-bottom: 1px solid rgba(213, 164, 75, 0.15);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
  gap: 1rem;
  position: relative;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 26, 34, 0.9);
  color: var(--text);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

.hamburger {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.38rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.88rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.94rem;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Force a readable, high-contrast CTA in the top navigation */
.topbar .nav-links a[href="quote.html"] {
  background: linear-gradient(135deg, #f3c56d, #d9a247);
  color: #15100a !important;
  border: 1px solid rgba(255, 221, 160, 0.55);
  font-weight: 800;
}

.topbar .nav-links a[href="quote.html"]:hover,
.topbar .nav-links a[href="quote.html"].active {
  background: linear-gradient(135deg, #ffd992, #e0ab4a);
  color: #100c07 !important;
  box-shadow: 0 10px 22px rgba(214, 164, 74, 0.35);
}

.btn,
button,
input[type="submit"] {
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.24s ease;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent), #f0bf68);
  color: #20160d;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(213, 164, 75, 0.34);
}

.nav-links .btn-primary,
.nav-links .btn-primary:hover,
.nav-links .btn-primary.active {
  color: #1f140c;
}

.btn-outline {
  border-color: var(--line);
  background: rgba(17, 23, 30, 0.7);
}

.btn-outline:hover {
  border-color: rgba(213, 164, 75, 0.5);
}

.hero {
  padding: 5.2rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 1.6rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.hero-copy p {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-card {
  background: linear-gradient(165deg, rgba(28, 36, 46, 0.92), rgba(10, 13, 17, 0.95));
  border: 1px solid rgba(213, 164, 75, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual {
  min-height: 290px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 18, 0.84), rgba(10, 14, 18, 0.12));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 1rem;
}

.hero-stat {
  border-radius: 12px;
  background: rgba(19, 25, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.8rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}

.section-lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.services-grid,
.cards-3 {
  grid-template-columns: 1fr;
}

.card {
  padding: 1.05rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(26, 34, 42, 0.9), rgba(15, 20, 26, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card h3,
.card h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  border: 1px solid rgba(213, 164, 75, 0.48);
  color: var(--accent);
  font-size: 0.74rem;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after {
  display: grid;
  gap: 1rem;
}

.ba-slider {
  position: relative;
  width: 100%;
  height: min(58vw, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-after {
  width: 50%;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ba-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.split-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.why-list {
  display: grid;
  gap: 0.9rem;
}

.why-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(16, 21, 28, 0.76);
}

.why-item strong {
  display: block;
}

.kicker {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.testimonial {
  position: relative;
}

.testimonial blockquote {
  margin: 0;
  font-size: 0.97rem;
  color: #d7dee7;
}

.testimonial cite {
  display: block;
  margin-top: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

.cta-panel {
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(213, 164, 75, 0.35);
  background: linear-gradient(165deg, rgba(26, 20, 12, 0.9), rgba(15, 11, 7, 0.98));
}

.faq-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: rgba(15, 20, 26, 0.82);
}

.faq-item summary {
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0 1.5rem;
  background:
    radial-gradient(circle at 12% 8%, rgba(213, 164, 75, 0.14), transparent 25%),
    linear-gradient(180deg, rgba(12, 17, 23, 0.92), rgba(7, 10, 14, 0.98));
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  gap: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(19, 26, 36, 0.9), rgba(9, 13, 18, 0.92));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
}

.footer-top::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -190px;
  top: -200px;
  background: radial-gradient(circle, rgba(213, 164, 75, 0.2), transparent 70%);
  pointer-events: none;
}

.footer-intro h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  line-height: 1.18;
  color: var(--text);
  font-family: var(--font-display);
}

.footer-intro,
.footer-columns {
  position: relative;
  z-index: 1;
}

.footer-intro p {
  margin: 0.7rem 0 0;
  max-width: 55ch;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.footer-badges span {
  border-radius: 999px;
  padding: 0.33rem 0.62rem;
  background: rgba(213, 164, 75, 0.14);
  border: 1px solid rgba(213, 164, 75, 0.38);
  color: #edd1a0;
  font-size: 0.78rem;
}

.footer-columns {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.footer-col h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: #c8d0db;
}

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

.pill-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pill-links a {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
}

.footer-bottom {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 0.9rem;
}

.footer-cta {
  border: 1px solid rgba(213, 164, 75, 0.45);
  color: #f2d4a1;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.footer-credit {
  margin: 0;
  color: #bfc8d4;
  font-size: 0.84rem;
}

.footer-credit a {
  color: #f2d4a1;
  font-weight: 700;
}

.footer-credit a:hover {
  color: #ffdf9b;
}

.page-header {
  padding: 3.7rem 0 1.3rem;
}

.page-header p {
  color: var(--muted);
  max-width: 68ch;
}

.service-item {
  overflow: hidden;
}

.inline-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.inline-benefits span {
  background: rgba(213, 164, 75, 0.16);
  border: 1px solid rgba(213, 164, 75, 0.32);
  color: #edd1a0;
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.78rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  background: rgba(5, 8, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
}

.process {
  counter-reset: process;
}

.process .card {
  position: relative;
  padding-top: 2.3rem;
}

.process .card::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(213, 164, 75, 0.55);
  color: var(--accent);
  font-family: var(--font-display);
  display: grid;
  place-items: center;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(16, 22, 29, 0.82);
}

.map-wrap iframe {
  border: 0;
  width: 100%;
  min-height: 270px;
  border-radius: 14px;
  filter: grayscale(1) invert(0.92) contrast(0.95) hue-rotate(175deg);
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

label {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #2f3b49;
  background: #0f141b;
  color: var(--text);
  padding: 0.72rem 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(213, 164, 75, 0.19);
}

.error-msg {
  margin-top: 0.25rem;
  color: var(--danger);
  font-size: 0.78rem;
}

.quote-layout {
  display: grid;
  gap: 1rem;
}

.quote-progress {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.quote-progress button {
  border: 1px solid #324152;
  border-radius: 999px;
  background: #111720;
  color: var(--muted);
  font-size: 0.75rem;
  padding: 0.33rem 0.62rem;
}

.quote-progress button.active {
  border-color: rgba(213, 164, 75, 0.65);
  color: var(--text);
  background: rgba(213, 164, 75, 0.18);
}

.quote-step {
  display: none;
}

.quote-step.active {
  display: block;
  animation: fade-in 0.35s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.check-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(14, 19, 26, 0.9);
  padding: 0.62rem;
}

.check-item input {
  width: auto;
}

.upload-preview {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.upload-preview img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.review-list li {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.72rem;
  background: rgba(12, 17, 24, 0.84);
}

.success-state {
  display: none;
  border: 1px solid rgba(99, 210, 138, 0.45);
  background: rgba(99, 210, 138, 0.09);
  color: #bff3d2;
  border-radius: 12px;
  padding: 0.9rem;
  margin-top: 1rem;
}

.sticky-quote {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 45;
}

@media (max-width: 800px) {
  .hero {
    padding: 3.8rem 0 2.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(12, 17, 24, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.7rem;
    box-shadow: var(--shadow);
  }

  .topbar.nav-open .nav-links,
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 0.65rem;
    border-radius: 8px;
  }

  .topbar .nav-links a[href="quote.html"] {
    text-align: center;
    margin-top: 0.2rem;
  }

  .quote-progress {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
  }

  .sticky-quote {
    right: 0.8rem;
    bottom: 0.9rem;
    padding-inline: 1rem;
    font-size: 0.9rem;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 0.55rem;
  }
}

@media (min-width: 760px) {
  .hero-grid,
  .cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .services-grid,
  .cards-3,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .quote-layout {
    grid-template-columns: 1.15fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

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

  .form-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
