/* ============================================================
   compat.css — definizioni per le classi usate dalle pagine
   ma assenti da style.css. Caricato dopo style.css.
   ============================================================ */

/* ============================================================
   Compat layer — content components
   Complements assets/css/style.css (reuses its :root variables).
   Only defines classes NOT present in style.css.
   ============================================================ */

/* -- Content sections -------------------------------------- */
.content-section { padding: var(--section-pad); }
.content-section--alt { background: var(--off-white); }

/* -- Article + sidebar layout ------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.content-main { min-width: 0; }
.content-main > h2,
.content-main h2 {
  margin: 36px 0 14px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 24px 0 10px; }
.content-main p { margin-bottom: 16px; }
.content-main ul li,
.content-block ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-mid);
  font-size: .95rem;
}
.content-main ul li::before,
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.content-main ul,
.content-block ul { margin-bottom: 16px; }
.content-sidebar,
.content-aside { min-width: 0; }

/* -- Content typography blocks ------------------------------ */
.content-block {
  max-width: 860px;
  margin: 0 auto;
}
.content-block h2 { margin: 32px 0 14px; }
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { margin: 24px 0 10px; }
.content-block p { margin-bottom: 16px; }

.content-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--blue-pale);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
}
.content-note h3 { margin-bottom: 10px; font-size: 1.1rem; }
.content-note p:last-child { margin-bottom: 0; }

.content-list { margin: 0 0 16px; }
.content-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-mid);
  font-size: .95rem;
}
.content-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* -- Intros / hero text ------------------------------------- */
.page-intro,
.page-hero__intro {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 8px;
}
.page-hero__title { color: var(--white); margin-bottom: 20px; }
.section-intro {
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 32px;
}
.section-text p { margin-bottom: 16px; }
.section-text h3 { margin: 24px 0 10px; }
.section-inner {
  max-width: 860px;
  margin: 0 auto;
}
.container--narrow { max-width: 860px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* -- Tag rows ----------------------------------------------- */
.tag-list,
.tags,
.tag-group,
.page-tags,
.page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* -- Procedure article + sidebar (EN pages) ------------------ */
.procedure-article { min-width: 0; }
.procedure-article h2 {
  font-size: 1.6rem;
  margin: 36px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.procedure-article h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.procedure-article h3 { margin: 24px 0 10px; }
.procedure-article p { margin-bottom: 16px; }
.procedure-article ul { margin-bottom: 16px; }
.procedure-article ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-mid);
  font-size: .95rem;
}
.procedure-article ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.procedure-sidebar { min-width: 0; }

.procedure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.procedure-table th,
.procedure-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.procedure-table th {
  text-align: left;
  font-weight: 500;
  color: var(--text-light);
  padding-right: 12px;
}
.procedure-table td {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
}
.procedure-table tr:last-child th,
.procedure-table tr:last-child td { border-bottom: none; }

/* -- Numbered steps ----------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.step-card,
.step-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.step-number,
.step-card__number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.step-card h3,
.step-item h3,
.step-card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.step-card p,
.step-item p {
  font-size: .92rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* -- FAQ (static markup: h3 question + always-visible answer) */
.faq-section { padding: var(--section-pad); }
.faq-section > .container > h2 { margin-bottom: 12px; }
.faq-list { margin-top: 24px; }
.faq-question,
.faq-item__question {
  font-size: 1.05rem;
  color: var(--navy);
  padding: 20px 24px 8px;
  margin: 0;
}
.faq-answer,
.faq-item__answer {
  padding: 0 24px 20px;
  color: var(--text-mid);
  font-size: .92rem;
  line-height: 1.75;
}
.faq-answer p,
.faq-item__answer p {
  font-size: .92rem;
  margin-bottom: 10px;
}
.faq-answer p:last-child,
.faq-item__answer p:last-child { margin-bottom: 0; }

/* -- Info / detail cards (sidebar) --------------------------- */
.info-card,
.aside-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.info-card--light,
.sidebar-card--light { background: var(--off-white); }
.info-card h3,
.aside-card h3,
.info-card-title,
.sidebar-card__title {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-pale);
}

/* Label/value rows: ul.info-list, ul.detail-list, ul.info-card-list,
   ul.procedure-details — li with .info-label/.info-value spans */
.info-list li,
.detail-list li,
.info-card-list li,
.procedure-details li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.info-list li:last-child,
.detail-list li:last-child,
.info-card-list li:last-child,
.procedure-details li:last-child { border-bottom: none; }

