/* Strib Pest Control — design system
   Brand: teal shield #2E8B7F | dark slate | amber CTA */
:root {
    --brand: #2E8B7F;
    --brand-dark: #1F6459;
    --brand-deep: #0F332D;      /* headers, footer, logo background */
    --amber: #F7A823;            /* primary CTA */
    --amber-dark: #DD8F0E;
    --ink: #16302B;
    --text: #2B3B38;
    --text-soft: #5A6E6A;
    --bg: #F6FAF9;
    --card: #FFFFFF;
    --line: #DFE9E7;
    --danger: #C0392B;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(15,51,45,.08);
    --shadow-md: 0 6px 18px rgba(15,51,45,.10);
    --shadow-lg: 0 16px 40px rgba(15,51,45,.16);
    --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; display: block; margin-bottom: 8px; }
.section-head p { color: var(--text-soft); margin-top: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-family: var(--font-head); text-decoration: none; font-size: .95rem; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: var(--brand-deep); }
.btn-amber:hover { background: var(--amber-dark); }
.btn-teal { background: var(--brand); color: #fff; }
.btn-teal:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-body { padding: 22px; }
.card:hover { box-shadow: var(--shadow-md); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .18s; }
.card-link:hover { transform: translateY(-3px); }
.card-img { width: 100%; height: 190px; object-fit: cover; display: block; background: #E7F0EE; }

/* Pest library card */
.pest-card { text-align: center; }
.pest-card img { width: 100%; height: 170px; object-fit: cover; }
.pest-card h3 { margin: 14px 0 4px; }
.pest-card p { font-size: .85rem; color: var(--text-soft); padding: 0 16px 18px; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--brand-deep) 0%, #14443C 55%, var(--brand-dark) 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: url('/assets/images/hero-texture.svg') right bottom / 500px no-repeat; opacity: .12; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 84px 0; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: .85rem; color: rgba(255,255,255,.8); }
.hero .trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust-row svg, .hero .trust-row i { color: var(--amber); }
.page-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; padding: 56px 0 46px; }
.page-hero h1 { color: #fff; }
.page-hero .crumbs { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.page-hero .crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero p.sub { color: rgba(255,255,255,.82); margin-top: 10px; max-width: 720px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: var(--radius); padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); }

/* Checklist */
.checklist { list-style: none; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .85rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,139,127,.15); }
.form-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .9rem; }
.form-alert.success { background: #E7F6EF; border: 1px solid #9BD9BC; color: #1D7A4B; }
.form-alert.error { background: #FBEAE8; border: 1px solid #EFB4AC; color: var(--danger); }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; background: var(--brand-deep); color: #fff; padding: 11px 14px; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 800px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-item .stat-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--brand); display: block; }
.stat-item .stat-label { font-size: .82rem; color: var(--text-soft); }

/* Reviews */
.review-card-strib { border-top: 4px solid var(--amber); }
.review-stars-row { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 700; font-family: var(--font-head); cursor: pointer; color: var(--ink); list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--brand); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-soft); }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.badge-pill { display: inline-block; background: rgba(46,139,127,.12); color: var(--brand-dark); border-radius: 100px; padding: 4px 14px; font-size: .75rem; font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.img-rounded { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* Animations */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.in { opacity: 1; transform: none; }
