/* ==========================================================
   Styled Renovations — dark modern theme
   Plain CSS, mobile-first, no frameworks.
   ========================================================== */

:root {
  --bg: #131210;
  --bg-soft: #1a1815;
  --card: #201d18;
  --card-hover: #262218;
  --line: #2f2a22;
  --text: #f3eee3;
  --muted: #ab9f8c;
  --accent: #d9a253;
  --accent-bright: #e7b76b;
  --accent-ink: #1c1408;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

a { color: var(--accent); }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }

section { padding: 72px 0; }

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-bottom: 16px; color: #fbf8f1; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; font-size: 1.03rem; }

.alt { background: var(--bg-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 8px 26px rgba(217, 162, 83, 0.28);
}
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 10px 30px rgba(217, 162, 83, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(243, 238, 227, 0.4);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn svg { flex: 0 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 18, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { flex: 0 0 auto; }
.brand-name { font-size: 1.2rem; font-weight: 700; color: #fbf8f1; white-space: nowrap; }
.brand-name span { color: var(--accent); }
.brand-tag { display: block; font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.main-nav { display: none; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.02rem; }
.header-phone small { display: block; font-weight: 600; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.header-cta .btn { padding: 11px 22px; font-size: 0.93rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.nav-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block;
  padding: 15px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.active { color: var(--accent); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-phone { display: block; text-align: right; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: url("../images/arches-banner.jpg") center / cover no-repeat;
  filter: blur(10px) brightness(0.22) saturate(0.85);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19, 18, 16, 0.45), rgba(19, 18, 16, 0.85) 85%, var(--bg));
}

.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
}

.hero h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: 20px; color: #fdfbf6; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.13rem; color: #c9c0af; max-width: 540px; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-points { list-style: none; display: grid; gap: 11px; }
.hero-points li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: #c9c0af; }
.hero-points .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(217, 162, 83, 0.25);
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(19, 18, 16, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 162, 83, 0.35);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fdfbf6;
}
.hero-badge span { display: block; color: var(--accent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/arches-banner.jpg") center 30% / cover no-repeat;
  filter: brightness(0.3) saturate(0.9);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19, 18, 16, 0.55), var(--bg));
}
.page-banner h1 { font-size: clamp(2rem, 5.5vw, 3rem); color: #fdfbf6; margin-bottom: 12px; }
.page-banner p { color: #c9c0af; max-width: 640px; font-size: 1.1rem; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 20px 0; }
.trust-strip .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 42px;
  font-weight: 600; font-size: 0.95rem; text-align: center; color: #c9c0af;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; }
.trust-strip svg { color: var(--accent); }

/* ---------- service cards ---------- */
.services-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  display: block;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(217, 162, 83, 0.45); background: var(--card-hover); }

.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(217, 162, 83, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; color: #fbf8f1; }
.service-card p { color: var(--muted); font-size: 0.97rem; }
.service-card .card-link { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 700; font-size: 0.92rem; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-family: "Fraunces", Georgia, serif;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fbf8f1; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding: 15px 18px; font-weight: 600; font-size: 0.95rem; color: var(--muted); }

/* ---------- service detail rows (services page) ---------- */
.service-row {
  display: grid;
  gap: 30px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-of-type { border-bottom: none; }
@media (min-width: 880px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .service-row.flip .service-media { order: 2; }
}
.service-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.media-pair img { height: 250px; }
@media (max-width: 560px) { .media-pair img { height: 160px; } }

.service-copy h2 { font-size: 1.7rem; margin-bottom: 12px; color: #fbf8f1; }
.service-copy p { color: var(--muted); margin-bottom: 14px; }
.service-copy ul { list-style: none; margin: 0 0 22px; display: grid; gap: 9px; }
.service-copy li { display: flex; gap: 10px; align-items: flex-start; color: #c9c0af; font-size: 0.98rem; }
.service-copy li::before { content: "—"; color: var(--accent); font-weight: 700; }

/* ---------- why us ---------- */
.why-grid { display: grid; gap: 22px; }
@media (min-width: 820px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.why-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(217, 162, 83, 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 6px; color: #fbf8f1; }
.why-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- service areas ---------- */
.areas-flex { display: grid; gap: 34px; align-items: start; }
@media (min-width: 880px) { .areas-flex { grid-template-columns: 1fr 1fr; } }

.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips span {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: #c9c0af;
  font-weight: 600;
  font-size: 0.92rem;
}
.area-chips span strong { color: var(--accent); font-weight: 700; }

/* ---------- quote form ---------- */
.quote-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 0.9fr 1.1fr; } }

.quote-side h2 { font-size: clamp(1.75rem, 4.5vw, 2.35rem); margin-bottom: 16px; color: #fbf8f1; }
.quote-side > p { color: var(--muted); margin-bottom: 24px; }

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
}
.contact-card a { color: #fbf8f1; font-weight: 800; font-size: 1.2rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }
.contact-card small { display: block; color: var(--muted); font-weight: 600; }
.contact-card .why-icon { margin: 0; }

.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.quote-form h3 { font-size: 1.35rem; margin-bottom: 4px; color: #fbf8f1; }
.quote-form .form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; color: #dcd4c4; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6757; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 104px; resize: vertical; }

.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.quote-form .btn { width: 100%; margin-top: 6px; padding: 17px; font-size: 1.08rem; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- reviews ---------- */
.review-empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 34px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.review-empty .stars { color: var(--accent); font-size: 1.6rem; letter-spacing: 6px; margin-bottom: 18px; }
.review-empty h2 { font-size: 1.5rem; color: #fbf8f1; margin-bottom: 12px; }
.review-empty p { color: var(--muted); margin-bottom: 10px; }

.review-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 820px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.review-card .stars { color: var(--accent); letter-spacing: 4px; margin-bottom: 12px; }
.review-card p { color: #c9c0af; font-size: 0.97rem; margin-bottom: 16px; }
.review-card footer { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.review-card footer span { display: block; font-weight: 600; color: #7d7462; font-size: 0.82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(217, 162, 83, 0.16), rgba(217, 162, 83, 0.05));
  border-block: 1px solid rgba(217, 162, 83, 0.25);
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: #fbf8f1; margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.cta-band .hero-actions { justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: #0e0d0b; border-top: 1px solid var(--line); color: var(--muted); padding: 50px 0 116px; font-size: 0.94rem; }
@media (min-width: 700px) { .site-footer { padding-bottom: 50px; } }

.footer-grid { display: grid; gap: 30px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: start; } }

.site-footer .brand-name { color: #fbf8f1; font-size: 1.15rem; }
.site-footer h4 { color: #dcd4c4; font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.site-footer a { color: var(--accent); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* ---------- sticky mobile call bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 10px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
.mobile-bar .bar-call { background: var(--accent); color: var(--accent-ink); }
.mobile-bar .bar-quote { background: #262219; color: #fbf8f1; }
@media (min-width: 700px) { .mobile-bar { display: none; } }

/* ---------- thank-you page ---------- */
.thanks-wrap { min-height: 68vh; display: flex; align-items: center; }
.thanks-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px 36px;
  text-align: center;
  max-width: 560px;
  margin: 48px auto;
}
.thanks-card .tick-big {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.thanks-card h1 { font-size: 2rem; margin-bottom: 12px; color: #fbf8f1; }
.thanks-card p { color: var(--muted); margin-bottom: 28px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .gallery-item img { transition: none; }
}
