:root {
  --bg: #f7f4ee;
  --bg-alt: #efebe2;
  --panel: #fffdf9;
  --line: #ddd6c9;
  --ink: #2a2f36;
  --muted: #5d6470;
  --accent: #2c6e70;
  --accent-ink: #ffffff;
  --green: #23804c;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
h1 span { display: block; color: var(--accent); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

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

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.brand-logo { height: 36px; width: auto; color: var(--accent); flex-shrink: 0; }
.brand-name { font-weight: 900; letter-spacing: 0.03em; white-space: nowrap; }
.brand-name b { color: var(--accent); font-weight: 900; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border: 0; border-radius: var(--radius);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: scale(1.06); filter: brightness(1.06); }
.btn-small { padding: 9px 16px; font-size: 0.8rem; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-light { background: var(--accent-ink); color: var(--accent); }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero {
  padding: 88px 0 76px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.94) 50%, rgba(247, 244, 238, 0.8) 100%),
    url("images/keys.jpg") center / cover no-repeat,
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 1100px; }
.hero-inner > * { max-width: 760px; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: var(--radius);
  background: rgba(44, 110, 112, 0.12); color: var(--accent);
  font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.lead strong { color: var(--ink); }
.hero-phone { font-size: 1.3rem; font-weight: 800; }
.hero-phone a { color: var(--accent); text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.badges li { position: relative; padding-left: 22px; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.badges li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 12px; height: 6px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--accent); }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 36px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 26px;
}
.card p { margin: 0; color: var(--muted); }

/* Services */
.service-groups { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.service-group {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 30px;
}
.service-group h3 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.service-group h3::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 12px;
  border-radius: 2px; background: var(--accent);
}
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 0.52em;
  width: 8px; height: 4px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.service-note { margin: 28px 0 0; color: var(--muted); }

/* Hover: blocks grow slightly */
.card, .service-group, .stats li, .areas li {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover, .service-group:hover, .stats li:hover, .areas li:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(60, 50, 30, 0.12);
}

@media (max-width: 900px) {
  .service-groups { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: 56px 0; }
.cta-band h2 { color: var(--accent-ink); text-transform: uppercase; }
.cta-band p { font-weight: 600; margin-bottom: 24px; }

/* About */
.about { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.about p { color: var(--muted); }
.about-photo { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.about-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: 80% center;
  filter: saturate(0.85);
}
.stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
.stats li {
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 18px 22px; color: var(--muted);
}
.stats strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--ink); }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 18px; font-weight: 700;
}

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--muted); padding: 48px 0 24px; font-size: 0.95rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer h3 { color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand { color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }

/* Sticky call bar on phones */
.mobile-bar { display: none; }

/* Cookie notice */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  max-width: 760px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(60, 50, 30, 0.16); font-size: 0.9rem; color: var(--muted);
}
.cookie-notice[hidden] { display: none; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { flex: 1; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--muted); }
.cookie-notice p { margin: 0; }
.cookie-notice strong { color: var(--ink); }

/* Legal pages */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8em; color: var(--accent); }
.legal p { color: var(--muted); }
.legal code { background: var(--panel); padding: 2px 6px; border-radius: 4px; color: var(--ink); }

@media (max-width: 800px) {
  .nav, .site-header .btn { display: none; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 52px 0; }
  .about, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero {
    background:
      linear-gradient(rgba(247, 244, 238, 0.94), rgba(247, 244, 238, 0.94)),
      url("images/keys.jpg") center / cover no-repeat,
      var(--bg);
  }
  .cta-row .btn { flex: 1 1 150px; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px; background: var(--bg); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 14px 10px; }
  .cookie-notice { bottom: 88px; flex-direction: column; align-items: stretch; }
}

.copyright { color: var(--ink); }
.copyright small { color: var(--muted); font-size: 0.92em; }

.areas-note { margin: 24px 0 0; color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; gap: 48px; grid-template-columns: 1fr 1.5fr; align-items: start; }
.faq-intro { position: sticky; top: 96px; }
.faq-intro h2 { margin-top: 14px; }
.faq-lead { color: var(--muted); margin: 0 0 28px; }
.faq-help {
  background: var(--accent); color: var(--accent-ink);
  border-radius: 16px; padding: 26px;
}
.faq-help strong { display: block; font-size: 1.25rem; font-weight: 800; }
.faq-help p { margin: 6px 0 18px; opacity: 0.9; }
.faq-help .btn { background: var(--accent-ink); color: var(--accent); width: 100%; }

.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details:hover { border-color: var(--accent); }
.faq details[open] { border-color: var(--accent); box-shadow: 0 12px 28px rgba(60, 50, 30, 0.1); }
.faq summary {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.faq-toggle {
  position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(44, 110, 112, 0.12);
  transition: background 0.2s ease, transform 0.25s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: var(--accent); transition: background 0.2s ease, transform 0.25s ease;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq details[open] .faq-toggle { background: var(--accent); transform: rotate(180deg); }
.faq details[open] .faq-toggle::before, .faq details[open] .faq-toggle::after { background: var(--accent-ink); }
.faq details[open] .faq-toggle::after { transform: rotate(0deg); }
.faq details p {
  margin: 0; padding: 0 72px 22px 22px; color: var(--muted);
  animation: faq-in 0.25s ease;
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .faq summary { padding: 18px 16px; gap: 12px; }
  .faq details p { padding: 0 16px 20px 16px; }
}
.faq-intro .eyebrow { font-size: 1rem; padding: 8px 16px; letter-spacing: 0.1em; }
