
/* =========================================
   DESPACHO M.ª BEGOÑA VEGA MARTÍN
   Hoja de estilos global
   ========================================= */

:root {
  --ink: #252321;
  --ink-soft: #514c48;
  --muted: #77716b;
  --paper: #fbf8f4;
  --paper-deep: #f3ece5;
  --white: #ffffff;
  --rose: #b77f7b;
  --rose-dark: #94615e;
  --rose-light: #ead7d1;
  --line: #e6ddd5;
  --dark: #242220;
  --dark-soft: #302c29;
  --radius: 18px;
  --radius-small: 10px;
  --shadow: 0 18px 50px rgba(48, 36, 29, 0.09);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

p {
  margin: 0 0 18px;
}

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

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

h3 {
  font-size: 1.35rem;
}

.wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.topline {
  height: 5px;
  background: var(--rose);
}

.skip {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--dark);
  transform: translateY(-150%);
}

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


/* Información de precio: visible, discreta y coherente con la identidad visual */
.consultation-price {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.consultation-price strong {
  color: var(--rose-dark);
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-consultation-price {
  margin-top: -8px;
  color: #ded8d2;
}

.contact-consultation-price strong {
  color: #e3b7b0;
}

.home-specialty-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
}

/* =========================================
   CABECERA Y NAVEGACIÓN
   ========================================= */

header {
  position: relative;
  z-index: 20;
  background: rgba(251, 248, 244, 0.96);
  border-bottom: 1px solid rgba(230, 221, 213, 0.8);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2vw, 27px);
}

.navlinks > a:not(.btn) {
  position: relative;
  padding: 8px 0;
  color: #5c5651;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.navlinks > a:not(.btn):hover,
.navlinks > a.active {
  color: var(--rose-dark);
}

.navlinks > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--rose);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navlinks > a:not(.btn):hover::after,
.navlinks > a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

/* =========================================
   BOTONES
   ========================================= */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--rose-dark);
  border: 1px solid var(--rose-dark);
  border-radius: 4px;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  color: var(--white);
  background: #7f504d;
  border-color: #7f504d;
  transform: translateY(-1px);
}

