/* ─────────────────────────────────
   DESIGN TOKENS
───────────────────────────────── */
:root {
  --navy: #0C1F3F;
  --navy-deep: #071429;
  --blue: #1A4B8C;
  --blue-light: #2E6BC4;
  --sky: #C8DDF5;
  --sky-pale: #EEF5FD;
  --white: #FFFFFF;
  --cream: #F5F3EF;
  --warm: #F0EBE3;
  --ink: #0A1220;
  --mid: #3A4E65;
  --muted: #7E95AE;
  --rule: #D8E4F0;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', sans-serif;
  --ease: cubic-bezier(.22, .68, 0, 1.2);
}

/* ─────────────────────────────────
   BASE
───────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  cursor: default;
}

img {
  display: block;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

ul {
  list-style: none;
}

/* ─────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26, 75, 140, .35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .12s var(--ease), width .3s, height .3s;
}

body:hover .cursor {
  opacity: 1;
}

/* ─────────────────────────────────
   NAVIGATION
───────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 96px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(216, 228, 240, .5);
  transition: box-shadow .4s;
}

.nav.elevated {
  box-shadow: 0 4px 32px rgba(12, 31, 63, .06);
}

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

.nav__logo {
  height: 120px;
  /* Aumentado para mayor visibilidad */
  width: auto;
  object-fit: contain;
  transition: transform .3s;
  margin-bottom: 15px;
}

.nav__brand:hover .nav__logo {
  transform: scale(1.06);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__menu a {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  transition: color .2s;
  position: relative;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav__menu a:hover {
  color: var(--navy);
}

.nav__menu a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s, transform .2s;
}

.nav__cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav__cta svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  flex-shrink: 0;
}

/* Oculto en desktop — solo visible dentro del menú mobile */
.nav__cta-mobile {
  display: none;
}

/* ─────────────────────────────────
   HERO
───────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: 96px;
  position: relative;
}

.hero__left {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 72px 88px 88px;
  position: relative;
  overflow: hidden;
}

.hero__left::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(26, 75, 140, .08);
  pointer-events: none;
}

.hero__left::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(26, 75, 140, .06);
  pointer-events: none;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: slideIn .8s .1s var(--ease) forwards;
}

.hero__kicker-line {
  width: 36px;
  height: 1px;
  background: var(--blue);
}

.hero__kicker-text {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 32px;
  opacity: 0;
  animation: slideIn .8s .22s var(--ease) forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.hero__title strong {
  font-weight: 500;
  display: block;
}

.hero__sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--navy);
  max-width: 390px;
  margin-bottom: 52px;
  opacity: 0;
  animation: slideIn .8s .34s var(--ease) forwards;
}

.hero__btns {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: slideIn .8s .46s var(--ease) forwards;
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 17px 32px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 8px 32px rgba(12, 31, 63, .18);
}

.btn-main:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(26, 75, 140, .28);
}

.btn-main svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.btn-link {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform .3s;
}

.btn-link:hover::after {
  transform: scaleX(0);
}

.hero__addr {
  position: absolute;
  bottom: 44px;
  left: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: slideIn .8s .6s var(--ease) forwards;
}

.hero__addr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__addr-text {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.hero__right {
  position: relative;
  overflow: hidden;
}

.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 10s ease;
}

.hero__right:hover img {
  transform: scale(1.05);
}

.hero__badge {
  position: absolute;
  bottom: 44px;
  right: 36px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  opacity: 0;
  animation: fadeIn 1s 1s both;
}

/* ─────────────────────────────────
   MARQUEE STRIP
───────────────────────────────── */
.marquee-strip {
  background: var(--navy);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  font-weight: 400;
  white-space: nowrap;
}

.marquee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ─────────────────────────────────
   STATS ROW
───────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 48px 52px;
  border-right: 1px solid var(--rule);
  transition: background .25s;
  position: relative;
  overflow: hidden;
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: var(--sky-pale);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--blue);
  transition: height .35s var(--ease);
}

.stat:hover::before {
  height: 100%;
}

.stat__num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* ─────────────────────────────────
   SECTION WRAPPER
───────────────────────────────── */
.section {
  padding: 110px 88px;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
}

