/* ============================================
   Florida Water Heater Solutions
   Colors: Baby Blue, Mint Green, White
   ============================================ */

:root {
  --blue: #4DA8DA;
  --blue-dark: #2E86AB;
  --blue-light: #E8F4FD;
  --mint: #5CC8A5;
  --mint-dark: #3DAA87;
  --mint-light: #E6F7F1;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --gray-50: #F5F7F9;
  --gray-100: #E8ECF0;
  --gray-200: #D1D7DE;
  --gray-400: #8C96A0;
  --gray-600: #4A5568;
  --gray-800: #1E2A3A;
  --gray-900: #0F1923;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.header-top {
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-top a { color: var(--mint); font-weight: 500; }
.header-top a:hover { color: var(--blue); }

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-900);
  line-height: 1.2;
}

.logo-text span { color: var(--blue-dark); }

nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

nav a:hover { color: var(--blue-dark); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--blue-dark); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(170deg, var(--gray-900) 0%, #1a3a4a 60%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77,168,218,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(92,200,165,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(92,200,165,0.15);
  border: 1px solid rgba(92,200,165,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover { background: rgba(255,255,255,0.18); }

.btn-mint {
  background: var(--mint);
  color: var(--white);
}

.btn-mint:hover { background: var(--mint-dark); transform: translateY(-1px); }

.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.trust-item {
  text-align: left;
}

.trust-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.trust-item span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-card .form-group {
  margin-bottom: 14px;
}

.hero-card input,
.hero-card select,
.hero-card textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.hero-card input::placeholder,
.hero-card select,
.hero-card textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.hero-card input:focus,
.hero-card textarea:focus {
  border-color: var(--mint);
}

.hero-card select option { color: var(--gray-800); background: var(--white); }

.hero-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ---- SERVICES GRID ---- */
.services-section {
  padding: 80px 0;
  background: var(--off-white);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-icon.blue { background: var(--blue-light); color: var(--blue-dark); }
.service-icon.mint { background: var(--mint-light); color: var(--mint-dark); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover { gap: 8px; }

/* ---- WHY US ---- */
.why-us {
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.why-item {
  text-align: center;
  padding: 28px 20px;
}

.why-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.why-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ---- AREAS SERVED ---- */
.areas-section {
  padding: 80px 0;
  background: var(--gray-900);
  color: var(--white);
}

.areas-section .section-label { color: var(--mint); }
.areas-section .section-title { color: var(--white); }
.areas-section .section-subtitle { color: rgba(255,255,255,0.55); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.area-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
}

.area-link:hover {
  background: rgba(77,168,218,0.15);
  border-color: var(--blue);
  color: var(--white);
}

.area-link::before {
  content: '📍';
  font-size: 0.85rem;
}

/* ---- FAQ ---- */
.faq-section {
  padding: 80px 0;
  background: var(--off-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--mint-dark));
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--mint); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---- INTERIOR PAGES ---- */
.page-hero {
  background: linear-gradient(170deg, var(--gray-900) 0%, #1a3a4a 100%);
  color: var(--white);
  padding: 60px 0 50px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

.breadcrumbs {
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.45);
}

.breadcrumbs a { color: var(--mint); }
.breadcrumbs a:hover { text-decoration: underline; }

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.content-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  margin-top: 28px;
}

.content-section p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 760px;
}

.content-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-section ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { margin-top: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero { padding: 50px 0 60px; }
  .hero-trust { flex-wrap: wrap; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .header-top .container { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