.btn-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.btn-light:hover {
  color: var(--ink);
  background: var(--rose-light);
  border-color: var(--rose-light);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-outline:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

/* =========================================
   PÁGINA DE INICIO: HERO
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 82px;
  color: var(--white);
  background: var(--dark);
}

.hero::before {
  position: absolute;
  top: -200px;
  right: -140px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(234, 215, 209, 0.12);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  top: -115px;
  right: -55px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(234, 215, 209, 0.1);
  border-radius: 50%;
  content: "";
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--rose-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9aaa4;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 25px;
  color: var(--white);
}

.hero h1 span {
  color: #d7a6a0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  max-width: 540px;
  margin-bottom: 30px;
  color: #ded8d2;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 450px);
  padding: 13px;
  border: 1px solid rgba(234, 215, 209, 0.3);
}

.hero-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82);
}

.hero-tag {
  position: absolute;
  right: -22px;
  bottom: 35px;
  padding: 17px 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* =========================================
   FRANJA DE CONFIANZA
   ========================================= */

.proof {
  background: #f0e8e1;
  border-bottom: 1px solid var(--line);
}

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

.proof-item {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  color: #4e4843;
  font-size: 0.93rem;
}

.proof-item + .proof-item {
  border-left: 1px solid #ded2c8;
}

.proof-icon {
  color: var(--rose-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

/* =========================================
   SECCIONES Y TARJETAS
   ========================================= */

.section {
  padding: 100px 0;
}

.section.soft {
  background: #f2ebe4;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 27px;
  background: #fffdfb;
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  border-color: #d7b8b2;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--rose-dark);
  background: #f2e4df;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.arrow-link {
  display: inline-block;
  margin-top: auto;
  color: var(--rose-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.arrow-link:hover {
  color: var(--ink);
}

/* =========================================
   PRESENTACIÓN DEL DESPACHO
   ========================================= */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.editorial-frame {
  position: relative;
  padding: 14px;
  background: #e8d9d0;
}

.editorial-frame::before {
  position: absolute;
  z-index: 0;
  top: -15px;
  left: -15px;
  width: 70%;
  height: 70%;
  border: 1px solid #c8a29a;
  content: "";
}

.editorial-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
}

.editorial-photo {
  object-position: center;
}

.split h2 {
  margin-bottom: 22px;
}

.body-copy {
  color: #625b55;
  font-size: 1.02rem;
  line-height: 1.85;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #514c47;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--rose-dark);
  font-weight: 700;
  content: "✓";
}

/* =========================================
   BANDA DE LLAMADA A LA ACCIÓN
   ========================================= */

.cta-band {
  padding: 48px 0;
  background: #e9d9d2;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-row h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

/* =========================================
   CABECERA INTERIOR COMPARTIDA
   ========================================= */

.page-hero {
  padding: 64px 0;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--rose-dark);
}

/* =========================================
   PÁGINA DE CONTACTO
   ========================================= */

.contact-page {
  overflow: hidden;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  color: var(--white);
  background: var(--dark);
}

.contact-hero::before {
  position: absolute;
  top: -270px;
  right: -140px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(234, 215, 209, 0.12);
  border-radius: 50%;
  content: "";
}

.contact-hero .wrap {
  position: relative;
  z-index: 1;
}

.contact-breadcrumbs {
  margin-bottom: 28px;
  color: #c7bdb5;
  font-size: 0.85rem;
}

.contact-breadcrumbs a {
  color: #e3b7b0;
}

.contact-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 55px;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #d9aaa4;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
}

.contact-hero-copy h1 span {
  color: #d7a6a0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.contact-hero-text {
  max-width: 560px;
  margin-bottom: 27px;
  color: #ded8d2;
  font-size: 1.06rem;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #c9c0b9;
  font-size: 0.86rem;
}

.contact-note-check {
  display: inline-grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  color: #f0d8d2;
  border: 1px solid #8e7770;
  border-radius: 50%;
}

.contact-hero-art {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
}

.contact-art-circle {
  position: absolute;
  border: 1px solid rgba(234, 215, 209, 0.25);
  border-radius: 50%;
}

.contact-art-circle-back {
  width: 320px;
  height: 320px;
}

.contact-art-circle-front {
  width: 245px;
  height: 245px;
  border-color: rgba(234, 215, 209, 0.42);
}

.contact-art-monogram {
  position: relative;
  z-index: 1;
  display: grid;
  width: 185px;
  height: 185px;
  place-items: center;
  color: #e8c9c2;
  border: 1px solid rgba(234, 215, 209, 0.48);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  font-weight: 400;
  line-height: 1;
}

.contact-art-caption {
  position: absolute;
  bottom: 1px;
  color: #d4c8bf;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.contact-art-line {
  position: absolute;
  top: 15px;
  right: 5%;
  width: 70px;
  height: 70px;
  border-top: 1px solid #8e7770;
  border-right: 1px solid #8e7770;
}

/* Métodos de contacto */

.contact-methods-section {
  padding: 82px 0;
  background: var(--paper);
}

.contact-section-heading {
  max-width: 700px;
  margin-bottom: 35px;
}

.contact-section-heading .contact-kicker {
  margin-bottom: 12px;
  color: var(--rose-dark);
}

.contact-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.contact-section-heading p {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
}

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

.contact-method {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px;
  background: #fffdfb;
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.contact-method:hover {
  border-color: #d4b0a9;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.contact-method-featured {
  background: #f0e2dc;
  border-color: #e3c8c0;
}

.contact-method-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}

.contact-method-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--rose-dark);
  background: #f2e6e1;
  border-radius: 50%;
  font-size: 1.35rem;
}

.contact-method-featured .contact-method-icon {
  background: #fff9f6;
}

.contact-method-number {
  color: #a69a90;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

.contact-method-label {
  margin-bottom: 7px;
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}

.contact-method p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-method-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--rose-dark);
  font-size: 0.91rem;
  font-weight: 700;
}

.contact-method-link:hover {
  color: var(--ink);
}

.contact-landline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 21px 25px;
  background: #f1eae3;
  border: 1px solid var(--line);
}

.contact-landline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-landline a {
  color: var(--rose-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* Dirección y horario */

.contact-visit-section {
  padding: 82px 0;
  background: #f0e8e1;
}

.contact-visit-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 65px;
}

.contact-visit-copy > .contact-kicker {
  margin-bottom: 12px;
  color: var(--rose-dark);
}

.contact-visit-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}