.section--sky {
  background: var(--sky-pale);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.eyebrow__line {
  width: 28px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.eyebrow__text {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}

.eyebrow--light .eyebrow__line {
  background: rgba(255, 255, 255, .35);
}

.eyebrow--light .eyebrow__text {
  color: rgba(255, 255, 255, .45);
}

.heading {
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
}

.heading em {
  font-style: italic;
  color: var(--blue);
}

.heading--white {
  color: #fff;
}

.heading--white em {
  color: rgba(255, 255, 255, .4);
}

.body-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--mid);
  max-width: 520px;
}

/* ─────────────────────────────────
   ABOUT / NOSOTROS
───────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.about__photo-wrap {
  position: relative;
  height: 580px;
}

.about__photo-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 82%;
  height: 82%;
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(12, 31, 63, .14);
}

.about__photo-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 48%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .10);
}

.about__vert-rule {
  position: absolute;
  top: 50%;
  left: 82%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.about__content {
  display: flex;
  flex-direction: column;
}

.pillars {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  transition: background .2s, padding-left .3s var(--ease);
  cursor: default;
}

.pillar:last-child {
  border-bottom: none;
}

.pillar:hover {
  background: var(--sky-pale);
  padding-left: 32px;
}

.pillar__n {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
  flex-shrink: 0;
  min-width: 22px;
}

.pillar__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .03em;
  margin-bottom: 4px;
}

.pillar__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ─────────────────────────────────
   MISSION / VISION / VALUES
───────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

.mv-card {
  padding: 56px 52px;
  background: rgba(255, 255, 255, .04);
  border-left: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}

.mv-card:hover {
  background: rgba(255, 255, 255, .08);
}

.mv-card__kicker {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 14px;
  font-weight: 500;
}

.mv-card__title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.mv-card__body {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.85;
  font-weight: 300;
}

.mv-card__bg-letter {
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-family: var(--serif);
  font-size: 220px;
  font-weight: 300;
  color: rgba(255, 255, 255, .03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.values-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.value-node {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .06);
  transition: background .25s;
  cursor: default;
}

.value-node:last-child {
  border-right: none;
}

.value-node:hover {
  background: rgba(255, 255, 255, .06);
}

.value-node__name {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 500;
  display: block;
}

.value-node__dash {
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
  margin: 12px auto 0;
}

/* ─────────────────────────────────
   SERVICES
───────────────────────────────── */
.svc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.svc-card {
  background: var(--white);
  padding: 44px 40px;
  transition: background .3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.svc-card:hover {
  background: var(--navy);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card:hover .svc__n,
.svc-card:hover .svc__name,
.svc-card:hover .svc__body {
  color: #fff;
}

.svc-card:hover .svc__rule {
  background: rgba(255, 255, 255, .2);
}

.svc__n {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 32px;
  transition: color .3s;
}

.svc__name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color .3s;
}

.svc__rule {
  width: 20px;
  height: 1px;
  background: var(--rule);
  margin-bottom: 14px;
  transition: background .3s;
}

.svc__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  transition: color .3s;
}

/* ─────────────────────────────────
   GALLERY
───────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 6px;
}

.gallery__cell {
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  perspective: 800px;
}

.gallery__cell--tall {
  grid-row: 1 / 3;
}

.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, .68, 0, 1.2), filter .5s ease, box-shadow .5s ease;
  filter: brightness(.93) saturate(.88) contrast(1.02);
  image-rendering: high-quality;
  will-change: transform;
}

.gallery__cell:hover img {
  filter: brightness(1.02) saturate(1.08) contrast(1.03);
}

.gallery__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 1;
}

.gallery__cell:hover::after {
  opacity: 1;
}

/* ─────────────────────────────────
   SCHEDULE / CONTACT
───────────────────────────────── */
.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.schedule-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--rule);
}

.schedule-block {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--rule);
  transition: background .2s;
}

.schedule-block:last-child {
  border-bottom: none;
}

.schedule-block:hover {
  background: var(--sky-pale);
}

.schedule-block__pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.schedule-block__days {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
}

.schedule-block__time {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .04em;
}

