/* ==========================================================================
   Sunrise Exteriors LLC — Global Stylesheet
   Windows & Door Replacement | Jacksonville, FL
   ========================================================================== */

:root {
  --accent:      #F59E0B;
  --accent-dark: #D97706;
  --accent-rgb:  245, 158, 11;
  --dark:        #0A0A0F;
  --dark-2:      #111118;
  --dark-3:      #1A1A26;
  --muted:       #8888A0;
  --white:       #FFFFFF;
  --nav-h:       72px;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --success: #22C55E;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.loaded { opacity: 1; }

.site-wrapper { overflow-x: hidden; position: relative; }

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

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

button { font-family: inherit; border: none; background: none; cursor: pointer; }

ul { list-style: none; }

a, button, .btn, .chat-bubble, .hamburger {
  -webkit-tap-highlight-color: transparent;
}

/* -------------------- Grain overlay -------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyMDAnIGhlaWdodD0nMjAwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC44JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScwLjQnLz48L3N2Zz4=");
}

/* -------------------- Typography -------------------- */
h1, h2, h3, .section-label, .nav-links a, .btn {
  font-family: 'Montserrat', -apple-system, sans-serif;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.07;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h3 { font-size: 1.05rem; font-weight: 700; }

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

p { color: var(--muted); }

/* -------------------- Layout -------------------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

section { padding: 6rem 5%; position: relative; z-index: 2; }

.bg-dark   { background: var(--dark); }
.bg-dark-2 { background: var(--dark-2); }
.bg-dark-3 { background: var(--dark-3); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease-premium);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.35);
  }
}
.btn-primary:active { transform: translateY(0) scale(0.97); box-shadow: none; }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: rgba(var(--accent-rgb), 0.26);
    border-color: rgba(var(--accent-rgb), 0.7);
    transform: translateY(-1px);
  }
}

.btn-white {
  background: var(--white);
  color: var(--accent-dark) !important;
}
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
}
.btn-white:active { transform: scale(0.97); }

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff !important;
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }
}
.btn-outline-white:active { transform: scale(0.97); }

.btn-block { width: 100%; }

/* -------------------- Icons -------------------- */
.icon { width: 1.4rem; height: 1.4rem; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.icon-box .icon { width: 1.6rem; height: 1.6rem; }

/* -------------------- Image slots (placeholders until real photos land) -------------------- */
.img-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  min-width: 0;
}
.img-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-premium);
}
.img-slot.img-missing img { display: none; }
.img-slot.img-missing::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb),0.08), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 12px);
}
.img-slot.img-missing::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.14);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  background: rgba(10,10,15,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s var(--ease-premium);
}
.nav.scrolled { background: rgba(10,10,15,0.97); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
  min-width: 0;
}
.nav-logo .logo-icon {
  width: 26px; height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-logo .logo-icon svg { width: 100%; height: 100%; }
.nav-logo .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo .logo-text .accent { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  justify-self: center;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--accent); }
}

.nav-dropdown { position: relative; padding-bottom: 1rem; margin-bottom: -1rem; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  font-family: inherit;
  transition: color 0.2s var(--ease-premium);
}
.nav-dropdown-toggle .icon { width: 0.85rem; height: 0.85rem; transition: transform 0.25s var(--ease-premium); }
.nav-dropdown.open .nav-dropdown-toggle .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown-toggle:hover { color: var(--accent); }
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--dark-2);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 20px 45px rgba(0,0,0,0.5);
  padding: 0.6rem;
  min-width: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--ease-premium);
  z-index: 110;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  .nav-dropdown:hover .nav-dropdown-toggle .icon { transform: rotate(180deg); }
}
.nav-dropdown-menu.single-col { grid-template-columns: 1fr; min-width: 240px; }
.nav-dropdown-menu a {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: background 0.2s var(--ease-premium), color 0.2s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown-menu a:hover { background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }
}

.mobile-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  cursor: pointer;
}
.mobile-accordion-toggle .icon {
  width: 0.85rem; height: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-premium);
}
.mobile-accordion-toggle.open .icon { transform: rotate(180deg); }