.contact-visit-intro {
  margin-bottom: 30px;
  color: var(--muted);
}

.contact-visit-detail {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  margin-top: 23px;
}

.contact-detail-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--rose-dark);
  background: #fffaf7;
  border: 1px solid #e2d1c8;
  border-radius: 50%;
  font-size: 1.1rem;
}

.contact-detail-label {
  display: block;
  margin-bottom: 5px;
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-visit-detail p {
  margin: 0;
  color: #514b46;
  font-size: 0.95rem;
}

.contact-appointment-note {
  margin-top: 27px;
  padding: 14px 17px;
  color: #5b514b;
  background: rgba(255, 253, 251, 0.65);
  border-left: 3px solid var(--rose);
  font-size: 0.9rem;
}

.contact-directions {
  margin-top: 24px;
}

.contact-location-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
  background: #e4d1c7;
  border: 1px solid #d4b9ac;
}

.contact-location-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-location-eyebrow {
  color: #735b51;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-location-pin {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--rose-dark);
  border-radius: 50%;
  font-size: 1.2rem;
}

.contact-location-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72%;
  overflow: hidden;
  background: linear-gradient(#e4d1c7 0%, #d9c0b3 100%);
}

.contact-location-sun {
  position: absolute;
  top: 12%;
  right: 13%;
  width: 90px;
  height: 90px;
  background: rgba(255, 248, 236, 0.55);
  border-radius: 50%;
}

.contact-location-building {
  position: absolute;
  bottom: 22%;
  background: #b9a095;
  border: 1px solid rgba(102, 75, 63, 0.2);
}

.building-one {
  left: 6%;
  width: 29%;
  height: 42%;
}

.building-two {
  left: 36%;
  width: 31%;
  height: 61%;
  background: #c6aea1;
}

.building-three {
  right: 3%;
  width: 29%;
  height: 49%;
  background: #a98e81;
}

.contact-location-building::before {
  position: absolute;
  top: 12%;
  right: 12%;
  bottom: 12%;
  left: 12%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 20px,
    rgba(255, 244, 231, 0.55) 21px,
    rgba(255, 244, 231, 0.55) 29px
  );
  content: "";
}

.contact-location-street {
  position: absolute;
  right: -10%;
  bottom: -20%;
  left: -10%;
  height: 39%;
  background: #a9988e;
  clip-path: polygon(37% 0, 65% 0, 100% 100%, 0 100%);
}

.contact-location-marker {
  position: absolute;
  z-index: 3;
  top: 36%;
  left: 48%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--white);
  background: var(--rose-dark);
  border: 5px solid rgba(255, 255, 255, 0.75);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 22px rgba(60, 42, 33, 0.2);
  font-size: 1.2rem;
  transform: rotate(-45deg);
}

.contact-location-marker span {
  transform: rotate(45deg);
}

.contact-location-bottom {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 17px 19px;
  background: rgba(255, 251, 247, 0.94);
}

.contact-location-bottom strong {
  display: block;
  margin-bottom: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-location-bottom span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Formulario de contacto */

.contact-form-section {
  padding: 82px 0;
  background: var(--paper);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  align-items: start;
}

.contact-form-intro h2 {
  margin-bottom: 17px;
}

.contact-form-intro p {
  color: var(--muted);
}

.contact-form {
  padding: 32px;
  background: #fffdfb;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(48, 36, 29, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #514b46;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcd1c8;
  border-radius: 4px;
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a49a92;
}

.form-privacy {
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.81rem;
}

.form-submit {
  width: 100%;
}

.contact-form-success-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.83rem;
}

/* Bloque final de contacto */

.contact-closing {
  padding: 55px 0;
  color: var(--white);
  background: var(--dark);
}

.contact-closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact-closing .contact-kicker {
  margin-bottom: 10px;
}

.contact-closing h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.contact-closing p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d0c7bf;
}

