/* ── RSV ROOFING WEB2 – SHARED STYLES ── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
:root { --blue:#02567B; --yellow:#FFD046; --dark:#140709; --cream:#F4F1EB; }
html { scroll-behavior:smooth; }
body { font-family:'Alexandria',sans-serif; background:#fff; color:var(--dark); overflow-x:hidden; }
a { text-decoration:none; }
img { display:block; }

.container { max-width:1280px; margin:0 auto; padding:0 5%; }
.eyebrow { font-size:.68rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--blue); }
.section-title { font-size:clamp(2rem,4vw,3.2rem); font-weight:900; line-height:1.1; }

/* BUTTONS */
.btn-solid { display:inline-flex; align-items:center; gap:8px; background:var(--blue); color:#fff; font-weight:700; font-size:.88rem; padding:13px 28px; border-radius:8px; transition:opacity .2s,transform .2s; }
.btn-solid:hover { opacity:.88; transform:translateY(-1px); }
.btn-yellow { display:inline-flex; align-items:center; gap:8px; background:var(--yellow); color:var(--dark); font-weight:800; font-size:.88rem; padding:13px 28px; border-radius:8px; transition:transform .2s,box-shadow .2s; }
.btn-yellow:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(255,208,70,.35); }
.btn-outline-white { display:inline-flex; align-items:center; gap:8px; border:2px solid rgba(255,255,255,.4); color:#fff; font-weight:700; font-size:.88rem; padding:11px 26px; border-radius:8px; transition:border-color .2s; }
.btn-outline-white:hover { border-color:#fff; }

/* TOPBAR */
#topbar { background:var(--blue); color:#fff; padding:8px 5%; display:flex; justify-content:space-between; align-items:center; font-size:.75rem; font-weight:600; }
#topbar a { color:rgba(255,255,255,.8); }
#topbar a:hover { color:#fff; }

/* NAV */
#nav { position:sticky; top:0; z-index:100; background:var(--dark); padding:0 5%; height:70px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid rgba(255,255,255,.06); }
.nav-logo img { height:54px; filter:brightness(0) invert(1); transition:filter .25s ease; }
.nav-logo:hover img { filter:brightness(0) saturate(100%) invert(22%) sepia(98%) saturate(700%) hue-rotate(172deg) brightness(95%); }
.nav-links { display:flex; gap:30px; list-style:none; }
.nav-links a { font-size:.82rem; font-weight:600; color:rgba(255,255,255,.65); transition:color .2s; }
.nav-links a:hover, .nav-links a.active { color:#fff; }
.nav-right { display:flex; align-items:center; gap:14px; }
.nav-phone { font-size:.82rem; font-weight:700; color:rgba(255,255,255,.7); transition:color .2s; }
.nav-phone:hover { color:var(--yellow); }
#mob-btn {
  display:none;
  background:transparent;
  border:none; cursor:pointer;
  width:44px; height:44px;
  border-radius:10px;
  align-items:center; justify-content:center;
  padding:0;
  transition:opacity .2s, transform .15s;
}
#mob-btn:hover { opacity:.75; transform:scale(1.06); }
#mob-btn:active { transform:scale(.95); }
#mob-btn .sq-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  width:20px; height:20px;
}
#mob-btn .sq {
  display:block; width:8px; height:8px;
  background:var(--dark); border-radius:2px;
}

/* MOBILE MENU */
#mob-menu { position:fixed; inset:0; z-index:300; background:var(--dark); transform:translateX(100%); transition:transform .3s ease; padding:28px 6%; display:flex; flex-direction:column; overflow-y:auto; }

/* PAGE HERO (inner pages) */
.page-hero { background:var(--dark); padding:80px 5% 70px; position:relative; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.45; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(105deg,rgba(20,7,9,.72) 45%,rgba(2,86,123,.15) 100%); }
.page-hero-content { position:relative; z-index:2; max-width:700px; margin:0; padding:0; }
.page-hero-tag { display:inline-flex; align-items:center; gap:8px; background:rgba(255,208,70,.12); border:1px solid rgba(255,208,70,.3); color:var(--yellow); font-size:.7rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; padding:6px 14px; border-radius:4px; margin-bottom:20px; }
.page-hero h1 { font-size:clamp(2.4rem,5vw,4.5rem); font-weight:900; color:#fff; letter-spacing:-.03em; line-height:1; margin-bottom:16px; }
.page-hero p { font-size:.95rem; color:rgba(255,255,255,.6); line-height:1.75; max-width:520px; margin-bottom:28px; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.75rem; color:rgba(255,255,255,.4); margin-bottom:20px; }
.breadcrumb a { color:rgba(255,255,255,.5); transition:color .2s; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb span { color:rgba(255,255,255,.25); }

/* TICKER */
.ticker { overflow:hidden; background:var(--yellow); padding:12px 0; }
.ticker-track { display:flex; animation:tick 28s linear infinite; white-space:nowrap; }
.ticker-item { font-size:.88rem; font-weight:800; color:var(--dark); padding:0 24px; letter-spacing:.06em; text-transform:uppercase; }
.ticker-sep { color:var(--blue); font-weight:900; font-size:1rem; }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* CTA BAND */
.cta-band { background:var(--blue); padding:80px 5%; display:grid; grid-template-columns:1fr auto; align-items:center; gap:40px; }
.cta-band h2 { font-size:clamp(1.8rem,4vw,3rem); font-weight:900; color:#fff; line-height:1.1; }
.cta-band p { font-size:.9rem; color:rgba(255,255,255,.7); margin-top:8px; }
.cta-btns { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }

/* FOOTER */
footer { background:var(--dark); padding:64px 5% 28px; }
.ft-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.ft-logo img { height:38px; filter:brightness(0) invert(1); margin-bottom:16px; }
.ft-desc { font-size:.82rem; color:rgba(255,255,255,.4); line-height:1.75; max-width:250px; }
.ft-socials { display:flex; gap:8px; margin-top:18px; }
.ft-social { width:34px; height:34px; border-radius:7px; background:rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.5); font-size:.75rem; font-weight:700; transition:background .2s; }
.ft-social:hover { background:var(--blue); color:#fff; }
.ft-col-title { font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:18px; }
.ft-link { display:block; font-size:.82rem; color:rgba(255,255,255,.5); margin-bottom:10px; transition:color .2s; }
.ft-link:hover { color:var(--yellow); }
.ft-hours { font-size:.82rem; color:rgba(255,255,255,.4); line-height:1.8; }
.ft-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:.75rem; color:rgba(255,255,255,.25); flex-wrap:wrap; gap:10px; }

/* FADE IN */
.fi { opacity:0; transform:translateY(22px); transition:opacity .65s ease,transform .65s ease; }
.fi.v { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}

/* RESPONSIVE */
@media(max-width:900px){
  .nav-links, .nav-right { display:none; }
  #mob-btn { display:flex; }
  #topbar .tb-right { display:none; }
  #nav { height:88px; }
  .nav-logo img { height:66px; }
}
@media(max-width:640px){
  .cta-band { grid-template-columns:1fr; }
  .ft-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:480px){ .ft-grid { grid-template-columns:1fr; } }
