/* Frogz Quality Air & Heat - Brand Styles */
:root {
  --green-dark: #1B5E20;
  --green-main: #2E7D32;
  --green-bright: #4CAF50;
  --green-lime: #8BC34A;
  --green-pale: #E8F5E9;
  --yellow: #F9A825;
  --orange: #EF6C00;
  --text-dark: #212121;
  --text-muted: #555;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: #e8f5e0;
}

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

a {
  color: var(--green-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  background: #e8f5e0; /* matches logo light green edge */
  border-bottom: 3px solid var(--green-main);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-dark);
}

.logo-link img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
}

.header-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.header-phone a {
  color: var(--green-dark);
  text-decoration: none;
}

.header-phone a:hover {
  color: var(--green-main);
}

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

.nav a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.active {
  background: var(--green-pale);
  color: var(--green-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green-main);
  color: var(--green-main);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  background: var(--green-pale);
}

.hero-image-wrap {
  width: 100%;
  line-height: 0;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none;
  object-fit: contain;
}

.hero-content {
  width: 100%;
  padding: 36px 20px 40px;
  text-align: center;
  background: var(--green-pale);
  color: var(--text-dark);
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--green-dark);
  line-height: 1.25;
}

.hero-content .subtitle {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-content .btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green-main);
}

.hero-content .btn-secondary:hover {
  background: #dcedc8;
  color: var(--green-dark);
}

.hero-content .trust-bar {
  color: var(--text-muted);
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

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

.btn-orange:hover {
  background: #e65100;
  color: var(--white);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* ========== SECTIONS ========== */
.section {
  padding: 48px 0;
}

.section-alt {
  background: var(--gray-light);
}

.section h2 {
  font-size: 1.75rem;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-align: center;
}

.section .lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.card h3 {
  color: var(--green-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.why-item {
  background: var(--white);
  border-left: 4px solid var(--green-main);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.why-item strong {
  color: var(--green-dark);
  display: block;
  margin-bottom: 4px;
}

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

.area-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.area-box h3 {
  color: var(--green-dark);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.area-box ul {
  list-style: none;
  color: var(--text-muted);
}

.area-box li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.area-box li::before {
  content: "•";
  color: var(--green-main);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.review-card .stars {
  color: var(--yellow);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 12px;
}

.review-card .reviewer {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
  font-style: normal;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.review-links a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--green-main);
  color: var(--green-dark);
  background: var(--white);
}

.review-links a:hover {
  background: var(--green-pale);
  text-decoration: none;
}

/* CTA band */
.cta-band {
  background: var(--green-main);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band p {
  margin-bottom: 20px;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

.cta-band .btn-primary:hover {
  background: var(--green-pale);
}

/* Content pages */
.page-hero {
  background: var(--green-pale);
  padding: 36px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 1.9rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.content {
  padding: 40px 0 56px;
}

.content h2 {
  color: var(--green-dark);
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.content ul {
  margin: 12px 0 20px 22px;
  color: var(--text-muted);
}

.content li {
  margin-bottom: 6px;
}

.about-photo {
  float: right;
  max-width: 320px;
  margin: 0 0 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  background: var(--green-pale);
  padding: 28px;
  border-radius: var(--radius);
}

.contact-info h2 {
  margin-top: 0;
  color: var(--green-dark);
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info a {
  font-weight: 600;
  color: var(--green-dark);
}

.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 65%; /* slightly taller than 16:9 for maps */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 8px;
  background: var(--gray-light);
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

@media (max-width: 600px) {
  .map-embed {
    padding-bottom: 85%; /* taller on phones so pin is usable */
  }
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--green-pale);
  text-decoration: none;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--green-dark);
  color: #e8f5e9;
  padding: 36px 0 24px;
  font-size: 0.95rem;
}

.footer a {
  color: #c8e6c9;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .logo-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e8f5e0;
    flex-direction: column;
    padding: 12px;
    border-bottom: 2px solid var(--green-main);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-phone {
    order: 3;
    width: 100%;
    text-align: center;
    padding-top: 4px;
  }

  .hero-content h1 {
    font-size: 1.55rem;
  }

  .hero-content .subtitle {
    font-size: 0.95rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    float: none;
    max-width: 100%;
    margin: 0 0 20px 0;
  }

  .section {
    padding: 36px 0;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .logo-link img {
    height: 44px;
  }
}
