/* ========================================================================
   PUBLIFY — Design system V2 (Opción B · Editorial tipográfica)
   Paleta corporativa:
   #251B3E morado profundo · #EB4B4B coral · #DEE5D8 salvia · #787364 taupe
   ======================================================================== */

:root {
  --c-ink: #251B3E;
  --c-ink-soft: #3d3458;
  --c-coral: #EB4B4B;
  --c-coral-deep: #c93636;
  --c-coral-soft: rgba(235, 75, 75, 0.1);
  --c-sage: #DEE5D8;
  --c-sage-deep: #c9d2c1;
  --c-taupe: #787364;
  --c-cream: #f5f1ea;
  --c-paper: #fcfaf5;
  --c-line: rgba(37, 27, 62, 0.12);
  --c-line-soft: rgba(37, 27, 62, 0.06);

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--c-ink);
}
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
p { color: var(--c-ink-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--c-ink-soft); max-width: 38ch; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-coral);
  font-weight: 500;
}
em.it, .accent {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--c-coral);
}
.mono-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-taupe);
  font-weight: 500;
}

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; position: relative; }
.band-cream { background: var(--c-cream); }
.band-paper { background: var(--c-paper); }
.band-sage { background: var(--c-sage); }
.band-ink { background: var(--c-ink); color: var(--c-cream); }
.band-ink h2 { color: var(--c-cream); }
.band-ink p { color: rgba(245, 241, 234, 0.75); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--c-ink); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--c-coral);
}
.nav-links .btn-primary { padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.nav-links .btn-primary::after { display: none; }

.menu-toggle { display: none; width: 40px; height: 40px; position: relative; }
.menu-toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--c-coral); color: #fff; }
.btn-primary:hover { background: var(--c-coral-deep); transform: translateY(-1px); }
.btn-ink { background: var(--c-ink); color: var(--c-cream); }
.btn-ink:hover { background: var(--c-ink-soft); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--c-ink); border: 1px solid var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: var(--c-cream); }
.btn .arrow { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* HERO Opción B */
.hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--c-coral-soft);
  color: var(--c-coral);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-eyebrow .pin { width: 7px; height: 7px; background: var(--c-coral); border-radius: 50%; position: relative; }
.hero-eyebrow .pin::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--c-coral);
  opacity: 0.5;
  animation: hero-pulse 2.4s ease-out infinite;
}
@keyframes hero-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; }
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  max-width: 14ch;
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--c-coral); }
.hero-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-top: 2.75rem;
  padding-bottom: 3.5rem;
}
.hero-sub { max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--c-ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Folleto flotante */
.hero-leaflet {
  position: absolute;
  right: 0;
  top: 4.5rem;
  width: 220px;
  height: 290px;
  background: #fff;
  border-radius: 6px;
  padding: 22px 18px;
  box-shadow: 0 32px 60px -28px rgba(37, 27, 62, 0.4), 0 8px 20px -6px rgba(37, 27, 62, 0.18);
  transform: rotate(7deg);
  animation: floatLeaflet 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes floatLeaflet {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(7deg) translateY(-12px); }
}
.leaflet-brand { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.leaflet-brand img { height: 12px; width: auto; }
.leaflet-meta { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; color: var(--c-taupe); }
.leaflet-lines { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.leaflet-lines div { height: 3px; background: var(--c-taupe); opacity: 0.25; border-radius: 1px; }
.leaflet-lines div:nth-child(1) { width: 90%; }
.leaflet-lines div:nth-child(2) { width: 70%; }
.leaflet-lines div:nth-child(3) { width: 85%; }
.leaflet-lines div:nth-child(4) { width: 55%; }
.leaflet-image { margin-top: 14px; height: 80px; background: var(--c-sage); border-radius: 3px; position: relative; overflow: hidden; }
.leaflet-image::before {
  content: ""; position: absolute; bottom: 8px; left: 8px; right: 8px;
  height: 30px; background: rgba(37, 27, 62, 0.1); border-radius: 2px;
}
.leaflet-image::after {
  content: ""; position: absolute; top: 12px; left: 12px;
  width: 32px; height: 5px; background: var(--c-ink); opacity: 0.3; border-radius: 1px;
}
.leaflet-cta {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  height: 30px; background: var(--c-coral); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; font-weight: 500;
}

/* Hero metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.metric { padding: 1.5rem 1.5rem; border-right: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 0.3rem; }
.metric:nth-child(even) { background: rgba(222, 229, 216, 0.35); }
.metric:last-child { border-right: none; }
.metric .label {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-taupe); font-weight: 500;
}
.metric .value {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em; line-height: 1.1; color: var(--c-ink);
}
.metric .desc { font-size: 0.78rem; color: var(--c-taupe); margin-top: 0.15rem; }

/* Verticales */
.verticals { background: var(--c-cream); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-head p { max-width: 44ch; }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.vertical {
  background: var(--c-cream);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
}
.vertical + .vertical { border-left: 1px solid var(--c-line); }
.vertical .ico { width: 30px; height: 30px; color: var(--c-coral); stroke-width: 1.5; }
.vertical .num {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--c-taupe); letter-spacing: 0.1em;
}
.vertical .name {
  font-family: var(--font-display); font-size: 1.25rem;
  letter-spacing: -0.015em; color: var(--c-ink);
}
.vertical .detail { font-size: 0.85rem; color: var(--c-taupe); line-height: 1.5; margin-top: auto; }
.vertical:hover { background: var(--c-ink); }
.vertical:hover .name { color: var(--c-cream); }
.vertical:hover .detail { color: rgba(245, 241, 234, 0.7); }
.vertical:hover .num { color: rgba(245, 241, 234, 0.5); }

/* Proceso */
.process { background: var(--c-sage); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
  margin-top: 3.5rem;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 24px; left: 24px; right: 24px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--c-taupe) 0 6px, transparent 6px 12px);
  opacity: 0.45;
  z-index: 0;
}
.step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.step .num-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-sage); border: 1.5px solid var(--c-ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--c-ink); font-weight: 500;
}
.step:nth-child(1) .num-circle { background: var(--c-coral); border-color: var(--c-coral); color: #fff; }
.step h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--c-ink); }
.step p { font-size: 0.95rem; line-height: 1.55; color: var(--c-ink-soft); }
.step .meta {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.12em; color: var(--c-taupe); text-transform: uppercase;
}

