@font-face {
  font-family: "Sora";
  src: url("fonts/sora-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("fonts/redhat-text-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  /* Paleta de marca (CODIGOS COLORES.jpg) */
  --papel: #faf8f6;
  --taupe: #7c7062;
  --crema: #f4e7c1;
  --oliva: #9e9e5a;
  /* Derivados para contraste accesible */
  --tinta: #463d34;       /* títulos */
  --texto: #6a5f53;       /* cuerpo, 5.6:1 sobre papel */
  --oliva-hondo: #66663a; /* botones, 5.9:1 con papel */

  --display: "Sora", system-ui, sans-serif;
  --cuerpo: "Red Hat Text", system-ui, sans-serif;
  --mano: "Caveat", cursive;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --radio-foto: 28px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font: 500 1.0625rem/1.65 var(--cuerpo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--oliva-hondo); outline-offset: 4px; border-radius: 6px; }

#cielo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.nav, main, .pie { position: relative; z-index: 1; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--tinta); margin: 0; letter-spacing: -0.02em; }
.titulo-seccion { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; max-width: 18ch; }
p { margin: 0 0 1em; max-width: 60ch; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  background: var(--oliva-hondo);
  color: var(--papel);
  font-family: var(--display);
  font-size: .95rem;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s;
}
.btn:hover { background: var(--tinta); transform: translateY(-2px); }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }
.btn--grande { padding: 1.1em 2.2em; font-size: 1.05rem; }

.link {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--tinta);
  text-decoration: none;
  background: linear-gradient(var(--oliva), var(--oliva)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s;
}
.link:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
}
.nav__firma {
  font-family: var(--mano);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--tinta);
  text-decoration: none;
}
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--texto); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--tinta); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
    border: 1.5px solid var(--taupe);
    background: transparent;
    color: var(--tinta);
    border-radius: 999px;
    padding: .45em 1.1em;
    font: 700 .85rem var(--display);
    cursor: pointer;
  }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--papel);
    border: 1px solid #e6dfd6;
    border-radius: 20px;
    box-shadow: 0 20px 40px -20px rgba(70, 61, 52, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__links a { padding: 10px 12px; }
  .nav__links .btn { justify-content: center; margin-top: 6px; }
  .nav.abierto .nav__links { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(72px, 10vw, 140px);
}
.hero__titulo {
  font-size: clamp(2.3rem, 4.3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.linea { display: block; overflow: hidden; padding-bottom: .06em; }
.linea > span { display: inline-block; }
@media (max-width: 860px) { .hero__titulo { font-size: clamp(2rem, 8.6vw, 3.4rem); } }
.hero__bajada { font-size: 1.15rem; max-width: 44ch; margin-bottom: 34px; }
.hero__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

.hero__foto { position: relative; margin: 0; max-width: 470px; justify-self: end; width: 100%; }
.hero__foto::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 10%;
  background: var(--crema);
  border-radius: 999px 999px var(--radio-foto) var(--radio-foto);
  z-index: -1;
}
.hero__marco {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radio-foto) var(--radio-foto);
  overflow: hidden;
  background: #ece6dd;
}
.hero__marco img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%; transform-origin: 50% 40%; }

.nota {
  position: absolute;
  left: -12%;
  bottom: 9%;
  font-family: var(--mano);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--oliva-hondo);
  transform: rotate(-6deg);
  white-space: nowrap;
}
.nota__flecha {
  position: absolute;
  width: 62px;
  right: -58px;
  top: -46px;
  fill: none;
  stroke: var(--oliva-hondo);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__foto { max-width: 420px; margin: 24px auto 0; width: 88%; justify-self: center; }
  .nota { left: -6%; font-size: 1.6rem; }
}

/* ---------- Animación de entrada (una sola, orquestada) ---------- */
.js .linea > span { transform: translateY(105%); }
.js .hero__bajada, .js .hero__acciones { opacity: 0; transform: translateY(14px); }
.js .hero__marco { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); }
.js .hero__marco img { transform: scale(1.12); }
.js .hero__foto::before { transform: scale(.85); opacity: 0; }
.js .nota { opacity: 0; }

