:root {
  --bg: #ffffff;
  --surface: #f4fbfa;
  --surface-2: #eef7f5;
  --text: #10212a;
  --muted: #5e7180;
  --primary: #0f766e;
  --primary-strong: #0b5f59;
  --accent: #c7a567;
  --border: #dbe9e7;
  --shadow: 0 24px 60px rgba(15, 118, 110, .14);
  --radius: 24px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.muted {
  background: var(--surface);
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219,233,231,.8);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), #123d47);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: 0 12px 26px rgba(15,118,110,.25);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: #243944;
}

.site-nav a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 5px 0;
}

.nav-toggle em {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(15,118,110,.22);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 14px 26px rgba(34,197,94,.20);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(15,118,110,.14), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(199,165,103,.16), transparent 32%),
    linear-gradient(180deg, #fbfefd 0%, #f4fbfa 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 40%;
  height: 420px;
  background: rgba(15,118,110,.08);
  border-radius: 50%;
  filter: blur(20px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(42px, 6vw, 74px);
  max-width: 850px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 21px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-row div {
  padding: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row span {
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  border-radius: 34px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}

.photo-placeholder {
  min-height: 370px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(15,118,110,.78), rgba(16,33,42,.88)),
    url("../img/cabinet-placeholder.jpg");
  background-size: cover;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  padding: 24px;
}

.quick-info {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.quick-info article {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
}

.quick-info span,
.quick-info small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.quick-info strong {
  display: block;
  margin-top: 4px;
}

.strip {
  padding: 34px 0;
  background: var(--primary);
  color: #fff;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strip-grid div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat {
  min-width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
}

.strip p {
  margin: 0;
  color: rgba(255,255,255,.88);
}

.two-col,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.rich-text p,
.section-head p,
.feature-panel p,
.service-card p,
.benefits-grid p,
.timeline p,
.footer-grid p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.section-head {
  max-width: 770px;
  margin-bottom: 38px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.benefits-grid article,
.timeline article,
.appointment-form,
.hours-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 36px rgba(16,33,42,.06);
}

.service-card {
  min-height: 260px;
}

.service-card.highlight {
  background: linear-gradient(145deg, var(--primary), #123d47);
  color: #fff;
}

.service-card.highlight p {
  color: rgba(255,255,255,.82);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  font-size: 25px;
  margin-bottom: 18px;
}

.highlight .icon {
  background: rgba(255,255,255,.12);
}

.feature-panel {
  position: sticky;
  top: 110px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
}

.text-link {
  color: var(--primary);
  font-weight: 850;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article span {
  color: var(--accent);
  font-weight: 850;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.faq-wrap {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--text);
}

details p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(15,118,110,.12), transparent 32%),
    var(--surface);
}

.hours-card {
  margin-top: 28px;
}

.hours-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.hours-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.hours-card li:last-child {
  border-bottom: 0;
}

.hours-card span {
  color: var(--muted);
}

.appointment-form {
  display: grid;
  gap: 16px;
}

.appointment-form h3 {
  margin-bottom: 0;
}

.appointment-form p {
  margin-top: 0;
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: #28424f;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15,118,110,.16);
  border-color: var(--primary);
}

.form-note {
  color: var(--muted);
}

.site-footer {
  background: #0b1f27;
  color: #fff;
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 42px;
}

.footer-grid a {
  display: block;
  color: rgba(255,255,255,.8);
  margin: 8px 0;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-grid p,
.footer-brand small {
  color: rgba(255,255,255,.68);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.65);
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-grid,
  .two-col,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .strip-grid,
  .cards-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .brand small {
    font-size: 12px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row,
  .strip-grid,
  .cards-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid div {
    align-items: flex-start;
  }

  .photo-placeholder {
    min-height: 260px;
  }

  .hours-card li,
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .mobile-cta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 1000;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 14px 34px rgba(16,33,42,.18);
    border-radius: 18px;
    overflow: hidden;
  }

  .mobile-cta a {
    min-height: 54px;
    display: grid;
    place-items: center;
    font-weight: 850;
    color: var(--primary);
    border-right: 1px solid var(--border);
  }

  .mobile-cta a:last-child {
    border-right: 0;
  }
}
