/* SafeHome Pest Control — responsive static landing page */
:root {
  --green: #087443;
  --green-dark: #064b34;
  --green-deep: #033b2d;
  --mint: #edf7f0;
  --ink: #123b31;
  --body: #425a53;
  --line: #d9e7df;
  --white: #fff;
  --shadow: 0 12px 34px rgba(6, 75, 52, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: white; padding: 12px; }
.skip-link:focus { left: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(6,75,52,.08); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid var(--green); border-radius: 15px 15px 20px 20px; font-size: 30px; font-weight: 800; line-height: 1; transform: rotate(0deg); }
.brand strong { display: block; font-size: 25px; letter-spacing: -.8px; line-height: 1.05; }
.brand small { display: block; color: var(--green); letter-spacing: 2px; font-size: 10px; font-weight: 800; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.5vw, 34px); margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: #23483d; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9ae6b4; outline-offset: 3px; }
.button-small { background: var(--green); color: white; padding: 11px 18px; border-radius: 14px; font-size: 13px; white-space: nowrap; }
.button-small strong { font-size: 16px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--green-dark); margin: 5px; }
.hero { min-height: 490px; position: relative; display: flex; align-items: center; overflow: hidden; background: #f5f7f3; }
.hero-image { position: absolute; inset: 0 0 0 36%; background-image: linear-gradient(90deg, #f5f7f3 0%, rgba(245,247,243,.92) 9%, rgba(245,247,243,.12) 42%, rgba(245,247,243,0) 100%), url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1800&q=85"); background-position: center, center 48%; background-size: cover; }
.hero-content { position: relative; z-index: 1; padding-block: 66px; }
.hero-content > * { max-width: 560px; }
.eyebrow { color: #078b59; font-size: 12px; font-weight: 850; letter-spacing: 1.8px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(38px, 4.7vw, 61px); line-height: 1.03; letter-spacing: -2.4px; margin: 0 0 18px; color: #073e31; }
.hero h1 span { display: inline; }
.hero-copy { font-size: 17px; max-width: 480px; margin: 0 0 25px; color: #294b41; }
.button-primary { color: white; background: var(--green); padding: 15px 25px; box-shadow: 0 8px 20px rgba(8,116,67,.16); }
.button-primary:hover { background: var(--green-dark); }
.hero-cta { font-size: 19px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 25px; font-size: 12px; font-weight: 650; color: #31564a; }
.hero-points i { width: 4px; height: 4px; background: #148455; border-radius: 50%; }
.benefits { background: var(--mint); border-block: 1px solid #e1eee5; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.benefit { text-align: center; padding: 4px 25px; border-right: 1px solid #cbded2; }
.benefit:last-child { border-right: 0; }
.benefit-icon { display: inline-grid; place-items: center; color: var(--green); font-size: 37px; font-weight: 700; height: 48px; }
.benefit h2 { font-size: 15px; line-height: 1.3; margin: 6px 0; }
.benefit p { font-size: 13px; color: var(--body); margin: 0; }
.section { padding-block: 64px; }
.section-title, .contact-content h2, .trust-content h2 { margin: 0; font-size: clamp(27px, 3vw, 36px); letter-spacing: -1px; line-height: 1.15; }
.section-intro { color: var(--body); margin: 10px 0 26px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 4px 16px rgba(6,75,52,.035); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100%; height: 170px; object-fit: cover; background: #e5eee8; }
.service-body { padding: 19px 20px 21px; position: relative; }
.service-symbol { display: grid; place-items: center; width: 34px; height: 34px; margin-top: -36px; margin-bottom: 10px; position: relative; border: 3px solid white; border-radius: 50%; background: var(--green); color: white; }
.service-body h3 { font-size: 17px; margin: 0 0 6px; }
.service-body p { font-size: 13px; color: var(--body); min-height: 42px; margin: 0 0 12px; }
.service-body a { color: var(--green); font-weight: 750; font-size: 13px; text-decoration: none; }
.service-body a:hover { text-decoration: underline; }
.trust-contact { display: grid; grid-template-columns: 1fr 1fr; }
.trust-panel { background: linear-gradient(135deg, rgba(3,59,45,.96), rgba(6,75,52,.94)), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80") center/cover; color: white; display: flex; justify-content: flex-end; }
.trust-content { width: min(580px, 100%); padding: 58px 50px 58px max(30px, calc((100vw - 1160px)/2)); }
.eyebrow-light { color: #8ce5a9; }
.trust-content h2 { max-width: 440px; font-size: clamp(29px, 3vw, 38px); }
.check-list { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: #8ce65b; color: #064b34; font-weight: 900; }
.contact-panel { background: #f0f7f1; }
.contact-content { max-width: 580px; padding: 58px max(30px, calc((100vw - 1160px)/2)) 58px 46px; }
.contact-content > p:not(.eyebrow) { color: var(--body); margin: 10px 0 20px; font-size: 14px; }
form { display: grid; gap: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 750; color: #254c3e; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #d3e1d8; border-radius: 8px; padding: 12px 13px; font: inherit; font-size: 13px; color: #183d31; background: white; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #899b93; }
.optional { font-weight: 400; color: #71867b; }
.submit-button { width: 100%; border-radius: 9px; font-size: 14px; }
.form-note { font-size: 11px; color: #60766b; margin: 0; }
.direct-call { display: inline-block; margin-top: 15px; color: var(--green-dark); font-size: 13px; text-decoration: none; }
.direct-call:hover { text-decoration: underline; }
.site-footer { background: #033b2d; color: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { border-color: white; }
.brand-footer small { color: #9be5b5; }
.footer-inner p { margin: 0; font-size: 13px; color: #d0e4d8; }
.footer-phone { text-decoration: none; font-size: 17px; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-block: 12px 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; color: #b9d3c6; }
@media (max-width: 900px) {
  .nav-wrap { gap: 15px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .brand strong { font-size: 22px; }
  .header-call { padding: 10px 13px; }
  .hero-image { left: 27%; opacity: .8; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-content { padding-left: 30px; padding-right: 28px; }
  .contact-content { padding-left: 28px; padding-right: 30px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, 520px); }
  .nav-wrap { min-height: 72px; flex-wrap: wrap; justify-content: space-between; }
  .brand-mark { width: 40px; height: 40px; font-size: 25px; }
  .brand strong { font-size: 21px; }
  .menu-toggle { display: block; margin-left: auto; order: 2; }
  .header-call { order: 3; padding: 9px 12px; }
  .header-call span { display: none; }
  .header-call { font-size: 12px; }
  .header-call strong { font-size: 14px; }
  .site-nav { display: none; flex: 0 0 100%; order: 4; margin: 0; padding: 0 0 14px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 4px; border-top: 1px solid #e5eee8; }
  .hero { min-height: auto; align-items: flex-end; }
  .hero-image { inset: 0; opacity: 1; background-image: linear-gradient(90deg, rgba(246,249,245,.97) 0%, rgba(246,249,245,.91) 48%, rgba(246,249,245,.57) 100%), url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1000&q=80"); background-position: center, 58% center; }
  .hero-content { padding-block: 58px 42px; }
  .hero h1 { font-size: clamp(37px, 10vw, 52px); letter-spacing: -1.8px; }
  .hero-copy { font-size: 15px; max-width: 440px; }
  .hero-points { max-width: 380px; gap: 8px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .benefit { padding: 14px 10px; border-right: 0; }
  .benefit:nth-child(odd) { border-right: 1px solid #cbded2; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid #cbded2; }
  .section { padding-block: 46px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card img { height: 125px; }
  .service-body { padding: 15px 13px 16px; }
  .service-body h3 { font-size: 15px; }
  .service-body p { font-size: 12px; min-height: 60px; }
  .trust-contact { grid-template-columns: 1fr; }
  .trust-panel { justify-content: flex-start; }
  .trust-content, .contact-content { width: 100%; max-width: none; padding: 42px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; padding-block: 24px; }
  .footer-inner p { order: 3; flex: 0 0 100%; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 24px); }
  .brand { gap: 7px; }
  .brand strong { font-size: 19px; }
  .header-call { padding: 8px 9px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card img { height: 180px; }
  .service-body p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