.mobile-areas-grid,
.mobile-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-premium);
}
.mobile-areas-grid a,
.mobile-services-grid a { font-size: 0.92rem; font-weight: 500; padding-top: 0.4rem; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-self: end;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-phone .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 97;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
  padding: 1.5rem 5% 2rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-premium);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { font-weight: 600; font-size: 1.05rem; }
.mobile-menu .nav-phone { font-size: 1.05rem; }

@media (max-width: 1560px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .nav-right .nav-phone { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1561px) {
  .mobile-menu, .mobile-backdrop { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: flex-start;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,15,0.96) 0%, rgba(10,10,15,0.86) 45%, rgba(10,10,15,0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 5% 3rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-content { padding-top: 2.5rem; min-width: 0; }

/* -------------------- Service-area page hero (no form card) -------------------- */
.area-hero { min-height: 64vh; }
.area-hero-inner { grid-template-columns: 1fr; }
.area-hero-inner .hero-content { max-width: 720px; justify-self: center; text-align: center; padding-top: 2rem; }
.area-hero-inner .badge { margin-bottom: 0.9rem; }
.area-hero-inner .hero-content h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 0.7rem; }
.area-hero-inner .hero-buttons { justify-content: center; margin-bottom: 0.5rem; }
.area-hero-inner .hero-sub { margin-left: auto; margin-right: auto; text-align: left; font-size: 0.95rem; margin-bottom: 1.2rem; }
.area-intro { max-width: 760px; margin-top: 1rem; display: flex; flex-direction: column; gap: 1.2rem; }
.area-intro p { font-size: 1.02rem; }

/* -------------------- Legal pages -------------------- */
.legal-header { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3rem; }
.legal-header .section-label { margin-bottom: 1rem; }
.legal-header h1 { color: var(--white); margin-bottom: 0.8rem; font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal-updated { font-size: 0.85rem; color: var(--muted); }
.legal-content { max-width: 760px; }
.legal-content h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.legal-content section:first-of-type h2 { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { color: var(--white); font-size: 1.05rem; margin-top: 1.6rem; margin-bottom: 0.6rem; }
.legal-content p { margin-bottom: 1rem; font-size: 0.96rem; }
.legal-content ul { margin: 0 0 1rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-content li { font-size: 0.94rem; color: var(--muted); list-style: disc; }
.legal-content li strong { color: rgba(255,255,255,0.9); }
.legal-content a { color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero-brand { display: block; }
.hero-tagline {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: 0;
  line-height: 1.35;
  color: rgba(255,255,255,0.82);
  margin-top: 0.9rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-chips {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.hero-chips .dot { color: var(--accent); }

/* -------------------- Scroll indicator -------------------- */
.scroll-indicator {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  opacity: 0.75;
  visibility: visible;
  transition: opacity 0.2s var(--ease-premium), visibility 0.2s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .scroll-indicator:hover { opacity: 1; }
}
.scroll-indicator.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.scroll-indicator-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 13px;
  position: relative;
}
.scroll-indicator-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDotDrop 1.8s ease-in-out infinite;
}
.scroll-indicator-chevron {
  width: 14px;
  height: 14px;
  color: rgba(255,255,255,0.5);
}
@keyframes scrollDotDrop {
  0% { opacity: 1; transform: translate(-50%, 0); }
  65% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator-dot { animation: none; opacity: 1; }
}

/* -------------------- Estimate form card -------------------- */
.estimate-card {
  background: var(--dark-2);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 25px 60px rgba(0,0,0,0.45);
  padding: 1.5rem 1.75rem;
  margin-top: 2.5rem;
  min-width: 0;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}
.estimate-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.estimate-logo-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.estimate-logo-icon svg { width: 32px; height: 32px; }
.estimate-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}
.estimate-logo-text span { color: var(--accent); }
.estimate-card h2 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.35rem;
  text-align: center;
}
.estimate-card .form-sub {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-row { display: flex; gap: 0.8rem; margin-bottom: 0.9rem; }
.form-row > div { flex: 1; min-width: 0; }
.form-group { margin-bottom: 0.9rem; min-width: 0; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.2s var(--ease-premium);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.05);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%238888A0' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }

#estimateForm .btn-primary { margin-top: 0.3rem; }
.form-fineprint {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.8rem;
}
.btn-primary.success {
  background: var(--success) !important;
  box-shadow: none;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 5%;
}
.trust-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item { display: flex; align-items: flex-start; gap: 0.9rem; min-width: 0; }
.trust-item strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 0.2rem; }
.trust-item span { font-size: 0.85rem; overflow-wrap: break-word; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { font-size: 1.02rem; }
.section-head.centered { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.07);
}
.service-card {
  background: var(--dark-3);
  padding: 2.2rem 1.8rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.service-card .icon-box { margin-bottom: 1.3rem; }
.service-card h3 { color: var(--white); margin-bottom: 0.6rem; overflow-wrap: break-word; }
.service-card p { font-size: 0.92rem; margin-bottom: 0; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}
.service-card-link .icon { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease-premium); }
@media (hover: hover) and (pointer: fine) {
  .service-card-link:hover .icon { transform: translateX(3px); }
}

.inline-cta {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.inline-cta a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), 0.4); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 3rem;
}
.process-step { text-align: center; min-width: 0; position: relative; }
.process-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-step h3 { color: var(--white); font-size: 0.92rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.82rem; }
.process-arrow {
  display: none;
  position: absolute;
  top: 30px; right: -8%;
  color: rgba(var(--accent-rgb), 0.5);
}
.process-step:not(:last-child) .process-arrow { display: block; }

@media (min-width: 861px) {
  .process-arrow { display: block; }
}

/* ==========================================================================
   COMPLETED WORK (RESULTS)
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}
.work-item { min-width: 0; }
.work-item .img-slot { aspect-ratio: 4/5; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
  .work-item .img-slot:hover img { transform: scale(1.025); }
}
.work-caption { margin-top: 1rem; }
.work-caption strong { display: block; color: var(--white); font-size: 1.05rem; margin-bottom: 0.25rem; }
.work-caption span { font-size: 0.9rem; }

.results-detail {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 2rem;
  align-items: center;
  background: var(--dark-2);
  border-radius: 14px;
  overflow: hidden;
}
.results-detail .img-slot { aspect-ratio: 4/5; }
.results-detail-copy { padding: 1.5rem 2rem 1.5rem 0; min-width: 0; }
.results-detail-copy h3 { color: var(--white); margin-bottom: 0.5rem; }
.results-detail-copy p { font-size: 0.92rem; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-copy { min-width: 0; }
.why-copy p { margin-bottom: 1.1rem; font-size: 1.02rem; }
.why-callout {
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 12px;
  padding: 1.6rem;
  margin-top: 1.6rem;
}
.why-callout p { color: var(--white); font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }

.why-points { display: flex; flex-direction: column; gap: 1.8rem; min-width: 0; }
.why-point { display: flex; gap: 1.1rem; }
.why-point-num {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-point-text { min-width: 0; }
.why-point-text h3 { color: var(--white); margin-bottom: 0.3rem; overflow-wrap: break-word; }
.why-point-text p { font-size: 0.92rem; }

/* ==========================================================================
   MID CTA BAND
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
  padding: 5rem 5%;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* -------------------- Financing -------------------- */
.financing-points { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.financing-point { display: flex; align-items: flex-start; gap: 0.9rem; }
.financing-point-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.financing-point-icon svg { width: 16px; height: 16px; }
.financing-point p { font-size: 0.98rem; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}
.faq-list { min-width: 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .faq-item:hover { background: rgba(255,255,255,0.02); }
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0.2rem;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.faq-question .icon { transition: transform 0.3s var(--ease-premium); color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-premium); }
.faq-answer-inner { padding: 0 0.2rem 1.3rem; font-size: 0.92rem; }
.faq-visual .img-slot { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; }

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}
.area-map { border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); aspect-ratio: 4/3; }
.area-map iframe { width: 100%; height: 100%; border: 0; filter: none; }
.area-list h3 { color: var(--white); margin-bottom: 1.2rem; }
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
.area-cols li { font-size: 0.95rem; font-weight: 500; }
.area-cols a { color: rgba(255,255,255,0.85); transition: color 0.2s var(--ease-premium); }
@media (hover: hover) and (pointer: fine) {
  .area-cols a:hover { color: var(--accent); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding-top: 5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-col { min-width: 0; }
.footer-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 0.7rem; }
.footer-brand span { color: var(--accent); }
.footer-tagline { font-size: 0.9rem; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.82); }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: var(--accent); }
}
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.footer-contact-item .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); flex-shrink: 0; }
.footer-contact-item span { overflow-wrap: break-word; }
.footer-col .btn { margin-top: 0.7rem; }

