:root {
  --primary: #4d8f85;
  --primary-dark: #386b63;
  --accent: #4054b2;
  --bg: #ffffff;
  --surface: #f4f1ea;
  --text: #26332f;
  --text-light: #5a6b66;
  --border: #e2e8e6;
  --radius: 14px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-dark); }

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header .logo img { height: 56px; }
.site-header .contact-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}
.site-header .contact-badge a { text-decoration: none; color: var(--primary-dark); }
.site-header .contact-badge .loc { color: var(--text-light); font-weight: 600; }

/* Hero */
.hero {
  background: var(--surface);
  padding: 56px 0 64px;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.hero .intro-answer {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.hero .tagline { color: var(--text-light); font-size: 1.05rem; margin-bottom: 8px; }
.hero .badge-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(77,143,133,.25);
}

/* Services */
.services {
  padding: 56px 0;
}
.services h2 { text-align: center; font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 32px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.service-card .icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.service-card .icon-wrap img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.service-card h3 { font-size: 1.05rem; color: var(--text); }

/* About / description */
.about {
  padding: 40px 0 56px;
  background: var(--surface);
}
.about .container { max-width: 820px; text-align: center; }
.about h2 { color: var(--primary-dark); font-size: 1.6rem; margin-bottom: 16px; }
.about p { color: var(--text); font-size: 1.05rem; }

/* Contact form */
.contact-section { padding: 56px 0; }
.contact-section h2 { text-align: center; font-size: 1.7rem; color: var(--primary-dark); margin-bottom: 8px; }
.contact-section .sub { text-align: center; color: var(--text-light); margin-bottom: 32px; }
form#contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
form#contact-form input,
form#contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
}
form#contact-form textarea { grid-column: 1 / -1; min-height: 110px; resize: vertical; }
form#contact-form input:focus,
form#contact-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; background: #fff; }
form#contact-form button {
  grid-column: 1 / -1;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}
form#contact-form button:hover { background: #2e5850; }
form#contact-form button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Certificate / PDF block */
.certificate-block {
  padding: 0 0 56px;
  text-align: center;
}
.certificate-block img {
  max-width: 280px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.certificate-block a.cert-link {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  text-decoration: underline;
}

/* Gallery */
.gallery { padding: 40px 0 64px; background: var(--surface); }
.gallery h2 { text-align: center; font-size: 1.7rem; color: var(--primary-dark); margin-bottom: 28px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* GMB reviews section wrapper */
.reviews-section { padding: 56px 0; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #eef5f3;
  padding: 40px 24px 24px;
}
.site-footer .footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.site-footer h3 { font-size: 1.2rem; margin-bottom: 8px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: #eef5f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav a { display: block; margin-bottom: 6px; }
.site-footer .footer-copy {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: .9rem;
  color: #eef5f3;
}
.footer-updated { text-align: center; font-size: .85rem; color: var(--text-light); padding: 10px 0; }

/* FAB — WhatsApp + Call */
.fab-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fab {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.fab.wa { background: #25D366; }
.fab.call { background: var(--primary); }
.fab svg { width: 28px; height: 28px; fill: white; }
@media (max-width: 480px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
}
@media print { .fab-container { display: none; } }

/* Blog */
.blog-index { padding: 56px 0; max-width: 900px; margin: 0 auto; }
.blog-index h1 { color: var(--primary-dark); font-size: 2rem; margin-bottom: 32px; text-align: center; }
.post-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease;
}
.post-card:hover { transform: translateY(-2px); }
.post-card h2 { color: var(--primary-dark); font-size: 1.3rem; margin-bottom: 8px; }
.post-card .post-date { color: var(--text-light); font-size: .9rem; margin-bottom: 10px; }
.post-card p { color: var(--text); }

.post-page { max-width: 760px; margin: 0 auto; padding: 56px 24px 64px; }
.post-page .post-date { color: var(--text-light); font-size: .9rem; margin-bottom: 20px; }
.post-page h1 { color: var(--primary-dark); font-size: 1.9rem; margin-bottom: 16px; }
.post-page .post-body p { margin-bottom: 16px; font-size: 1.05rem; }
.post-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-nav a { font-weight: 600; text-decoration: none; }
.back-to-blog { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }

/* Accessibility statement page inherits .a11y-page from a11y-widget.css */

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .badge-circle { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 12px; text-align: center; }
  form#contact-form { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid img { height: 150px; }
}
