:root {
  --green-950: #12342f;
  --green-900: #183f38;
  --green-800: #21534a;
  --green-700: #2f6a5f;
  --sage: #91a69b;
  --beige: #f4efe6;
  --beige-2: #fbf8f1;
  --white: #ffffff;
  --gold: #b89b63;
  --terracotta: #b56f5d;
  --text: #25312d;
  --muted: #6b7470;
  --border: rgba(18, 52, 47, 0.14);
  --shadow: 0 24px 80px rgba(18, 52, 47, 0.12);
  --radius: 24px;
  --font-title: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--beige-2);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.section {
  padding: 96px 0;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(244,239,230,0.8), rgba(255,255,255,0.8));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--green-900);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--green-900);
  color: var(--beige);
  border-radius: 50%;
  font-family: var(--font-title);
  letter-spacing: 0.06em;
}

.brand strong {
  display: block;
  color: var(--green-950);
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--green-950);
}

.main-nav a:hover {
  color: var(--green-700);
}

.nav-cta {
  background: var(--green-900);
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 52, 47, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--green-900);
  display: block;
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 155, 99, 0.16), transparent 32%),
    radial-gradient(circle at 10% 0%, rgba(145, 166, 155, 0.25), transparent 36%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 14px;
}

h1, h2, h3 {
  color: var(--green-950);
  margin: 0;
  line-height: 1.1;
}

h1, h2 {
  font-family: var(--font-title);
  font-weight: 500;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.12rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #41514b;
  max-width: 640px;
  margin: 24px 0 16px;
}

.hero-quote {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--green-800);
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin: 24px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(18, 52, 47, 0.2);
}

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

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--green-950);
  background: rgba(255,255,255,0.6);
}

.full {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  color: var(--green-800);
  background: rgba(255,255,255,0.58);
}

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

.portrait-placeholder {
  height: 520px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(18,52,47,0.1), rgba(184,155,99,0.13)),
    url("data:image/svg+xml,%3Csvg width='600' height='700' viewBox='0 0 600 700' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2321534a' stroke-opacity='.12'%3E%3Cpath d='M80 630c70-170 160-250 270-240 90 9 142 77 170 170'/%3E%3Ccircle cx='318' cy='244' r='94'/%3E%3Cpath d='M80 132c100-55 190-68 270-39s137 87 172 174'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--green-800);
  overflow: hidden;
}

.portrait-initials {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.75);
  font-family: var(--font-title);
  font-size: 2.3rem;
  margin: 0 auto 14px;
}

.hero-card-info {
  padding: 22px 10px 8px;
}

.hero-card-info strong,
.hero-card-info span {
  display: block;
}

.hero-card-info span {
  color: var(--muted);
  margin-top: 4px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow),
.text-block p {
  color: var(--muted);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid.six {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.service-card,
.article-card,
.appointment-card,
.contact-form {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(18, 52, 47, 0.06);
}

.info-card {
  padding: 28px;
}

.info-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(47,106,95,0.1);
  color: var(--green-800);
  font-weight: 800;
  margin-bottom: 24px;
}

.info-card p,
.article-card p,
.service-card p {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.align-start {
  align-items: start;
}

.photo-frame {
  min-height: 520px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(33,83,74,0.16), rgba(184,155,99,0.12)),
    repeating-linear-gradient(45deg, rgba(18,52,47,0.05), rgba(18,52,47,0.05) 1px, transparent 1px, transparent 18px);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--green-700);
  font-weight: 700;
}

.text-block .note {
  background: var(--beige);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 16px;
}

.text-link {
  color: var(--green-800);
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.service-card a {
  color: var(--green-800);
  font-weight: 800;
  white-space: nowrap;
}

.steps {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.step > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--green-900);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
}

.step p {
  margin: 8px 0 0;
}

.appointment-card {
  padding: 34px;
  position: sticky;
  top: 112px;
}

.calendar-placeholder {
  border: 1px solid var(--border);
  border-radius: 22px;
  margin: 24px 0;
  overflow: hidden;
  background: var(--beige-2);
}

.calendar-top {
  display: flex;
  gap: 6px;
  background: var(--green-900);
  padding: 14px;
}

.calendar-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--beige);
  opacity: .75;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 18px;
}

.calendar-grid button {
  border: 1px solid var(--border);
  background: white;
  border-radius: 14px;
  padding: 14px;
  color: var(--green-900);
  font-weight: 700;
}

.small,
.privacy-text {
  font-size: 0.86rem;
  color: var(--muted);
}

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

.article-card {
  padding: 28px;
}

.article-card span {
  color: var(--terracotta);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.article-card h3 {
  margin-top: 14px;
}

.article-card a {
  color: var(--green-800);
  font-weight: 800;
}

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

details {
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--green-950);
}

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

.contact-section {
  background:
    linear-gradient(135deg, rgba(18,52,47,0.96), rgba(33,83,74,0.94)),
    radial-gradient(circle at top right, rgba(184,155,99,0.4), transparent 40%);
  color: white;
}

.contact-section h2,
.contact-section .eyebrow {
  color: white;
}

.contact-section .eyebrow {
  opacity: .8;
}

.contact-copy p {
  color: rgba(255,255,255,0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin: 32px 0;
}

.contact-methods a {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 18px;
}

.contact-methods span {
  display: block;
  color: rgba(255,255,255,0.72);
}

.emergency-note {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.08);
  padding: 18px;
  border-radius: 16px;
}

.contact-form {
  padding: 32px;
  background: white;
}

.contact-form label {
  display: block;
  color: var(--green-950);
  font-weight: 750;
  margin-bottom: 16px;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  background: var(--beige-2);
}

textarea {
  resize: vertical;
}

.site-footer {
  padding: 48px 0 24px;
  background: #0f2925;
  color: rgba(255,255,255,0.76);
}

.site-footer strong {
  color: white;
}

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

.site-footer a {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: .85rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #1f7a55;
  color: white;
  padding: 15px 20px;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  max-width: 460px;
  z-index: 95;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 18px;
  display: none;
  gap: 14px;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin: 0 0 12px;
  font-size: .9rem;
  color: var(--muted);
}

.cookie-banner div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.cookie-banner button {
  background: var(--green-900);
  color: white;
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.cookie-banner a {
  color: var(--green-800);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.legal-page {
  padding: 80px 0;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 20px;
}

.legal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 18px 60px rgba(18, 52, 47, 0.08);
}

.legal-card h2 {
  font-size: 1.8rem;
  margin-top: 34px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--beige-2);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

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

  .cards-grid.six,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .appointment-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid.six,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .portrait-placeholder,
  .photo-frame {
    min-height: 380px;
    height: 380px;
  }

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

  .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 13px 16px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 74px;
    max-width: none;
  }
}