/* dl variant of .info-list (dt/dd pairs, stacked) */
dl.info-list dt {
  padding-top: 10px;
  font-size: .8rem;
  color: var(--text-light);
}
dl.info-list dd {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}
dl.info-list dd:last-child { border-bottom: none; }

.info-label,
.detail-label { color: var(--text-light); }
.info-value,
.detail-value {
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}

/* Bulleted variant */
.info-list--bullets { margin: 0; }
.info-list--bullets li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--text-mid);
  font-size: .9rem;
}
.info-list--bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Navy highlight box */
.info-box--navy {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 24px 0;
}
.info-box--navy h3,
.info-box--navy h4 { color: var(--white); margin-bottom: 10px; }
.info-box--navy p { color: rgba(255,255,255,.8); }
.info-box--navy p:last-child { margin-bottom: 0; }
.info-box--navy a { color: var(--gold-light); }

/* Sidebar extras */
.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.sidebar-link:hover { color: var(--gold); }

/* -- Credential cards (icon + text) -------------------------- */
.cred-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
}
.cred-card strong {
  display: block;
  font-size: .9rem;
  color: var(--navy);
}
.cred-card span {
  font-size: .82rem;
  color: var(--text-light);
}
.cred-icon {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cred-icon svg,
.cred-icon img {
  width: 24px;
  height: 24px;
}

/* -- About layout ------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin-bottom: 16px; }
.about-cred {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* -- Results (before/after) grid ----------------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.result-card img {
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  width: 100%;
}
.result-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.result-card p {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 0;
}

/* -- Check lists / locations lists --------------------------- */
.check-list li,
.checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--text-mid);
  font-size: .92rem;
}
.check-list li::before,
.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 6px;
  color: var(--gold);
  font-weight: 700;
}
.locations-list li,
.location-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.locations-list li:last-child,
.location-list li:last-child { border-bottom: none; }
.cta-locations {
  margin-top: 16px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}

