/* CODEX — sistema de diseño de la web de Mery Calvo (extraído del prototipo 10-jul + extensiones 11-jul). Fuente de verdad: este archivo. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts-local/fraunces-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts-local/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: "Unna";
  src: url("../fonts-local/unna-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts-local/raleway-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Architects Daughter";
  src: url("../fonts-local/architects-daughter-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f4f0e6;
  --paper-warm: #e7dfcf;
  --paper-deep: #d5c8b3;
  --white: #fffdf7;
  --ink: #292b26;
  --muted: #5d5d52;
  --sage: #687258;
  --sage-dark: #3e4938;
  --sage-pale: #dce0d1;
  --terracotta: #b18139;
  --terracotta-dark: #7f5b25;
  --terracotta-pale: #ead9b4;
  --kraft: #c7ad80;
  --tape: rgba(205, 190, 148, .64);
  --tape-edge: rgba(139, 120, 78, .12);
  --line: #cfc5b3;
  --shadow: 0 20px 44px rgba(55, 48, 34, .16);
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 44px;
  --container: min(1160px, calc(100% - 48px));
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --serif-accent: "Unna", Georgia, "Times New Roman", serif;
  --sans: "Raleway", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --condensed: "Raleway", "Arial Narrow", sans-serif;
  --hand: "Architects Daughter", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(41, 43, 38, .022) .45px, transparent .6px),
    linear-gradient(90deg, rgba(255,255,255,.12), transparent 34%, rgba(76,70,55,.014) 80%, transparent);
  background-size: 7px 7px, 100% 100%;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.prototype-note {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34px;
  padding: 6px 18px;
  color: var(--white);
  background: var(--sage-dark);
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(138, 126, 106, .26);
  background: rgba(242, 242, 236, .94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.brand-word {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  letter-spacing: -.035em;
}

.brand-subtitle {
  margin-top: 6px;
  margin-left: 20px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding-block: 12px;
  font-family: var(--condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

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

.nav-cta,
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.nav-cta,
.button-primary {
  color: var(--white);
  background: var(--sage);
  box-shadow: 0 10px 28px rgba(70, 83, 63, .16);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--sage-dark);
  box-shadow: 0 14px 34px rgba(70, 83, 63, .23);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 19px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.menu-button span { margin-block: 5px; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--terracotta-dark);
  font-family: var(--condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--hand {
  margin-bottom: 8px;
  color: var(--terracotta);
  font-family: var(--hand);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 550;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(48px, 5.1vw, 76px);
  letter-spacing: -.018em;
}

h1 em,
h2 em,
h3 em {
  position: relative;
  color: var(--terracotta);
  font-family: var(--serif-accent);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

h1 em::after,
.underlined::after {
  position: absolute;
  right: 2%;
  bottom: -.09em;
  left: 1%;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M2 6 Q 50 2, 100 6 T 198 6' stroke='%23b18139' stroke-width='1.35' fill='none' stroke-linecap='round' opacity='.38'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(42px, 4.7vw, 70px);
  letter-spacing: -.016em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(27px, 2.8vw, 38px);
  letter-spacing: -.01em;
}

.lead {
  max-width: 630px;
  color: var(--muted);
  font-family: var(--serif-accent);
  font-size: clamp(21px, 1.8vw, 26px);
  font-style: italic;
  line-height: 1.48;
}

.hero {
  position: relative;
  padding: clamp(36px, 3.5vw, 52px) 0 78px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -170px;
  left: -230px;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  background: rgba(213, 200, 179, .45);
  content: "";
  filter: blur(1px);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr);
  gap: clamp(42px, 7vw, 92px);
}

.hero-grid > *,
.section-heading > *,
.iceberg-grid > *,
.services-grid > *,
.about-grid > *,
.faq-grid > *,
.contact-grid > * { min-width: 0; }

.hero-copy { position: relative; z-index: 2; }

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

.hero-hand {
  margin: -4px 0 18px;
  color: var(--terracotta);
  font-family: var(--hand);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.15;
}

.cta-note {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--hand);
  font-size: 19px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  max-width: 470px;
  margin-left: auto;
}

.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: .77;
  border-radius: 46% 46% 30px 30px;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.hero-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(30, 28, 24, .24));
  content: "";
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.photo-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: var(--white);
  font-family: var(--hand);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: 10%;
  left: -56px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgba(70, 83, 63, .24);
  border-radius: 50%;
  color: var(--sage-dark);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(49, 45, 37, .14);
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.trust-strip {
  display: grid;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 249, .65);
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
}

.trust-item + .trust-item { border-left: 1px solid var(--line); }

.trust-number {
  flex: 0 0 auto;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 35px;
  font-style: italic;
  line-height: 1;
}

.trust-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.section {
  position: relative;
  overflow: clip;
  padding: clamp(78px, 10vw, 132px) 0;
  isolation: isolate;
}

.section > .container { position: relative; z-index: 1; }

.section::after {
  position: absolute;
  z-index: 0;
  top: 74px;
  right: -105px;
  width: 235px;
  height: 205px;
  border: 1px solid rgba(92, 101, 79, .09);
  border-radius: 49% 51% 46% 54%;
  content: "";
  pointer-events: none;
  transform: rotate(13deg);
}

.section:nth-of-type(even)::after {
  top: auto;
  right: auto;
  bottom: 62px;
  left: -112px;
  transform: rotate(-11deg);
}

.section-dark::after { border-color: rgba(255, 253, 247, .09); }
.section-soft { background: var(--paper-warm); }
.section-dark { color: var(--white); background: var(--sage-dark); }
.section-dark .eyebrow { color: #d9b764; }
.section-dark .lead, .section-dark .section-intro { color: rgba(255, 254, 249, .76); }

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 54px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .64fr);
  gap: 44px;
}

.section-heading h2 { margin-bottom: 0; }
.section-intro { margin-bottom: 5px; color: var(--muted); }

.iceberg-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 84px 1fr;
}

.ice-card {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
}

.ice-card-feeling {
  color: var(--ink);
  background: var(--sage-pale);
}

.ice-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.ice-card h3 { font-size: clamp(34px, 3.8vw, 52px); }

.clean-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.clean-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--white);
  background: var(--terracotta);
  content: "✓";
  font-size: 12px;
  font-weight: 600;
}

.ice-card-feeling .clean-list li::before {
  color: var(--sage-dark);
  background: var(--terracotta-pale);
}

.ice-bridge {
  position: relative;
  display: grid;
  place-items: center;
}

.ice-bridge::before {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
}

.ice-bridge span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--terracotta);
  background: var(--paper-warm);
  font-size: 24px;
}

.dimensions {
  display: grid;
  border-top: 1px solid rgba(255, 254, 249, .22);
  border-left: 1px solid rgba(255, 254, 249, .22);
  grid-template-columns: repeat(4, 1fr);
}

.dimension {
  min-height: 325px;
  padding: 30px 26px;
  border-right: 1px solid rgba(255, 254, 249, .22);
  border-bottom: 1px solid rgba(255, 254, 249, .22);
  transition: background .25s ease, transform .25s ease;
}

.dimension:hover { background: rgba(255, 254, 249, .07); }

.dimension-number {
  display: block;
  margin-bottom: 74px;
  color: #d9b764;
  font-family: var(--condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
}

.dimension h3 { font-size: 38px; }
.dimension p { margin: 0; color: rgba(255, 254, 249, .7); font-size: 15px; }

.method-origen { margin-top: 56px; text-align: center; }
.method-origen-quote { font-family: var(--serif-accent); font-style: italic; font-size: clamp(21px, 2.2vw, 27px); color: rgba(255, 254, 249, .88); margin: 0 0 26px; }
.method-origen-quote em { color: #d9b764; }

.services-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.service-card-featured {
  color: var(--white);
  background: var(--terracotta-dark);
}

.service-type {
  display: block;
  margin-bottom: 34px;
  font-family: var(--condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-card h3 { font-size: clamp(48px, 6vw, 76px); }

.service-card:not(.service-card-featured) h3 {
  max-width: 100%;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .96;
  overflow-wrap: normal;
  hyphens: none;
}
.service-card p { max-width: 570px; color: var(--muted); }
.service-card-featured p { color: rgba(255, 254, 249, .8); }
.service-card .clean-list { margin-bottom: 38px; }
.service-card .button { align-self: flex-start; margin-top: auto; }

.service-card-featured .button {
  color: var(--ink);
  background: var(--white);
}

.service-card-featured .button:hover { background: var(--terracotta-pale); }

.service-orbit {
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 50%;
  pointer-events: none;
}

.service-orbit::before,
.service-orbit::after {
  position: absolute;
  inset: 35px;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.service-orbit::after { inset: 72px; }

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 100px);
}

.about-visual { position: relative; }

.about-visual img {
  width: 100%;
  aspect-ratio: .82;
  border-radius: 42% 42% 24px 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.about-quote {
  position: absolute;
  right: -38px;
  bottom: 44px;
  max-width: 250px;
  margin: 0;
  padding: 22px 24px;
  border-radius: 20px;
  color: var(--sage-dark);
  background: var(--terracotta-pale);
  box-shadow: 0 15px 34px rgba(49, 45, 37, .12);
  font-family: var(--hand);
  font-size: 26px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.22;
}

.about-copy p { color: var(--muted); }
.signature { color: var(--terracotta); font-family: var(--hand); font-size: 36px; font-weight: 500; font-style: normal; }

.process-grid {
  display: grid;
  counter-reset: process;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  position: relative;
  padding: 34px;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process-card::before {
  display: block;
  margin-bottom: 64px;
  color: var(--terracotta);
  content: "0" counter(process);
  font-family: var(--condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
}

.process-card p { margin-bottom: 0; color: var(--muted); }

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

.testimonial {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.quote-mark {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 68px;
  line-height: .65;
}

.testimonial blockquote {
  margin: 26px 0 32px;
  font-family: var(--serif-accent);
  font-size: 23px;
  font-style: italic;
  line-height: 1.45;
}

.testimonial figcaption { margin-top: auto; }
.testimonial strong { display: block; }
.testimonial small { color: var(--muted); }

.faq-grid {
  display: grid;
  align-items: start;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(46px, 8vw, 100px);
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 25px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { max-width: 690px; padding: 0 52px 24px 4px; color: var(--muted); }

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 126px) 0;
  color: var(--white);
  background: var(--sage-dark);
  isolation: isolate;
}

.contact-section::before {
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -240px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
  gap: clamp(48px, 8vw, 100px);
}

.contact-copy h2 { font-size: clamp(50px, 6vw, 84px); }
.contact-copy p { color: rgba(255, 254, 249, .75); }

.contact-proof {
  display: grid;
  margin-top: 36px;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.contact-proof li { display: flex; gap: 12px; align-items: center; }
.contact-proof li::before { color: #d9b764; content: "✓"; font-weight: 600; }

.contact-form {
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #bdb3a3;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(99, 112, 85, .16);
}

.form-consent {
  display: grid;
  align-items: start;
  margin: 2px 0 22px;
  color: var(--muted);
  font-size: 13px;
  grid-template-columns: 20px 1fr;
  gap: 10px;
}

.form-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--sage); }
.contact-form .button { width: 100%; border: 0; cursor: pointer; }

.contact-wa-embed { min-width: 0; }

/* Hueco de foto pendiente (se sustituye por <img> al tener la foto) */
.photo-ph { display: grid; place-items: center; text-align: center; aspect-ratio: 2 / 3; background: var(--paper-warm); color: var(--muted); font-family: var(--hand); font-size: 22px; line-height: 1.5; padding: 24px; }

