@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f5f5f2;
  --ink: #111;
  --muted: #626262;
  --line: #d9d9d4;
  --dark: #151515;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, Arial, sans-serif; line-height: 1.5; }

/* HEADER */
.header { height: 82px; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #f5f5f2cc; backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 5; }
.brand { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; }
.brand-main { font-size: 22px; font-weight: 900; letter-spacing: -1.5px; }
.brand-sub { font-size: 8px; font-weight: 700; letter-spacing: 1.5px; margin-top: -2px; }
nav { display: flex; align-items: center; gap: 20px; }
nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-cta { border: 1px solid var(--ink); padding: 8px 14px; }
.menu { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* HERO */
.hero { min-height: calc(100vh - 82px); padding: 6vw 6vw; display: grid; grid-template-columns: 1.35fr .65fr; gap: 4vw; align-items: center; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; margin: 0 0 16px; color: var(--muted); }
.hero h1 { font-size: clamp(36px, 6vw, 84px); line-height: 0.95; letter-spacing: -2px; margin: 0 0 24px; font-weight: 800; word-break: break-word; }
.hero h1 strong { font-weight: 900; }
.lead { font-size: clamp(15px, 2vw, 18px); max-width: 600px; color: var(--muted); }
.actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 18px; text-decoration: none; font-weight: 700; font-size: 13px; border: 1px solid var(--ink); text-align: center; }
.primary { background: var(--dark); color: var(--white); }
.secondary { color: var(--ink); background: transparent; }
.hero-card { background: var(--dark); color: var(--white); aspect-ratio: 1/1; max-width: 430px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.card-number { font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.hero-card h2 { font-size: clamp(24px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 0; }
.hero-card h2 span { color: #aaa; }

/* TRUST BAR */
.trust { background: var(--dark); color: var(--white); padding: 24px 6vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.trust b { font-size: 11px; color: #999; }

/* SECCIONES GENERALES */
.section, .process { padding: 80px 6vw; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section h2, .process h2, .about h2, .contact h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 16px; word-break: break-word; }
.section-heading > p:last-child { color: var(--muted); max-width: 650px; font-size: 15px; }

/* SERVICIOS */
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.services article { padding: 24px 20px 28px 0; border-bottom: 1px solid var(--line); }
.services article:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.services article:nth-child(even) { padding-left: 24px; }
.services span { font-size: 11px; font-weight: 800; color: #888; }
.services h3 { font-size: clamp(18px, 2.5vw, 24px); margin: 16px 0 8px; }
.services p, .steps p { color: var(--muted); max-width: 500px; font-size: 14px; }

/* PASOS / PROCESO */
.process { background: #e8e8e3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps div { border-top: 1px solid #999; padding-top: 16px; }
.steps strong { font-size: 12px; }
.steps h3 { margin-top: 24px; font-size: 18px; }

/* NOSOTROS */
.about { padding: 80px 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; background: var(--dark); color: var(--white); }
.about .eyebrow { color: #999; }
.about p { color: #bbb; max-width: 600px; font-size: 15px; }
.about strong { color: #fff; }

/* CONTACTO */
.contact { padding: 80px 6vw; }
.contact-box { background: #deded8; padding: 40px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.contact-box p:not(.eyebrow) { color: #555; max-width: 600px; font-size: 15px; }
.contact-info { margin-top: 20px; font-size: 14px; }
.contact-info a { color: var(--ink); text-decoration: underline; font-weight: 600; }
.contact-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* FOOTER */
footer { background: var(--dark); color: #fff; padding: 40px 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 12px; }
footer div { display: flex; flex-direction: column; gap: 4px; }
footer span, footer p, footer small { color: #999; }
footer small { grid-column: 1/-1; max-width: 850px; margin-top: 20px; line-height: 1.4; }

.header, section, footer { overflow: hidden; }

/* ADAPTACIÓN MÓVIL (PANTALLAS MENORES A 800PX) */
@media (max-width: 800px) {
  .header { height: 64px; }
  .menu { display: block; }
  nav { display: none; position: absolute; top: 64px; right: 6vw; flex-direction: column; align-items: flex-end; background: #f5f5f2; padding: 20px; border: 1px solid #d9d9d4; gap: 15px; z-index: 100; width: 200px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
  nav.is-active { display: flex; }
  
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 30px; }
  .hero-card { max-width: none; width: 100%; aspect-ratio: auto; padding: 24px; }
  
  .trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .services, .steps, .about { grid-template-columns: 1fr; gap: 20px; }
  
  .services article:nth-child(odd) { border-right: 0; padding-right: 0; }
  .services article:nth-child(even) { padding-left: 0; }
  
  .contact-box { padding: 24px; display: flex; flex-direction: column; align-items: stretch; }
  .contact-actions { margin-top: 20px; flex-direction: column; width: 100%; }
  .contact-actions .btn { width: 100%; }
  
  footer { grid-template-columns: 1fr; }
  .section, .process { padding: 50px 6vw; }
}