/* -- CTA band ------------------------------------------------ */
.cta-section {
  background: var(--navy);
  padding: var(--section-pad);
  text-align: center;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-title,
.cta-section__title {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-text,
.cta-section__text {
  color: rgba(255,255,255,.75);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* -- Stats strip --------------------------------------------- */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* -- Footer typography (dark navy background) ---------------- */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-heading {
  font-family: var(--font-body);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links li {
  margin-bottom: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}
.footer-links li strong { color: rgba(255,255,255,.85); }
.footer-links a:not(.btn) {
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer-links a:not(.btn):hover { color: var(--gold-light); }

/* -- Responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}

@media (max-width: 768px) {
  .content-grid,
  .about-grid,
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-strip { gap: 28px; }
  .faq-question,
  .faq-item__question { padding: 16px 18px 6px; }
  .faq-answer,
  .faq-item__answer { padding: 0 18px 16px; }
  .info-card,
  .aside-card { padding: 22px 20px; }
  .cred-card { padding: 14px; }
}

/* ============================================================
   Compat layer — Homepage classes (EN / FR / DE / ES)
   Complements assets/css/style.css. Defines ONLY classes that
   are missing from the design system. Reuses :root variables.
   Load AFTER style.css.
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO
   EN: .container.hero-inner > .hero-content + .hero-image-wrap
   FR: .container.hero-inner > .hero-content + .hero-visual
   ES: .container.hero-inner > .hero-content + .hero-image
   DE: .container > .hero-inner (text only, no visual column)
   The visual column only ever contains an empty, aria-hidden
   .hero-image-placeholder rendered over the photo slider.
   ------------------------------------------------------------ */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 0 90px;
}
/* Split layout only when a visual column is actually present
   (keeps DE's text-only hero in normal block flow). */
.hero-inner:has(> .hero-image-wrap),
.hero-inner:has(> .hero-visual),
.hero-inner:has(> .hero-image) {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.hero-image-wrap,
.hero-visual,
.hero-image {
  position: relative;
  z-index: 2;
  min-width: 0;
}
/* Decorative glass panel over the slider photos */
.hero-image-placeholder {
  min-height: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.16);
}
/* If a real image is ever dropped in, make it fill its wrap */
.hero-image img,
.hero-image-wrap img,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-title,
.hero-heading { color: var(--white); }
.hero-lead,
.hero-body,
.hero-description { max-width: 540px; }
.hero-ctas,
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   2. SECTION HEADERS / EYEBROWS
   Mirrors .section-label / .section-title / .section-sub
   ------------------------------------------------------------ */
.section-header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-header p { color: var(--text-light); }
.section-eyebrow,
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-subtitle,
.section-lead {
  color: var(--text-light);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   3. SERVICES
   4 icon-cards per homepage. DE/ES use .service-icon;
   EN/FR reuse .service-card-icon (absolute overlay in
   style.css, meant for image cards) — reset it here, scoped
   to .services-grid so image-based cards elsewhere are safe.
   ------------------------------------------------------------ */
.services-section,
.services { padding: var(--section-pad); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.services-grid > .service-card { padding: 30px 26px; }
.services-grid .service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.services-grid .service-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}
/* EN misuses the existing .service-card-body (padded flex box)
   on a plain paragraph — neutralise its padding inside the grid */
.services-grid p.service-card-body { padding: 0; }

/* Icon boxes: constrained, never full-width */
.service-icon,
.services-grid .service-card > .service-card-icon {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  background: var(--blue-pale);
  color: var(--navy);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 1.5rem;
}
/* DE svgs carry no fill/stroke/size attributes: constrain and
   draw them as stroke icons in the current (navy) color.
   Paths with their own presentation attributes (ES/FR) keep them. */
.service-icon svg,
.services-grid .service-card > .service-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card-desc,
.service-card-description {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.service-link:hover { color: var(--gold); gap: 10px; }
.service-link svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ------------------------------------------------------------
   4. ABOUT / DOCTOR
   Layout comes from existing .about-inner / .about-content
   ------------------------------------------------------------ */
.about-section { padding: var(--section-pad); }
.about-body {
  color: var(--text-mid);
  margin-bottom: 16px;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mist-blue);
  color: var(--navy-mid);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.about-subtitle,
.about-tagline {
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* ------------------------------------------------------------
   5. LOCATIONS
   article.location-card (flex column, from style.css) with
   dark .location-card-header, then address / contact / button
   as direct children needing their own padding.
   ------------------------------------------------------------ */
.locations-section,
.locations {
  padding: var(--section-pad);
  background: var(--off-white);
}
.location-card-title {
  color: var(--white);
  font-size: 1.3rem;
  margin: 0;
}
.location-address {
  font-style: normal;
  padding: 20px 28px 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.location-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 28px 0;
  flex: 1; /* pushes the button to the card bottom */
}
.location-tel,
.location-email {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
  transition: var(--transition);
}
.location-tel:hover,
.location-email:hover { color: var(--gold); }
/* .btn-outline is designed for dark backgrounds — recolor for
   the white card (scoped selector outweighs .btn-outline) */
.location-card .location-btn {
  margin: 20px 28px 26px;
  align-self: flex-start;
  justify-content: center;
  border-color: var(--navy);
  color: var(--navy);
}
.location-card .location-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ------------------------------------------------------------
   6. STATS STRIP (inside .feature-strip, navy background)
   3 items on every homepage; numbers styled elsewhere
   ------------------------------------------------------------ */
.stats-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

/* ------------------------------------------------------------
   7. NAVY UTILITY + LIGHT OUTLINE BUTTON
   ------------------------------------------------------------ */
.bg-navy { background: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.78); }
.bg-navy .section-eyebrow,
.bg-navy .eyebrow { color: var(--gold-light); }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  transition: var(--transition);
}
.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ------------------------------------------------------------
   8. CTA SECTION
   ------------------------------------------------------------ */
.cta-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cta-body,
.cta-description {
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta-btn { margin-top: 32px; }
.cta-phone { gap: 10px; }
.cta-phone svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 36px;
  margin-top: 36px;
}
.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 600;
  color: inherit;
}
.cta-contact-item a { font-weight: 700; color: inherit; }
.cta-contact-item a:hover { text-decoration: underline; }
/* DE places raw, attribute-less svgs directly in the item:
   constrain and render as stroke icons (ES wraps its svgs in
   .cta-contact-icon with explicit attributes — untouched) */
.cta-contact-item > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,96,125,.12);
  flex: 0 0 auto;
}
.cta-contact-icon svg { width: 20px; height: 20px; }
.bg-navy .cta-contact-icon { background: rgba(255,255,255,.12); }

/* ------------------------------------------------------------
   9. FOOTER (dark navy background from .site-footer)
   ------------------------------------------------------------ */
.logo.logo--footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 14px 0 18px;
  max-width: 320px;
}
.footer-contact {
  font-style: normal;
  font-size: .9rem;
  line-height: 2;
}
.footer-contact a {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--gold-light); }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-nav-col,
.footer-nav-column { min-width: 0; }
.footer-nav-heading,
.footer-nav-title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav li { margin-bottom: 9px; }
.footer-nav li a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-nav li a:hover { color: var(--gold-light); }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.footer-copy {
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.footer-lang-switcher { display: flex; gap: 4px; }
.footer-lang-switcher a {
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.5);
  border-radius: 4px;
  transition: var(--transition);
}
.footer-lang-switcher a:hover { color: var(--gold-light); background: rgba(196,106,62,.12); }
.footer-lang-list li { margin-bottom: 9px; }
.lang-active {
  color: var(--gold-light);
  background: rgba(196,106,62,.14);
  border-radius: 4px;
}
.footer-legal {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin: 0;
}
.footer-legal a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  transition: var(--transition);
}
.footer-legal a:hover { color: var(--gold-light); }
.footer-legal-note,
.footer-disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