.contact-button-cream {
  flex-shrink: 0;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.contact-button-cream:hover {
  color: var(--ink);
  background: var(--rose-light);
  border-color: var(--rose-light);
}

/* =========================================
   PIE DE PÁGINA
   ========================================= */

.site-footer {
  padding: 55px 0 22px;
  color: #e6ded7;
  background: #201e1c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding-bottom: 35px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 12px;
  color: #fffaf6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: #bcb2aa;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-content: start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-links a {
  color: #d2c8c0;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #e3b7b0;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  color: #a99f97;
  border-top: 1px solid #423b36;
  font-size: 0.78rem;
}

/* =========================================
   PÁGINAS DE CONTENIDO
   ========================================= */

.content-section {
  padding: 70px 0 90px;
}

.content-narrow {
  max-width: 850px;
}

.content-section h2 {
  margin-top: 38px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.content-section h3 {
  margin-top: 28px;
}

.content-section p,
.content-section li {
  color: #5c554f;
}

.content-section a:not(.btn) {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.service-item {
  padding: 26px;
  background: #fffdfb;
  border: 1px solid var(--line);
}

.service-item h3 {
  margin-top: 0;
}

.service-item p {
  margin-bottom: 0;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 32px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: #5c554f;
}

/* =========================================
   ESPECIALIDADES: DISEÑO VISUAL PROPIO
   ========================================= */

.specialties-page {
  overflow: hidden;
}

.specialties-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #fff;
  background: #242220;
}

.specialties-hero::after {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(234, 215, 209, 0.15);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.specialties-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 70px;
}

.specialties-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #a16b66;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.specialties-hero .specialties-eyebrow {
  color: #d9aaa4;
}

.specialties-hero h1 {
  max-width: 760px;
  margin-bottom: 23px;
  color: #fffaf6;
  font-size: clamp(2.8rem, 5.3vw, 4.8rem);
}

.specialties-hero h1 em {
  color: #d7a6a0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.specialties-hero-grid > div:first-child > p {
  max-width: 620px;
  margin-bottom: 28px;
  color: #d3cbc4;
  font-size: 1.05rem;
}

.specialties-hero-button {
  color: #252321;
  background: #f7eee8;
  border-color: #f7eee8;
}

.specialties-hero-button:hover {
  color: #252321;
  background: #e8d1c9;
  border-color: #e8d1c9;
}

.specialties-hero-aside {
  position: relative;
  padding: 32px 0 32px 32px;
  border-left: 1px solid rgba(234, 215, 209, 0.3);
}

.specialties-aside-number {
  display: block;
  color: #d7a6a0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 1;
}

.specialties-aside-line {
  width: 55px;
  height: 2px;
  margin: 24px 0;
  background: #b77f7b;
}

.specialties-hero-aside p {
  max-width: 280px;
  color: #e0d8d1;
  font-size: 1rem;
}

.specialties-aside-caption {
  display: block;
  margin-top: 28px;
  color: #b8ada4;
  font-size: 0.78rem;
}

.specialties-section {
  padding: 88px 0 100px;
  background: #fbf8f4;
}

.specialties-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.specialties-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.specialties-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: #77716b;
  font-size: 0.96rem;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.specialty-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid transparent;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-card:hover {
  box-shadow: 0 22px 55px rgba(48, 36, 29, 0.13);
  transform: translateY(-5px);
}

.specialty-family {
  color: #fffaf6;
  background: #66504d;
}

.specialty-inheritance {
  color: #302b26;
  background: #e8d8c9;
}

.specialty-accidents {
  color: #302b26;
  background: #e2e6df;
}

.specialty-contracts {
  color: #fffaf6;
  background: #343c3a;
}

.specialty-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.specialty-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.specialty-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.specialty-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.specialty-category {
  display: block;
  margin-bottom: 10px;
  color: #e3b7b0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.specialty-inheritance .specialty-category,
.specialty-accidents .specialty-category {
  color: #8e5f58;
}

.specialty-card h3 {
  max-width: 440px;
  margin-bottom: 15px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.specialty-card-content > p {
  max-width: 490px;
  margin-bottom: 20px;
  color: inherit;
  opacity: 0.86;
  font-size: 0.94rem;
}

.specialty-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.specialty-card li {
  position: relative;
  padding-left: 21px;
  color: inherit;
  font-size: 0.9rem;
}

.specialty-card li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #e3b7b0;
  content: "↗";
}

.specialty-inheritance li::before,
.specialty-accidents li::before {
  color: #94615e;
}

.specialty-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding: 12px 16px;
  color: #2d2926;
  background: #fff8f3;
  border: 1px solid #fff8f3;
  font-size: 0.87rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.specialty-button:hover {
  color: #fff;
  background: #94615e;
  border-color: #94615e;
}

.specialty-inheritance .specialty-button,
.specialty-accidents .specialty-button {
  color: #fffaf6;
  background: #403934;
  border-color: #403934;
}

.specialty-inheritance .specialty-button:hover,
.specialty-accidents .specialty-button:hover {
  background: #94615e;
  border-color: #94615e;
}

.specialty-contracts .specialty-button {
  color: #252321;
  background: #f4e9e1;
  border-color: #f4e9e1;
}

.specialty-contracts .specialty-button:hover {
  color: #fff;
  background: #94615e;
  border-color: #94615e;
}

.specialty-watermark {
  position: absolute;
  z-index: 0;
  right: -8px;
  bottom: -62px;
  color: rgba(255, 255, 255, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16rem;
  line-height: 1;
  pointer-events: none;
}

.specialty-inheritance .specialty-watermark,
.specialty-accidents .specialty-watermark {
  color: rgba(64, 48, 38, 0.055);
}

/* Pasos para solicitar asesoramiento */

.specialties-process {
  padding: 80px 0;
  background: #f0e8e1;
}

.specialties-process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
}

.specialties-process-grid > div:first-child h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.specialties-process-steps {
  display: grid;
}

.specialties-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #d8c9be;
}

.specialties-step:first-child {
  padding-top: 0;
}

.specialties-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.specialties-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--wow-wine);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(112, 43, 76, 0.16);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.specialties-step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.specialties-step p {
  margin: 0;
  color: #6e625c;
  font-size: 0.94rem;
  line-height: 1.8;
}