.listo .linea > span { transform: none; transition: transform 1s cubic-bezier(.16,1,.3,1); }
.listo .linea:nth-child(2) > span { transition-delay: .08s; }
.listo .linea:nth-child(3) > span { transition-delay: .16s; }
.listo .hero__bajada, .listo .hero__acciones { opacity: 1; transform: none; transition: opacity .8s .45s, transform .8s .45s cubic-bezier(.16,1,.3,1); }
.listo .hero__acciones { transition-delay: .55s; }
.listo .hero__marco { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); transition: clip-path 1.3s .2s cubic-bezier(.65,0,.35,1); }
.listo .hero__marco img { transform: scale(1); transition: transform 1.8s .2s cubic-bezier(.16,1,.3,1); }
.listo .hero__foto::before { transform: none; opacity: 1; transition: transform 1.2s .5s cubic-bezier(.16,1,.3,1), opacity .8s .5s; }
.listo .nota { opacity: 1; transition: opacity .5s 1.3s; }
.listo .nota__flecha { stroke-dashoffset: 0; transition: stroke-dashoffset .9s 1.45s ease-out; }

/* ---------- Servicios ---------- */
.servicios, .proyectos {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.servicios__lista { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1.5px solid #e2dacf; }
.servicio {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 9.5rem;
  align-items: baseline;
  gap: 16px 48px;
  padding: 34px 0;
  border-bottom: 1.5px solid #e2dacf;
  text-decoration: none;
}
.servicio__nombre {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tinta);
  transition: color .3s, transform .45s cubic-bezier(.16,1,.3,1);
}
.servicio__desc { max-width: 46ch; }
.servicio__ir { font-family: var(--display); font-size: .9rem; color: var(--oliva-hondo); white-space: nowrap; text-align: right; }
.servicio:hover .servicio__nombre { color: var(--oliva-hondo); transform: translateX(14px); }

/* Muestra que aparece al pasar el mouse: responde a la acción */
.servicio__muestra {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 190px;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) rotate(-4deg) scale(.85);
  transition: opacity .3s, transform .5s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 30px 60px -30px rgba(70, 61, 52, .5);
  z-index: 2;
}
.servicio:hover .servicio__muestra { opacity: 1; transform: translateY(-50%) rotate(3deg) scale(1); }
.servicio__muestra--branding {
  display: grid; place-content: center; text-align: center;
  background: var(--oliva-hondo); color: var(--crema);
}
.servicio__muestra--branding b { font: 700 2.2rem/1 var(--display); letter-spacing: -0.04em; }
.servicio__muestra--branding i { font: 600 1.3rem var(--mano); font-style: normal; }
.servicio__muestra--social { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--papel); }
.servicio__muestra--social em { border-radius: 10px; }
.servicio__muestra--social em:nth-child(1) { background: var(--crema); }
.servicio__muestra--social em:nth-child(2) { background: var(--oliva); }
.servicio__muestra--social em:nth-child(3) { background: var(--taupe); }
.servicio__muestra--social em:nth-child(4) { background: #e8dfd2; }
.servicio__muestra--asesoria img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .servicio { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .servicio__ir { text-align: left; }
  .servicio__muestra { display: none; }
  .servicio:hover .servicio__nombre { transform: none; }
}

/* ---------- Proyectos ---------- */
.proyectos__cabecera { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 40px; }
.aviso { font-size: .9rem; margin: 0; padding: .5em 1em; border: 1.5px dashed var(--taupe); border-radius: 12px; max-width: 40ch; }
.proyectos__grilla {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 40px 28px;
}
.proyecto--alto { grid-row: span 2; }
.proyecto--ancho { grid-column: span 2; }
.proyecto__imagen {
  position: relative;
  display: grid;
  place-content: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radio-foto);
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.proyecto--alto .proyecto__imagen { aspect-ratio: auto; height: calc(100% - 70px); min-height: 320px; }
.proyecto--ancho .proyecto__imagen { aspect-ratio: 16 / 7; }
.proyecto:hover .proyecto__imagen { transform: scale(.98); }
.proyecto h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.proyecto p { margin: 2px 0 0; font-size: .9rem; }
.proyecto__imagen span { font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -0.04em; }
.proyecto__imagen small { font: 600 1.4rem var(--mano); }
.p1 { background: var(--oliva-hondo); color: var(--crema); }
.p2 { background: var(--crema); color: var(--taupe); }
.p2 span { font-family: var(--cuerpo); font-weight: 500; letter-spacing: .02em; }
.p3 { background: #e8dfd2; }
.p4 { background: var(--taupe); color: var(--papel); }
.feed { display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; }
.feed i { aspect-ratio: 4 / 5; border-radius: 8px; background: var(--papel); }
.feed i:nth-child(2), .feed i:nth-child(6) { background: var(--oliva); }
.feed i:nth-child(4) { background: var(--crema); }

@media (max-width: 860px) {
  .proyectos__grilla { grid-template-columns: 1fr; }
  .proyecto--alto, .proyecto--ancho { grid-row: auto; grid-column: auto; }
  .proyecto--alto .proyecto__imagen { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .proyecto--ancho .proyecto__imagen { aspect-ratio: 4 / 3; }
}

/* ---------- Sobre mí ---------- */
.sobre {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.sobre__foto { border-radius: var(--radio-foto); overflow: hidden; aspect-ratio: 4 / 5; background: #ece6dd; }
.sobre__foto img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.saludo { font: 600 2rem/1 var(--mano); color: var(--oliva-hondo); margin-bottom: 10px; }
.sobre .titulo-seccion { margin-bottom: 24px; }

@media (max-width: 860px) { .sobre { grid-template-columns: 1fr; } .sobre__foto { max-width: 420px; } }

/* ---------- Asesorías ---------- */
.asesorias {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: clamp(40px, 6vw, 80px) auto;
  padding: clamp(36px, 6vw, 80px);
  background: var(--crema);
  border-radius: 40px;
}
@media (max-width: 1300px) { .asesorias { margin-left: var(--gutter); margin-right: var(--gutter); } }
.asesorias .titulo-seccion { margin-bottom: 20px; }
.paquetes { list-style: none; padding: 0; margin: 28px 0 30px; }
.paquetes li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding: 16px 0;
  border-top: 1.5px solid rgba(124, 112, 98, .3);
}
.paquetes li:last-child { border-bottom: 1.5px solid rgba(124, 112, 98, .3); }
.paquetes strong { font-family: var(--display); color: var(--tinta); }
.paquetes span { grid-column: 1; font-size: .92rem; }
.paquetes b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 1.6rem var(--display); color: var(--oliva-hondo); }
.pequeno { font-size: .88rem; margin-top: 14px; }
.asesorias__foto { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 3 / 4; background: #ece6dd; }
.asesorias__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 860px) {
  .asesorias { grid-template-columns: 1fr; border-radius: 28px; }
  .asesorias__foto { max-width: 300px; }
}

/* ---------- Contacto ---------- */
.contacto {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  max-width: 900px;
  margin: 0 auto;
}
.contacto__titulo { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 18px; }
.contacto p { margin: 0 auto 34px; font-size: 1.15rem; }

/* ---------- Pie ---------- */
.pie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1.5px solid #e2dacf;
}
.pie nav { display: flex; gap: 26px; }
.pie nav a { text-decoration: none; font-size: .95rem; }
.pie nav a:hover { color: var(--tinta); }


/* =========================================================
   v1.1 — contenido real, multipágina
   ========================================================= */

/* ---------- Nav: página actual ---------- */
.nav__links a[aria-current="page"]:not(.btn) {
  color: var(--tinta);
  background: linear-gradient(var(--oliva), var(--oliva)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
}
@media (max-width: 860px) {
  .nav__links a[aria-current="page"]:not(.btn) { background: #f1ece5; border-radius: 12px; padding: 10px 12px; }
}

/* ---------- Piezas comunes ---------- */
.eyebrow {
  font: 700 .78rem/1.5 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oliva-hondo);
  margin: 0 0 18px;
  max-width: none;
}
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn--borde { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--taupe); }
.btn--borde:hover { background: var(--tinta); color: var(--papel); box-shadow: none; }
.lead { font-size: 1.15rem; max-width: 52ch; }
.bloque { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.bloque--corto { padding-top: clamp(24px, 4vw, 48px); }
.bloque__cabecera { margin-bottom: clamp(28px, 4vw, 44px); }
.bloque__cabecera .titulo-seccion { margin-bottom: 16px; max-width: 22ch; }

/* Lista con estrellita de marca */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; max-width: 62ch; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 15px;
  height: 15px;
  background: var(--oliva-hondo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 1 Q18.5 13.5 31 16 Q18.5 18.5 16 31 Q13.5 18.5 1 16 Q13.5 13.5 16 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 1 Q18.5 13.5 31 16 Q18.5 18.5 16 31 Q13.5 18.5 1 16 Q13.5 13.5 16 1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Cabecera de páginas interiores ---------- */
.cabecera {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 100px) var(--gutter) clamp(32px, 5vw, 64px);
}
.cabecera h1 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 19ch;
  margin-bottom: 26px;
}
.cabecera .lead { margin-bottom: 32px; }
.cabecera--foto {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.cabecera--foto .hero__foto { justify-self: end; }
@media (max-width: 860px) {
  .cabecera--foto { grid-template-columns: 1fr; }
  .cabecera--foto .hero__foto { justify-self: center; max-width: 380px; width: 86%; margin-top: 16px; }
}

/* Entrada genérica (cabeceras interiores) */
.js .entrada { opacity: 0; transform: translateY(14px); }
.listo .entrada { opacity: 1; transform: none; transition: opacity .8s .4s, transform .8s .4s cubic-bezier(.16,1,.3,1); }
.listo .entrada + .entrada { transition-delay: .5s; }

/* ---------- Tarjetas ---------- */
.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
  align-items: stretch;
}
.tarjeta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(250, 248, 246, .88);
  border: 1.5px solid #e2dacf;
  border-radius: 28px;
  backdrop-filter: blur(2px);
}
.tarjeta--destacada { background: var(--crema); border-color: transparent; }
.tarjeta h3 { font-size: 1.45rem; line-height: 1.15; }
.tarjeta p { margin: 0; }
.tarjeta .btn { align-self: flex-start; margin-top: auto; }
.tarjeta__sub { font: 700 .82rem/1.4 var(--display); color: var(--tinta); margin: 4px 0 -6px; }
.etiqueta {
  align-self: flex-start;
  font: 700 .72rem/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--oliva-hondo);
  background: #ecebd9;
  padding: .55em .9em;
  border-radius: 999px;
}
.precio { font: 700 clamp(2.1rem, 3.4vw, 2.7rem)/1 var(--display); color: var(--oliva-hondo); letter-spacing: -0.03em; }
.precio small { font-size: .9rem; letter-spacing: 0; color: var(--texto); font-family: var(--cuerpo); font-weight: 500; }
.modalidad { font-size: .95rem; color: var(--tinta); }