.schedule-note {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 2px solid var(--blue);
  background: var(--sky-pale);
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.75;
  font-weight: 300;
}

.ci-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}

.ci {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.ci:last-child {
  border-bottom: none;
}

.ci__box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-pale);
  border: 1px solid var(--rule);
}

.ci__box svg {
  width: 16px;
  height: 16px;
  fill: var(--blue);
}

.ci__label {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.ci__value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.5;
}

.ci__value a {
  color: var(--blue);
}

.ci__value a:hover {
  text-decoration: underline;
}

.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 22px;
  border: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--navy);
  font-weight: 500;
  transition: background .2s, border-color .2s;
}

.ig-pill:hover {
  background: var(--sky-pale);
  border-color: var(--blue);
}

.ig-pill svg {
  width: 16px;
  height: 16px;
  fill: var(--navy);
}

/* ─────────────────────────────────
   CTA BAND
───────────────────────────────── */
.cta-band {
  background: var(--blue);
  padding: 80px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}

.cta-band__text h2 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-band__text h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, .5);
}

.cta-band__text p {
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  font-weight: 300;
}

.btn-wht {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
  transition: transform .2s, box-shadow .2s;
}

.btn-wht:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
}

.btn-wht svg {
  width: 16px;
  height: 16px;
  fill: var(--blue);
}

/* ─────────────────────────────────
   FOOTER
───────────────────────────────── */
footer {
  background: var(--navy-deep);
  padding: 72px 88px 44px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 36px;
}

.footer__brand-name span:first-child {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  letter-spacing: .07em;
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}

.footer__brand-name span:last-child {
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, .32);
  line-height: 1.85;
  font-weight: 300;
  margin-top: 20px;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
  margin-bottom: 22px;
}

.footer__col li {
  margin-bottom: 11px;
}

.footer__col a {
  font-size: 13px;
  color: rgba(255, 255, 255, .48);
  font-weight: 300;
  transition: color .2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .22);
  font-weight: 300;
}

/* ─────────────────────────────────
   ANIMATIONS
───────────────────────────────── */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ─────────────────────────────────
   SCROLLBAR
───────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 0;
}

/* ─────────────────────────────────
   RESPONSIVE (MEDIA QUERIES)
───────────────────────────────── */

