@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #27231f;
  --muted: #746b60;
  --paper: #fffdf8;
  --white: #ffffff;
  --gold: #a99562;
  --gold-dark: #7f6238;
  --copper: #b16f2e;
  --champagne: #ece2d6;
  --panel: #f7f3eb;
  --rose: #d9a6b1;
  --rose-soft: #f3e2e6;
  --sage: #8d9886;
  --line: rgba(169, 149, 98, 0.34);
  --shadow: 0 24px 70px rgba(39, 35, 31, 0.15);
  --hero-photo: url("./assets/fotos/hero-marta.jpg");
  --marta-photo: url("./assets/fotos/marta-presentacion.jpg");
  --workshop-photo: url("./assets/fotos/marta-horizontal.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p,
label,
input,
select,
textarea,
button {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.15rem, 6.2vw, 6.1rem);
  color: var(--white);
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: clamp(2.05rem, 3.7vw, 4.2rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.section-anchor {
  scroll-margin-top: 96px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(169, 149, 98, 0.24);
  backdrop-filter: blur(16px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.topbar-inner {
  width: min(1180px, 100%);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: width 180ms ease, min-height 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 12px 34px rgba(39, 35, 31, 0.08);
}

.topbar.is-scrolled .topbar-inner {
  min-height: 74px;
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

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

.brand-logo {
  width: clamp(42px, 4.5vw, 56px);
  height: auto;
  transition: width 180ms ease;
}

.topbar.is-scrolled .brand-logo {
  width: clamp(38px, 4vw, 50px);
}

.brand-clinic strong,
.brand-clinic small,
.brand-person strong,
.brand-person small {
  display: block;
}

.brand-clinic strong {
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.92rem, 1.25vw, 1.17rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-clinic small {
  margin-top: 2px;
  color: var(--copper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-person {
  padding-left: 18px;
  border-left: 1px solid rgba(169, 149, 98, 0.28);
}

.brand-person strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-person small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  color: var(--gold-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  position: relative;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--gold-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  min-height: 94vh;
  padding: 140px clamp(22px, 5vw, 76px) 72px;
  color: var(--white);
  background:
    linear-gradient(270deg, rgba(39, 35, 31, 0.78), rgba(39, 35, 31, 0.48) 44%, rgba(39, 35, 31, 0.1) 72%),
    var(--hero-photo) left bottom / auto calc(100% - 88px) no-repeat,
    var(--ink);
}

.hero::after,
.contact-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--champagne), var(--rose));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--champagne);
}

.lead {
  max-width: 690px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--gold-dark);
  box-shadow: 0 16px 40px rgba(39, 35, 31, 0.24);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.section-inner {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-section,
.services-section,
.workshop-section,
.form-section,
.contact-section {
  padding: clamp(68px, 10vw, 118px) 0;
}

.intro-grid,
.quote-layout,
.form-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.intro-copy,
.quote-layout > p,
.form-copy p,
.contact-grid > div:first-child p,
.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-copy p + p,
.marta-copy p + p,
.form-copy p + p,
.contact-grid p + p,
.workshop-copy p + p {
  margin-top: 18px;
}

.marta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  min-height: 680px;
}

.marta-photo {
  background:
    linear-gradient(180deg, rgba(169, 149, 98, 0.08), rgba(169, 149, 98, 0.08)),
    var(--marta-photo) center / contain no-repeat,
    var(--panel);
}

.marta-copy {
  display: grid;
  align-content: center;
  padding: clamp(48px, 8vw, 110px);
  background: var(--paper);
}

.marta-copy h2 {
  margin-bottom: 24px;
}

.marta-copy p,
.workshop-copy p,
.service-card p {
  color: var(--muted);
}

.services-section {
  background:
    linear-gradient(180deg, rgba(217, 166, 177, 0.2), rgba(217, 166, 177, 0) 30%),
    var(--panel);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-top: 18px;
}

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

.service-card,
.workshop-cards article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(39, 35, 31, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: var(--gold-dark);
  background: linear-gradient(135deg, var(--champagne), var(--rose-soft));
  border: 1px solid rgba(169, 149, 98, 0.24);
  border-radius: 50%;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-link,
.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.workshop-section {
  background: var(--white);
}

.workshop-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.workshop-image {
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(39, 35, 31, 0.02), rgba(39, 35, 31, 0.02)),
    var(--workshop-photo) center / cover no-repeat,
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.workshop-copy h2 {
  margin-bottom: 22px;
}

.workshop-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.workshop-cards article {
  min-height: 178px;
  padding: 22px;
  background: var(--paper);
}

.quote-band {
  padding: clamp(70px, 10vw, 120px) 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(177, 111, 46, 0.2), rgba(217, 166, 177, 0.12)),
    var(--gold-dark);
}

.quote-band .eyebrow,
.quote-band p {
  color: rgba(255, 255, 255, 0.78);
}

.form-section {
  background: var(--panel);
}

.form-copy {
  position: sticky;
  top: 104px;
}

.contact-inline {
  margin-top: 8px;
  font-size: 0.98rem;
}

.contact-inline a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.signup-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-row {
  display: grid;
  gap: 8px;
}

.field-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(169, 149, 98, 0.38);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-button {
  width: 100%;
  margin-top: 6px;
  font-size: 1rem;
}

.form-status {
  min-height: 24px;
  color: var(--gold-dark);
  font-weight: 800;
}

.contact-section {
  position: relative;
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--panel);
  border-left: 5px solid var(--gold);
}

.contact-panel p {
  display: grid;
  gap: 2px;
}

.contact-panel strong {
  color: var(--ink);
}

.contact-panel a,
.contact-panel span {
  color: var(--muted);
}

.contact-panel .button {
  width: fit-content;
  margin-top: 8px;
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 18px 12px 14px;
  color: var(--white);
  background: #1f9f61;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(39, 35, 31, 0.25);
  font-weight: 800;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.floating-whatsapp svg path:last-child {
  fill: #1f9f61;
  stroke: var(--white);
  stroke-width: 0.2;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer strong,
.footer span {
  display: block;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 12px;
}

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

  .nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    padding: 24px;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 42px rgba(39, 35, 31, 0.12);
  }

  .nav.is-open {
    display: grid;
    gap: 18px;
  }

  .topbar.is-scrolled .nav {
    top: 74px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .hero-content {
    width: min(760px, 100%);
    padding: clamp(24px, 4vw, 38px);
    background: rgba(39, 35, 31, 0.54);
    backdrop-filter: blur(3px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 88vh;
    background:
      linear-gradient(180deg, rgba(39, 35, 31, 0.72), rgba(39, 35, 31, 0.34) 48%, rgba(39, 35, 31, 0.14)),
      var(--hero-photo) center bottom / contain no-repeat,
      var(--ink);
  }

  .intro-grid,
  .quote-layout,
  .form-grid,
  .contact-grid,
  .marta-section,
  .workshop-layout {
    grid-template-columns: 1fr;
  }

  .marta-photo {
    min-height: 480px;
  }

  .workshop-image {
    min-height: 430px;
  }

  .form-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 8px 18px;
  }

  .topbar-inner,
  .topbar.is-scrolled .topbar-inner {
    min-height: 86px;
  }

  .header-identity {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo,
  .topbar.is-scrolled .brand-logo {
    width: 40px;
  }

  .brand-clinic strong {
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .brand-clinic small {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .brand-person {
    display: none;
  }

  .nav {
    top: 86px;
  }

  .topbar.is-scrolled .nav {
    top: 86px;
  }

  .hero {
    min-height: auto;
    padding: 430px 22px 58px;
    background:
      linear-gradient(180deg, rgba(39, 35, 31, 0.08), rgba(39, 35, 31, 0.08)),
      var(--hero-photo) center 92px / auto 385px no-repeat,
      var(--ink);
  }

  h1 {
    font-size: clamp(2.3rem, 9.4vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.88rem, 8vw, 2.3rem);
    line-height: 1.08;
  }

  .hero-content {
    padding-top: 28px;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .button {
    width: 100%;
  }

  .marta-photo {
    min-height: 420px;
    background-position: center;
    background-size: contain;
  }

  .marta-copy {
    padding: 44px clamp(26px, 8vw, 44px);
  }

  .services-grid,
  .workshop-cards,
  .field-row.two {
    grid-template-columns: 1fr;
  }

  .service-card,
  .workshop-cards article {
    min-height: auto;
  }

  .contact-panel .button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    min-height: 56px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }
}


/* === V2.3 OVERRIDES: hero visual, CTA servicios y formulario === */
:root {
  --hero-visual-photo: url("./assets/fotos/hero-side.png");
  --soft-shadow: 0 28px 80px rgba(39, 35, 31, 0.10);
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, rgba(169, 149, 98, 0.06), rgba(255, 253, 248, 0)),
    var(--paper);
}

h1, h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.topbar {
  background: rgba(255, 251, 247, 0.88);
}

.hero {
  min-height: auto;
  padding: 126px 0 56px;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(169,149,98,0.14), rgba(169,149,98,0) 26%),
    linear-gradient(90deg, rgba(217,166,177,0.08), rgba(255,255,255,0) 30%),
    linear-gradient(180deg, rgba(169,149,98,0.05), rgba(255,253,248,0) 56%),
    var(--paper);
}

.hero::after { display:none; }

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: stretch;
}

.hero-content {
  width: 100%;
  max-width: none;
  padding: clamp(32px, 4vw, 54px);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(169,149,98,0.18);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.hero .eyebrow {
  color: #b07a8a;
  margin-bottom: 12px;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.35rem, 6vw, 5.5rem);
  color: var(--ink);
  text-shadow: none;
  line-height: 0.92;
}

.lead {
  max-width: 660px;
  color: #665d54;
  font-size: clamp(1.04rem, 1.75vw, 1.42rem);
  margin-top: 22px;
}

.hero-actions { margin-top: 30px; }

.button {
  border-radius: 999px;
  padding: 14px 28px;
}

.button.primary {
  background: linear-gradient(90deg, #9d7b3e, #b68595);
  box-shadow: 0 18px 34px rgba(127, 98, 56, 0.18);
}

.button.ghost {
  color: var(--gold-dark);
  border-color: rgba(169,149,98,0.3);
  background: rgba(255,255,255,0.68);
}

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

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--gold-dark);
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(169,149,98,0.20);
  border-radius: 999px;
  font-weight: 700;
}

.hero-badges span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d3a0b0;
  box-shadow: 0 0 0 4px rgba(211,160,176,0.18);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(247,243,235,0.92)),
    linear-gradient(90deg, rgba(169,149,98,0.10), rgba(169,149,98,0) 30%),
    var(--panel);
  border: 1px solid rgba(169,149,98,0.18);
  box-shadow: var(--soft-shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(127,98,56,0.045) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.35));
  opacity: 0.8;
}