/* Rasgos de cada paquete */
.rasgos { margin: 0; display: grid; }
.rasgos div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(124, 112, 98, .25);
  font-size: .95rem;
}
.rasgos dt { color: var(--texto); }
.rasgos dd { margin: 0; text-align: right; color: var(--tinta); font-family: var(--display); font-size: .88rem; }
.rasgos dd.no { color: #a0958a; font-family: var(--cuerpo); font-size: .92rem; }

/* ---------- Panel crema (bloques de cierre / alternativas) ---------- */
.panel {
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: clamp(40px, 6vw, 80px) auto;
  padding: clamp(32px, 6vw, 72px);
  background: var(--crema);
  border-radius: 40px;
}
@media (max-width: 1300px) { .panel { margin-left: var(--gutter); margin-right: var(--gutter); } }
@media (max-width: 860px) { .panel { border-radius: 28px; } }
.panel .titulo-seccion { margin-bottom: 18px; max-width: 24ch; }
.panel .lead { margin-bottom: 28px; }
.panel--centro { text-align: center; }
.panel--centro .titulo-seccion, .panel--centro .lead { margin-left: auto; margin-right: auto; }
.panel--centro .acciones { justify-content: center; }

/* ---------- Oferta única (Social media) ---------- */
.oferta {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.oferta__resumen { position: sticky; top: 32px; }
.oferta__resumen .precio { margin: 12px 0 8px; }
.oferta__dato { padding: 14px 0; border-top: 1px solid rgba(124, 112, 98, .25); margin: 0; }
.oferta__dato b { display: block; font: 700 .78rem/1.5 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--oliva-hondo); }
.oferta h3 { font-size: 1.3rem; margin: 0 0 16px; }
.oferta__detalle > * + h3 { margin-top: 36px; }
@media (max-width: 860px) { .oferta { grid-template-columns: 1fr; } .oferta__resumen { position: static; } }

/* ---------- Asesorías ---------- */
.pastillas { display: flex; flex-wrap: wrap; gap: 10px; }
.grupo { scroll-margin-top: 24px; }
.grupo + .grupo { padding-top: 0; }
.asesoria-card ul.checks { font-size: .97rem; }

/* ---------- Proyectos (3 destacados) ---------- */
.proyectos__grilla--3 { grid-template-columns: 1.1fr 1fr; }
.proyectos__grilla--3 .proyecto--alto { grid-row: span 2; }
.proyecto__meta { margin: 6px 0 0; font-size: .92rem; max-width: 46ch; }
.proyecto__meta b { color: var(--tinta); font-family: var(--display); font-size: .82rem; }
@media (max-width: 860px) { .proyectos__grilla--3 { grid-template-columns: 1fr; } }

/* ---------- Intro (home) ---------- */
.intro { display: grid; grid-template-columns: .75fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Acceso breve a recursos ---------- */
.acceso {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 40px;
  padding: 28px 32px;
  border: 1.5px dashed var(--taupe);
  border-radius: 28px;
}
.acceso p { margin: 0; max-width: 58ch; }
.acceso strong { display: block; font-family: var(--display); color: var(--tinta); font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Recursos ---------- */
.recurso__formato {
  align-self: flex-start;
  font: 700 .72rem/1 var(--display);
  letter-spacing: .06em;
  color: var(--papel);
  background: var(--taupe);
  padding: .55em .85em;
  border-radius: 8px;
}
.recurso .acciones { margin-top: auto; gap: 10px 16px; }
.recurso .btn { margin-top: 0; }
.aclaracion { font-size: .9rem; margin-top: 28px; }

/* ---------- Formulario ---------- */
.contacto-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contacto-grid { grid-template-columns: 1fr; } }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(250, 248, 246, .92);
  border: 1.5px solid #e2dacf;
  border-radius: 32px;
}
.campo { display: grid; gap: 8px; align-content: start; }
.campo--ancho { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .campo--ancho { grid-column: auto; } }
.campo label, .campo legend { font: 700 .88rem/1.35 var(--display); color: var(--tinta); padding: 0; }
.campo .opcional { font: 500 .82rem var(--cuerpo); color: var(--texto); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  font: 500 1rem/1.4 var(--cuerpo);
  color: var(--tinta);
  background: #fff;
  border: 1.5px solid #d9d0c4;
  border-radius: 14px;
  padding: .8em 1em;
  transition: border-color .2s, box-shadow .2s;
}
.campo select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237c7062' stroke-width='1.6'/%3E%3C/svg%3E") right 1em center / 12px no-repeat; padding-right: 2.6em; }
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--oliva-hondo); box-shadow: 0 0 0 4px rgba(158, 158, 90, .2); }
.campo [aria-invalid="true"] { border-color: #a5523c; }
.campo__error { font-size: .85rem; color: #a5523c; margin: 0; min-height: 0; }
.campo__error:empty { display: none; }
.tel { display: grid; grid-template-columns: 7.2rem 1fr; gap: 8px; }
fieldset.campo { border: 0; margin: 0; padding: 0; min-width: 0; }
.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opciones label { font: 500 .95rem var(--cuerpo); display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.1em; border: 1.5px solid #d9d0c4; border-radius: 999px; background: #fff; cursor: pointer; }
.opciones input { accent-color: var(--oliva-hondo); width: auto; margin: 0; }
.opciones label:has(input:checked) { border-color: var(--oliva-hondo); background: #f3f2e6; }
.costo {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--crema);
  color: var(--tinta);
  font-size: .95rem;
  max-width: none;
}
.form__pie { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form__pie p { margin: 0; font-size: .88rem; max-width: 46ch; }
.form__pie button { border: 0; cursor: pointer; }
.gracias {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background: var(--crema);
  text-align: center;
}
.gracias h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.gracias p { margin: 0 auto; }
.lateral { display: grid; gap: 22px; }
.lateral .tarjeta h2 { font-size: 1.35rem; line-height: 1.2; }
.proto-aviso { font-size: .85rem; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ajustes v1.1 tras revisión visual */
.rasgos dd { white-space: nowrap; }
.rasgos dt { min-width: 0; }
.proyectos__grilla--3 .proyecto:not(.proyecto--alto) .proyecto__imagen { aspect-ratio: 16 / 10; }
.tel { grid-template-columns: 8.4rem 1fr; }
.tel select { padding-left: .8em; padding-right: 2.2em; background-position: right .8em center; }
.proyecto__imagen--vacio { background: transparent; border: 1.5px dashed var(--taupe); color: var(--taupe); }
.proyecto__imagen--vacio small { font: 500 .95rem var(--cuerpo); }

/* ---------- Tienda: ficha de recurso ---------- */
.recurso__precio { font-size: 1.8rem; margin: 0; }
.ficha__volver { display: inline-block; margin-bottom: 28px; }
.ficha__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ficha h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 18px 0 22px; }
.compra { position: sticky; top: 28px; }
.compra .precio { margin: 0; }
#paypal-botones { min-height: 110px; position: relative; z-index: 2; }
.compra__estado { font-size: .92rem; margin: 10px 0 0; color: var(--tinta); }
.compra__estado:empty { display: none; }
.compra__listo h2 { font-size: 1.5rem; margin-bottom: 10px; }
@media (max-width: 860px) { .ficha__grid { grid-template-columns: 1fr; } .compra { position: static; } }

/* ---------- Proyectos y testimonios desde el panel ---------- */
.proyecto__imagen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.testimonio { margin: 0; }
.testimonio blockquote { margin: 0 0 14px; font-size: 1.05rem; color: var(--tinta); }
.testimonio figcaption { font: 700 .9rem var(--display); color: var(--tinta); }
.testimonio figcaption span { display: block; font: 500 .85rem var(--cuerpo); color: var(--texto); }

/* ---------- WordPress / WooCommerce ---------- */
.hero__bajada > p, .acceso p { margin: 0 0 .6em; }
.acceso > div { max-width: 58ch; }
.acceso > div p { margin: 0; }
.aclaracion p { font-size: .9rem; }
.contenido-pagina { max-width: 860px; }
.contenido-pagina > * + * { margin-top: 1em; }
.ficha__descripcion { margin: 8px 0 20px; }
.ficha__imagen img { border-radius: var(--radio-foto); margin: 10px 0 24px; }
.compra form.cart { margin: 18px 0 0; }
.compra .btn { border: 0; cursor: pointer; }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  list-style: none;
  margin: 0 0 24px;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--crema);
  color: var(--tinta);
  border: 0;
}
.woocommerce-error { background: #f6e1db; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wc-block-components-button:not(.is-link), .wp-element-button {
  background: var(--oliva-hondo) !important;
  color: var(--papel) !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-family: var(--display) !important;
  padding: .85em 1.6em !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--tinta) !important; }
.wc-block-checkout, .wc-block-cart, .woocommerce-order, .woocommerce-account .woocommerce {
  font-family: var(--cuerpo);
  color: var(--texto);
}
.wc-block-components-title, .wc-block-checkout h2, .woocommerce-order h2, .woocommerce-account h2, .woocommerce-column__title {
  font-family: var(--display) !important;
  color: var(--tinta);
}
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input,
.woocommerce form .input-text, .woocommerce form select {
  border-radius: 14px !important;
  border: 1.5px solid #d9d0c4 !important;
}
.wc-block-components-text-input input:focus { border-color: var(--oliva-hondo) !important; box-shadow: 0 0 0 3px rgba(158,158,90,.25) !important; }
.wc-block-components-order-summary, .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  background: rgba(250, 248, 246, .92);
  border-radius: 24px;
}
.woocommerce table.shop_table, .woocommerce-table--order-downloads {
  border: 1.5px solid #e2dacf;
  border-radius: 20px;
  border-collapse: separate;
  overflow: hidden;
  width: 100%;
  background: #fff;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 16px; border-top: 1px solid #ece5db; text-align: left; }
.woocommerce-table--order-downloads .download-file a {
  display: inline-flex;
  background: var(--oliva-hondo);
  color: var(--papel);
  padding: .6em 1.2em;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
}
.woocommerce ul.order_details { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 28px; }
.woocommerce ul.order_details li strong { display: block; color: var(--tinta); font-family: var(--display); }
