/* Talent Core · tokens del Book de marca (Studio.C, 2026)
   Uso indicado en el book: niebla 35 %, gris claro 30 %, petróleo 20 %, grafito 10 %, lima 5 % */
:root {
  --ink: #26302E;
  --petrol: #43636B;
  --mist: #D3DEDF;
  --light: #EFEFEF;
  --lime: #E9F1B2;
  --ink-soft: #4E5E5D;
  --sans: 'Google Sans', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Old Standard TT', Georgia, serif;
  --max: 1200px;
  --gutter: clamp(16px, 5vw, 72px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--light); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.serif-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--petrol); line-height: 1.45; }
.section__title { margin-bottom: 36px; }
.hidden { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--light); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter); background: rgba(239, 239, 239, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 48, 46, .08);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: auto; fill: currentColor; }
.brand__word { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 1rem var(--sans); text-decoration: none; line-height: 1.2;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark:hover { background: var(--petrol); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { box-shadow: 0 0 0 6px rgba(233, 241, 178, .3); }
.btn--small { padding: 10px 18px; font-size: .95rem; }
.btn--small svg { width: 17px; height: 17px; }
.btn--large { padding: 18px 34px; font-size: 1.1rem; }
.link-quiet { color: var(--petrol); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* 1. Hero */
.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 7vw, 100px) var(--gutter);
  background: linear-gradient(100deg, var(--mist) 0%, #E0E7E7 55%, var(--light) 100%);
}
.hero__text { max-width: 640px; margin-left: auto; width: 100%; }
.hero__eyebrow { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--petrol); margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 22px; }
.hero__eyebrow { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero__lead { max-width: 52ch; color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 30px; }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.hero__proof li { padding: 6px 18px 6px 0; margin-right: 18px; border-right: 1px solid rgba(67, 99, 107, .35); color: var(--ink-soft); font-size: .98rem; }
.hero__proof li:last-child { border-right: 0; }
.hero__proof strong { color: var(--ink); font-weight: 500; }

.chooser {
  max-width: 440px; width: 100%; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius);
  background: var(--petrol); color: #fff; box-shadow: 0 24px 60px rgba(38, 48, 46, .18);
}
.chooser__title { font-size: 1.35rem; line-height: 1.25; margin-bottom: 6px; }
.chooser__sub { color: rgba(255, 255, 255, .78); font-size: .95rem; margin-bottom: 18px; }
.opt {
  display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 16px;
  padding: 16px 16px 16px 14px; margin-top: 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid transparent; text-decoration: none; color: inherit;
  transition: border-color .2s, background-color .2s;
}
.opt:hover { background: rgba(255, 255, 255, .16); border-color: var(--lime); }
.opt__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lime); color: var(--ink); display: grid; place-items: center; }
.opt__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.opt__who { display: block; font-weight: 500; font-size: 1.08rem; color: #fff; }
.opt__what { display: block; font-size: .94rem; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.opt__go { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chooser__foot { margin: 16px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.chooser__foot strong { color: #fff; font-weight: 500; }

/* Secciones */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head .section__title { margin-bottom: 12px; }

/* 2. Puertas */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--petrol); color: var(--light);
  scroll-margin-top: 90px;
}
.door--dark { background: var(--ink); }
.door::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 241, 178, .22), rgba(233, 241, 178, 0) 70%); pointer-events: none;
}
.door__who { font-family: var(--serif); font-style: italic; color: var(--lime); font-size: 1.15rem; margin-bottom: 14px; }
.door h3 { max-width: 20ch; }
.door p { color: rgba(239, 239, 239, .82); max-width: 50ch; }
.door ul { list-style: none; padding: 0; margin: 8px 0 32px; }
.door li { padding: 11px 0; border-top: 1px solid rgba(211, 222, 223, .22); }
.door .btn { margin-top: auto; align-self: flex-start; }

/* 3. Diferencial */
.differential { background: var(--mist); padding: clamp(64px, 9vw, 112px) 0; }
.differential__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.differential__text p { color: var(--ink-soft); font-size: 1.12rem; max-width: 52ch; }
.pillars { margin: 0; display: grid; gap: 22px; }
.pillars > div { padding-top: 18px; border-top: 1px solid rgba(67, 99, 107, .4); }
.pillars dt { font-size: 1.3rem; font-weight: 500; margin-bottom: 4px; color: var(--petrol); }
.pillars dd { margin: 0; color: var(--ink-soft); }

/* 4. Servicios */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  display: flex; flex-direction: column; padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(67, 99, 107, .18); scroll-margin-top: 90px;
}
.service h3 { color: var(--petrol); }
.service__who { color: var(--ink-soft); }
.service__label { font-family: var(--serif); font-style: italic; color: var(--petrol); margin: 6px 0 4px; }
.service ul { margin: 0 0 18px; padding-left: 20px; }
.service li { padding: 4px 0; }
.service__result { padding: 14px 18px; border-radius: 12px; background: var(--light); margin-bottom: 22px; }
.service__result span { display: block; font-weight: 500; color: var(--petrol); margin-bottom: 2px; }
.service__cta { margin-top: auto; align-self: flex-start; color: var(--ink); font-weight: 500; text-underline-offset: 5px; }

