/* Mobile first. One accent color. No animations. */

:root {
  --text: #1d1d1d;
  --muted: #555;
  --line: #ddd;
  --bg: #fff;
  --soft: #f4f4f4;
  --green: #1b7f3b;
  --green-dark: #155f2c;
  --green-light: #e9f4ec;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5rem; }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

section { padding: 2.5rem 0; }
section + section { border-top: 1px solid var(--line); }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; }
.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1rem; line-height: 1.1; }
.brand-tag {
  display: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  white-space: nowrap;
}
.top-nav { display: none; gap: 22px; }
.top-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.top-nav a:hover { color: var(--green-dark); }
.top-phone {
  flex: 1 0 100%;
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
  background: var(--green);
  padding: 14px 16px;
  border-radius: 10px;
  white-space: nowrap;
}
.top-phone:hover { background: var(--green-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--green);
  color: var(--green-dark);
  background: #fff;
}
.btn-main { background: var(--green); color: #fff; }
.btn-big { width: 100%; padding: 20px 24px; font-size: 1.25rem; }
.btn:hover { border-color: var(--green-dark); }
.btn-main:hover { background: var(--green-dark); }

/* Hero: photo with a white panel on top */
.hero {
  padding: 1.5rem 0 2rem;
  background: var(--soft) url("/images/hero.jpg") center 60% / cover no-repeat;
}
.hero .panel {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  max-width: 560px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.hero h1 { font-size: 2.1rem; margin-bottom: 0.75rem; }
.hero .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.25rem; max-width: 34ch; }
.hero .phone-line { margin: 0.9rem 0 0; font-size: 1.1rem; }
.hero .phone-line a { font-weight: 700; }
.hero .from { margin: 0.75rem 0 0; font-size: 1.05rem; }
.local { margin-top: 1.25rem; padding: 14px 16px; background: var(--green-light); border-radius: 8px; }
.local p { margin: 0; }

/* What you get */
.benefits { display: grid; gap: 1.25rem; }
.benefit h3 { display: flex; align-items: center; gap: 10px; }
.benefit h3::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
}
.benefit p { margin: 0; color: var(--muted); }

/* Prices */
.plans { display: grid; gap: 1rem; }
.plan {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  background: #fff;
  position: relative;
}
.plan.featured { border-color: var(--green); background: var(--green-light); }
.plan .tag {
  position: absolute;
  top: -14px; left: 1.25rem;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan .price { font-size: 2rem; font-weight: 800; margin: 0.25rem 0 0; }
.plan .was { color: var(--muted); font-weight: 400; font-size: 1rem; margin-left: 6px; }
.plan .was s { text-decoration: line-through; }
.plan .for { color: var(--muted); margin-bottom: 1rem; }
.plan ul { margin-bottom: 1.25rem; }
.plan li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--line); }
.plan.featured li { border-color: #cfe3d5; }
.plan li::before {
  content: "✓";
  position: absolute; left: 2px; top: 6px;
  color: var(--green);
  font-weight: 800;
}
.plan .btn { width: 100%; }

.care {
  margin-top: 1.25rem;
  border: 2px dashed var(--green);
  border-radius: 12px;
  padding: 1.25rem;
}
.care h3 { margin-bottom: 0.25rem; }
.care .price { font-size: 1.4rem; font-weight: 800; }
.care .price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.care p { margin: 0.5rem 0 0; }

.fine { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }

/* Examples */
.examples { display: grid; gap: 1.5rem; }
.example figure { margin: 0; }
.example svg {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.example figcaption { margin-top: 0.6rem; color: var(--muted); }
.example figcaption strong { color: var(--text); }

/* Let's talk */
.talk .buttons { display: grid; gap: 0.75rem; margin: 1.25rem 0 1rem; }
.talk .note { font-weight: 600; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
footer p { margin: 0 0 0.5rem; }
footer nav a { margin-right: 14px; }

/* Larger screens */
@media (min-width: 640px) {
  body { font-size: 19px; }
  h1 { font-size: 2.6rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero .panel { padding: 2rem; }
  .hero h1 { font-size: 2.6rem; }
  .btn-big { width: auto; min-width: 280px; }
  .brand .mark { width: 48px; height: 48px; }
  .brand-name { font-size: 1.1rem; white-space: nowrap; }
  .brand-tag { display: block; }
  .top-inner { flex-wrap: nowrap; }
  .top-phone { flex: none; font-size: 1rem; padding: 10px 14px; border-radius: 999px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .talk .buttons { grid-template-columns: repeat(2, max-content); }
}

@media (min-width: 900px) {
  section { padding: 3.5rem 0; }
  .top-nav { display: flex; }
  .hero { padding: 5rem 0 6rem; }
  .hero h1 { font-size: 3rem; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plan.featured { margin-top: -10px; }
  .examples { grid-template-columns: repeat(3, 1fr); }
}