.hero-visual-glow {
  position: absolute;
  right: -40px;
  top: 50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,166,177,0.30), rgba(217,166,177,0) 70%);
}

.hero-portrait {
  position: absolute;
  inset: 42px 32px 0 70px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.18)),
    var(--hero-visual-photo) center bottom / contain no-repeat;
  filter: saturate(0.96) contrast(1.02);
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.55), rgba(255,255,255,0) 28%),
    linear-gradient(90deg, rgba(247,243,235,0.92), rgba(247,243,235,0) 16%, rgba(247,243,235,0) 84%, rgba(247,243,235,0.55));
}

.hero-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 5px;
  max-width: 240px;
  padding: 16px 18px;
  color: var(--gold-dark);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(169,149,98,0.16);
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(39,35,31,0.08);
}
.hero-card strong { color: var(--ink); font-size: 1rem; }
.hero-card span { color: #6c6359; font-size: 0.95rem; line-height: 1.45; }
.hero-card-top { left: 24px; top: 28px; }
.hero-card-bottom { right: 24px; bottom: 24px; }

.services-section {
  background:
    linear-gradient(180deg, rgba(217,166,177,0.10), rgba(255,255,255,0) 28%),
    var(--panel);
}

.services-grid {
  gap: 22px;
}

.service-card {
  min-height: 250px;
  border-radius: 26px;
  box-shadow: 0 18px 34px rgba(39,35,31,0.05);
}

.service-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 1.03rem;
  line-height: 1.65;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.service-link { display: none !important; }

.marta-photo,
.workshop-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.marta-photo {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.32)),
    var(--marta-photo) center / cover no-repeat,
    var(--panel);
}