/* ------------------------------------------------------------
   10. RESPONSIVE (matches style.css breakpoints: 1024/768/480)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-inner:has(> .hero-image-wrap),
  .hero-inner:has(> .hero-visual),
  .hero-inner:has(> .hero-image) { grid-template-columns: 1fr; gap: 0; }
  /* the visual column is a decorative empty placeholder — drop it
     once the hero stacks, instead of showing an empty box */
  .hero-image-wrap,
  .hero-visual,
  .hero-image { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .hero-inner { padding: 96px 0 72px; }
  .section-header { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-list { grid-template-columns: 1fr; gap: 20px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .location-card .location-btn { align-self: stretch; }
}

@media (max-width: 480px) {
  .hero-ctas,
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn,
  .hero-cta-group .btn { justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; }
  .cta-contacts { flex-direction: column; gap: 14px; }
}

/* ============================================================
   Compat layer — DE pages (+ shared contact-form classes)
   Complements assets/css/style.css — defines only classes that
   are used in markup but missing from the design system.
   Reuses :root variables from style.css. No !important.
   ============================================================ */

/* -- Page hero extras (de/*, breadcrumbs) ------------------- */
/* <span class="sep">›</span> separator inside .breadcrumb on dark hero */
.sep {
  color: rgba(255, 255, 255, .4);
  user-select: none;
}
/* Small uppercase label above the page-hero H1 */
.page-hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

/* -- Section variant ---------------------------------------- */
.section--white { background: var(--white); }

/* -- Procedure cards (de/aesthetische-chirurgie/index.html) --
   Card counts per grid: 4 / 3 / 2 — auto-fill keeps rows tidy. */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.proc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.proc-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.proc-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}
/* Emoji (or svg) icon above the title */
.proc-card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}
.proc-card-icon svg {
  width: 32px;
  height: 32px;
}
.proc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.proc-card:hover .proc-link { color: var(--gold); }

/* -- Treatment cards (de/aesthetische-medizin/index.html) ----
   5 cards — minmax(300px,1fr) yields 3 columns on desktop. */
.treat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.treat-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.treat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.treat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.treat-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.treat-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}
.treat-icon svg {
  width: 32px;
  height: 32px;
}
.treat-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 16px;
  background: var(--blue-pale);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
}

/* -- Reconstructive cards (de/rekonstruktive-chirurgie/) -----
   3 content-heavy cards side by side. */
.recon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.recon-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.recon-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.recon-card-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 28px 28px 24px;
}
.recon-card-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.recon-card-header p {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  line-height: 1.65;
}
.recon-card-body {
  padding: 24px 28px 28px;
  flex: 1;
}
.recon-card-body ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: .9rem;
  color: var(--text-mid);
}
.recon-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Highlight block below the recon grid */
.commitment-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--blue-pale);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 32px 40px;
}
.commitment-block h3 { margin-bottom: 12px; }

/* -- Location cards (de/standorte.html) ----------------------
   4 cards. Map band + body + footer button. */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.loc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.loc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
/* Map placeholder band with centered pin emoji (📍) */
.loc-card-map {
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-pale), var(--mist-blue));
}
.loc-card-body {
  padding: 24px;
  flex: 1;
}
.loc-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.loc-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.loc-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .88rem;
  color: var(--text-mid);
}
/* Inline svgs here carry no fill/stroke attributes — render them
   as 16px gold outline icons so they don't blow up. */