/* =========================================
   HOME EXPERIENCE: DISEÑO EDITORIAL
   ========================================= */

:root {
  --wow-ink: #25151f;
  --wow-wine: #702b4c;
  --wow-rose: #e8a0b0;
  --wow-coral: #ff796c;
  --wow-cream: #fff9f3;
  --wow-lilac: #c6b8ef;
  --wow-sage: #bdcdbb;
}

/* Fondo general */

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      ellipse at 8% 12%,
      rgba(232, 160, 176, 0.12),
      transparent 30rem
    ),
    var(--wow-cream);
  color: var(--wow-ink);
}

/* Barra superior */

.topline {
  background: var(--wow-ink);
  color: #fff8f3;
  letter-spacing: 0.045em;
}

header {
  background: rgba(255, 249, 243, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(112, 43, 76, 0.12);
}

.brand-logo {
  transition: transform 0.35s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-5deg) scale(1.06);
}

.navlinks a {
  transition: color 0.25s ease;
}

.navlinks a:hover {
  color: var(--wow-coral);
}

/* PORTADA PRINCIPAL */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  padding-top: clamp(65px, 8vw, 115px);
  padding-bottom: clamp(65px, 8vw, 120px);
  color: var(--wow-ink);
  background:
    radial-gradient(
      ellipse at 85% 12%,
      rgba(198, 184, 239, 0.42),
      transparent 32%
    ),
    radial-gradient(
      ellipse at 12% 80%,
      rgba(255, 121, 108, 0.15),
      transparent 35%
    ),
    linear-gradient(135deg, #fff9f3 0%, #fff0ed 48%, #f4edff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(112, 43, 76, 0.13);
  border-radius: 50%;
  top: -180px;
  left: -150px;
  box-shadow:
    0 0 0 38px rgba(112, 43, 76, 0.025),
    0 0 0 78px rgba(112, 43, 76, 0.02);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  right: 38%;
  bottom: -130px;
  border-radius: 50%;
  background: var(--wow-coral);
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid {
  align-items: center;
  gap: clamp(36px, 6vw, 95px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: #66545e;
  animation: wowRise 0.8s ease-out both;
}

/* Corregido: se aumenta la especificidad para que el hero claro
   no herede el color pálido de la antigua versión oscura. */

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(112, 43, 76, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--wow-wine);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--wow-coral);
  box-shadow: 0 0 0 4px rgba(255, 121, 108, 0.15);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 24px 0;
  color: var(--wow-ink);
  font-size: clamp(3rem, 6.6vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 750;
}

.hero-copy h1 em,
.hero-copy h1 strong {
  color: var(--wow-wine);
  font-style: normal;
}

.hero-copy p {
  max-width: 510px;
  color: #66545e;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
}

/* Botones del hero */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
}