/* Foto-detallito estilo Agri: polaroid pequeña que acompaña, no domina */
.split .split-media.split-media--mini { width: min(100%, 240px); }
.split-media--mini .photo-ph { font-size: 17px; padding: 16px; }

/* Panel visionario (contacto): nota de cierre + remate con punch */
.vision-note { text-align: center; max-width: 40ch; margin: clamp(32px, 5vw, 48px) auto 0; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; color: rgba(255, 254, 249, .9); }
.vision-note em { color: #d9b764; font-style: italic; }
.contact-punch { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--ink); border-left: 3px solid var(--terracotta); padding-left: 16px; margin-top: 6px; }

/* Tira de fotos-detalle desperdigadas (varios recuerdos, estilo collage Agri) */
.photo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 30px); margin-top: clamp(36px, 5vw, 56px); }
.photo-strip .polaroid { width: min(40vw, 168px); }
.photo-strip .photo-ph { aspect-ratio: 1 / 1; font-size: 15px; padding: 12px; }
.photo-strip .pol-cap { font-size: 18px; }

/* Golpe con foto al lado: texto + recorte en dos columnas */
.golpe-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(20px, 5vw, 64px); }
.golpe-grid .cutout { margin: 0; flex-shrink: 0; }
/* En pantallas medianas/estrechas la foto se queda al lado pero más pequeña */
@media (max-width: 640px) {
  .golpe-grid .cutout { width: min(38vw, 150px); }
}
/* Solo en móvil de verdad se apila */
@media (max-width: 420px) {
  .golpe-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .golpe-grid .cutout { width: min(58vw, 200px); margin-top: 28px; }
}

