/* UI Creativo — landing */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --soft: #F4F4F2;
  --muted: #333333;
  /* Paleta de marca (aprox. RGB de las muestras CMYK del .ai) */
  --orange: #F47B20;   /* C0 M65 Y100 K0 */
  --lime: #D6DE23;     /* C20 M0 Y100 K0 */
  --lavender: #C7A9DC; /* C20 M35 Y0 K0 */
  --pink: #EE3A7C;     /* C0 M90 Y15 K0 */
  --accent: var(--orange);
  --radius: 28px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #4A4A4A; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 48px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; color: #fff; }

/* Colores utilitarios */
.bg-orange { background: var(--orange); } .bg-lime { background: var(--lime); }
.bg-lavender { background: var(--lavender); } .bg-pink { background: var(--pink); }
.c-orange { color: var(--orange); } .c-lime { color: var(--lime); }
.c-lavender { color: var(--lavender); } .c-pink { color: var(--pink); }
.accent { color: var(--accent); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 16px 30px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 18px;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #262626; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: var(--soft); }
.btn-sm { font-size: 16px; padding: 12px 22px; min-height: 44px; }

/* Logo */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); line-height: 1; }
.logo-ui { font-weight: 900; font-stretch: 112%; font-size: 34px; letter-spacing: -1px; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; margin: 0 4px 0 5px; }
.logo-word { font-weight: 800; font-size: 30px; letter-spacing: -1px; }
.logo-xl .logo-ui { font-size: clamp(56px, 9vw, 120px); letter-spacing: -3px; }
.logo-xl .logo-word { font-size: clamp(50px, 8vw, 106px); letter-spacing: -3px; }
.logo-xl .logo-dot { width: clamp(12px, 1.6vw, 22px); height: clamp(12px, 1.6vw, 22px); background: var(--accent); margin: 0 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.nav-links a:not(.btn) { text-decoration: none; }
@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .logo-ui { font-size: 28px; } .logo-word { font-size: 24px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.kicker { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.kicker span:last-child { margin-left: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; }
.display { margin: 0; font-size: clamp(48px, 7vw, 104px); line-height: .92; font-weight: 900; font-stretch: 105%; letter-spacing: -0.03em; }
.hl { background: var(--accent); padding: 0 12px; display: inline-block; }
.lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 560px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tiles { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { aspect-ratio: 1 / 1; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-right { align-items: flex-end; text-align: right; }
.tile-round-bl { border-radius: 28px 28px 28px 999px; }
.tile-round-tr { border-radius: 28px 999px 28px 28px; }
.tile svg { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.tile span { font-weight: 800; font-size: clamp(17px, 1.8vw, 22px); }

/* Cinta */
.ribbon { background: var(--ink); color: #fff; padding: 22px 0; }
.ribbon-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; font-weight: 800; font-stretch: 110%; font-size: clamp(16px, 2vw, 22px); text-transform: uppercase; letter-spacing: 1px; }

/* Encabezados de sección */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: .95; font-weight: 900; letter-spacing: -0.03em; }
.muted { margin: 0; font-size: 18px; line-height: 1.5; max-width: 420px; color: var(--muted); }
.link-strong { font-weight: 700; }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.card h3 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.card-meta { margin-top: auto; font-size: 14px; font-weight: 700; }
.card-media { height: 200px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.callout { background: var(--soft); border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.callout p { margin: 0; font-size: 22px; font-weight: 700; max-width: 760px; }

/* Proceso */
.dark { background: var(--ink); color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li:nth-child(1) { --c: var(--orange); } .steps li:nth-child(2) { --c: var(--lime); }
.steps li:nth-child(3) { --c: var(--lavender); } .steps li:nth-child(4) { --c: var(--pink); }
.steps li { border-top: 4px solid var(--c); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.steps .num { font-size: 56px; font-weight: 900; line-height: 1; color: var(--c); }
.steps h3 { margin: 0; font-size: 24px; font-weight: 800; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: #D4D4D4; }

/* Trabajos */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; border-radius: 24px; }
.ph { height: 320px; background: var(--soft); border: 2px dashed #8A8A8A; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #4A4A4A; }

/* Contacto */
.contact { background: var(--accent); }
.contact-inner { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact .lead { color: var(--ink); }
.display-2 { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: .92; font-weight: 900; letter-spacing: -0.03em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; font-weight: 700; }
@media (max-width: 480px) { .card { padding: 22px; } }

/* Footer */
.footer { background: var(--ink); color: #fff; }
.footer a { color: #fff; }
.footer-inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.footer .logo { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-bottom { border-top: 1px solid #3A3A3A; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #BDBDBD; }
.footer-bottom a { color: #BDBDBD; }

/* 404 */
.page-404 { min-height: 100vh; justify-content: center; align-items: flex-start; }