/* Tablet and below */
@media (max-width: 1024px) {
  .nav {
    padding: 0 32px;
  }

  .nav__menu {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__right {
    height: 400px;
  }

  .hero__left {
    padding: 80px 40px;
  }

  .section {
    padding: 80px 40px;
  }

  .about, .sc-grid, .footer__grid {
    gap: 48px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  /* Hide custom cursor on touch devices */
  .cursor, .cursor-ring {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

  /* Navigation Mobile */
  .nav {
    height: 72px;
    padding: 0 20px;
  }

  .nav__logo {
    height: 80px;
    margin-bottom: 5px;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    z-index: 499;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }

  .nav__menu.active {
    transform: translateY(0);
  }

  .nav__menu a {
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav__cta {
    display: none; /* Hide in nav, maybe show inside menu */
  }

  .nav__menu .nav__cta-mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  /* Hamburger Button */
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 501;
  }

  .nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: 0.3s;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero Mobile */
  .hero {
    padding-top: 72px;
    display: flex;
    flex-direction: column-reverse;
  }

  .hero__left {
    padding: 60px 24px 80px;
    align-items: center;
    text-align: center;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__sub {
    font-size: 15px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .hero__btns {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .btn-main {
    width: 100%;
    justify-content: center;
  }

  .hero__addr {
    position: relative;
    left: 0;
    right: 0;
    justify-content: center;
    bottom: 0;
    margin-top: 40px;
  }

  .hero__right {
    height: 300px;
    order: -1;
  }

  .hero__badge {
    display: none;
  }

  /* Sections Mobile */
  .section {
    padding: 60px 20px;
  }

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

  .stat {
    padding: 32px 20px;
    border-bottom: 1px solid var(--rule);
  }

  .stat:nth-child(even) {
    border-right: none;
  }

  .stat__num {
    font-size: 36px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo-wrap {
    height: 380px;
  }

  .about__vert-rule {
    display: none;
  }

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

  .values-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-node:last-child {
    grid-column: span 2;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

  .svc-header {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .svc-header .body-text {
    margin: 0 auto;
  }

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

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }

  .gallery__cell--tall {
    grid-row: span 1;
    grid-column: span 2;
  }

  .sc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .schedule-block {
    padding: 16px 20px;
  }

  .cta-band {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .cta-band__text h2 {
    font-size: 30px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer__tagline {
    margin: 20px auto 0;
  }
}

/* ─────────────────────────────────
   EQUIPO MÉDICO — CAROUSEL PREMIUM
───────────────────────────────── */

/* Encabezado de sección */
.equipo-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.equipo-header .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.equipo-header .heading {
  margin-bottom: 20px;
}

.equipo-header .body-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto;
}

/* Container */
.equipo-container {
  width: 100%;
}

/* ── Loading / Error states ── */
.dcp-loading,
.dcp-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  opacity: 0.7;
}

.dcp-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(46, 107, 196, 0.12);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: dcpSpin 0.85s infinite linear;
}

@keyframes dcpSpin {
  to { transform: rotate(360deg); }
}

/* ── Carousel Layout ── */

/* Wrapper externo: flechas + scroller */
.dcp-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/*
 * SCROLLER nativo con scroll-snap
 * — overflow-x: scroll  → desplazamiento horizontal real
 * — scroll-snap-type    → detención en cada página
 * — perspective         → crea el contexto 3D para los hijos
 */
.dcp-scroller {
  flex: 1;
  display: flex;
  gap: 28px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  /* Padding para que las sombras de las tarjetas no se corten */
  padding: 24px 8px 36px;
  margin: -24px -8px -36px;
  /* Contexto 3D: el perspective se aplica acá, las tarjetas heredan */
  perspective: 1000px;
  perspective-origin: 50% 20%;
}

.dcp-scroller::-webkit-scrollbar {
  display: none;
}

/* Cada slide ocupa 1/3 del scroller (desktop) */
.dcp-slide {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 0;
  scroll-snap-align: start;
}


/* ── Navigation arrows ── */
.dcp-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--rule);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s,
    opacity 0.25s;
  box-shadow: 0 2px 12px rgba(26, 75, 140, 0.06);
}

.dcp-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.dcp-nav:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(26, 75, 140, 0.18);
}

.dcp-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Dot indicators ── */
.dcp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.dcp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--rule);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.35s;
  padding: 0;
}

.dcp-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* ══════════════════════════════════
   TARJETA DE PROFESIONAL (dcp)
   Doctor Card Premium
══════════════════════════════════ */
.dcp {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 44px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;

  /* Sombra base muy sutil */
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(26, 75, 140, 0.04);

  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s;
}

/* Acento superior — línea de color en hover */
.dcp::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #7bb3f8 100%);
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: 24px 24px 0 0;
}

/* Hover state */
.dcp:hover,
.dcp:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(46, 107, 196, 0.18);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 20px 60px rgba(26, 75, 140, 0.12),
    0 8px 24px rgba(26, 75, 140, 0.07);
  outline: none;
}

.dcp:hover::before,
.dcp:focus-visible::before {
  opacity: 1;
}

/* ── Avatar wrap ── */
.dcp__avatar-wrap {
  position: relative;
  margin-bottom: 28px;
}

/* Anillo exterior decorativo */
.dcp__photo-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Doble borde: externo tenue + espacio */
  box-shadow:
    0 0 0 6px rgba(46, 107, 196, 0.07),
    0 0 0 12px rgba(46, 107, 196, 0.03);
  transition: box-shadow 0.4s;
}

.dcp:hover .dcp__photo-ring {
  box-shadow:
    0 0 0 6px rgba(46, 107, 196, 0.14),
    0 0 0 12px rgba(46, 107, 196, 0.06);
}

/* Inner circle con overflow para zoom */
.dcp__photo-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(46, 107, 196, 0.2);
  transition: border-color 0.35s;
  z-index: 1;
  pointer-events: none;
}

.dcp:hover .dcp__photo-ring::before {
  border-color: rgba(46, 107, 196, 0.45);
}

