:root {
  --paper: #fbfaf7;
  --surface: #f1eee7;
  --surface-strong: #e6e0d5;
  --ink: #24302c;
  --muted: #61706a;
  --brand: #5f7f73;
  --brand-strong: #3f6759;
  --accent: #b8805f;
  --line: rgba(36, 48, 44, 0.14);
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(36, 48, 44, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--brand-strong);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.9);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100%, var(--max));
  min-height: 64px;
  margin: 0 auto;
  padding: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 40px rgba(36, 48, 44, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}

.brand,
.footer-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-strong);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(63, 103, 89, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  min-height: 44px;
  padding: 0.72rem 0.88rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(95, 127, 115, 0.12);
  outline: none;
}

.nav-links .nav-action {
  color: var(--white);
  background: var(--brand-strong);
}

.nav-links .nav-action:hover,
.nav-links .nav-action:focus-visible {
  background: var(--ink);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.instagram-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
}

.instagram-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-links .instagram-link.nav-action {
  color: var(--ink);
  border: 1px solid rgba(36, 48, 44, 0.1);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(36, 48, 44, 0.08);
}

.nav-links .instagram-link.nav-action:hover,
.nav-links .instagram-link.nav-action:focus-visible {
  color: var(--ink);
  background: var(--surface);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: var(--brand) url("img/Img01.jpg") center 35% / cover no-repeat;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.82) 0%, rgba(23, 32, 29, 0.58) 46%, rgba(23, 32, 29, 0.14) 100%),
    linear-gradient(0deg, rgba(23, 32, 29, 0.8) 0%, rgba(23, 32, 29, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 9rem 0 4rem;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c5a9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.2rem;
  font-weight: 500;
}

h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  font-weight: 500;
}

h3 {
  font-size: 1.15rem;
}

.hero-subtitle {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: var(--brand-strong);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #2f5146;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.button.full {
  width: 100%;
}

.button.compact {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
}

.hero-notes {
  width: min(100%, 840px);
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border-radius: 8px;
}

.hero-notes div {
  padding: 1rem;
}