.workshop-image {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.18)),
    var(--workshop-photo) center / cover no-repeat,
    var(--panel);
}

input,
select,
textarea {
  background: #fff9fb;
  border-color: rgba(176,122,138,0.34);
  border-radius: 16px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(217,166,177,0.26);
  border-color: #cf97a8;
}

select {
  color: #875f6c;
  background:
    linear-gradient(180deg, #fff7fa, #fbeef3);
}

.form-copy p,
.contact-grid > div:first-child p,
.intro-copy,
.section-heading p,
.workshop-copy p,
.marta-copy p {
  font-size: 1.06rem;
}

@media (max-width: 1080px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  h1 { max-width: 11ch; }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 42px;
    background:
      linear-gradient(180deg, rgba(169,149,98,0.06), rgba(255,253,248,0)),
      var(--paper);
  }
  .hero-content { padding: 28px; }
  .hero-visual { min-height: 460px; }
  .hero-portrait { inset: 24px 16px 0 16px; }
  .hero-card-top { left: 18px; top: 18px; }
  .hero-card-bottom { right: 18px; bottom: 18px; }
}

@media (max-width: 620px) {
  h1 {
    max-width: 10ch;
    font-size: clamp(2.95rem, 12vw, 4.2rem);
    line-height: 0.95;
  }
  .hero-shell { width: min(1160px, calc(100% - 28px)); }
  .hero-content { border-radius: 24px; }
  .hero-visual {
    min-height: 390px;
    border-radius: 24px;
  }
  .hero-card { max-width: 190px; padding: 13px 14px; }
  .hero-card span { font-size: 0.88rem; }
  .hero-badges span { width: 100%; justify-content: flex-start; }
  .services-cta .button { width: 100%; }
}

/* === V2.4 OVERRIDES: hero más limpio, sin foto derecha, mejor centrado === */
.hero-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 3.6vw, 42px);
  align-items: center;
}

.hero-content {
  max-width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(36px, 4.2vw, 58px);
}

h1 {
  max-width: 8.4ch;
  font-size: clamp(3rem, 5.35vw, 5rem);
  line-height: 0.97;
}

.lead {
  max-width: 620px;
}

.hero-visual {
  min-height: 590px;
  background:
    radial-gradient(circle at 68% 26%, rgba(217,166,177,0.23), rgba(217,166,177,0) 24%),
    radial-gradient(circle at 38% 74%, rgba(169,149,98,0.16), rgba(169,149,98,0) 22%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(247,243,235,0.96)),
    var(--panel);
}

.hero-visual::before {
  background:
    repeating-linear-gradient(90deg, rgba(127,98,56,0.04) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.4));
  opacity: 0.7;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url('./assets/uploads/favicon-marta-512.png') center / 170px auto no-repeat,
    linear-gradient(135deg, rgba(255,255,255,0), rgba(255,255,255,0.4));
  opacity: 0.1;
}

.hero-visual-glow {
  right: auto;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.82), rgba(255,255,255,0) 70%);
}

.hero-portrait,
.hero-card {
  display: none;
}

@media (max-width: 1080px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
    order: 2;
  }
}

@media (max-width: 620px) {
  .hero-content {
    padding: 30px 24px;
  }

  h1 {
    max-width: 9.4ch;
    font-size: clamp(2.8rem, 10.6vw, 4rem);
    line-height: 0.98;
  }

  .hero-visual {
    min-height: 180px;
  }
}