/* Foto-recorte estilo Agri: sin marco, torcida y con celo, pegada sobre la sección */
.cutout { width: min(58vw, 230px); margin: 36px auto 0; position: relative; transform: rotate(-3deg); box-shadow: 0 18px 34px rgba(0, 0, 0, .35); }
.cutout::before { content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 28px; transform: translateX(-50%) rotate(2.5deg); background: var(--tape); box-shadow: 0 1px 2px var(--tape-edge); z-index: 2; }
.cutout img { display: block; width: 100%; height: auto; }
.cutout .photo-ph { font-size: 17px; padding: 16px; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #9baa91;
  border-radius: 12px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 14px;
}

.form-status.visible { display: block; }

.site-footer {
  padding: 48px 0 30px;
  color: var(--white);
  background: #2d3529;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-brand img { width: 155px; filter: brightness(0) invert(1); opacity: .88; }

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  color: var(--white);
  line-height: 1;
  text-decoration: none;
}

.footer-brand .brand-word { font-size: 32px; }
.footer-brand .brand-subtitle { color: rgba(255,255,255,.58); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px 28px;
}

.footer-nav a { color: rgba(255,255,255,.78); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 26px;
  color: rgba(255,255,255,.56);
  font-size: 12px;
}

.demo-label { color: #d9b764; font-weight: 600; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Lenguaje visual artesanal: papel real, copias fotográficas y celo. */
.hero::before {
  top: 34px;
  left: -8vw;
  width: 55vw;
  height: 520px;
  border-radius: 0;
  background: rgba(228, 220, 203, .38);
  clip-path: polygon(3% 6%, 96% 0, 100% 92%, 5% 100%, 0 48%);
  filter: none;
  transform: rotate(-1.4deg);
}

.hero-photo-wrap {
  overflow: visible;
  aspect-ratio: auto;
  padding: 14px 14px 66px;
  border: 1px solid rgba(103, 91, 66, .14);
  border-radius: 3px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-photo-wrap::before,
.hero-photo-wrap::after,
.about-visual::before,
.about-visual::after {
  position: absolute;
  z-index: 6;
  width: 88px;
  height: 28px;
  border: 1px solid var(--tape-edge);
  background:
    linear-gradient(90deg, rgba(255,255,255,.11), transparent 20%, rgba(255,255,255,.12) 72%, transparent),
    var(--tape);
  box-shadow: 0 2px 5px rgba(65, 54, 31, .08), inset 0 1px rgba(255,255,255,.28);
  content: "";
  pointer-events: none;
}

.hero-photo-wrap::before {
  top: -15px;
  left: calc(50% - 48px);
  width: 96px;
  transform: rotate(-2.5deg);
}

.hero-photo-wrap::after { display: none; }

.hero-photo {
  height: auto;
  aspect-ratio: .77;
  border-radius: 1px;
  object-fit: cover;
  object-position: 50% 48%;
}

.photo-caption {
  right: 18px;
  bottom: 19px;
  left: 18px;
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(18px, 1.65vw, 22px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
  transform: none;
}

.hero-stamp {
  top: 14%;
  left: -46px;
  width: 108px;
  height: 92px;
  border-radius: 3px;
  color: var(--ink);
  background: #ded2b2;
  box-shadow: 0 12px 24px rgba(55, 48, 34, .17);
  font-family: var(--serif-accent);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.08;
  text-transform: none;
  transform: rotate(-6deg);
}

.hero-stamp::before {
  top: -11px;
  left: 25px;
  width: 58px;
  height: 20px;
  transform: rotate(3deg);
}

.trust-strip {
  position: relative;
  overflow: visible;
  border-radius: 4px;
  background: rgba(255, 253, 247, .9);
  box-shadow: 0 13px 28px rgba(55, 48, 34, .1);
}

.trust-strip::before {
  top: -15px;
  left: calc(50% - 49px);
  width: 98px;
  transform: rotate(2deg);
}

.section-soft {
  background-color: var(--paper-warm);
  background-image: linear-gradient(92deg, rgba(255,255,255,.18), transparent 40%, rgba(94,83,60,.025));
}

.section-dark .eyebrow,
.dimension-number { color: #d9b764; }

.ice-card {
  position: relative;
  overflow: visible;
  border-radius: 6px;
  box-shadow: 0 15px 34px rgba(55, 48, 34, .11);
}

.ice-card::before {
  top: -15px;
  left: calc(50% - 44px);
  transform: rotate(-3deg);
}

.ice-card-feeling::before { transform: rotate(4deg); }

.service-card {
  overflow: visible;
  border-radius: 7px;
  box-shadow: 0 17px 38px rgba(55, 48, 34, .13);
}

.service-card-featured {
  color: var(--white);
  background: var(--sage);
}

.service-card::before {
  top: -16px;
  left: calc(50% - 48px);
  width: 96px;
  transform: rotate(3deg);
}

.service-card-featured::before { transform: rotate(-4deg); }
.service-card-featured .button:hover { background: var(--terracotta-pale); }
.service-orbit { display: none; }

.about-visual {
  padding: 14px 14px 20px;
  border: 1px solid rgba(103, 91, 66, .14);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  rotate: -1.6deg;
}

.about-visual::before {
  top: -16px;
  left: calc(50% - 48px);
  width: 96px;
  transform: rotate(2.5deg);
}

.about-visual::after { display: none; }

.about-visual img {
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 1px;
  box-shadow: none;
  object-position: 50% 53%;
}

.about-quote {
  position: static;
  max-width: none;
  margin: 17px 12px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-family: var(--hand);
  font-size: 24px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.18;
  text-align: center;
  transform: none;
}

.signature {
  color: var(--terracotta-dark);
  font-family: var(--hand);
  font-size: 36px;
  font-weight: 500;
  font-style: normal;
  transform: none;
}

.process-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 253, 247, .55);
  box-shadow: 0 10px 22px rgba(55, 48, 34, .07);
}

.testimonial {
  position: relative;
  overflow: visible;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(55, 48, 34, .11);
}

.testimonial::before {
  top: -15px;
  left: calc(50% - 44px);
  transform: rotate(4deg);
}

.testimonial:nth-child(2)::before { transform: rotate(-4deg); }

.contact-form {
  position: relative;
  border: 1px solid rgba(103, 91, 66, .18);
  border-radius: 7px;
}

.contact-form::before {
  top: -16px;
  left: calc(50% - 49px);
  width: 98px;
  transform: rotate(-3deg);
}

.demo-label { color: #d9b764; }

@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.nav-cta) { font-size: 13px; }
  .nav-cta { padding-inline: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 52px; }
  .hero-stamp { left: -28px; width: 98px; height: 84px; }
  .dimensions { grid-template-columns: repeat(2, 1fr); }
  .dimension { min-height: 275px; }
  .dimension-number { margin-bottom: 48px; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .testimonial:last-child { grid-column: 1 / -1; min-height: 280px; }
}

@media (max-width: 860px) {
  :root { --container: min(calc(100% - 36px), 720px); }

  .menu-button { display: block; flex: 0 0 auto; }

  .site-nav {
    position: fixed;
    z-index: 45;
    top: 112px;
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100svh - 112px);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 18px 24px 34px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 28px 40px rgba(41,41,41,.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .2s ease, transform .2s ease;
    visibility: hidden;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a:not(.nav-cta) {
    min-height: 60px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
  }

  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 24px; }

  .hero { padding-top: 54px; }
  .hero::before { top: 54px; left: -10vw; width: 78vw; height: 470px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(100%, 560px); margin-inline: auto; }
  .hero-stamp { left: -18px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); border-left: 0; }

  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .iceberg-grid { grid-template-columns: 1fr; gap: 18px; }
  .ice-bridge { min-height: 64px; }
  .ice-bridge::before { width: 1px; height: 100%; }
  .ice-bridge span { transform: rotate(90deg); }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 490px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { width: min(84%, 520px); margin-inline: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card::before { margin-bottom: 28px; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial:last-child { grid-column: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 640px; }

  .hero-photo-wrap,
  .trust-strip,
  .ice-card,
  .service-card,
  .about-visual,
  .testimonial,
  .contact-form { transform: none; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 32px); }
  body { font-size: 16px; }
  html { scroll-padding-top: 74px; }
  .prototype-note { min-height: 30px; font-size: 11px; }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand-word { font-size: 27px; }
  .brand-subtitle { margin-top: 5px; margin-left: 15px; font-size: 7px; }
  .site-nav { top: 98px; max-height: calc(100svh - 98px); }
  .menu-button { width: 44px; height: 44px; }
  .hero { padding: 45px 0 62px; }
  .hero::before { top: 58px; left: -62px; width: 345px; height: 455px; transform: rotate(-2deg); }
  h1 { margin-bottom: 20px; font-size: clamp(48px, 15vw, 64px); }
  h1 em { white-space: normal; }
  h2 em, h3 em { white-space: normal; }
  h2 { font-size: clamp(40px, 11vw, 50px); }
  .lead { font-size: 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .cta-note { text-align: center; }
  .hero-visual { width: calc(100% - 18px); }
  .hero-photo-wrap { padding: 10px 10px 58px; }
  .hero-photo-wrap::before, .hero-photo-wrap::after { width: 68px; height: 22px; top: -12px; }
  .hero-photo-wrap::before { left: calc(50% - 34px); }
  .hero-stamp { top: 8%; left: -8px; width: 88px; height: 74px; font-size: 16px; }
  .photo-caption { right: 14px; bottom: 17px; left: 14px; font-size: 17px; }
  .trust-strip { margin-top: 46px; }
  .trust-item { min-height: 78px; padding: 17px 20px; }
  .trust-number { font-size: 30px; }
  .section { padding: 75px 0; }
  .section-heading { margin-bottom: 36px; }
  .ice-card { padding: 28px 24px; border-radius: 5px; }
  .dimensions { grid-template-columns: 1fr; }
  .dimension { min-height: auto; padding: 26px 24px 30px; }
  .dimension-number { margin-bottom: 38px; }
  .service-card { min-height: 0; padding: 30px 24px; border-radius: 5px; }
  .service-orbit { right: 0; bottom: -40px; width: 170px; height: 170px; }
  .service-card .button { width: 100%; margin-top: 34px; }
  .about-visual { width: calc(100% - 12px); margin-left: 0; padding: 10px 10px 16px; }
  .about-quote { max-width: none; margin: 14px 8px 0; padding: 0; font-size: 21px; transform: none; }
  .process-card { padding: 28px 10px; }
  .testimonial { min-height: 0; padding: 27px 24px; transform: none !important; }
  .testimonial blockquote { font-size: 21px; }
  .faq-item summary { min-height: 70px; font-size: 22px; }
  .faq-answer { padding-right: 20px; }
  .contact-section { padding: 74px 0; }
  .contact-form { padding: 26px 20px; border-radius: 5px; transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 340px) {
  :root { --container: calc(100% - 26px); }
  .brand-word { font-size: 25px; }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  h3 { font-size: 25px; }
  .service-card h3,
  .service-card:not(.service-card-featured) h3 { font-size: 25px; }
  .hero-stamp { left: -4px; width: 78px; height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   EXTENSIONES CODEX — web completa (11-jul-2026)
   Patrones añadidos sobre la base del prototipo: subpáginas,
   polaroids genéricas, prosa, legales, formulario real y footer.
   ============================================================ */

/* --- Nav: botón Academia (oliva), convive con el CTA Contacto --- */
.nav-academia {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1.5px solid var(--sage-dark);
  border-radius: 999px;
  color: var(--sage-dark);
  background: transparent;
  font-family: var(--condensed);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease;
}

.nav-academia:hover,
.nav-academia:focus-visible {
  background: var(--sage-dark);
  color: var(--white);
}

.site-nav a.nav-academia::after { display: none; }

/* Academia visible en móvil junto a la hamburguesa */
.nav-academia-mobile { display: none; }

/* --- Hero de subpágina --- */
.page-hero {
  position: relative;
  padding: clamp(44px, 6.5vh, 80px) 0 clamp(34px, 5vh, 60px);
  isolation: isolate;
}

.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.page-hero .lead { max-width: 56ch; }

.page-hero--center { text-align: center; }
.page-hero--center h1,
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .eyebrow::before { display: none; }

.page-hand {
  margin: 10px 0 16px;
  color: var(--terracotta);
  font-family: var(--hand);
  font-size: clamp(23px, 2.1vw, 29px);
  font-weight: 500;
  line-height: 1.15;
}

.page-hero .hero-actions { margin-top: 26px; }

/* --- Split texto + media --- */
.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(38px, 6vw, 84px);
}

.split-media { width: min(100%, 480px); margin-inline: auto; }

/* Noa: fotos más contenidas, a una altura parecida a la foto de la home */
.page-noa .split-media { width: min(100%, 400px); }
/* Noa: texto y foto arriba (evita el hueco por centrado vertical) y secciones más ceñidas */
.page-noa .split { align-items: start; }
.page-noa .section { padding-block: clamp(40px, 6vw, 76px); }

.split-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.05;
  text-wrap: balance;
}

.split-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--terracotta-dark);
  font-family: var(--condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.text-link:hover { color: var(--sage-dark); }

/* --- Polaroid genérica (mismo lenguaje que la del sobre-mí) --- */
.polaroid {
  position: relative;
  display: block;
  margin: 0;
  padding: 14px 14px 18px;
  border: 1px solid rgba(103, 91, 66, .14);
  border-radius: 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  rotate: var(--pol-rot, -1.2deg);
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1px;
}

.polaroid::before {
  position: absolute;
  z-index: 6;
  top: -15px;
  left: calc(50% - 46px);
  width: 92px;
  height: 28px;
  border: 1px solid var(--tape-edge);
  background:
    linear-gradient(90deg, rgba(255,255,255,.11), transparent 20%, rgba(255,255,255,.12) 72%, transparent),
    var(--tape);
  box-shadow: 0 2px 5px rgba(65, 54, 31, .08), inset 0 1px rgba(255,255,255,.28);
  content: "";
  pointer-events: none;
  transform: rotate(2.5deg);
}

.pol-cap {
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(18px, 1.65vw, 22px);
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
}

/* Pila de polaroids (sobre-mí) */
.pol-stack {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.pol-stack .polaroid:nth-child(2) { margin-top: clamp(28px, 5vh, 64px); }

/* Sticker de dato (círculo, Raleway = dato, no voz) */
.sticker {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 12px;
  border: 1.5px solid rgba(70, 83, 63, .3);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(55, 48, 34, .12);
  text-align: center;
}

.sticker b {
  display: block;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 550;
  line-height: 1;
}

.sticker span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pol-stickers {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(22px, 3vh, 34px);
}

/* --- Prosa narrativa --- */
.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.06;
  text-wrap: balance;
}

.prose p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.prose .big {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 480;
  line-height: 1.4;
}

.pullquote {
  margin: 30px 0;
  padding-left: 22px;
  border-left: 3px solid var(--terracotta);
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 450;
  line-height: 1.3;
  text-wrap: balance;
}

/* --- Páginas legales --- */
.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vh, 64px) clamp(80px, 12vh, 140px);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

.legal-content h2 {
  margin: 44px 0 14px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 em { color: var(--terracotta-dark); font-style: italic; }

.legal-content h3 {
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 21px;
}

.legal-content p { margin-bottom: 16px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content ul { margin: 12px 0 16px; padding-left: 22px; }
.legal-content ul li { margin-bottom: 8px; }

.legal-content a {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content .legal-table {
  margin-block: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-warm);
}

.legal-content .legal-table dt {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-content .legal-table dt:first-child { margin-top: 0; }
.legal-content .legal-table dd { margin: 2px 0 6px; color: var(--ink); }

/* --- Contacto: bloques de info --- */
.info-block {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.info-block:first-of-type { border-top: 1px solid var(--line); }

.info-block strong {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.info-block a {
  color: var(--terracotta-dark);
  font-family: var(--serif-accent);
  font-size: 21px;
  font-style: italic;
  text-decoration: none;
}

.info-block a:hover { text-decoration: underline; }

.info-block .nota {
  color: var(--ink);
  font-family: var(--serif-accent);
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
}

/* --- Footer: legales y redes --- */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(70, 83, 63, .35);
  border-radius: 50%;
  color: var(--sage-dark);
  transition: background .22s ease, color .22s ease;
}

.footer-social a:hover { background: var(--sage-dark); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-legal a:hover { color: var(--ink); }

/* --- Responsive de las extensiones --- */
@media (max-width: 860px) {
  .nav-academia-mobile {
    display: inline-flex;
    min-height: 40px;
    margin-left: auto;
    padding: 8px 16px;
    font-size: 13px;
  }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: -1; }
  .split--text-first .split-media { order: 0; }

  .pol-stack { grid-template-columns: 1fr; justify-items: center; }
  .pol-stack .polaroid { width: min(78vw, 340px); }
  .pol-stack .polaroid:nth-child(2) { margin-top: 0; }
}

/* --- CTA final de página --- */
.cta-final { text-align: center; }
.cta-final .page-hand { margin-bottom: 8px; }
.cta-final h2 {
  max-width: 22ch;
  margin: 0 auto 18px;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  text-wrap: balance;
}
.cta-final .lead { max-width: 52ch; margin: 0 auto 28px; }

/* Info-blocks sobre la banda oscura de contacto */
.contact-section .info-block { border-color: rgba(255, 254, 249, .22); }
.contact-section .info-block strong { color: rgba(255, 254, 249, .62); }
.contact-section .info-block a { color: var(--terracotta-pale); }
.contact-section .info-block .nota { color: rgba(255, 254, 249, .85); }

/* ============================================================
   AFINADO v2 (11-jul, feedback de Javi con Mery):
   manuscritas más grandes, lead con más cuerpo, negritas,
   fotos del sobre-mí amplias, dimensions de 3, aires.
   ============================================================ */

/* Manuscritas (Architects Daughter) con más presencia — siempre rectas.
   Selectores compuestos: dentro de .split-copy/.prose/.about-copy los párrafos
   genéricos (.split-copy p, .prose p) ganaban por especificidad y las encogían. */
.eyebrow--hand { font-size: clamp(29px, 2.5vw, 35px); }
.hero-hand { font-size: clamp(28px, 2.6vw, 35px); }

.page-hand,
.split-copy .page-hand,
.prose .page-hand,
.cta-final .page-hand {
  color: var(--terracotta);
  font-family: var(--hand);
  font-size: clamp(28px, 2.6vw, 35px);
  font-weight: 500;
  line-height: 1.15;
}

.cta-note { font-size: 21px; }

.signature,
.about-copy .signature,
.split-copy .signature {
  color: var(--terracotta);
  font-family: var(--hand);
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
}

/* Entradillas: un punto más grandes y con más tinta */
.lead,
.split-copy .lead,
.page-hero .lead {
  color: #51534a;
  font-family: var(--serif-accent);
  font-size: clamp(22px, 2vw, 28px);
  font-style: italic;
  line-height: 1.5;
}

/* Pullquotes: recuperan su voz (los aplastaba .prose p / .split-copy p) */
.pullquote,
.prose .pullquote,
.split-copy .pullquote {
  margin: 30px 0;
  padding-left: 22px;
  color: var(--terracotta-dark);
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 450;
  line-height: 1.32;
}

/* Cuerpo de texto: medio punto más y strong con tinta */
.split-copy p { font-size: 17.5px; line-height: 1.75; }
.prose p { font-size: 17.5px; }
.prose strong,
.split-copy strong,
.lead strong { color: var(--ink); font-weight: 600; }
.lead strong { font-weight: 700; }
.section-intro { font-size: 16.5px; line-height: 1.65; }

/* Fotos del hero del sobre-mí: más grandes */
.split--fotos { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.split--fotos .split-media { width: min(100%, 640px); }

/* Rejilla de dimensiones cuando son 3 tarjetas (no deja hueco roto) */
.dimensions--tres { grid-template-columns: repeat(3, 1fr); }
.dimensions--tres .dimension { min-height: 260px; }

/* Menos aire entre el hero centrado y la sección plana que le sigue */
.page-hero--center + .section:not(.section-soft):not(.section-dark) {
  padding-top: clamp(8px, 2vh, 24px);
}

@media (max-width: 1040px) {
  .dimensions--tres { grid-template-columns: 1fr; }
  .dimensions--tres .dimension { min-height: 0; }
}

@media (max-width: 860px) {
  .split--fotos { grid-template-columns: 1fr; }
  .split--fotos .split-media { width: 100%; }
  .split--fotos h1 { font-size: clamp(33px, 8.6vw, 46px); line-height: 1.07; }
}

/* ============================================================
   MAGIA (11-jul): microdetalles CSS-only, sin rAF ni librerías.
   Sutil: subrayado que se dibuja, huellas tono-sobre-tono,
   polaroids vivas, tarjetas que respiran, flechas que empujan.
   ============================================================ */

/* 1 · El subrayado a mano se dibuja solo al aparecer el titular */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal h1 em::after,
  .js .reveal .underlined::after {
    background-position: left center;
    background-size: 0% 100%;
    transition: background-size .9s cubic-bezier(.6, .05, .3, 1) .5s;
  }

  .js .reveal.is-visible h1 em::after,
  .js .reveal.is-visible .underlined::after {
    background-size: 100% 100%;
  }
}

/* 3 · Las polaroids se enderezan y levantan al pasar el ratón */
.polaroid,
.about-visual {
  transition: rotate .4s cubic-bezier(.2, .8, .2, 1), translate .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.polaroid:hover,
.about-visual:hover {
  rotate: 0deg;
  translate: 0 -8px;
  box-shadow: 0 30px 56px rgba(55, 48, 34, .24);
}

.hero-photo-wrap { transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease; }
.hero-photo-wrap:hover { transform: rotate(0deg) translateY(-8px); }

/* 4 · Tarjetas que respiran al pasar por encima */
.service-card,
.testimonial,
.process-card,
.ice-card {
  transition: translate .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.service-card:hover,
.testimonial:hover,
.process-card:hover,
.ice-card:hover {
  translate: 0 -5px;
  box-shadow: 0 22px 44px rgba(55, 48, 34, .16);
}

/* 5 · Entrada escalonada de las rejillas (el reveal va por olas) */
.js .dimensions.reveal .dimension,
.js .process-grid.reveal .process-card {
  opacity: 0;
  transition: opacity .55s ease, transform .55s ease;
  transform: translateY(16px);
}

.js .dimensions.reveal.is-visible .dimension,
.js .process-grid.reveal.is-visible .process-card {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.is-visible > :nth-child(2) { transition-delay: .1s; }
.js .reveal.is-visible > :nth-child(3) { transition-delay: .2s; }
.js .reveal.is-visible > :nth-child(4) { transition-delay: .3s; }

/* 6 · Las flechas de los botones empujan hacia delante */
.button span[aria-hidden],
.nav-cta span[aria-hidden],
.text-link { transition: transform .25s ease; }
.button:hover span[aria-hidden] { transform: translateX(4px); }

/* 7 · La flechita del iceberg invita a cruzar */
@media (prefers-reduced-motion: no-preference) {
  /* pulso con `translate` (no toca display:grid ni el rotate móvil) */
  .ice-bridge span { animation: mc-empuje 2.2s ease-in-out infinite; }
  @keyframes mc-empuje {
    0%, 100% { translate: -2px 0; }
    50% { translate: 4px 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .polaroid, .about-visual, .hero-photo-wrap, .service-card, .testimonial, .process-card, .ice-card { transition: none; }
}

/* ============================================================
   MAGIA v2 (11-jul, 2ª ronda de Javi): rastros de huellitas que
   cruzan las secciones (huella real: almohadilla + deditos, sin
   círculo) + entradas de scroll nivel top (laterales + cascadas).
   ============================================================ */

html, body { overflow-x: clip; }

/* --- Entradas de scroll nivel top --- */
.js .reveal {
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.22, .61, .3, 1), transform .75s cubic-bezier(.22, .61, .3, 1);
}

/* Los splits entran cada uno desde su lado */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .js .split-copy.reveal:not(.is-visible),
  .js .about-copy.reveal:not(.is-visible),
  .js .hero-copy.reveal:not(.is-visible),
  .js .contact-copy.reveal:not(.is-visible) { transform: translateX(-44px); }

  .js .split-media.reveal:not(.is-visible),
  .js .about-visual.reveal:not(.is-visible),
  .js .hero-visual.reveal:not(.is-visible),
  .js .contact-form.reveal:not(.is-visible) { transform: translateX(44px); }
}

/* Cascada dentro del hero y de los heros de página */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy.reveal > *,
  .js .page-hero .reveal > * {
    opacity: 0;
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .3, 1);
    transform: translateY(22px);
  }

  .js .hero-copy.reveal.is-visible > *,
  .js .page-hero .reveal.is-visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  .js .hero-copy.reveal.is-visible > :nth-child(1),
  .js .page-hero .reveal.is-visible > :nth-child(1) { transition-delay: .05s; }
  .js .hero-copy.reveal.is-visible > :nth-child(2),
  .js .page-hero .reveal.is-visible > :nth-child(2) { transition-delay: .15s; }
  .js .hero-copy.reveal.is-visible > :nth-child(3),
  .js .page-hero .reveal.is-visible > :nth-child(3) { transition-delay: .25s; }
  .js .hero-copy.reveal.is-visible > :nth-child(4),
  .js .page-hero .reveal.is-visible > :nth-child(4) { transition-delay: .35s; }
  .js .hero-copy.reveal.is-visible > :nth-child(5),
  .js .page-hero .reveal.is-visible > :nth-child(5) { transition-delay: .45s; }
}

/* La banda de datos del hero llega la última */
.js .trust-strip.reveal.is-visible { transition-delay: .35s; }

/* Iceberg: ves → flecha → siente, por olas */
.js .iceberg-grid.reveal > * {
  opacity: 0;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .3, 1);
  transform: translateY(18px);
}

.js .iceberg-grid.reveal.is-visible > * { opacity: 1; transform: translateY(0); }

/* Hermanos con reveal propio: pequeña ola entre tarjetas */
.js .testimonials .testimonial.reveal:nth-child(2),
.js .services-grid .service-card.reveal:nth-child(2) { transition-delay: .12s; }
.js .testimonials .testimonial.reveal:nth-child(3) { transition-delay: .24s; }

/* ============================================================
   RASTROS DE PASEO (11-jul, 3ª ronda · fix "huellas cortadas"):
   lienzo SVG con holgura y huellas centradas en cada paso —
   ninguna pisada toca el borde. Cruzan la frontera mitad y mitad,
   en curva, pasos desiguales, cambian tinta↔crema en la banda verde.
   ============================================================ */

.huellas-paso {
  position: relative;
  z-index: 4;
  height: 0;
  pointer-events: none;
}

.huellas-paso::before {
  position: absolute;
  top: -245px;
  width: 150px;
  height: 490px;
  background: center / contain no-repeat;
  content: "";
}

.huellas-paso.h-izq::before { left: clamp(6px, 3.5vw, 140px); }
.huellas-paso.h-dcha::before { right: clamp(6px, 3.5vw, 140px); }

.huellas-paso.r-a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 490'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M20 35 C13 35 8.5 29.5 10.5 23.5 C12 18.5 16 16.5 20 16.5 C24 16.5 28 18.5 29.5 23.5 C31.5 29.5 27 35 20 35 Z'/%3E%3Cellipse cx='7.5' cy='13' rx='4.2' ry='5.6' transform='rotate(-20 7.5 13)'/%3E%3Cellipse cx='15.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(-7 15.5 8.5)'/%3E%3Cellipse cx='24.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(7 24.5 8.5)'/%3E%3Cellipse cx='32.5' cy='13' rx='4.2' ry='5.6' transform='rotate(20 32.5 13)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(47.2 15.5) scale(0.85) rotate(183 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(79.6 64.8) scale(0.78) rotate(197 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(65.9 128.7) scale(0.90) rotate(179 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(94.5 178.7) scale(0.75) rotate(189 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(68.1 252.2) scale(0.88) rotate(168 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(82.9 316.3) scale(0.80) rotate(178 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(43.6 395.6) scale(0.90) rotate(163 20 21)' fill='%23292b26' opacity='0.09'/%3E%3C/svg%3E"); }
.huellas-paso.r-b::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 490'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M20 35 C13 35 8.5 29.5 10.5 23.5 C12 18.5 16 16.5 20 16.5 C24 16.5 28 18.5 29.5 23.5 C31.5 29.5 27 35 20 35 Z'/%3E%3Cellipse cx='7.5' cy='13' rx='4.2' ry='5.6' transform='rotate(-20 7.5 13)'/%3E%3Cellipse cx='15.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(-7 15.5 8.5)'/%3E%3Cellipse cx='24.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(7 24.5 8.5)'/%3E%3Cellipse cx='32.5' cy='13' rx='4.2' ry='5.6' transform='rotate(20 32.5 13)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(67.4 16.7) scale(0.80) rotate(180 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(95.1 82.9) scale(0.90) rotate(191 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(78.9 144.8) scale(0.75) rotate(174 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(94.5 234.8) scale(0.88) rotate(182 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(69.3 284.0) scale(0.78) rotate(166 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(72.9 373.2) scale(0.90) rotate(177 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(40.9 439.3) scale(0.82) rotate(164 20 21)' fill='%23292b26' opacity='0.09'/%3E%3C/svg%3E"); }
.huellas-paso.r-c::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 490'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M20 35 C13 35 8.5 29.5 10.5 23.5 C12 18.5 16 16.5 20 16.5 C24 16.5 28 18.5 29.5 23.5 C31.5 29.5 27 35 20 35 Z'/%3E%3Cellipse cx='7.5' cy='13' rx='4.2' ry='5.6' transform='rotate(-20 7.5 13)'/%3E%3Cellipse cx='15.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(-7 15.5 8.5)'/%3E%3Cellipse cx='24.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(7 24.5 8.5)'/%3E%3Cellipse cx='32.5' cy='13' rx='4.2' ry='5.6' transform='rotate(20 32.5 13)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(37.1 15.0) scale(0.88) rotate(183 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(72.6 73.8) scale(0.75) rotate(198 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(64.8 163.5) scale(0.85) rotate(178 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(90.4 216.0) scale(0.78) rotate(186 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(56.5 302.7) scale(0.90) rotate(164 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(70.7 355.2) scale(0.75) rotate(176 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(31.3 438.6) scale(0.85) rotate(166 20 21)' fill='%23292b26' opacity='0.09'/%3E%3C/svg%3E"); }
.huellas-paso.r-b.c-tc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 490'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M20 35 C13 35 8.5 29.5 10.5 23.5 C12 18.5 16 16.5 20 16.5 C24 16.5 28 18.5 29.5 23.5 C31.5 29.5 27 35 20 35 Z'/%3E%3Cellipse cx='7.5' cy='13' rx='4.2' ry='5.6' transform='rotate(-20 7.5 13)'/%3E%3Cellipse cx='15.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(-7 15.5 8.5)'/%3E%3Cellipse cx='24.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(7 24.5 8.5)'/%3E%3Cellipse cx='32.5' cy='13' rx='4.2' ry='5.6' transform='rotate(20 32.5 13)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(67.4 16.7) scale(0.80) rotate(180 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(95.1 82.9) scale(0.90) rotate(191 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(78.9 144.8) scale(0.75) rotate(174 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(94.5 234.8) scale(0.88) rotate(182 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(69.3 284.0) scale(0.78) rotate(166 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(72.9 373.2) scale(0.90) rotate(177 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(40.9 439.3) scale(0.82) rotate(164 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3C/svg%3E"); }
.huellas-paso.r-c.c-ct::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 490'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M20 35 C13 35 8.5 29.5 10.5 23.5 C12 18.5 16 16.5 20 16.5 C24 16.5 28 18.5 29.5 23.5 C31.5 29.5 27 35 20 35 Z'/%3E%3Cellipse cx='7.5' cy='13' rx='4.2' ry='5.6' transform='rotate(-20 7.5 13)'/%3E%3Cellipse cx='15.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(-7 15.5 8.5)'/%3E%3Cellipse cx='24.5' cy='8.5' rx='4.2' ry='5.8' transform='rotate(7 24.5 8.5)'/%3E%3Cellipse cx='32.5' cy='13' rx='4.2' ry='5.6' transform='rotate(20 32.5 13)'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(37.1 15.0) scale(0.88) rotate(183 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(72.6 73.8) scale(0.75) rotate(198 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(64.8 163.5) scale(0.85) rotate(178 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(90.4 216.0) scale(0.78) rotate(186 20 21)' fill='%23fffef9' opacity='0.07'/%3E%3Cuse href='%23p' transform='translate(56.5 302.7) scale(0.90) rotate(164 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(70.7 355.2) scale(0.75) rotate(176 20 21)' fill='%23292b26' opacity='0.09'/%3E%3Cuse href='%23p' transform='translate(31.3 438.6) scale(0.85) rotate(166 20 21)' fill='%23292b26' opacity='0.09'/%3E%3C/svg%3E"); }

/* En pantallas estrechas no hay margen tranquilo: se esconden */
@media (max-width: 1080px) {
  .huellas-paso { display: none; }
}


/* ============================================================
   GUÍAS / ARTÍCULO (14-jul) — prosa extendida + índice de guías
   ============================================================ */
.prose h3 {
  margin: 32px 0 10px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  color: var(--sage-dark);
}
.prose ul { margin: 4px 0 22px; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
}
.prose li strong { color: var(--ink); }
.prose a {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }

.article-meta {
  max-width: 720px;
  margin: 0 auto 8px;
  color: var(--muted);
  font-family: var(--condensed);
  font-size: 13px;
  letter-spacing: .04em;
}
.article-back {
  display: inline-block;
  margin-top: 42px;
  color: var(--terracotta-dark);
  font-family: var(--condensed);
  font-size: 14px;
  letter-spacing: .04em;
}

.guias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 8px;
}
.guia-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(55, 48, 34, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.guia-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(55, 48, 34, .12); }
.guia-card .guia-eyebrow {
  margin-bottom: 12px;
  color: var(--terracotta-dark);
  font-family: var(--condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.guia-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.14;
  color: var(--ink);
}
.guia-card p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.guia-card .guia-link {
  margin-top: auto;
  color: var(--terracotta-dark);
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
}