/* Testimonios polaroid */
.testimonials { background: var(--c-cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-top: 3rem; }
.testimonial {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 2.25rem 2rem 1.75rem;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.testimonial:nth-child(1) { transform: rotate(-1deg); }
.testimonial:nth-child(2) { transform: rotate(0.7deg); }
.testimonial:hover {
  transform: rotate(0) translateY(-4px);
  border-color: var(--c-coral);
  box-shadow: 0 18px 40px -20px rgba(37, 27, 62, 0.2);
}
.testimonial blockquote {
  font-family: var(--font-display); font-size: 1.4rem;
  line-height: 1.35; letter-spacing: -0.01em; color: var(--c-ink);
}
.testimonial blockquote::before {
  content: "“"; font-family: var(--font-display); display: block;
  font-size: 3.5rem; line-height: 0.5; color: var(--c-coral); margin-bottom: 0.7rem;
}
.testimonial .who {
  display: flex; align-items: center; gap: 0.85rem;
  margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--c-line);
}
.testimonial .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-coral); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.95rem;
}
.testimonial .who-info { display: flex; flex-direction: column; }
.testimonial .who-name { font-size: 0.9rem; font-weight: 500; color: var(--c-ink); }
.testimonial .who-role { font-size: 0.8rem; color: var(--c-taupe); font-family: var(--font-mono); letter-spacing: 0.05em; }

/* CTA form */
.cta-form { background: var(--c-ink); color: var(--c-cream); }
.cta-form .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.cta-form h2 { color: var(--c-cream); font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.cta-form h2 .accent { color: var(--c-coral); }
.cta-form .intro p { color: rgba(245, 241, 234, 0.75); max-width: 38ch; margin-top: 1.25rem; font-size: 1.05rem; }
.cta-form .intro .eyebrow { color: var(--c-coral); }
.cta-form .direct {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  display: flex; flex-direction: column; gap: 0.85rem;
}
.cta-form .direct .label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
}
.cta-form .direct a {
  font-family: var(--font-display); font-size: 1.6rem;
  letter-spacing: -0.015em; color: var(--c-cream);
  border-bottom: 1px solid rgba(245, 241, 234, 0.25);
  padding-bottom: 0.25rem; display: inline-block; width: fit-content;
  transition: border-color 0.2s var(--ease);
}
.cta-form .direct a:hover { border-color: var(--c-coral); }
.form {
  background: rgba(245, 241, 234, 0.04);
  border: 1px solid rgba(245, 241, 234, 0.12);
  border-radius: 8px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.6); font-weight: 500;
}
.field input, .field textarea, .field select {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(245, 241, 234, 0.2);
  padding: 0.65rem 0; color: var(--c-cream);
  font-size: 0.95rem; border-radius: 0; outline: none;
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-coral); }
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 241, 234, 0.35); }
.field select option { background: var(--c-ink); color: var(--c-cream); }
.form-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; color: rgba(245, 241, 234, 0.65); line-height: 1.5; }
.form-check input { margin-top: 3px; accent-color: var(--c-coral); }
.form-check a { color: var(--c-cream); border-bottom: 1px solid rgba(245, 241, 234, 0.3); }
.form .submit {
  align-self: flex-start; background: var(--c-coral); color: #fff;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.form .submit:hover { background: var(--c-coral-deep); transform: translateY(-1px); }
.form-msg {
  font-size: 0.88rem; padding: 0.85rem 1rem; border-radius: 6px;
  background: rgba(235, 75, 75, 0.15);
  border: 1px solid rgba(235, 75, 75, 0.4);
  color: #ffb8b8; display: none;
}
.form-msg.success {
  background: rgba(222, 229, 216, 0.15);
  border-color: rgba(222, 229, 216, 0.4);
  color: var(--c-sage);
}
.form-msg.visible { display: block; }

/* Footer */
.site-footer { background: var(--c-sage); padding: 4rem 0 2rem; border-top: 1px solid var(--c-sage-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand .logo img { height: 28px; }
.footer-brand p { font-size: 0.92rem; color: var(--c-taupe); max-width: 32ch; line-height: 1.5; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-taupe); margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: var(--c-ink); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--c-coral); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--c-sage-deep);
  font-size: 0.82rem; color: var(--c-taupe);
}
.footer-bottom .made { font-family: var(--font-display); font-style: italic; }

