:root {
  --navy: #071b34;
  --navy-2: #0b2e58;
  --gold: #f6b835;
  --orange: #ec6d2f;
  --aqua: #39b7d4;
  --ink: #122033;
  --muted: #5b6674;
  --paper: #fff9ef;
  --white: #ffffff;
  --line: rgba(7, 27, 52, 0.12);
  --shadow: 0 24px 70px rgba(7, 27, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(7, 27, 52, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.site-header.simple {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-logo {
  width: 116px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(246, 184, 53, 0.65);
  border-radius: 6px;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.93) 0%, rgba(7, 27, 52, 0.74) 45%, rgba(7, 27, 52, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 27, 52, 0.35), rgba(7, 27, 52, 0.05));
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 118px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

.button.primary {
  color: #16110b;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--navy);
  background: var(--white);
}

.hero-proof {
  margin-top: 28px;
}

.hero-proof span,
.intake-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 27, 52, 0.45);
  font-size: 13px;
  font-weight: 800;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.ai-discovery {
  padding: clamp(28px, 4vw, 46px) 0;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(7, 27, 52, 0.18);
}

.ai-discovery p {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.45;
}

.intro-band,
.pain-section,
.services-section,
.process-section,
.pricing-section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.intro-band {
  background: var(--white);
}

.pain-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.28), rgba(255, 249, 239, 0.08)),
    url("assets/website-diagnostic-clean.png") center / cover;
}

.pain-section .section-inner {
  position: relative;
  z-index: 1;
}

.pain-section .pain-grid article {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 14px 16px 0 rgba(7, 27, 52, 0.14), 0 18px 42px rgba(7, 27, 52, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  animation: painCardGlow 6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.pain-section .pain-grid article:nth-child(2) {
  animation-delay: 0.5s;
}

.pain-section .pain-grid article:nth-child(3) {
  animation-delay: 1s;
}

.pain-section .pain-grid article:nth-child(4) {
  animation-delay: 1.5s;
}

.pain-section .pain-grid article:hover {
  animation-play-state: paused;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 18px 22px 0 rgba(7, 27, 52, 0.18), 0 26px 58px rgba(7, 27, 52, 0.22);
  transform: translateY(-8px) scale(1.035);
}

.process-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.84), rgba(255, 249, 239, 0.5)),
    url("assets/home-service-florida.png") center / cover;
}

.process-section .section-inner {
  position: relative;
  z-index: 1;
}

.process-section .process-grid article {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.intro-copy p,
.section-heading p,
.service-list p,
.process-grid p,
.google-panel p,
.final-cta p,
.intake-copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.pain-section .section-heading {
  max-width: 900px;
}

.pain-section .section-heading p:not(.eyebrow) {
  max-width: 860px;
  color: #38475a;
}

.section-heading.compact {
  max-width: 720px;
}

.pain-grid,
.service-list,
.process-grid {
  display: grid;
  gap: 18px;
}

.pain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pain-grid article,
.service-list article,
.process-grid article,
.intake-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(7, 27, 52, 0.06);
}

.pain-grid article {
  min-height: 245px;
  padding: 24px;
}

.pain-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-weight: 900;
}

.pain-grid p,
.service-list p,
.process-grid p {
  margin-bottom: 0;
}

.services-section {
  background: #f4f8fb;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list article {
  padding: 30px;
}

.google-section {
  padding: clamp(46px, 7vw, 82px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 52, 0.98), rgba(11, 46, 88, 0.96)),
    var(--navy);
}

.google-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.google-panel h2 {
  color: var(--white);
}

.google-panel p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article {
  padding: 26px;
}

.process-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 20px;
}

.pricing-section {
  background: var(--white);
}

.final-cta {
  padding: clamp(70px, 8vw, 118px) 0;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(7, 27, 52, 0.95), rgba(7, 27, 52, 0.76)),
    url("assets/home-service-florida.png") center / cover;
}

.final-cta h2 {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.final-cta p {
  max-width: 710px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.mobile-call-now {
  display: none;
}

@keyframes painCardGlow {
  0%,
  100% {
    box-shadow: 14px 16px 0 rgba(7, 27, 52, 0.14), 0 18px 42px rgba(7, 27, 52, 0.16);
  }

  50% {
    box-shadow: 16px 19px 0 rgba(7, 27, 52, 0.18), 0 22px 48px rgba(7, 27, 52, 0.2);
  }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: var(--white);
}

.intake-hero {
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.96), rgba(244, 248, 251, 0.94)),
    url("assets/home-service-florida.png") center / cover;
}

.not-found {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 8vw, 118px) 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 239, 0.9), rgba(255, 249, 239, 0.56)),
    url("assets/website-diagnostic-clean.png") center / cover;
}

.not-found h1 {
  color: var(--navy);
}

.not-found p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
}

.dark-button {
  color: var(--navy);
  border-color: rgba(7, 27, 52, 0.24);
  background: rgba(255, 255, 255, 0.68);
}

.new-site-hero {
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.94), rgba(244, 248, 251, 0.9)),
    url("assets/website-diagnostic-clean.png") center / cover;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 520px);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.intake-copy h1 {
  color: var(--navy);
  font-size: clamp(42px, 6vw, 78px);
}

.intake-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.intake-notes span {
  border-color: rgba(7, 27, 52, 0.15);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
}

.intake-form {
  padding: clamp(24px, 4vw, 34px);
}

.intake-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(7, 27, 52, 0.18);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.intake-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 27, 52, 0.94), rgba(7, 27, 52, 0.62)),
      linear-gradient(0deg, rgba(7, 27, 52, 0.42), rgba(7, 27, 52, 0.06));
  }

  .split,
  .google-panel,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    min-height: auto;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 90px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .hero-proof span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .pain-grid,
  .service-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid article {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .mobile-call-now {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: #16110b;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    box-shadow: 0 16px 42px rgba(7, 27, 52, 0.28);
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pain-section .pain-grid article {
    animation: none;
  }
}