.hero-notes div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-notes dt {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-notes dd {
  margin: 0.15rem 0 0;
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-band {
  padding: 2rem 0;
  color: var(--white);
  background: var(--brand-strong);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.intro-grid p {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1.25;
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-underline-offset: 0.35em;
}

.split,
.steps-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.contact-section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:not(.eyebrow) {
  margin: 1.2rem 0 0;
}

.professional-note {
  padding: 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(184, 128, 95, 0.1);
  border-radius: 0 8px 8px 0;
}

.timeline-section {
  background: var(--paper);
}

.timeline-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline-grid article,
.article-card {
  min-height: 300px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.timeline-grid article span,
.article-card span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-grid article p,
.article-card p {
  color: var(--muted);
}

.profile-panel {
  position: sticky;
  top: 7rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.profile-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.profile-meta {
  padding: 1.2rem;
  display: grid;
  gap: 0.2rem;
}

.profile-meta span,
.profile-meta small {
  color: var(--muted);
}

.profile-meta strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

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

.section-heading {
  max-width: 850px;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 250px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
}

.card-index {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-strong);
  border: 1px solid rgba(95, 127, 115, 0.3);
  border-radius: 50%;
  font-weight: 900;
}

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

.content-preview {
  background: var(--paper);
}

.content-preview .article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.content-action {
  margin-top: 1rem;
}

.steps-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  border-top: 1px solid var(--line);
}

.steps-list span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border-radius: 50%;
  font-weight: 850;
}

.steps-list p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.quote-band {
  color: var(--white);
  background: #24302c;
}

.quote-content {
  display: grid;
  gap: 1rem;
}

.quote-content blockquote {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 1.08;
}

.quote-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

summary {
  min-height: 58px;
  padding: 1rem 3rem 1rem 1rem;
  position: relative;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-strong);
  font-size: 1.6rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

details p a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.article-content p a,
.cookie-banner p a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(rgba(63, 103, 89, 0.88), rgba(63, 103, 89, 0.88)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.contact-section .eyebrow {
  color: #ffd0b3;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.contact-card span,
.contact-card p {
  color: var(--muted);
}

.contact-card strong {
  font-size: 2.25rem;
  line-height: 1.1;
}

.ad-placeholder {
  width: min(100% - 2rem, 970px);
  min-height: 120px;
  margin: 2rem auto 4rem;
  padding: 1rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(36, 48, 44, 0.28);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
}

.ad-placeholder span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ad-placeholder p {
  margin: 0.2rem 0 0;
}

.ad-placeholder--inline {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer {
  padding: 2.5rem 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  text-decoration: none;
}

.site-footer p {
  max-width: 560px;
  margin: 0.5rem 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-content: start;
}

.site-footer nav a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 0.35em;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  width: min(100% - 2rem, 860px);
  transform: translateX(-50%);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner:not([hidden]) ~ .whatsapp-assistant {
  display: none;
}

.cookie-banner p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-actions .secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.whatsapp-assistant {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
}

.whatsapp-fab {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: #1f7a55;
  box-shadow: 0 18px 44px rgba(31, 122, 85, 0.34);
  cursor: pointer;
}

.whatsapp-fab span {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #1f7a55;
  background: var(--white);
  border-radius: 50%;
  font-weight: 950;
}

.whatsapp-fab strong {
  font-size: 0.95rem;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 4.4rem;
  width: min(92vw, 390px);
  max-height: calc(100vh - 5.7rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.whatsapp-panel[hidden] {
  display: none;
}

.whatsapp-panel__header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--brand-strong);
}

.whatsapp-panel__header span {
  font-weight: 900;
}

.whatsapp-panel__header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.whatsapp-panel__body {
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}

.whatsapp-panel__body p,
.whatsapp-panel__body small {
  color: var(--muted);
}

.whatsapp-options {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.whatsapp-options button {
  min-height: 44px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-options button.is-selected,
.whatsapp-options button:hover,
.whatsapp-options button:focus-visible {
  color: var(--white);
  background: var(--brand-strong);
  outline: none;
}

.chat-log {
  display: grid;
  gap: 0.65rem;
  max-height: 250px;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.chat-message {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 0.72rem 0.78rem;
  border-radius: 8px;
  font-size: 0.94rem;
  line-height: 1.48;
}

.chat-message--bot {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.chat-message--user {
  justify-self: end;
  color: var(--white);
  background: var(--brand-strong);
}

.whatsapp-panel__body .chat-message--bot {
  color: var(--ink);
}

.whatsapp-panel__body .chat-message--user {
  color: var(--white);
}

.chat-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.chat-input-row input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.chat-input-row input:focus {
  outline: 2px solid rgba(93, 125, 104, 0.28);
  border-color: var(--brand);
}

.chat-input-row button {
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-strong);
  font-weight: 900;
  cursor: pointer;
}

.whatsapp-training-note {
  display: block;
  margin-top: 0.7rem;
}

.legal-page {
  background: var(--surface);
}

.legal-header {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.legal-header .brand {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.legal-main {
  width: min(100% - 2rem, 920px);
  margin: 2rem auto 5rem;
}

.legal-content {
  padding: clamp(1.25rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--ink);
  font-size: 3.9rem;
}

.legal-content h2 {
  margin-top: 2rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 850;
}

.legal-content p {
  color: var(--muted);
}

.legal-content p a,
.legal-content li a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.legal-content ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.legal-updated {
  font-weight: 800;
}

.legal-return {
  width: fit-content;
  margin-top: 0.6rem;
}

.article-page {
  background: var(--paper);
}

.blog-hero {
  min-height: 620px;
  display: flex;
  align-items: end;
}

.article-hero {
  padding: 8rem 0 3rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(36, 48, 44, 0.92), rgba(63, 103, 89, 0.76)),
    url("img/Img01.jpg") center 34% / cover;
}

.article-hero h1 {
  font-size: 4.5rem;
}

.article-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.tag-list {
  max-width: 920px;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.78rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.tag-list a:hover,
.tag-list a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.blog-feature-section {
  background: var(--surface);
}

.blog-card-grid,
.treatment-grid {
  display: grid;
  gap: 1rem;
}

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

.blog-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(36, 48, 44, 0.08);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  background: var(--surface);
}

.blog-card span,
.blog-card h3,
.blog-card p {
  margin-left: 1rem;
  margin-right: 1rem;
}

.blog-card span {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-top: 0.65rem;
}

.blog-card p {
  margin-top: auto;
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.blog-card[hidden] {
  display: none;
}

.blog-filter-notice {
  margin-bottom: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.blog-filter-notice a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-strong);
  font-weight: 900;
  text-underline-offset: 0.35em;
}

.article-index {
  padding: 2rem 0;
  background: var(--surface);
}

.article-index nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-index a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
}

.article-content article {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.article-content h2 {
  font-size: 2.7rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.08rem;
}

.article-content ul {
  padding-left: 1.2rem;
}

.treatment-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.5rem;
}

.treatment-card {
  padding: 1.1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
}

.treatment-card p {
  margin-bottom: 0;
}

.blog-post {
  background: var(--paper);
}

.post-hero {
  padding: 8rem 0 3rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(36, 48, 44, 0.94), rgba(63, 103, 89, 0.74)),
    url("img/Img01.jpg") center 34% / cover;
}

.post-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: center;
}

.post-hero h1 {
  font-size: 4.1rem;
}

.post-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.post-hero img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.tag-list--dark a {
  color: var(--white);
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}

.post-content {
  min-width: 0;
}

.post-content > p,
.post-content > ul,
.post-content details p {
  color: var(--muted);
  font-size: 1.08rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  font-size: 2.4rem;
}

.post-content details {
  margin-top: 0.8rem;
}

.post-sidebar {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 0.8rem;
}

.post-sidebar h2 {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 900;
}

.related-card {
  min-height: 96px;
  padding: 1rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  text-decoration: none;
}

.related-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  line-height: 1.25;
}

.post-cta {
  margin-top: 2rem;
  padding: 1.25rem;
  color: var(--white);
  background: var(--brand-strong);
  border-radius: 8px;
}

.post-cta h2 {
  margin-top: 0;
  font-size: 2rem;
}

.post-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.post-cta .button.primary {
  color: var(--brand-strong);
  background: var(--white);
}

.source-note {
  margin-top: 1.2rem;
  padding: 1rem;
  color: var(--muted);
  background: rgba(95, 127, 115, 0.1);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
}

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

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
    border-radius: 8px;
  }

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

  .nav-links a {
    width: 100%;
  }

  .hero {
    min-height: 860px;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .intro-grid p {
    font-size: 1.7rem;
  }

  .quote-content blockquote {
    font-size: 3rem;
  }

  .contact-card strong {
    font-size: 1.9rem;
  }

  .article-hero h1 {
    font-size: 3.4rem;
  }

  .blog-card {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(23, 32, 29, 0.88) 0%, rgba(23, 32, 29, 0.56) 62%, rgba(23, 32, 29, 0.24) 100%);
  }

  .hero-content {
    padding-top: 8rem;
  }

  .hero-notes,
  .service-grid,
  .timeline-grid,
  .article-grid,
  .content-preview .article-grid,
  .blog-card-grid,
  .treatment-grid,
  .post-hero-grid,
  .post-layout,
  .split,
  .steps-layout,
  .faq-layout,
  .contact-layout,
  .footer-grid,
  .cookie-banner,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-notes div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .profile-panel {
    position: static;
  }

  .post-sidebar {
    position: static;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    flex: 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.7rem;
  }

  .nav-shell {
    min-height: 58px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 790px;
  }

  .hero-media {
    background-position: left center;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .intro-grid p {
    font-size: 1.35rem;
  }

  .quote-content blockquote {
    font-size: 2.1rem;
  }

  .legal-content h1 {
    font-size: 2.55rem;
  }

  .timeline-grid article,
  .article-card {
    min-height: 230px;
  }

  .article-hero {
    padding-top: 6.5rem;
  }

  .article-hero h1 {
    font-size: 2.6rem;
  }

  .article-content h2 {
    font-size: 2rem;
  }

  .post-hero h1 {
    font-size: 2.45rem;
  }

  .post-content h2 {
    font-size: 1.85rem;
  }

  .tag-list a {
    width: 100%;
  }

  .blog-filter-notice {
    align-items: start;
    flex-direction: column;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .intro-band {
    padding: 1.5rem 0;
  }

  .whatsapp-assistant {
    right: 1rem;
    left: auto;
  }

  .whatsapp-fab {
    width: auto;
    justify-content: center;
  }

  .whatsapp-panel {
    right: 0;
    left: auto;
    width: min(calc(100vw - 2rem), 390px);
  }

  .chat-log {
    max-height: 220px;
  }

  .chat-input-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