/* Page-hero */
.page-hero { padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem); background: var(--c-cream); }
.page-hero .eyebrow {
  display: inline-block; margin-bottom: 1.5rem;
  padding: 7px 14px; background: var(--c-coral-soft); border-radius: 999px;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 1.5rem; max-width: 18ch; line-height: 0.96; }
.page-hero p.lead { max-width: 56ch; font-size: 1.15rem; }

/* Services */
.service-block {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--c-line);
}
.service-block:first-of-type { border-top: none; }
.service-block .label {
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.14em; color: var(--c-taupe); text-transform: uppercase;
}
.service-block h2 { margin-top: 0.85rem; font-size: clamp(1.85rem, 3.5vw, 2.6rem); letter-spacing: -0.025em; }
.service-block .body { font-size: 1.0625rem; line-height: 1.65; color: var(--c-ink-soft); }
.service-block .body p + p { margin-top: 1rem; }
.service-block ul.checks { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.service-block ul.checks li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.95rem; color: var(--c-ink-soft);
}
.service-block ul.checks li svg { flex-shrink: 0; margin-top: 4px; color: var(--c-coral); }

/* Benefits */
.benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); margin-top: 3rem;
}
.benefit { background: var(--c-cream); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 0.85rem; }
.benefit .num {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.14em; color: var(--c-coral); font-weight: 500;
}
.benefit h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--c-ink); }
.benefit p { font-size: 0.9375rem; line-height: 1.55; color: var(--c-ink-soft); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value { padding: 2rem; border: 1px solid var(--c-line); background: var(--c-paper); }
.value .num {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--c-coral); margin-bottom: 0.75rem;
}
.value h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--c-ink); }
.value p { font-size: 0.95rem; line-height: 1.55; color: var(--c-ink-soft); }
.about-two { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-two .col p { font-size: 1.0625rem; line-height: 1.65; color: var(--c-ink-soft); }
.about-two .col p + p { margin-top: 1rem; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2.25rem; }
.contact-info .item .label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-taupe); margin-bottom: 0.45rem;
}
.contact-info .item a, .contact-info .item p {
  font-family: var(--font-display); font-size: 1.5rem;
  letter-spacing: -0.015em; color: var(--c-ink);
}
.contact-info .item a {
  border-bottom: 1px solid var(--c-line); padding-bottom: 0.25rem;
  display: inline-block; transition: border-color 0.2s var(--ease);
}
.contact-info .item a:hover { border-color: var(--c-coral); }

.contact-page .form { background: var(--c-paper); border-color: var(--c-line); }
.contact-page .form .field input,
.contact-page .form .field textarea,
.contact-page .form .field select { color: var(--c-ink); border-bottom-color: var(--c-line); }
.contact-page .form .field input::placeholder,
.contact-page .form .field textarea::placeholder { color: var(--c-taupe); }
.contact-page .form .field label { color: var(--c-taupe); }
.contact-page .form .field input:focus,
.contact-page .form .field textarea:focus,
.contact-page .form .field select:focus { border-color: var(--c-coral); }
.contact-page .form .form-check { color: var(--c-ink-soft); }
.contact-page .form .form-check a { color: var(--c-ink); border-color: var(--c-line); }

/* Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-leaflet { animation: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-leaflet { width: 180px; height: 240px; top: 5rem; }
}
@media (max-width: 960px) {
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.5rem); max-width: none; }
  .hero-leaflet {
    position: relative; top: auto; right: auto;
    margin: 2.5rem auto 0;
    width: 200px; height: 260px;
  }
  @keyframes floatLeaflet {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-10px); }
  }
  .hero-leaflet { transform: rotate(3deg); }
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--c-line); }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
  .vertical:nth-child(3n+1) { border-left: none; }
  .vertical:nth-child(n+4) { border-top: 1px solid var(--c-line); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-form .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .about-two { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--c-cream);
    padding: 1.5rem var(--pad); gap: 1.25rem;
    border-bottom: 1px solid var(--c-line); align-items: flex-start;
  }
  .hero { padding-top: 2.5rem; }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .vertical { border-left: none !important; border-top: 1px solid var(--c-line); }
  .vertical:nth-child(-n+2) { border-top: none; }
  .vertical:nth-child(odd) { border-right: 1px solid var(--c-line); }
  .benefits { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonial:nth-child(1), .testimonial:nth-child(2) { transform: rotate(0); }
}
@media (max-width: 420px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--c-line); }
  .metric:last-child { border-bottom: none; }
}