.loc-detail svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.loc-detail a { color: var(--text-mid); }
.loc-detail a:hover { color: var(--gold); }
.loc-card-footer {
  padding: 0 24px 24px;
  margin-top: auto;
}

/* Full-width quality statement (de/standorte.html) */
.quality-strip {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}
.quality-strip h3 { margin-bottom: 12px; }

/* -- About page (de/ueber-uns.html) ------------------------- */
/* Bio prose (wide) + credentials aside */
.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
/* Styled pull-quote with gold accent */
.quote-block {
  margin: 32px 0 8px;
  padding: 24px 28px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}
.quote-block blockquote {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.7;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
}
/* Vertical list of credential cards */
.cred-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Stats band (de/ueber-uns.html): 4 stat tiles */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.stat-lbl {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* -- Procedure detail pages (de/.../rhinoplastik.html) ------ */
/* Article + sticky sidebar, mirrors .procedure-layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
/* Readable long-form article text */
.prose {
  max-width: 72ch;
  min-width: 0;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 36px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}
.prose p {
  margin-bottom: 16px;
  line-height: 1.8;
}
.prose ul {
  margin: 0 0 16px;
}
.prose ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-mid);
  font-size: .95rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
/* Callout note inside prose */
.info-box {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--blue-pale);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}
.info-box p {
  margin: 0;
  font-size: .92rem;
}
/* Key-facts rows inside .sidebar-card */
.sidebar-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-mid);
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

/* -- CTA button row (navy CTA sections, centered text) ------ */
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* -- Contact page (de/kontakt.html + en/es/fr contact) ------ */
/* Info column + form column */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: start;
}
/* One contact info card (E-Mail / Phone / Addresses / Intl) */
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-block h3 {
  font-size: .82rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.contact-block > a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-block > a:hover { color: var(--gold); }
.contact-block address {
  font-style: normal;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.contact-block address strong { color: var(--navy); }
.contact-block p {
  font-size: .9rem;
  line-height: 1.7;
}

/* Form column wrappers. The inner form.contact-form already
   carries the card look (bg/border/radius/shadow in style.css),
   so the wrappers only handle sizing and intro spacing. */
.form-wrap,
.contact-form-wrap {
  min-width: 0;
}
.form-wrap > h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-wrap > p {
  margin-bottom: 24px;
  color: var(--text-light);
}

/* Two side-by-side fields (first / last name) */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* Privacy checkbox + small label */
.contact-form .form-check,
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--navy);
}
.form-check a {
  color: var(--navy);
  text-decoration: underline;
}
/* Small muted note under the submit button */
.form-note {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
}

/* Unclassed fields/labels inside .contact-form — mirror the
   .form-label / .form-input styling from style.css so bare
   <input>/<select>/<textarea>/<label> markup looks right. */
.contact-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 96, 125, .08);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* -- Footer (footer-inner variant without .footer-grid) ----- */
/* Direct child of .site-footer — provides its own container. */
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}
/* style.css only styles .footer-col h5 — these pages use h4 */
.footer-inner .footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-inner .footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
  margin-top: 14px;
  max-width: 300px;
}
/* Small text under the logo name (footer brand) */
.logo-subtitle {
  display: inline-block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
/* Language links row in the footer bottom bar */
.footer-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-lang a {
  color: rgba(255, 255, 255, .5);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}
.footer-lang a:hover,
.footer-lang a.active {
  color: var(--gold);
  background: rgba(166, 80, 45, .12);
}

/* -- Responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .recon-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .about-layout { gap: 40px; }
  .content-layout { grid-template-columns: 1fr 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .proc-grid,
  .treat-grid,
  .loc-grid,
  .about-layout,
  .content-layout,
  .form-row-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .commitment-block,
  .quality-strip { padding: 28px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat-num { font-size: 2rem; }
}

/* ============================================================
   Correzioni: testo leggibile nelle sezioni CTA scure e
   placeholder hero vuoti nascosti (home ES e simili)
   ============================================================ */
.cta-section h2,
.cta-section .cta-title,
.cta-section .cta-section__title { color: #fff; }
.cta-section p,
.cta-section .cta-text,
.cta-section .cta-body,
.cta-section .cta-description { color: rgba(255, 255, 255, 0.88); }
.cta-section .eyebrow,
.cta-section .section-eyebrow { color: var(--gold, #c9a227); }
.cta-section .cta-contact-item { color: #fff; }

.hero-image-placeholder:empty { display: none; border: none; background: none; }