.hero .btn {
  min-height: 52px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

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

.hero .btn-primary,
.hero-actions .btn:first-child {
  background: linear-gradient(
    115deg,
    var(--wow-wine),
    #a3486a 65%,
    #c05a70
  );
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(112, 43, 76, 0.23);
}

.hero .btn-primary:hover,
.hero-actions .btn:first-child:hover {
  box-shadow: 0 17px 38px rgba(112, 43, 76, 0.3);
}

.hero .btn-secondary,
.hero-actions .btn:not(:first-child) {
  border-color: rgba(112, 43, 76, 0.2);
  background: rgba(255, 255, 255, 0.68);
  color: var(--wow-wine);
}

/* IMAGEN DE PORTADA */

.hero-art {
  position: relative;
  isolation: isolate;
  animation: wowRise 1s 0.12s ease-out both;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 450px);
  padding: 12px;
  border-radius: 46% 46% 28px 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 80px rgba(67, 35, 55, 0.16),
    0 5px 20px rgba(112, 43, 76, 0.08);
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-photo-frame:hover {
  transform: rotate(0deg) translateY(-5px);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  min-height: 380px;
  max-height: 650px;
  object-fit: cover;
  border-radius: 46% 46% 19px 19px;
  filter: saturate(1.08) contrast(1.03);
}

/* Elementos decorativos de la fotografía */

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 125px;
  height: 125px;
  top: 3%;
  right: -24px;
  border-radius: 35px;
  background: linear-gradient(135deg, var(--wow-coral), #ffb39c);
  transform: rotate(15deg);
  opacity: 0.9;
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 105px;
  height: 105px;
  left: -35px;
  bottom: 8%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wow-lilac), #f0d5e5);
  box-shadow: 0 15px 35px rgba(112, 43, 76, 0.12);
  opacity: 0.9;
  pointer-events: none;
}

.hero-tag {
  position: absolute;
  z-index: 3;
  right: -16px;
  bottom: 12%;
  max-width: 225px;
  padding: 18px 21px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 249, 243, 0.91);
  box-shadow: 0 15px 45px rgba(37, 21, 31, 0.15);
  color: var(--wow-ink);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation: wowFloat 5s ease-in-out infinite;
}

.hero-tag strong {
  display: block;
  margin-bottom: 5px;
  color: var(--wow-wine);
  font-size: 1.05rem;
}

