/* =========================================================
   ARG Psicología — Álvaro Ruiz Garrido
   Paleta tomada del logotipo (marrón chocolate + cobre)
   ========================================================= */

/* ---------- Fuentes autoalojadas (sin Google, sin cookies) ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --brown-900: #3d1c05;
  --brown-800: #5a2a07;
  --brown-700: #6b3410;
  --copper-600: #9a6238;
  --copper-500: #b07a4f;
  --copper-300: #d9bb9f;
  --sand-200: #efe4d8;
  --sand-100: #f6efe7;
  --cream: #fbf8f4;
  --white: #ffffff;
  --ink: #2e2420;
  --ink-soft: #5d514b;
  --line: #e6d9cb;
  --sage: #7d8b74;

  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(61, 28, 5, .28);
  --shadow-sm: 0 6px 20px -12px rgba(61, 28, 5, .25);
  --container: 1160px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown-700); text-underline-offset: 3px; }
a:hover { color: var(--copper-600); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, .step-num, .pillar-num { font-variant-numeric: lining-nums; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--brown-800); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
em.accent, h1 em, h2 em { font-style: italic; color: var(--copper-600); font-weight: 500; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--sand { background: var(--sand-100); }
.section--dark { background: var(--brown-900); color: #f3e9df; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-600); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--copper-300); }

.lead { font-size: clamp(1.12rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brown-800); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--brown-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brown-900); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--copper-300); color: var(--brown-800); background: transparent; }
.btn--ghost:hover { border-color: var(--brown-800); color: var(--brown-800); background: rgba(255,255,255,.6); }
.btn--wa { background: #25d366; color: #0b3d1f; }
.btn--wa:hover { background: #1ebe5b; color: #0b3d1f; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brown-800); }
.btn--light:hover { background: var(--sand-100); color: var(--brown-900); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 248, 244, .86); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(61,28,5,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--brown-800); }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-600); font-weight: 500; }

.nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--copper-500); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .btn { padding: .7rem 1.25rem; font-size: .9rem; color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--brown-800); }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav.is-open { max-height: 80vh; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1.25rem 1.5rem; }
  .nav li a:not(.btn) { display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav li:last-child { margin-top: 1rem; }
  .nav .btn { width: 100%; padding: .95rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 780px; height: 780px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,187,159,.45), rgba(217,187,159,0) 68%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 560px; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-note { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.hero-note svg { width: 18px; height: 18px; color: var(--sage); flex: none; }

.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-photo {
  position: relative; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--sand-200); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-media::before {
  content: ""; position: absolute; inset: -16px -16px 22px 22px; border: 1px solid var(--copper-300);
  border-radius: 230px 230px var(--radius-lg) var(--radius-lg); z-index: -1;
}
.hero-badge {
  position: absolute; left: -38px; bottom: 34px; background: #fff; border-radius: 16px; padding: .9rem 1.1rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 250px;
}
.hero-badge img { width: 46px; height: 46px; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--brown-800); line-height: 1.15; }
.hero-badge span { font-size: .8rem; color: var(--ink-soft); line-height: 1.3; display: block; }

.facts { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fact { padding: 1.35rem 1.5rem; display: flex; gap: .9rem; align-items: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { width: 26px; height: 26px; color: var(--copper-600); flex: none; }
.fact strong { display: block; font-size: .95rem; color: var(--brown-800); line-height: 1.25; }
.fact span { font-size: .84rem; color: var(--ink-soft); line-height: 1.3; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; width: min(78%, 360px); }
  .hero-badge { left: -14px; bottom: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--brown-800);
  border-left: 2px solid var(--copper-500); padding-left: 1.4rem; margin: 1.5rem 0 0;
}
.about-sign { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.about-sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.about-sign strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--brown-800); line-height: 1.2; }
.about-sign span { font-size: .88rem; color: var(--ink-soft); }
.about-body p { color: var(--ink-soft); }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-aside { position: static; } }

/* ---------- Áreas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.area-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s;
}
.area-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.area-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sand-100); display: grid; place-items: center; color: var(--brown-700); margin-bottom: 1.4rem; }
.area-icon svg { width: 32px; height: 32px; }
.area-card > p { color: var(--ink-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1.6rem; }
.chips li { font-size: .84rem; padding: .38rem .85rem; border-radius: 999px; background: var(--sand-100); color: var(--brown-700); border: 1px solid var(--sand-200); }
.area-more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.area-more summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--brown-800); display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem;
}
.area-more summary::-webkit-details-marker { display: none; }
.area-more summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--copper-600); transition: transform .3s; }
.area-more[open] summary::after { transform: rotate(45deg); }
.area-more .more-body { padding-top: 1rem; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; } }

/* ---------- Enfoque ---------- */
.approach-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.approach-intro .section-head { margin-bottom: 0; }
.approach-intro p { color: #d8c8b8; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { border: 1px solid rgba(217,187,159,.25); border-radius: var(--radius-lg); padding: 2.1rem 1.9rem; background: rgba(255,255,255,.03); }
.pillar-num { font-family: var(--serif); font-size: 1rem; color: var(--copper-300); letter-spacing: .12em; display: block; margin-bottom: 1.2rem; }
.pillar h3 { font-size: 1.75rem; }
.pillar p { color: #d8c8b8; font-size: 1rem; margin: 0; }
.pillar--main { background: rgba(176,122,79,.16); border-color: rgba(217,187,159,.45); }
.pillar-tag { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--copper-500); color: #fff; padding: .25rem .65rem; border-radius: 999px; margin-bottom: .9rem; }
@media (max-width: 900px) { .approach-intro, .pillars { grid-template-columns: 1fr; } }

/* ---------- Cómo trabajo ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 .5rem; }
.step-num {
  width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid var(--copper-300);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; color: var(--brown-800); margin-bottom: 1.3rem; position: relative; z-index: 1;
}
.step:not(:last-child)::before { content: ""; position: absolute; top: 29px; left: 70px; right: -10px; height: 1px; background: var(--copper-300); }
.step h3 { font-size: 1.45rem; margin-bottom: .35em; }
.step p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.work-note {
  margin-top: clamp(3rem, 6vw, 4.5rem); background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center;
}
.work-note svg { width: 54px; height: 54px; color: var(--copper-500); }
.work-note p { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--brown-800); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .step:nth-child(2)::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .work-note { grid-template-columns: 1fr; }
}

/* ---------- CTA banda ---------- */
.cta-band { background: linear-gradient(120deg, var(--brown-800), var(--brown-900)); color: #f3e9df; border-radius: var(--radius-lg); padding: clamp(2.25rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: "Ψ"; position: absolute; right: 3%; bottom: -30%; font-family: var(--serif); font-size: 18rem; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.cta-band p { margin: 0; color: #d8c8b8; }
.cta-band .actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 2rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.info-card svg { width: 24px; height: 24px; color: var(--copper-600); margin-bottom: .55rem; }
.info-card strong { display: block; color: var(--brown-800); font-size: 1.02rem; line-height: 1.3; }
.info-card span { font-size: .87rem; color: var(--ink-soft); }
.info-card--hl { background: var(--brown-800); border-color: var(--brown-800); }
.info-card--hl svg { color: var(--copper-300); }
.info-card--hl strong { color: #fff; }
.info-card--hl span { color: #e3d3c3; }

.contact-list { list-style: none; display: grid; gap: .2rem; }
.contact-list li a, .contact-list li > div { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.contact-list .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--sand-200); display: grid; place-items: center; color: var(--brown-700); flex: none; }
.contact-list .ic svg { width: 21px; height: 21px; }
.contact-list small { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-600); font-weight: 600; }
.contact-list span { font-size: 1.02rem; word-break: break-word; }
.contact-list a:hover span { color: var(--copper-600); }
.colegiado { margin-top: 1.6rem; font-size: .9rem; color: var(--ink-soft); }
.colegiado strong { color: var(--brown-800); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: .2em; }
.form-card > p { color: var(--ink-soft); font-size: .97rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--brown-800); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper-500); background: #fff; box-shadow: 0 0 0 4px rgba(176,122,79,.15); }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin-top: .35rem; display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: .8rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--brown-800); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .76rem; color: var(--ink-soft); line-height: 1.5; margin: 1rem 0 0; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: #eef3ea; color: #34502a; border: 1px solid #cfdcc6; }
.form-status.err { display: block; background: #fbeeee; color: #8a2b2b; border: 1px solid #efcfcf; }
.btn[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row, .info-cards { grid-template-columns: 1fr; } }

.map-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; margin-top: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: #d8c8b8; padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(217,187,159,.2); }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-brand img { width: 54px; height: 54px; background: var(--cream); border-radius: 50%; padding: 3px; }
.footer-brand span { font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-300); margin-bottom: 1.1rem; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #e9ddd1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #b8a594; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.3rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.3rem; margin-bottom: 1.1em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; border: 1px solid var(--line); padding: .7rem .9rem; vertical-align: top; }
.legal th { background: var(--sand-100); color: var(--brown-800); width: 32%; }
.back-link { display: inline-flex; gap: .4rem; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; }

/* Página de gracias (fallback sin JS) */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.thanks img { width: 110px; margin: 0 auto 1.5rem; }

/* ---------- Texto justificado ---------- */
.about-body p, .area-card p, .more-body p, .pillar p, .approach-intro p,
.step p, .work-note p, .legal p, .legal li {
  text-align: justify; text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 4 3;
}
.work-note { grid-template-columns: 1fr; text-align: center; }
.work-note p { text-align: center; max-width: 900px; margin-inline: auto; }
.facts .fact strong { font-size: .93rem; }
.info-card strong { font-size: .98rem; }
.colegiado { line-height: 1.6; }
/* En columnas estrechas el justificado deja huecos: ahí mejor alineado a la izquierda */
.step p, .pillar p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 600px) {
  .about-body p, .area-card p, .more-body p, .approach-intro p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
}