/* Clip interno para zoom sin derrame */
.dcp__photo-ring > .dcp__photo,
.dcp__photo-ring > .dcp__initials {
  width: 148px;
  height: 148px;
  border-radius: 50%;
}

.dcp__photo {
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  /* Clip del ring */
  clip-path: circle(50% at 50% 50%);
}

.dcp:hover .dcp__photo {
  transform: scale(1.07);
}

/* Iniciales (fallback) */
.dcp__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fb 0%, #d3e3f5 100%);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 42px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -0.03em;
  border-radius: 50%;
  user-select: none;
}

/* Badge de especialidad */
.dcp__specialty-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(46, 107, 196, 0.3);
  transition: background 0.25s, box-shadow 0.25s;
}

.dcp:hover .dcp__specialty-badge {
  background: #1A4B8C;
  box-shadow: 0 6px 18px rgba(26, 75, 140, 0.35);
}

/* ── Body ── */
.dcp__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.dcp__name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
  transition: color 0.25s;
}

.dcp:hover .dcp__name {
  color: var(--blue);
}

.dcp__extra-specs {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0;
}

/* ── CTA Button ── */
.dcp__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 20px;
  background: var(--navy);
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 12px;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s,
    letter-spacing 0.2s;
  margin-top: auto;
}

.dcp__cta svg {
  fill: rgba(255, 255, 255, 0.75);
  transition: fill 0.2s, transform 0.3s;
  flex-shrink: 0;
}

.dcp:hover .dcp__cta,
.dcp__cta:hover {
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(46, 107, 196, 0.35);
}

.dcp__cta:hover svg {
  fill: #fff;
  transform: translateX(3px);
}

/* ── Responsive ── */

/* Tablet: 2 por vista */
@media (max-width: 1024px) {
  .dcp-slide {
    flex: 0 0 calc(50% - 14px);
  }

  .equipo-header {
    margin-bottom: 56px;
  }

  .dcp__photo-ring,
  .dcp__photo-ring > .dcp__photo,
  .dcp__photo-ring > .dcp__initials {
    width: 132px;
    height: 132px;
  }

  .dcp__initials {
    font-size: 36px;
  }

}

/* Mobile: 1 por vista */
@media (max-width: 640px) {
  .dcp-wrap {
    gap: 8px;
  }

  .dcp-scroller {
    gap: 16px;
  }

  .dcp-nav {
    width: 40px;
    height: 40px;
  }

  .dcp-nav svg {
    width: 16px;
    height: 16px;
  }

  .dcp-slide {
    flex: 0 0 calc(100% - 0px);
  }

  .dcp {
    padding: 36px 22px 26px;
    border-radius: 20px;
  }

  .dcp__photo-ring,
  .dcp__photo-ring > .dcp__photo,
  .dcp__photo-ring > .dcp__initials {
    width: 128px;
    height: 128px;
  }

  .dcp__name {
    font-size: 20px;
  }

  .equipo-header {
    margin-bottom: 48px;
  }
}

.loading-state-light {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--navy);
  opacity: 0.7;
  font-family: 'Instrument Sans', sans-serif;
  gap: 16px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(46, 107, 196, 0.15);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.equipo-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.equipo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 107, 196, 0.3);
  box-shadow: 0 20px 40px rgba(26, 75, 140, 0.06);
}

.equipo-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--rule);
  background: var(--cream);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.equipo-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 8px;
}

.equipo-spec {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(46, 107, 196, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 18px;
  display: inline-block;
}

.equipo-desc {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--navy);
  opacity: 0.8;
  line-height: 1.6;
}

/* CAROUSEL STYLE */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 40px;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  gap: 30px;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 280px;
  box-sizing: border-box;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* SPECIALTY GROUP STYLE */
.equipo-specialty-group {
  margin-bottom: 56px;
}

.equipo-specialty-group:last-child {
  margin-bottom: 0;
}

.specialty-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 16px;
}

.specialty-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--rule);
}

/* Responsive Equipo */
@media (max-width: 1024px) {
  .equipo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .carousel-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .equipo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .carousel-slide {
    flex: 0 0 100%;
  }
}



