/* ========================================
   GulfShore — Custom Theme CSS
   ======================================== */

/* --- Variables --- */
:root {
  --navy: #0a1628;
  --navy-mid: #0f1f36;
  --teal: #00c9a7;
  --teal-dim: rgba(0, 201, 167, 0.15);
  --sand: #e8d5b7;
  --sand-dim: rgba(232, 213, 183, 0.6);
  --white: #ffffff;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--navy);
  color: var(--sand);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* --- Typography helpers --- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 201, 167, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--sand-dim);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--teal);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 201, 167, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #061018 100%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -100px;
  top: -100px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-body {
  font-size: 1.1rem;
  color: var(--sand-dim);
  line-height: 1.7;
  max-width: 420px;
}

/* --- House Illustration --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.house-illustration {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3.5;
}

/* Sky */
.hi-sky {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 55%;
  background: linear-gradient(180deg, #061018 0%, #0f1f36 100%);
  border-radius: 4px 4px 0 0;
}

/* Stars in sky */
.hi-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(232,213,183,0.4) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,201,167,0.3) 1px, transparent 1px);
  background-size: 30px 30px, 45px 45px;
  background-position: 10px 10px, 25px 15px;
}

/* House structure */
.hi-house {
  position: absolute;
  bottom: 28%;
  left: 15%;
  right: 15%;
  height: 50%;
}

/* Walls */
.hi-walls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(135deg, #1a3a5c 0%, #0f2840 100%);
  border-radius: 2px;
  box-shadow: inset 0 0 20px rgba(0, 201, 167, 0.05);
}

/* Roof */
.hi-roof {
  position: absolute;
  top: 0;
  left: -5%;
  right: -5%;
  height: 50%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg, #0d2235 0%, #1a3a5c 100%);
}

/* Roof shingles */
.roof-shingle {
  position: absolute;
  bottom: 0;
  left: calc(var(--i) * 14.2%);
  width: 12%;
  height: 20%;
  background: rgba(0, 201, 167, 0.08);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* Door */
.hi-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 35%;
  background: #00c9a7;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 12px rgba(0, 201, 167, 0.3);
}

/* Windows */
.hi-window {
  position: absolute;
  width: 18%;
  height: 22%;
  background: rgba(232, 213, 183, 0.15);
  border: 1px solid rgba(232, 213, 183, 0.3);
  border-radius: 1px;
}

.hi-window-1 { top: 15%; left: 10%; }
.hi-window-2 { top: 15%; right: 10%; }

/* Chimney */
.hi-chimney {
  position: absolute;
  top: 5%;
  right: 20%;
  width: 12%;
  height: 30%;
  background: #1a3a5c;
  border-radius: 1px;
}

/* Ground */
.hi-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, #0a1a12 0%, #061008 100%);
  border-radius: 0 0 4px 4px;
}

/* Lawn texture */
.hi-lawn {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 201, 167, 0.08) 0px,
    rgba(0, 201, 167, 0.08) 2px,
    transparent 2px,
    transparent 12px
  );
}

/* Gutter channel */
.hi-gutter {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00c9a7 0%, rgba(0, 201, 167, 0.4) 100%);
  border-radius: 2px;
}

/* Downspout */
.hi-downspout {
  position: absolute;
  top: 0;
  right: 20%;
  width: 3px;
  height: 100%;
  background: rgba(0, 201, 167, 0.4);
}

/* Pressure spray animation */
.spray-container {
  position: absolute;
  top: 40%;
  left: 5%;
}

.spray-drop {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  animation: spray 1.2s ease-out infinite;
  animation-delay: var(--d);
  transform: translate(var(--dx), var(--dy));
}

@keyframes spray {
  0% { opacity: 0.9; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.5), calc(var(--dy) * 1.8)) scale(0.5); }
}

/* Water drops / clean effect */
.clean-drops {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.clean-drop {
  width: 3px;
  height: 12px;
  background: rgba(0, 201, 167, 0.4);
  border-radius: 2px;
  animation: drip 2s ease-in infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes drip {
  0%, 80% { opacity: 0; transform: translateY(-5px); }
  100% { opacity: 0.6; transform: translateY(20px); }
}

/* Hero badge */
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--sand-dim);
  white-space: nowrap;
}

/* --- Stats --- */
.stats {
  background: var(--navy-mid);
  border-top: 1px solid rgba(0, 201, 167, 0.1);
  border-bottom: 1px solid rgba(0, 201, 167, 0.1);
  padding: 40px 24px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(232, 213, 183, 0.1);
}

/* --- Section shared --- */
.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 48px;
}

/* --- Manifesto --- */
.manifesto {
  padding: 100px 24px;
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-mark {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.manifesto-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--sand-dim);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

/* --- Process --- */
.process {
  padding: 100px 24px;
  background: var(--navy-mid);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 201, 167, 0.1);
  border: 1px solid rgba(0, 201, 167, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.process-card {
  background: var(--navy-mid);
  padding: 36px 32px;
  transition: background 0.2s;
}

.process-card:hover {
  background: #0f2238;
}

.process-card-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 32px;
}

.process-add-icon {
  opacity: 0.8;
}

.process-add-text {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
}

.process-icon {
  margin-bottom: 20px;
  display: flex;
}

.process-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.process-card-body {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

.process-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  justify-content: center;
}

/* --- Territories --- */
.territories {
  padding: 100px 24px;
}

.territories-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.territories-map {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.map-container {
  position: relative;
}

.map-svg {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(0, 201, 167, 0.15);
}

.map-label {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.territory-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.territory-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.territory-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}

.territory-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

.territory-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 201, 167, 0.5);
}

.territory-note {
  font-size: 0.8rem;
  color: var(--gray);
  font-style: italic;
}

/* --- Closing --- */
.closing {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.closing-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closing-shape-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.closing-shape-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.closing-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--sand-dim);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.closing-cta-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
}

.closing-email {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.closing-email:hover {
  color: var(--teal);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid rgba(0, 201, 167, 0.1);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: start;
}

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

.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-location {
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 0.875rem;
  color: var(--gray);
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 0.6;
  align-self: end;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .house-illustration { max-width: 300px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat { min-width: 40%; }
  .territories-map { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 20px 60px; }
  .hero-headline { font-size: 2.2rem; }
  .manifesto, .process, .territories, .closing { padding: 60px 20px; }
}