/* ==========================================================================
   Patriot Peak Roofing Co. — Starter Demo
   Color scheme: deep navy + steel + bold amber accent
   ========================================================================== */

:root {
  --navy: #0a1a2f;
  --navy-700: #0f2540;
  --navy-600: #16365c;
  --steel: #5b7290;
  --slate: #cdd7e2;
  --cloud: #f4f7fb;
  --white: #ffffff;
  --amber: #f5a623;
  --amber-600: #d98c0c;
  --ink: #0c1622;
  --shadow: 0 18px 40px -18px rgba(8, 20, 38, 0.45);
  --radius: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { color: #3a4a5d; }

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

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

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 14px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--amber);
}

.lead { font-size: 1.12rem; max-width: 620px; }

/* ============================ Buttons ============================ */
.btn {
  --bg: var(--amber);
  --fg: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(245,166,35,0.6); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); box-shadow: none; border-color: var(--white); }

.btn--call {
  --bg: var(--white);
  --fg: var(--navy);
}
.btn--call:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }

.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

.btn .pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2ec27e;
  box-shadow: 0 0 0 0 rgba(46,194,126,0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,194,126,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(46,194,126,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,194,126,0); }
}

/* ============================ Header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 26, 47, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -16px rgba(0,0,0,0.6); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber), var(--amber-600));
  border-radius: 11px;
  color: var(--navy);
  box-shadow: 0 8px 20px -8px rgba(245,166,35,0.7);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-size: 1.18rem; line-height: 1; }
.brand__name span { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; color: var(--amber); margin-top: 4px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav__links a {
  color: var(--slate);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--white); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block; height: 2px; width: 26px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(245,166,35,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 55%, #07131f 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--amber); }
.hero p { color: #c6d3e2; font-size: 1.15rem; max-width: 540px; margin: 22px 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__badge { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #d7e1ee; font-weight: 600; }
.hero__badge svg { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__roof {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--amber-600));
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}
.hero__roof::before,
.hero__roof::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.08) 0 14px, transparent 14px 28px);
}
.hero__roof span {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(0deg, rgba(10,26,47,0.35), transparent);
}
.hero__stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.hero__stat { text-align: center; }
.hero__stat b { display: block; font-size: 1.7rem; color: var(--white); }
.hero__stat small { color: #aebccd; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Floating action stack (Call Now + Book Appointment) */
.float-actions {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.float-btn {
  justify-content: center;
  box-shadow: 0 16px 34px -14px rgba(0,0,0,0.45);
}
.float-btn--call { box-shadow: 0 18px 40px -14px rgba(245,166,35,0.7); }
.float-btn--book { --bg: var(--navy); --fg: #fff; }
.float-btn--book:hover { box-shadow: 0 16px 34px -12px rgba(10,26,47,0.6); }

/* ============================ Marquee ============================ */
.marquee {
  background: var(--navy-700);
  color: var(--slate);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 50px;
  animation: marquee 26s linear infinite;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee__track span::after { content: "★"; color: var(--amber); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ Reveal animation ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ============================ Section heading ============================ */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

/* ============================ Cards grid ============================ */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #d3deea; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(245,166,35,0.16), rgba(245,166,35,0.05));
  color: var(--amber-600);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.97rem; }

/* ============================ Feature split ============================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media {
  border-radius: 20px;
  min-height: 380px;
  background:
    radial-gradient(400px 200px at 30% 20%, rgba(245,166,35,0.25), transparent 70%),
    linear-gradient(160deg, var(--navy-600), var(--navy));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split__media .badge-float {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 16px 34px -16px rgba(0,0,0,0.5);
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--navy);
}
.split__media .badge-float small { display: block; font-weight: 600; color: var(--steel); font-size: 0.72rem; }
.split__media .badge-float svg { width: 28px; height: 28px; color: var(--amber-600); }
.bf-1 { top: 26px; left: 26px; animation: floaty 7s ease-in-out infinite; }
.bf-2 { bottom: 26px; right: 26px; animation: floaty 5.5s ease-in-out infinite reverse; }

.checklist { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: #2c3a4c; }
.checklist li svg { width: 22px; height: 22px; color: #2ec27e; flex-shrink: 0; margin-top: 2px; }

/* ============================ Stats band ============================ */
.stats-band {
  background:
    radial-gradient(800px 400px at 90% 110%, rgba(245,166,35,0.16), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-700));
  color: var(--white);
}
.stats-band .grid--4 { gap: 20px; }
.stat {
  text-align: center;
  padding: 28px 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.stat b { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--amber); display: block; }
.stat span { color: #c6d3e2; font-weight: 600; font-size: 0.9rem; }

/* ============================ Price range ============================ */
.price-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured {
  background: linear-gradient(165deg, var(--navy), var(--navy-700));
  color: var(--white);
  border-color: transparent;
  position: relative;
}
.price-card.featured h3 { color: var(--white); }
.price-card.featured p { color: #c6d3e2; }
.price-card.featured .price-range { color: var(--amber); }
.price-card.featured .price-note { color: #aebccd; }
.price-card .tag {
  position: absolute; top: 20px; right: 20px;
  background: var(--amber); color: var(--navy);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.price-card h3 { margin-bottom: 6px; }
.price-card > p { font-size: 0.95rem; margin-bottom: 18px; }
.price-range { font-size: 2.1rem; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.price-note { font-size: 0.82rem; color: var(--steel); margin-bottom: 20px; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.price-card ul li { display: flex; gap: 10px; font-size: 0.94rem; }
.price-card ul li svg { width: 18px; height: 18px; color: var(--amber-600); flex-shrink: 0; margin-top: 4px; }
.price-card.featured ul li svg { color: var(--amber); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ============================ Gallery ============================ */
.gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item .ph {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover .ph { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7,19,31,0.9), transparent);
  font-weight: 700;
  transform: translateY(8px);
  opacity: 0.9;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.gallery-item .cap small { display: block; font-weight: 600; color: var(--amber); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.gallery-item:hover .cap { transform: none; opacity: 1; }
.gallery-item.tall { grid-row: span 2; }

/* gradient placeholders for gallery */
.ph-1 { background: linear-gradient(135deg,#1d3a5f,#0a1a2f); }
.ph-2 { background: linear-gradient(135deg,#d98c0c,#f5a623); }
.ph-3 { background: linear-gradient(135deg,#16365c,#5b7290); }
.ph-4 { background: linear-gradient(135deg,#0f2540,#1d3a5f); }
.ph-5 { background: linear-gradient(135deg,#f5a623,#16365c); }
.ph-6 { background: linear-gradient(135deg,#5b7290,#0a1a2f); }
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px);
}

/* ============================ Testimonials ============================ */
.quote-card {
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.quote-card p { font-style: italic; color: #2c3a4c; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-author .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--amber-600));
  display: grid; place-items: center; color: var(--white); font-weight: 800;
}
.quote-author b { display: block; color: var(--navy); font-size: 0.95rem; }
.quote-author small { color: var(--steel); }

/* ============================ About / team ============================ */
.about-owner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.owner-photo {
  border-radius: 20px;
  min-height: 420px;
  background:
    radial-gradient(300px 160px at 50% 25%, rgba(245,166,35,0.3), transparent 70%),
    linear-gradient(160deg, var(--navy-600), var(--navy));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.owner-photo .initials {
  font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.14);
}
.owner-photo .ribbon {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(7,19,31,0.92), transparent);
  color: var(--white);
}
.owner-photo .ribbon b { font-size: 1.2rem; }
.owner-photo .ribbon small { color: var(--amber); font-weight: 700; letter-spacing: 0.06em; }

/* ============================ CTA band ============================ */
.cta-band {
  background:
    radial-gradient(700px 360px at 15% 120%, rgba(245,166,35,0.2), transparent 60%),
    linear-gradient(135deg, var(--navy), #07131f);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c6d3e2; max-width: 560px; margin: 16px auto 30px; font-size: 1.1rem; }
.cta-band .hero__cta { justify-content: center; }

/* ============================ Contact ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info .info-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-info .info-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-info .info-item .ic {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,166,35,0.16), rgba(245,166,35,0.05));
  color: var(--amber-600);
}
.contact-info .info-item .ic svg { width: 24px; height: 24px; }
.contact-info .info-item b { color: var(--navy); display: block; }
.contact-info .info-item p { font-size: 0.95rem; }

.form-card {
  background: var(--white);
  border: 1px solid #e7edf4;
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #dde5ee;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--cloud);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
}
.form-card .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--steel); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  background: rgba(46,194,126,0.1);
  border: 1.5px solid rgba(46,194,126,0.4);
  color: #1c8a5a;
  border-radius: 12px;
  padding: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.form-success.show { display: block; animation: pop 0.4s var(--ease); }
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ============================ Page hero (sub pages) ============================ */
.page-hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(245,166,35,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy), #07131f);
  padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 80px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 75%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #c6d3e2; max-width: 560px; margin-top: 16px; font-size: 1.12rem; }
.breadcrumb { font-size: 0.85rem; color: var(--amber); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 14px; }
.breadcrumb a { color: #aebccd; }
.breadcrumb a:hover { color: var(--white); }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ============================ Footer ============================ */
.site-footer {
  background: #07131f;
  color: var(--slate);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--slate); transition: color 0.25s var(--ease); }
.footer-grid a:hover { color: var(--amber); }
.footer-grid p { color: #9fb0c3; font-size: 0.95rem; }
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-cta .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.86rem; color: #7f93a8;
}
.footer-bottom .vet { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 700; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #9fb0c3; }
.footer-legal a:hover { color: var(--amber); }

/* ============================ Responsive ============================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .split, .contact-grid, .about-owner { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4, .price-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { height: 64px; }
  .nav__links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav.open .nav__links { transform: none; }
  .nav__links a { padding: 15px 14px; font-size: 1.05rem; }
  .nav__cta .btn--book { display: none; }
  .nav__cta .btn--call { padding: 11px 18px; }
  .nav__toggle { display: flex; }
  .site-header { top: 0; }
  .grid--3, .grid--4, .price-grid, .gallery-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item { min-height: 220px; }

  /* Full-width, easy-to-tap CTAs on phones */
  .hero__cta, .page-hero__cta { width: 100%; }
  .hero__cta .btn, .page-hero__cta .btn, .cta-band .hero__cta .btn { flex: 1 1 100%; }
  .btn--lg { padding: 15px 26px; }

  /* Compact floating actions */
  .float-actions { right: 14px; bottom: 14px; gap: 8px; }
  .float-btn { padding: 12px 18px; font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero p, .page-hero p { font-size: 1.02rem; }
  .card, .price-card, .quote-card, .form-card { padding: 24px 20px; }
  .hero__badges { gap: 14px; }
  .hero__stat b { font-size: 1.4rem; }
  .cta-band { padding: 34px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  /* keep the floating stack from crowding small screens */
  .float-btn .pulse-dot { margin-right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Dark feature split (used for the Texas hail section) */
.dark-split h2 { color: var(--white); }
.dark-split p { color: #c6d3e2; }
.dark-split .checklist li { color: #d7e1ee; }
.dark-split .checklist li svg { color: #2ec27e; }

/* ============================ Photo helpers ============================ */
.hero__photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.14);
  animation: floaty 6s ease-in-out infinite;
  position: relative;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16/10; }
.hero__photo .photo-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(10,26,47,0.82);
  color: #fff; font-weight: 700; font-size: 0.82rem;
  padding: 8px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  backdrop-filter: blur(4px);
}
.hero__photo .photo-tag svg { width: 16px; height: 16px; color: var(--amber); }

/* photo inside split media */
.split__media.has-photo { background: none; }
.split__media.has-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

/* gallery items with real photos */
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

/* owner photo */
.owner-photo.has-photo { background: none; }
.owner-photo.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================ Legal / prose pages ============================ */
.prose {
  max-width: 820px;
}
.prose .updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber-600);
  background: rgba(245,166,35,0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--navy-600); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: #3a4a5d; }
.prose a { color: var(--amber-600); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .notice {
  background: var(--cloud);
  border-left: 4px solid var(--amber);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.legal-toc a {
  font-size: 0.85rem; font-weight: 700;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #e7edf4;
  padding: 8px 14px; border-radius: 999px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.legal-toc a:hover { border-color: var(--amber); color: var(--amber-600); transform: translateY(-2px); }

/* ============================ Cookie banner ============================ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 95;
  max-width: 980px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--slate);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateY(160%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-banner p { color: var(--slate); font-size: 0.9rem; margin: 0; }
.cookie-banner p b { color: #fff; }
.cookie-banner a { color: var(--amber); font-weight: 700; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 11px 20px; font-size: 0.9rem; }
.cookie-banner .btn--decline {
  --bg: transparent; --fg: var(--slate);
  border-color: rgba(255,255,255,0.3);
}
.cookie-banner .btn--decline:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
@media (max-width: 680px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .cookie-banner__actions { justify-content: center; }
}