.hero-tag span {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Efecto de desplazamiento de la imagen */

@supports (animation-timeline: view()) {
  .hero-photo {
    animation: portParallax linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  @keyframes portParallax {
    from {
      transform: translateY(-28px) scale(1.04);
    }

    to {
      transform: translateY(35px) scale(1.12);
    }
  }
}

/* =========================================
   FRANJA DE CONFIANZA: DISEÑO EDITORIAL
   ========================================= */

.proof {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  padding: 24px 0;
  background: var(--wow-ink);
  color: #fff9f3;
}

.proof-grid {
  gap: 18px;
}

.proof-item {
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-icon {
  color: var(--wow-rose);
}

.proof-item strong,
.proof-item span {
  color: #fff9f3;
}

/* =========================================
   SECCIONES: TÍTULOS Y ESPACIADO
   ========================================= */

.section {
  padding-top: clamp(65px, 8vw, 115px);
  padding-bottom: clamp(65px, 8vw, 115px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4.7vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 600px;
  color: #76636d;
  line-height: 1.8;
}

/* Tarjetas de especialidades de la portada */

.cards {
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 35px);
  border: 1px solid rgba(112, 43, 76, 0.1);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 35px rgba(53, 27, 42, 0.045);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -75px;
  top: -75px;
  border-radius: 50%;
  background: var(--wow-rose);
  opacity: 0.18;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(112, 43, 76, 0.22);
  box-shadow: 0 24px 55px rgba(53, 27, 42, 0.11);
}

.card:hover::after {
  transform: scale(1.5);
}

.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 19px;
  background: linear-gradient(135deg, #f8dfe5, #f7c8c4);
  color: var(--wow-wine);
}

.card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.card p {
  position: relative;
  z-index: 1;
  color: #76636d;
  line-height: 1.75;
}

/* =========================================
   PRESENTACIÓN EDITORIAL
   ========================================= */

.split {
  gap: clamp(35px, 6vw, 85px);
  align-items: center;
}

.editorial-frame {
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f2d4de, #d9cff5 55%, #f6cfc0);
  box-shadow: 0 24px 60px rgba(112, 43, 76, 0.12);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.editorial-frame:hover {
  transform: rotate(0deg) translateY(-5px);
}

.editorial-photo {
  border-radius: 22px;
}

.body-copy {
  color: #6c5963;
  line-height: 1.9;
}

/* =========================================
   LLAMADA FINAL A LA ACCIÓN
   ========================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(198, 184, 239, 0.32),
      transparent 27%
    ),
    linear-gradient(125deg, #351d2b, #702b4c 62%, #994a66);
  color: white;
  box-shadow: 0 24px 60px rgba(74, 29, 53, 0.19);
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -70px;
  bottom: -150px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(255, 255, 255, 0.035),
    0 0 0 65px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.cta-band h2,
.cta-band p {
  color: white;
}

.cta-band .btn {
  background: #fff9f3;
  color: var(--wow-wine);
  border-color: #fff9f3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.cta-band .btn:hover {
  color: var(--wow-wine);
  background: #f5e2e6;
  border-color: #f5e2e6;
}

/* =========================================
   PIE DE PÁGINA: COLORES DEFINITIVOS
   ========================================= */

.site-footer {
  background: #20141d;
  color: #fff9f3;
}

.site-footer p,
.site-footer a,
.site-footer .brand-sub {
  color: rgba(255, 249, 243, 0.75);
}

.site-footer a:hover {
  color: var(--wow-rose);
}

.copyright {
  border-color: rgba(255, 255, 255, 0.12);
}

/* =========================================
   ANIMACIONES
   ========================================= */

@keyframes wowRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wowFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* =========================================
   RESPONSIVE: TABLETAS Y MÓVILES
   ========================================= */

@media (max-width: 1000px) {
  .nav {
    gap: 18px;
  }

  .navlinks {
    gap: 15px;
  }

  .navlinks > a:not(.btn) {
    font-size: 0.84rem;
  }

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

  .brand-logo {
    width: 47px;
    height: 47px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-photo {
    min-height: 0;
    height: 390px;
  }

  .contact-hero-layout {
    gap: 30px;
  }

  .contact-visit-grid,
  .contact-form-layout {
    gap: 40px;
  }

  .specialties-hero-grid {
    gap: 40px;
  }

  .specialties-process-grid {
    gap: 45px;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: min(100% - 36px, var(--max-width));
  }

  .nav {
    min-height: 80px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navlinks {
    display: none;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 6px;
    border-top: 1px solid var(--line);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks > a:not(.btn) {
    padding: 12px 4px;
    font-size: 0.95rem;
  }

  .navlinks > a:not(.btn)::after {
    display: none;
  }

  .navlinks .btn {
    margin-top: 8px;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-grid,
  .split,
  .contact-hero-layout,
  .contact-visit-grid,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 45px;
  }

  .hero-photo-frame {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .hero-photo {
    height: 400px;
  }

  .hero-tag {
    right: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .proof-item {
    min-height: 65px;
    padding: 12px 4px;
  }

  .proof-item + .proof-item {
    border-top: 1px solid #ded2c8;
    border-left: 0;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .editorial-image {
    height: 400px;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hero {
    padding: 48px 0 60px;
  }

  .contact-hero-layout {
    gap: 20px;
  }

  .contact-hero-art {
    min-height: 310px;
  }

  .contact-methods-section,
  .contact-visit-section,
  .contact-form-section {
    padding: 65px 0;
  }

  .contact-methods-grid {
    grid-template-columns: 1fr;
  }

  .contact-method {
    min-height: auto;
  }

  .contact-method p {
    max-width: 520px;
  }

  .contact-location-card {
    min-height: 380px;
  }

  .contact-closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .copyright {
    flex-direction: column;
    gap: 6px;
  }

  .specialties-hero {
    padding: 60px 0;
  }

  .specialties-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .specialties-hero-aside {
    padding: 24px 0 0;
    border-top: 1px solid rgba(234, 215, 209, 0.3);
    border-left: 0;
  }

  .specialties-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: 0;
  }

  .specialties-process-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 55px;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 12vw, 4.5rem);
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-photo-frame {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 42% 42% 23px 23px;
  }

  .hero-photo {
    min-height: 300px;
    max-height: 440px;
    border-radius: 42% 42% 15px 15px;
  }

  .hero-tag {
    right: -5px;
    bottom: 7%;
    max-width: 190px;
    padding: 13px 15px;
  }

  .hero-art::before {
    right: -8px;
    width: 80px;
    height: 80px;
  }

  .hero-art::after {
    left: -8px;
    width: 65px;
    height: 65px;
  }

  .proof-item {
    border-right: 0;
  }

  .section-heading h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .cta-band {
    border-radius: 22px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: calc(100% - 30px);
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 200px;
    font-size: 0.93rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero h1,
  .contact-hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-photo {
    height: 310px;
    min-height: 0;
  }

  .hero-tag {
    right: 5px;
    bottom: 22px;
    padding: 12px 15px;
    font-size: 0.88rem;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    min-height: 0;
    padding: 24px;
  }

  .editorial-image {
    height: 340px;
  }

  .cta-band {
    padding: 35px 0;
  }

  .cta-row .btn {
    width: 100%;
  }

  .page-hero {
    padding: 45px 0;
  }

  .contact-hero {
    padding: 38px 0 48px;
  }

  .contact-breadcrumbs {
    margin-bottom: 20px;
  }

  .contact-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .contact-hero-art {
    min-height: 270px;
  }

  .contact-art-circle-back {
    width: 250px;
    height: 250px;
  }

  .contact-art-circle-front {
    width: 195px;
    height: 195px;
  }

  .contact-art-monogram {
    width: 150px;
    height: 150px;
    font-size: 6rem;
  }

  .contact-methods-section,
  .contact-visit-section,
  .contact-form-section {
    padding: 54px 0;
  }

  .contact-landline {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
  }

  .contact-location-card {
    min-height: 340px;
    padding: 20px;
  }

  .contact-location-bottom {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .contact-form {
    padding: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-closing {
    padding: 42px 0;
  }

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

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

  .site-footer {
    padding-top: 40px;
  }

  .footer-links {
    gap: 10px 17px;
  }

  .specialties-section {
    padding: 58px 0 65px;
  }

  .specialties-hero {
    padding: 45px 0;
  }

  .specialties-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .specialties-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .specialty-card {
    padding: 24px;
  }

  .specialty-card-top {
    margin-bottom: 27px;
  }

  .specialty-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .specialty-watermark {
    font-size: 11rem;
    bottom: -38px;
  }

  .specialties-process {
    padding: 55px 0;
  }

  .specialties-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .specialties-step-number {
    width: 36px;
    height: 36px;
  }
}

/* =========================================
   ACCESIBILIDAD: MOVIMIENTO REDUCIDO
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-photo {
    animation: none !important;
    transform: none !important;
  }
}

/* Corrección del desplazamiento en la página de contacto */
html,
body {
  min-height: 100%;
  height: auto;
  overflow-y: auto !important;
}

body {
  overflow-x: hidden;
}

main {
  height: auto;
  overflow: visible;
}

@media (max-width: 640px) { .home-specialty-cards { grid-template-columns: 1fr; } }


/* Ajustes de contenido editorial y primera consulta */
.image-caption {
  margin-top: 0.75rem;
  color: var(--muted, #666);
  font-size: 0.9rem;
  text-align: center;
}
.contact-consultation-info .split {
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.contact-consultation-info h3 {
  margin-top: 0;
}


/* Ajustes finales de identidad visual y consistencia entre páginas */
.brand-logo { width: 68px; height: 68px; flex: 0 0 68px; }
.specialties-hero { padding: 66px 0; }
.specialties-hero-grid { display: block; }
.specialties-hero-grid > div:first-child > p { margin-bottom: 0; }
.specialties-hero h1 { margin-bottom: 12px; }
.specialties-section { padding-top: 58px; }
.specialty-card { min-height: 100%; }
.specialty-card-content h3 { line-height: 1.2; }
@media (max-width: 900px) { .brand-logo { width: 58px; height: 58px; flex-basis: 58px; } }
@media (max-width: 520px) { .brand-logo { width: 50px; height: 50px; flex-basis: 50px; } }