/* ─────────────────────────────────
   MEDLY DOCTORS GRID
───────────────────────────────── */

.equipo-container {
  width: 100%;
}

/* Loading state */
.doctors-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
  color: var(--navy);
  opacity: 0.65;
  font-size: 14px;
  font-family: 'Instrument Sans', sans-serif;
}

.doctors-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(46, 107, 196, 0.15);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.85s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.doctors-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* Grid layout */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─── CARD ─── */
.doctor-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #5b9cf6);
  opacity: 0;
  transition: opacity 0.35s;
}

.doctor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 196, 0.25);
  box-shadow:
    0 12px 32px rgba(26, 75, 140, 0.08),
    0 2px 8px rgba(26, 75, 140, 0.04);
}

.doctor-card:hover::before {
  opacity: 1;
}

/* Header: avatar + identity */
.doctor-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Avatar */
.doctor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--rule);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s;
}

.doctor-card:hover .doctor-avatar {
  border-color: rgba(46, 107, 196, 0.4);
}

.doctor-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctor-avatar__initials {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(46, 107, 196, 0.06);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  letter-spacing: -0.02em;
}

/* Identity */
.doctor-card__identity {
  flex: 1;
  min-width: 0;
}

.doctor-card__name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doctor-card__specialties {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0.85;
  line-height: 1.5;
}

/* Services list */
.doctor-services {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  flex: 1;
}

.doctor-services__title {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.doctor-services__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doctor-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--sky-pale);
  border-radius: 8px;
  transition: background 0.2s;
}

.doctor-service-item:hover {
  background: rgba(46, 107, 196, 0.06);
}

.doctor-service-item__name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.4;
  flex: 1;
}

.doctor-service-item__meta {
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.doctor-service-item__meta .dot {
  opacity: 0.4;
  margin: 0 4px;
}

/* CTA button */
.doctor-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--navy);
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  margin-top: auto;
}

.doctor-card__cta svg {
  fill: rgba(255,255,255,0.8);
  transition: fill 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.doctor-card__cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46, 107, 196, 0.3);
}

.doctor-card__cta:hover svg {
  fill: #fff;
  transform: translateX(2px);
}

/* Reveal animation delay-4 for grids of 4+ */
.reveal-delay-4 { transition-delay: .4s; }

/* Responsive: Doctors grid */
@media (max-width: 1100px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctor-card {
    padding: 24px 20px 20px;
  }

  .doctor-card__name {
    font-size: 17px;
    white-space: normal;
  }
}

/* fin */
  background: var(--cream);
  min-height: 100vh;
  margin: 0;
  color: var(--navy);
  font-family: 'Instrument Sans', sans-serif;
  overflow-x: hidden;
}

/* Toast */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(26, 75, 140, 0.15);
  z-index: 2000;
  font-size: 14px;
  font-weight: 500;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  bottom: 40px;
}

.toast--error {
  background: #a94442;
  border-left: 4px solid #ff5b5b;
}

.toast--warning {
  background: #c3842e;
  border-left: 4px solid #ffb900;
}

/* Login screen */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 48px;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 50px rgba(26, 75, 140, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

/* Dashboard Navigation */
.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-user-email {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
}

/* Form Styles */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group textarea {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--navy);
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 107, 196, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.field-help {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 2px;
}

/* Buttons */
.admin-btn {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border: none;
  transition: 0.3s;
  text-decoration: none;
}

.admin-btn--primary {
  background: var(--navy);
  color: var(--white);
}

.admin-btn--primary:hover {
  background: var(--blue);
}

.admin-btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--rule);
}

.admin-btn--outline:hover {
  background: rgba(26, 75, 140, 0.05);
  border-color: var(--navy);
}

.admin-btn--danger {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.15);
}

.admin-btn--danger:hover {
  background: #dc3545;
  color: var(--white);
  border-color: #dc3545;
}

/* Dashboard Layout */
.admin-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 80px);
}

.admin-sidebar {
  background: var(--white);
  border-right: 1px solid var(--rule);
  padding: 32px 20px;
}

.admin-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-tab-btn {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--navy);
  opacity: 0.8;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: 0.3s;
}