.footer-divider { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.6rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover { color: var(--accent); }
}

/* ==========================================================================
   FIXED WIDGETS — MAP + CHAT
   ========================================================================== */
.map-widget {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  width: 280px;
  background: var(--dark-2);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 15px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 90;
  transition: all 0.25s var(--ease-premium);
}
.map-widget.closed { transform: translateY(20px) scale(0.9); opacity: 0; visibility: hidden; pointer-events: none; }
.map-widget-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: var(--dark-3);
}
.map-widget-header .label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 700; }
.map-widget-header .icon { width: 1rem; height: 1rem; color: var(--accent); }
.map-widget-header button { color: var(--muted); font-size: 1.1rem; line-height: 1; padding: 0.2rem; }
.map-widget iframe { width: 100%; height: 160px; border: 0; filter: none; display: block; }

.map-reopen {
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 10px 25px rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  z-index: 90;
  opacity: 0; visibility: hidden; transform: scale(0.8);
  transition: all 0.25s var(--ease-premium);
}
.map-reopen.show { opacity: 1; visibility: visible; transform: scale(1); }

@media (max-width: 480px) {
  .map-widget, .map-reopen { display: none; }
}

/* ==========================================================================
   SCROLL ANIMATION
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-premium), transform 0.65s var(--ease-premium);
}
.fade-up.in-view { opacity: 1; transform: none; }

.slide-label {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s var(--ease-premium), transform 0.5s var(--ease-premium);
}
.slide-label.in-view { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  top: -50px; left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  z-index: 200;
  font-weight: 700;
  transition: top 0.2s var(--ease-premium);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .slide-label { transition-duration: 0.01s !important; opacity: 1; transform: none; }
  .badge-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  section { padding: 4rem 5%; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
  .estimate-card { max-width: 480px; justify-self: center; margin: 0 auto; }
  .why-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scroll-indicator { display: none; }
}

@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .process-arrow { display: none !important; }
  .work-grid { grid-template-columns: 1fr; }
  .results-detail { grid-template-columns: 1fr; }
  .results-detail-copy { padding: 0 1.5rem 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-visual { order: -1; }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 520px) {
  .nav-logo { gap: 0.4rem; }
  .nav-logo .logo-icon { width: 21px; height: 21px; }
  .nav-logo .logo-text { font-size: 0.92rem; }
  .nav-right { gap: 0.5rem; }
  .nav-right .btn-primary { padding: 0.6rem 0.7rem; font-size: 0.72rem; }
}

@media (max-width: 380px) {
  .nav-logo .logo-icon { width: 19px; height: 19px; }
  .nav-logo .logo-text { font-size: 0.82rem; }
  .nav-right .btn-primary { padding: 0.55rem 0.6rem; font-size: 0.66rem; }
}

@media (max-width: 480px) {
  section { padding: 3rem 4%; }
  .hero-inner { padding: 2rem 4%; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .cta-band-buttons { flex-direction: column; align-items: stretch; }
  .cta-band-buttons .btn { width: 100%; }
  .hero-chips .dot:last-of-type { display: none; }
  .hero-chips { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero-chips .dot { display: none; }
  .estimate-card { padding: 1.25rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .area-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band h2 { font-size: 2rem; }
}