/* === V2.5 OVERRIDES: cabecera editable, logo sin fondo y firma independiente === */
.brand-logo {
  width: var(--header-logo-size, 72px);
  max-width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.topbar.is-scrolled .brand-logo {
  width: var(--header-logo-size-scrolled, 62px);
}

.header-logo-remove-bg .brand-logo {
  mix-blend-mode: multiply;
}

.header-title-style-elegante .brand-clinic strong {
  color: var(--gold-dark);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.05vw, 2.15rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: none;
}

.header-title-style-elegante .brand-clinic small {
  margin-top: 5px;
  color: var(--copper);
  font-size: clamp(0.64rem, 0.82vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-title-style-clasico .brand-clinic strong {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-title-style-moderno .brand-clinic strong {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

@media (max-width: 620px) {
  .brand-logo,
  .topbar.is-scrolled .brand-logo {
    width: var(--header-logo-size-mobile, 56px);
  }

  .header-title-style-elegante .brand-clinic strong {
    font-size: clamp(1.08rem, 5.4vw, 1.42rem);
    line-height: 0.98;
  }

  .header-title-style-elegante .brand-clinic small {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
}


/* === V2.6 OVERRIDES: WhatsApp corporativo, footer suave, móvil centrado === */
.button.ghost.whatsapp-action {
  gap: 9px;
  color: #875f6c;
  border-color: rgba(169, 149, 98, 0.42);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(251,238,243,0.96));
  box-shadow: 0 14px 28px rgba(169, 149, 98, 0.13);
}

.button.ghost.whatsapp-action::before {
  content: "";
  flex: 0 0 auto;
  width: 1.12em;
  height: 1.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.4 8.4 3.4 15.1c0 2.4.7 4.6 2 6.5L4 29l7.7-1.9c1.4.5 2.8.8 4.3.8 7 0 12.6-5.4 12.6-12.1S23 3 16 3Zm6.8 16.3c-.3.9-1.6 1.7-2.3 1.8-.6.1-1.4.1-2.3-.1-.5-.2-1.2-.4-2.1-.8-3.7-1.6-6.1-5.1-6.3-5.3-.2-.2-1.5-2-1.5-3.8s.9-2.7 1.3-3.1c.3-.3.7-.4 1-.4h.7c.2 0 .5 0 .8.6.3.7 1 2.4 1.1 2.6.1.2.1.5 0 .7-.1.2-.2.4-.4.6l-.5.6c-.2.2-.4.4-.2.8.2.3.8 1.4 1.8 2.2 1.2 1.1 2.2 1.4 2.6 1.6.3.1.6.1.8-.1.2-.3.9-1 1.1-1.3.2-.3.5-.3.8-.2.3.1 2.1 1 2.4 1.2.4.2.6.3.7.5.1.1.1.9-.2 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.4 8.4 3.4 15.1c0 2.4.7 4.6 2 6.5L4 29l7.7-1.9c1.4.5 2.8.8 4.3.8 7 0 12.6-5.4 12.6-12.1S23 3 16 3Zm6.8 16.3c-.3.9-1.6 1.7-2.3 1.8-.6.1-1.4.1-2.3-.1-.5-.2-1.2-.4-2.1-.8-3.7-1.6-6.1-5.1-6.3-5.3-.2-.2-1.5-2-1.5-3.8s.9-2.7 1.3-3.1c.3-.3.7-.4 1-.4h.7c.2 0 .5 0 .8.6.3.7 1 2.4 1.1 2.6.1.2.1.5 0 .7-.1.2-.2.4-.4.6l-.5.6c-.2.2-.4.4-.2.8.2.3.8 1.4 1.8 2.2 1.2 1.1 2.2 1.4 2.6 1.6.3.1.6.1.8-.1.2-.3.9-1 1.1-1.3.2-.3.5-.3.8-.2.3.1 2.1 1 2.4 1.2.4.2.6.3.7.5.1.1.1.9-.2 1.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-whatsapp {
  right: clamp(14px, 2.4vw, 24px);
  bottom: clamp(14px, 2.4vw, 24px);
  width: 50px;
  height: 50px;
  min-height: 50px;
  justify-content: center;
  padding: 0;
  color: #8a663c;
  background: linear-gradient(135deg, #fffaf6 0%, #fbeaf0 58%, #eadbbf 100%);
  border: 1px solid rgba(169, 149, 98, 0.48);
  box-shadow: 0 16px 34px rgba(127, 98, 56, 0.18);
}

.floating-whatsapp span { display: none; }

.floating-whatsapp svg { width: 27px; height: 27px; }
.floating-whatsapp svg path:first-child { fill: #b68595; }
.floating-whatsapp svg path:last-child { fill: #fffaf6; stroke: none; }

.footer {
  align-items: center;
  padding: clamp(30px, 5vw, 46px) clamp(22px, 5vw, 72px);
  color: #5f554b;
  background:
    radial-gradient(circle at 12% 18%, rgba(217,166,177,0.16), transparent 28%),
    linear-gradient(135deg, #fffaf6 0%, #f7efe7 58%, #efe3d5 100%);
  border-top: 1px solid rgba(169, 149, 98, 0.24);
}

.footer strong {
  color: #7f6238;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer span { color: #6f665c; }
.footer a { color: #6b5031; text-decoration: none; }
.footer-contact { gap: 10px; }

.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 38px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(169,149,98,0.22);
  border-radius: 999px;
  font-weight: 800;
}

.contact-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #b68595;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 620px) {
  .topbar { padding: 8px 16px; }

  .topbar-inner,
  .topbar.is-scrolled .topbar-inner {
    position: relative;
    justify-content: center;
    min-height: 96px;
  }

  .header-identity {
    width: 100%;
    justify-content: center;
  }

  .brand {
    justify-content: center;
    gap: 12px;
    text-align: left;
  }

  .brand-logo,
  .topbar.is-scrolled .brand-logo {
    width: var(--header-logo-size-mobile, 64px);
  }

  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    border: 1px solid rgba(169,149,98,0.42);
    border-radius: 14px;
    background: linear-gradient(135deg, #fffaf6, #fbeaf0);
    box-shadow: 0 10px 24px rgba(127, 98, 56, 0.12);
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: #8a663c;
  }

  .nav,
  .topbar.is-scrolled .nav { top: 96px; }
  .nav.is-open { gap: 0; padding: 12px 18px 18px; }
  .nav.is-open a {
    padding: 15px 8px;
    font-size: 1.08rem;
    border-bottom: 1px solid rgba(169,149,98,0.16);
  }

  .hero-content { text-align: center; }
  .hero-content h1,
  .hero-content .lead,
  .hero-content .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.28rem, 9.2vw, 3.35rem);
    line-height: 1.04;
  }

  .hero-actions { justify-content: center; }
  .hero-actions .button.primary { width: 100%; }
  .hero-actions .whatsapp-action {
    width: 50px;
    min-width: 50px;
    min-height: 50px;
    padding: 0;
    font-size: 0;
    border-radius: 999px;
  }
  .hero-actions .whatsapp-action::before { width: 22px; height: 22px; }
  .hero-badges span { justify-content: center; text-align: center; }

  .floating-whatsapp { width: 50px; height: 50px; min-height: 50px; }
  .footer { align-items: flex-start; }
  .footer-contact a {
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
  }
}


/* === V2.7 OVERRIDES: header restaurado, footer editable, móvil y WhatsApp === */
@media (min-width: 761px) {
  .topbar-inner,
  .topbar.is-scrolled .topbar-inner {
    justify-content: space-between !important;
    min-height: 88px;
  }

  .topbar.is-scrolled .topbar-inner {
    min-height: 74px;
  }

  .header-identity {
    width: auto !important;
    margin: 0 !important;
    justify-content: flex-start !important;
  }

  .brand {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .nav,
  .topbar.is-scrolled .nav {
    position: static !important;
    display: flex !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* Quitamos el bloque visual derecho del hero que aparecía en la versión anterior. */
.hero-shell {
  grid-template-columns: 1fr !important;
}

.hero-visual {
  display: none !important;
}

.hero-content {
  max-width: min(880px, 100%);
}

@media (min-width: 761px) {
  .hero-content {
    margin-inline: 0 auto;
  }
}

.footer {
  color: var(--footer-text-color, #5f554b) !important;
}

.footer-main {
  display: grid;
  gap: 8px;
}

.footer strong {
  color: var(--footer-heading-color, #7f6238) !important;
  font-family: var(--footer-font-family, "Cormorant Garamond", Georgia, "Times New Roman", serif) !important;
}

.footer span,
.footer p {
  color: var(--footer-text-color, #5f554b) !important;
  font-family: var(--footer-font-family, "Cormorant Garamond", Georgia, "Times New Roman", serif);
}

.footer a,
.footer-links a {
  color: var(--footer-link-color, #6b5031) !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 8px;
  font-family: var(--footer-font-family, "Cormorant Garamond", Georgia, "Times New Roman", serif);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(169,149,98,0.28);
}

/* Móvil: recupera la cabecera compacta anterior, con menú visible y opción de alinear identidad. */
@media (max-width: 760px) {
  .topbar { padding: 8px 16px !important; }

  .topbar-inner,
  .topbar.is-scrolled .topbar-inner {
    position: relative;
    justify-content: space-between !important;
    min-height: 88px;
  }

  .header-identity {
    width: auto !important;
    min-width: 0;
    gap: 12px;
  }

  .header-mobile-align-izquierda .header-identity {
    margin-right: auto;
    justify-content: flex-start !important;
  }

  .header-mobile-align-centro .header-identity {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center !important;
  }

  .header-mobile-align-derecha .header-identity {
    margin-left: auto;
    margin-right: 66px;
    justify-content: flex-end !important;
  }

  .brand {
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto !important;
    text-align: left !important;
  }

  .brand-logo,
  .topbar.is-scrolled .brand-logo {
    width: var(--header-logo-size-mobile, 64px) !important;
  }

  .brand-clinic strong {
    font-size: clamp(0.95rem, 4.8vw, 1.22rem) !important;
    line-height: 1 !important;
  }

  .brand-clinic small {
    font-size: 0.56rem !important;
    letter-spacing: 0.16em !important;
  }

  .menu-toggle {
    display: grid !important;
    position: absolute;
    right: 0;
    top: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
    border: 1px solid rgba(169,149,98,0.42);
    border-radius: 14px;
    background: linear-gradient(135deg, #fffaf6, #fbeaf0);
    box-shadow: 0 10px 24px rgba(127, 98, 56, 0.12);
  }

  .menu-toggle span {
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: #8a663c;
  }

  .nav,
  .topbar.is-scrolled .nav {
    top: 88px !important;
  }

  .nav.is-open {
    gap: 0;
    padding: 12px 18px 18px;
  }

  .nav.is-open a {
    padding: 15px 8px;
    font-size: 1.08rem;
    border-bottom: 1px solid rgba(169,149,98,0.16);
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1,
  .hero-content .lead,
  .hero-content .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.28rem, 9.2vw, 3.35rem);
    line-height: 1.04;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: center;
    justify-content: stretch;
    gap: 12px;
  }

  .hero-actions .button.primary {
    width: 100%;
  }

  .hero-actions .whatsapp-action {
    justify-self: end;
    width: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    font-size: 0 !important;
    border-radius: 999px !important;
  }

  .hero-actions .whatsapp-action::before {
    width: 22px;
    height: 22px;
  }

  .floating-whatsapp {
    right: 14px !important;
    left: auto !important;
    bottom: 14px !important;
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
  }

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

  .footer-contact {
    justify-items: start;
  }

  .footer-contact a {
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
  }
}


/* === V2.8 OVERRIDES: hero ancho, footer en línea y móvil izquierda === */
.hero-shell {
  width: min(1240px, calc(100% - 44px));
}

.hero-content {
  width: 100%;
  max-width: min(1180px, 100%) !important;
  margin-inline: auto !important;
  text-align: center;
}

.hero-content h1,
.hero-content .lead,
.hero-content .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.hero-content h1 {
  max-width: 100% !important;
  font-size: clamp(3rem, 5.05vw, 5.35rem);
  line-height: 1.02;
}

.lead {
  max-width: 760px;
}

.hero-actions,
.hero-badges {
  justify-content: center;
}

.hero-badges span {
  justify-content: center;
  text-align: center;
}

.footer {
  display: block !important;
  padding: clamp(32px, 4.8vw, 52px) clamp(22px, 5vw, 72px) !important;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 4vw, 56px);
}

.footer-main {
  display: block;
  min-width: 0;
}

.footer-main strong {
  display: block;
  color: var(--footer-heading-color, #7f6238) !important;
}

.footer-title-style-elegante .footer-main strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem) !important;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.05;
  text-transform: none;
}

.footer-title-style-clasico .footer-main strong {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.25rem, 1.75vw, 1.7rem) !important;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.10em;
  line-height: 1.15;
  text-transform: uppercase;
}

.footer-title-style-moderno .footer-main strong {
  font-family: "Inter", Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.15rem, 1.45vw, 1.45rem) !important;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-transform: none;
}

.footer-main span {
  display: block;
  margin-top: 8px;
  color: var(--footer-text-color, #5f554b) !important;
  font-family: var(--footer-font-family, "Cormorant Garamond", Georgia, "Times New Roman", serif) !important;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
}

.footer-contact {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 12px !important;
  min-width: fit-content;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center !important;
  gap: 10px;
  min-height: 40px;
  width: auto !important;
  max-width: none !important;
  padding: 8px 14px;
  color: var(--footer-link-color, #6b5031) !important;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.footer-links {
  width: 100%;
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(169,149,98,0.24);
  justify-content: center;
}

@media (max-width: 760px) {
  .header-identity {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }

  .header-mobile-align-centro .header-identity {
    position: absolute;
    left: 50%;
    margin: 0 !important;
    transform: translateX(-50%);
    justify-content: center !important;
  }

  .header-mobile-align-derecha .header-identity {
    margin-left: auto !important;
    margin-right: 66px !important;
    justify-content: flex-end !important;
  }

  .hero-shell {
    width: min(100%, calc(100% - 24px));
  }

  .hero-content {
    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 9vw, 3.2rem);
    line-height: 1.05;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-badges span {
    width: auto;
    min-width: min(100%, 230px);
  }

  .footer-topline {
    display: grid;
    gap: 18px;
  }

  .footer-contact {
    justify-content: flex-start !important;
    min-width: 0;
  }

  .footer-contact a {
    max-width: 100% !important;
    white-space: normal;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* === V2.9 OVERRIDES: páginas internas, menú editable y enlaces legales === */
.page-main {
  padding: clamp(138px, 12vw, 170px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(circle at 18% 8%, rgba(217,166,177,0.15), transparent 28%),
    linear-gradient(180deg, rgba(169,149,98,0.08), rgba(255,253,248,0) 42%),
    var(--paper);
}

.page-card {
  padding: clamp(30px, 5vw, 68px);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(169,149,98,0.22);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}

.internal-page .page-card h1 {
  max-width: 100% !important;
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.page-content {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin-top: 28px;
  color: #5f554b;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}

.page-content p {
  margin: 0;
}

.page-content strong {
  color: var(--ink);
}

.nav a {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .page-main {
    padding-top: 118px;
  }

  .page-card {
    border-radius: 24px;
    padding: 28px 22px;
  }

  .internal-page .page-card h1 {
    font-size: clamp(2.15rem, 10vw, 3.35rem);
  }
}
/* =====================================================
   TEXTOS LEGALES / PÁGINAS HTML DEL PANEL
   Talleres de Psicología · Marta Mariscal
   CSS global aplicado para Chrome, Firefox, móvil y escritorio
   ===================================================== */

html body .legal-content,
html body .html-content .legal-content,
html body .page-content .legal-content,
html body .custom-page-content .legal-content,
html body .editor-html-content .legal-content,
html body main .legal-content {
  max-width: 980px !important;
  width: calc(100% - 44px) !important;
  margin: 0 auto !important;
  padding: 48px 0 !important;
  color: #27231f !important;
  background: #fffdf8 !important;
  line-height: 1.7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
}

html body .legal-content *,
html body .legal-content *::before,
html body .legal-content *::after {
  box-sizing: border-box !important;
}

html body .legal-content h1,
html body .legal-content h2,
html body .legal-content h3 {
  color: #27231f !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body .legal-content h1 {
  margin: 0 0 18px !important;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
}

html body .legal-content h2 {
  margin: 38px 0 14px !important;
  color: #7f6238 !important;
  font-size: clamp(1.45rem, 3vw, 2rem) !important;
}

html body .legal-content h3 {
  margin: 26px 0 10px !important;
  color: #a99562 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

html body .legal-content p {
  margin: 0 0 16px !important;
  color: #746b60 !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

html body .legal-content strong {
  color: #27231f !important;
  font-weight: 700 !important;
}

html body .legal-content a {
  color: #7f6238 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

html body .legal-content ul,
html body .legal-content ol {
  margin: 0 0 20px 22px !important;
  padding: 0 !important;
  color: #746b60 !important;
}

html body .legal-content li {
  margin: 0 0 8px !important;
  color: #746b60 !important;
  line-height: 1.65 !important;
}

html body .legal-content section {
  margin: 0 !important;
  padding: 0 !important;
}

html body .legal-updated {
  display: inline-block !important;
  margin: 0 0 28px !important;
  padding: 10px 14px !important;
  background: #f7f3eb !important;
  color: #746b60 !important;
  border-left: 4px solid #a99562 !important;
  border-radius: 0 8px 8px 0 !important;
}

/* Tablas legales */

html body .legal-table-wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  margin: 24px 0 !important;
  border: 1px solid rgba(169, 149, 98, 0.28) !important;
  border-radius: 14px !important;
  background: #fffdf8 !important;
  -webkit-overflow-scrolling: touch !important;
}

html body .legal-table {
  width: 100% !important;
  min-width: 760px !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  color: #746b60 !important;
  background: #fffdf8 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

html body .legal-table th,
html body .legal-table td {
  padding: 14px 16px !important;
  text-align: left !important;
  vertical-align: top !important;
  border-bottom: 1px solid rgba(169, 149, 98, 0.22) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

html body .legal-table th {
  background: #f7f3eb !important;
  color: #27231f !important;
  font-weight: 700 !important;
}

html body .legal-table td {
  background: #fffdf8 !important;
  color: #746b60 !important;
}

html body .legal-table tr:last-child td {
  border-bottom: 0 !important;
}

@media (max-width: 768px) {
  html body .legal-content,
  html body .html-content .legal-content,
  html body .page-content .legal-content,
  html body .custom-page-content .legal-content,
  html body .editor-html-content .legal-content,
  html body main .legal-content {
    width: calc(100% - 34px) !important;
    padding: 36px 0 !important;
    font-size: 15.5px !important;
  }

  html body .legal-content h1 {
    font-size: 2.05rem !important;
  }

  html body .legal-content h2 {
    font-size: 1.45rem !important;
  }

  html body .legal-content h3 {
    font-size: 1.05rem !important;
  }

  html body .legal-content p,
  html body .legal-content li {
    font-size: 0.98rem !important;
  }
}

/* MARTA_SOCIAL_V2_START */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: var(--social-icon-size, 38px);
  height: var(--social-icon-size, 38px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #c49390;
  background: rgba(196, 147, 144, .12);
  border: 1px solid rgba(196, 147, 144, .35);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(196, 147, 144, .20);
  box-shadow: 0 10px 22px rgba(93, 69, 61, .12);
}

.social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.social-icon-svg {
  width: calc(var(--social-icon-size, 38px) * .56);
  height: calc(var(--social-icon-size, 38px) * .56);
  fill: currentColor;
  display: block;
}

.topbar .social-links-header {
  margin-left: 8px;
  flex: 0 0 auto;
}

.footer .social-links-footer {
  margin-left: auto;
}

.blog-share-box {
  margin: 2rem 0 1.4rem;
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(196, 147, 144, .28);
  background: rgba(255, 250, 248, .86);
  box-shadow: 0 14px 32px rgba(93, 69, 61, .08);
}

.blog-share-box strong {
  display: block;
  margin-bottom: .8rem;
  color: #7f6238;
}

.blog-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.share-button {
  border: 1px solid rgba(196, 147, 144, .34);
  background: #fff;
  color: #7f6238;
  border-radius: 999px;
  padding: .68rem .95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

.share-button:hover,
.share-button:focus-visible {
  background: rgba(196, 147, 144, .13);
}

.blog-share-box small {
  display: block;
  margin-top: .8rem;
  color: #746b60;
}

@media (max-width: 900px) {
  .topbar .social-links-header {
    display: none;
  }

  .footer .social-links-footer {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  .blog-share-actions {
    justify-content: center;
  }
}
/* MARTA_SOCIAL_V2_END */

/* MARTA_SHARE_COMPACT_V1_START */
.blog-share-box-compact{
  margin:1.2rem 0 1rem;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  align-items:center;
  gap:.8rem;
  flex-wrap:wrap;
}
.blog-share-box-compact strong{
  margin:0;
  color:#8a6b44;
  font-size:1rem;
  font-weight:700;
}
.blog-share-box-compact .blog-share-actions{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:wrap;
}
.share-icon-button{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(196,147,144,.30);
  background:#fff;
  color:#8a6b44;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.share-icon-button:hover,
.share-icon-button:focus-visible{
  transform:translateY(-1px);
  background:rgba(196,147,144,.12);
  box-shadow:0 8px 18px rgba(93,69,61,.10);
}
.share-icon-button svg{
  width:19px;
  height:19px;
  fill:currentColor;
  display:block;
}
.share-icon-button.is-copied{
  background:rgba(196,147,144,.18);
}
.share-icon-button .sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.blog-share-box-compact small{display:none;}
@media (max-width:700px){
  .blog-share-box-compact{
    gap:.65rem;
  }
  .share-icon-button{
    width:40px;
    height:40px;
  }
}
/* MARTA_SHARE_COMPACT_V1_END */

/* MARTA_WHATSAPP_CENTER_FIX_V1 */
.floating-whatsapp{
  display:flex;
  align-items:center;
  justify-content:center;
}
.floating-whatsapp svg{
  display:block;
  margin:0;
  transform:translate(1px, 1px);
}

/* MARTA_ICONOS_SUTILES_V1 */
.blog-share-box-compact{
  margin:1.35rem 0 1rem !important;
  padding:.85rem 0 0 !important;
  border:0 !important;
  border-top:1px solid rgba(196,147,144,.22) !important;
  background:transparent !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  gap:.65rem !important;
}
.blog-share-box-compact strong{
  font-size:.96rem !important;
  color:#7f6238 !important;
  font-weight:700 !important;
}
.blog-share-box-compact .blog-share-actions{
  gap:.35rem !important;
}
.share-icon-button{
  width:31px !important;
  height:31px !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#8a6b44 !important;
  padding:0 !important;
}
.share-icon-button:hover,
.share-icon-button:focus-visible{
  background:rgba(196,147,144,.14) !important;
  box-shadow:none !important;
  transform:none !important;
}
.share-icon-button svg{
  width:18px !important;
  height:18px !important;
}
.share-whatsapp svg{
  width:20px !important;
  height:20px !important;
  transform:translate(.5px,.5px) scale(1.08) !important;
  transform-origin:center !important;
}

.contact-icon-bubble{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
}
.contact-panel-enhanced > .contact-row > .contact-icon-bubble{
  width:44px !important;
  height:44px !important;
  flex:0 0 44px !important;
}
.contact-icon-bubble .contact-icon{
  display:block !important;
  margin:0 !important;
}
.contact-icon-bubble-whatsapp .contact-icon{
  width:25px !important;
  height:25px !important;
  transform:translate(.5px,.5px) scale(1.08) !important;
  transform-origin:center !important;
}
.contact-icon-bubble-phone .contact-icon,
.contact-icon-bubble-email .contact-icon,
.contact-icon-bubble-location .contact-icon,
.contact-icon-bubble-clock .contact-icon,
.contact-icon-bubble-map .contact-icon{
  width:21px !important;
  height:21px !important;
}

.floating-whatsapp svg{
  transform:none !important;
}
/* MARTA_ICONOS_SUTILES_V1_END */

/* MARTA_CONTACT_ICON_CENTER_V2 */
.contact-icon-bubble{
  position: relative !important;
  display: inline-block !important;
}
.contact-icon-bubble .contact-icon{
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
}
.contact-icon-bubble-whatsapp .contact-icon{
  width: 24px !important;
  height: 24px !important;
}
.contact-icon-bubble-phone .contact-icon{
  width: 20px !important;
  height: 20px !important;
}

/* MARTA_BLOG_COMMENTS_JSON_V1_20260526 */
.blog-comments-marta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(196,147,144,.16), rgba(255,255,255,.92));
  border: 1px solid rgba(196,147,144,.24);
  box-shadow: 0 18px 45px rgba(78, 61, 54, .08);
}

.blog-comments-heading h2 {
  margin: .25rem 0 .5rem;
  color: #4f4540;
}

.blog-comments-heading p {
  color: #746b60;
}

.blog-comments-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.blog-comment-card,
.blog-comments-empty,
.blog-comment-notice {
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(196,147,144,.18);
  padding: 1rem 1.1rem;
}

.blog-comment-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #4f4540;
  margin-bottom: .35rem;
}

.blog-comment-card-head span {
  color: #9a8d82;
  font-size: .92rem;
}

.blog-comment-card p {
  margin: 0;
  color: #655a53;
  line-height: 1.65;
}

.blog-comment-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

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

.blog-comment-form label {
  display: grid;
  gap: .4rem;
  color: #4f4540;
  font-weight: 700;
}

.blog-comment-form label span,
.blog-comment-recaptcha-text {
  font-weight: 400;
  color: #83786f;
  font-size: .9rem;
}

.blog-comment-form input,
.blog-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(196,147,144,.34);
  border-radius: 18px;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.96);
  color: #4f4540;
  font: inherit;
}

.blog-comment-form textarea {
  resize: vertical;
}

.blog-comment-privacy {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: .7rem !important;
  font-weight: 400 !important;
}

.blog-comment-privacy input {
  width: auto;
  margin-top: .25rem;
}

.blog-comment-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.4rem;
  background: #c49390;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(196,147,144,.28);
}

.blog-comment-submit:hover {
  filter: brightness(.96);
}

.blog-comment-notice.is-ok {
  background: rgba(232, 244, 237, .95);
  border-color: rgba(83, 142, 102, .25);
  color: #446b51;
}

.blog-comment-notice.is-error {
  background: rgba(255, 240, 238, .95);
  border-color: rgba(180, 83, 74, .25);
  color: #9a423b;
}

.blog-comment-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

@media (max-width: 720px) {
  .blog-comments-marta {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .blog-comment-grid {
    grid-template-columns: 1fr;
  }

  .blog-comment-card-head {
    display: grid;
    gap: .15rem;
  }
}

/* MARTA_BLOG_COMMENTS_COMPACT_TOGGLE_20260526 */
.blog-comments-heading-compact {
  margin-bottom: 1rem;
}

.blog-comments-heading-compact h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin: 0 0 .35rem;
}

.blog-comments-heading-compact p {
  font-size: .96rem;
  margin: 0;
}

.blog-comment-toggle {
  margin-top: 1.15rem;
}

.blog-comment-toggle > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  border-radius: 999px;
  padding: .68rem 1.05rem;
  background: rgba(196,147,144,.14);
  border: 1px solid rgba(196,147,144,.34);
  color: #7a5e5b;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 8px 20px rgba(78, 61, 54, .06);
}

.blog-comment-toggle > summary::-webkit-details-marker {
  display: none;
}

.blog-comment-toggle > summary::after {
  content: "+";
  margin-left: .55rem;
  font-size: 1.05rem;
  line-height: 1;
}

.blog-comment-toggle[open] > summary::after {
  content: "−";
}

.blog-comment-toggle[open] > summary {
  background: #c49390;
  color: #fff;
}

.blog-comment-toggle .blog-comment-form {
  margin-top: 1.1rem;
}

/* MARTA_BLOG_COMMENTS_COMPACT_TOGGLE_20260526 */
.blog-comments-heading-compact {
  margin-bottom: 1rem;
}

.blog-comments-heading-compact h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.2;
  margin: 0 0 .35rem;
}

.blog-comments-heading-compact p {
  font-size: .96rem;
  margin: 0;
}

.blog-comment-toggle {
  margin-top: 1.15rem;
}

.blog-comment-toggle > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  border-radius: 999px;
  padding: .68rem 1.05rem;
  background: rgba(196,147,144,.14);
  border: 1px solid rgba(196,147,144,.34);
  color: #7a5e5b;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 8px 20px rgba(78, 61, 54, .06);
}

.blog-comment-toggle > summary::-webkit-details-marker {
  display: none;
}

.blog-comment-toggle > summary::after {
  content: "+";
  margin-left: .55rem;
  font-size: 1.05rem;
  line-height: 1;
}

.blog-comment-toggle[open] > summary::after {
  content: "−";
}

.blog-comment-toggle[open] > summary {
  background: #c49390;
  color: #fff;
}

.blog-comment-toggle .blog-comment-form {
  margin-top: 1.1rem;
}

/* MARTA_BLOG_COMMENTS_PANEL_EMAIL_UI_20260526 */
.blog-comment-privacy input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  accent-color: #c49390;
  cursor: pointer;
}

.blog-comments-admin-panel {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(196,147,144,.22);
}

.blog-comments-admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-comments-admin-top h2 {
  margin: .2rem 0 .35rem;
}

.blog-comments-admin-kpis {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.blog-comments-admin-kpis span,
.blog-comments-admin-badge {
  border-radius: 999px;
  padding: .4rem .7rem;
  background: rgba(196,147,144,.14);
  color: #765d59;
  font-weight: 800;
  font-size: .9rem;
}

.blog-comments-admin-list {
  display: grid;
  gap: .8rem;
}

.blog-comments-admin-item {
  padding: 1rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(196,147,144,.18);
  box-shadow: 0 10px 28px rgba(65,50,45,.06);
}

.blog-comments-admin-line {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
}

.blog-comments-admin-main {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.blog-comments-admin-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

.blog-comments-admin-actions form {
  margin: 0;
}

.blog-comments-admin-actions button {
  border: 0;
  border-radius: 999px;
  padding: .55rem .8rem;
  background: #c49390;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(196,147,144,.22);
}

.blog-comments-admin-actions button.danger {
  background: #9c5a55;
}

.blog-comments-admin-info {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  color: #746b60;
  font-size: .93rem;
}

.blog-comments-admin-item blockquote {
  margin: .8rem 0 0;
  padding: .75rem .9rem;
  border-left: 3px solid #c49390;
  background: rgba(196,147,144,.08);
  border-radius: 14px;
  color: #4f4540;
}

@media (max-width: 780px) {
  .blog-comments-admin-top,
  .blog-comments-admin-line {
    display: grid;
  }

  .blog-comments-admin-actions {
    justify-content: flex-start;
  }
}

/* MARTA_HIDE_RECAPTCHA_BADGE_WITH_BRANDING_TEXT_20260526 */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* MARTA_BLOG_COMMENTS_JSON_V2_20260526 */
.blog-comment-reply-public {
  margin-top: .9rem;
  padding: .85rem .95rem;
  border-radius: 18px;
  background: rgba(196,147,144,.10);
  border: 1px solid rgba(196,147,144,.20);
}

.blog-comment-reply-public strong {
  display: block;
  color: #7a5e5b;
  margin-bottom: .25rem;
}

.blog-comment-reply-public p {
  margin: 0;
}

.blog-comments-pagination {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.blog-comments-pagination a {
  min-width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(196,147,144,.12);
  color: #765d59;
  text-decoration: none;
  font-weight: 800;
}

.blog-comments-pagination a.is-active {
  background: #c49390;
  color: #fff;
}

/* TDP_CONTACT_MOBILE_ONLY_FIX_20260626 */
/* Evita que queden huecos visuales de teléfono si el dato está vacío desde panel */
a[href="tel:"],
a[href^="tel:"]:empty,
.contact-item:has(a[href="tel:"]),
.contact-card:has(a[href="tel:"]),
.contact-method:has(a[href="tel:"]) {
  display: none !important;
}

/* El teléfono válido pasa a ser el móvil */
a[href="tel:+34633608679"] {
  display: inline-flex;
}

/* TDP_CONTACTO_MOVIL_FOOTER_20260626 */
.footer-contact.footer-contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-contact.footer-contact-actions a {
  white-space: nowrap;
}

.footer-contact.footer-contact-actions a span {
  display: inline-flex;
  align-items: center;
}

.contact-row a[href="tel:"],
.footer-contact a[href="tel:"],
.contact-row-body a[href="tel:"] {
  display: none !important;
}

.contact-row:has(a[href="tel:"]) {
  display: none !important;
}