.admin-tab-btn svg {
  opacity: 0.6;
}

.admin-tab-btn:hover {
  background: rgba(26, 75, 140, 0.04);
}

.admin-tab-btn.active {
  background: rgba(46, 107, 196, 0.08);
  color: var(--blue);
  font-weight: 600;
  opacity: 1;
}

.admin-tab-btn.active svg {
  stroke: var(--blue);
  opacity: 1;
}

.admin-content {
  padding: 40px 48px;
  overflow-y: auto;
}

/* Tab views */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 24px;
}

.tab-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 6px;
}

.tab-desc {
  font-size: 14px;
  opacity: 0.7;
}

/* Admin Medical Cards */
.admin-grid-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-medico-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.admin-medico-card:hover {
  border-color: rgba(46, 107, 196, 0.25);
  box-shadow: 0 10px 20px rgba(26, 75, 140, 0.03);
}

.medico-card-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.medico-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--rule);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.medico-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medico-card-details h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 2px;
}

.medico-card-spec {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}

.medico-card-desc {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
  max-width: 500px;
  margin-bottom: 8px;
}

.medico-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.medico-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}

.medico-badge--active {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.medico-badge--inactive {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

.medico-card-actions {
  display: flex;
  gap: 12px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 75, 140, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  transition: opacity 0.3s;
}

.modal-overlay.hidden {
  display: none;
}

.admin-modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(26, 75, 140, 0.25);
  animation: modalIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.modal-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

.modal-close-btn:hover {
  opacity: 1;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

/* Image Upload controls */
.photo-upload-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

.photo-preview-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.photo-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-controls {
  display: flex;
  flex-direction: column;
}

/* Switch slider */
.switch-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch-container input {
  display: none;
}

.switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--rule);
  border-radius: 34px;
  transition: 0.3s;
}

.switch-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: 0.3s;
}

.switch-container input:checked + .switch-slider {
  background-color: var(--blue);
}

.switch-container input:checked + .switch-slider::before {
  transform: translateX(20px);
}

/* Layout Options Form */
.layout-selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

.layout-option input {
  display: none;
}

.layout-option-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layout-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(26, 75, 140, 0.04);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.layout-option-card strong {
  font-size: 14px;
  color: var(--navy);
}

.layout-option-card span {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.5;
}

.layout-option input:checked + .layout-option-card {
  border-color: var(--blue);
  background: rgba(46, 107, 196, 0.03);
  box-shadow: 0 4px 12px rgba(46, 107, 196, 0.05);
}

.layout-option input:checked + .layout-option-card .layout-option-icon {
  background: var(--blue);
  color: var(--white);
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
  .admin-main {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 20px;
  }
  .admin-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .admin-tab-btn {
    white-space: nowrap;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .admin-header {
    padding: 0 20px;
  }
  .admin-user-email {
    display: none;
  }
  .admin-content {
    padding: 24px 20px;
  }
  .tab-header {
    flex-direction: column;
    gap: 16px;
  }
  .tab-header button {
    width: 100%;
    justify-content: center;
  }
  .medico-card-info {
    flex-direction: column;
    text-align: center;
  }
  .admin-medico-card {
    flex-direction: column;
    gap: 16px;
  }
  .medico-card-actions {
    width: 100%;
  }
  .medico-card-actions button {
    flex: 1;
    justify-content: center;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   MODAL DE DETALLE MÉDICO ÉPICO (.dcp-modal)
   ========================================== */

.dcp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dcp-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop con blur e interpolación premium */
.dcp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.45);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dcp-modal.active .dcp-modal__backdrop {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(10, 25, 47, 0.55);
}

/* Ventana principal */
.dcp-modal__window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  box-shadow: 
    0 10px 30px -10px rgba(10, 25, 47, 0.1),
    0 30px 60px -15px rgba(10, 25, 47, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow-y: auto;
  transform: scale(0.95) translateY(30px);
  opacity: 0;
  transition: 
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
}

.dcp-modal.active .dcp-modal__window {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Botón de cerrar */
.dcp-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: 
    background 0.25s,
    transform 0.25s,
    color 0.25s;
}

.dcp-modal__close:hover {
  background: var(--navy);
  color: var(--white);
  transform: rotate(90deg);
}

.dcp-modal__close svg {
  width: 20px;
  height: 20px;
}

/* Contenido interno */
.dcp-modal__content {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 520px;
}

/* Perfil (Columna Izquierda) */
.dcp-modal__profile {
  background: linear-gradient(135deg, rgba(232, 240, 251, 0.5) 0%, rgba(211, 227, 245, 0.3) 100%);
  padding: 56px 36px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.dcp-modal__profile .dcp-modal__avatar-wrap {
  position: relative;
  margin-bottom: 24px;
}

.dcp-modal__profile .dcp-modal__photo-ring {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(46, 107, 196, 0.06),
    0 0 0 12px rgba(46, 107, 196, 0.03);
}

.dcp-modal__profile .dcp-modal__photo-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(46, 107, 196, 0.25);
  pointer-events: none;
  z-index: 1;
}

.dcp-modal__profile .dcp-modal__photo,
.dcp-modal__profile .dcp-modal__initials {
  width: 156px;
  height: 156px;
  border-radius: 50%;
}

.dcp-modal__profile .dcp-modal__photo {
  object-fit: cover;
  display: block;
  clip-path: circle(50% at 50% 50%);
}

.dcp-modal__profile .dcp-modal__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0fb 0%, #d3e3f5 100%);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 46px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.dcp-modal__profile .dcp-modal__specialty-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(46, 107, 196, 0.25);
}

.dcp-modal__name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--navy);
  margin: 16px 0 6px;
  line-height: 1.2;
}