/* 5. Cómo trabajo */
.process { background: var(--petrol); color: var(--light); padding: clamp(64px, 9vw, 112px) 0; }
.process__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: paso; }
.steps li { padding-top: 20px; border-top: 1px solid rgba(211, 222, 223, .4); }
.steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: rgba(239, 239, 239, .82); margin: 0; }
.process__cta { font-size: 1.12rem; margin: 0; }
.process__cta a { color: var(--lime); text-underline-offset: 5px; }

/* 6. Testimonios */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--mist); }
.testimonial blockquote { margin: 0 0 22px; flex: 1; }
.testimonial blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; margin: 0; }
.testimonial blockquote p::before { content: "\201C"; display: block; font-size: 2.6em; line-height: .6; color: var(--petrol); margin-bottom: 10px; }
.testimonial figcaption { display: grid; gap: 2px; font-size: .95rem; }
.testimonial figcaption strong { font-weight: 500; font-size: 1.05rem; }
.testimonial figcaption span { color: var(--ink-soft); }
.testimonial figcaption em { font-style: normal; color: var(--petrol); }

/* 7. Catalina */
.about { display: grid; grid-template-columns: 240px 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__photo { width: 240px; max-width: 100%; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 1.5px var(--petrol), 0 18px 40px rgba(38, 48, 46, .12); }
.about__text p:not(.serif-sub) { max-width: 60ch; color: var(--ink-soft); }
.about__text .serif-sub { margin-top: -4px; }
.about__creds { font-size: .98rem; padding-top: 14px; border-top: 1px solid rgba(67, 99, 107, .3); }

/* Preguntas frecuentes */
.faq { padding-top: 0; }
.faq__list { max-width: 820px; }
.faq details { border-top: 1px solid rgba(67, 99, 107, .3); }
.faq details:last-child { border-bottom: 1px solid rgba(67, 99, 107, .3); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-size: 1.15rem; font-weight: 500; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--petrol); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 68ch; }

/* 8. Cierre y contacto */
.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--light); padding: clamp(72px, 10vw, 128px) var(--gutter); }
.contact::before {
  content: ""; position: absolute; width: 720px; height: 720px; left: 30%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(233, 241, 178, .14), rgba(233, 241, 178, 0) 65%); pointer-events: none;
}
.contact__inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.contact h2 { max-width: 18ch; }
.contact__text > p { color: rgba(239, 239, 239, .78); font-size: 1.12rem; margin-bottom: 30px; max-width: 46ch; }
.contact__alt { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.contact__alt a { color: var(--mist); text-underline-offset: 5px; }

.contact__form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: rgba(239, 239, 239, .06); border: 1px solid rgba(211, 222, 223, .22); }
.contact__form-title { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--lime); margin: 0 0 4px; }
.contact__form label { display: grid; gap: 6px; font-size: .95rem; color: rgba(239, 239, 239, .85); }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(211, 222, 223, .3);
  background: rgba(239, 239, 239, .08); color: var(--light); font: inherit; font-size: 1rem;
}
.contact__form select option { color: var(--ink); }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.contact__form .btn { justify-self: start; background: var(--lime); color: var(--ink); margin-top: 4px; }
.contact__form .btn:hover { background: #f1f7c7; }

.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px;
  padding: 28px var(--gutter) 32px; background: var(--ink); color: rgba(239, 239, 239, .6); font-size: .92rem;
  border-top: 1px solid rgba(211, 222, 223, .12);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--lime);
  box-shadow: 0 0 0 5px rgba(233, 241, 178, .55), 0 10px 26px rgba(38, 48, 46, .3); transition: transform .15s;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { margin-left: 0; }
  .chooser { max-width: none; }
  .doors, .service-grid, .differential__inner, .about, .contact__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about__photo { width: 200px; }
  .contact::before { left: 50%; }

  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 20px; padding: 22px var(--gutter) 30px; background: var(--light); border-bottom: 1px solid rgba(38, 48, 46, .1); }
  .nav.is-open { display: flex; }
}
@media (max-width: 560px) {
  .brand__word { width: 120px; }
  .brand__mark { width: 32px; }
  .steps { grid-template-columns: 1fr; }
  .hero__proof li { border-right: 0; padding-right: 0; margin-right: 0; width: 100%; }
  .btn--large, .hero__actions .btn { width: 100%; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.opt-tag { color: rgba(239, 239, 239, .55); font-size: .88em; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(233, 241, 178, .14); color: var(--lime); font-size: .95rem; }
.form-error a { color: var(--lime); }
.contact__form .btn:disabled { opacity: .6; cursor: wait; }