.dcp-modal__extra-specs {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.dcp-modal__bio {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.dcp-modal__general-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: 30px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.dcp-modal__general-btn:hover {
  background: var(--blue);
  box-shadow: 0 6px 20px rgba(46, 107, 196, 0.3);
  transform: translateY(-2px);
}

.dcp-modal__general-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.dcp-modal__general-btn:hover svg {
  transform: translateX(4px);
}

/* Prestaciones (Columna Derecha) */
.dcp-modal__services {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.dcp-modal__services-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 28px 0;
  position: relative;
  display: inline-block;
}

.dcp-modal__services-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--blue);
}

.dcp-modal__services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Tarjeta de Servicio */
.dcp-service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: 
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.dcp-service-card:hover {
  border-color: rgba(46, 107, 196, 0.2);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(46, 107, 196, 0.05);
  transform: translateY(-2px);
}

.dcp-service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.dcp-service-card__title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.dcp-service-card__duration {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 107, 196, 0.06);
  color: var(--blue);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.02em;
}

.dcp-service-card__duration svg.icon-clock {
  width: 12px;
  height: 12px;
}

.dcp-service-card__desc {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.dcp-service-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  text-decoration: none;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  transition: color 0.25s, transform 0.25s;
}

.dcp-service-card__btn:hover {
  color: var(--navy);
}

.dcp-service-card__btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}

.dcp-service-card__btn:hover svg {
  transform: translateX(4px);
}

/* Estado sin servicios */
.dcp-modal__no-services {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.dcp-modal__no-services p {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================
   RESPONSIVIDAD DEL MODAL
   ========================================== */

@media (max-width: 900px) {
  .dcp-modal__content {
    grid-template-columns: 1fr;
  }

  .dcp-modal__profile {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 48px 24px 36px;
  }

  .dcp-modal__services {
    padding: 36px 24px 44px;
  }
}

@media (max-width: 640px) {
  .dcp-modal {
    padding: 12px;
  }

  .dcp-modal__window {
    border-radius: 24px;
    max-height: calc(100vh - 24px);
  }

  .dcp-modal__close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .dcp-modal__close svg {
    width: 16px;
    height: 16px;
  }

  .dcp-modal__profile {
    padding: 44px 18px 28px;
  }

  .dcp-modal__name {
    font-size: 22px;
  }

  .dcp-modal__services {
    padding: 28px 18px 36px;
  }

  .dcp-modal__services-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .dcp-service-card {
    padding: 18px 20px;
  }

  .dcp-service-card__title {
    font-size: 15px;
  }
}