@font-face {
  font-family: 'Flexo';
  src: url('../fonts/Flexo-Regular.woff2') format('woff2'),
       url('../fonts/Flexo-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flexo';
  src: url('../fonts/Flexo-Medium.woff2') format('woff2'),
       url('../fonts/Flexo-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flexo';
  src: url('../fonts/Flexo-Demi.woff2') format('woff2'),
       url('../fonts/Flexo-Demi.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Flexo';
  src: url('../fonts/Flexo-Bold.woff2') format('woff2'),
       url('../fonts/Flexo-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0f12;
  --surface: #16181d;
  --surface-2: #1c1f26;
  --ink: #f3f4f6;
  --muted: #9aa0ab;
  --line: #2a2e37;
  --accent: oklch(0.72 0.15 258);
  --accent-strong: oklch(0.5 0.16 258);
  --accent-ink: #0a0e1a;
  --maxw: 1160px;
  --head: "Flexo", system-ui, sans-serif;
  --sans: "Flexo", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.ph {
  position: relative; border: 1px solid var(--line); border-radius: 8px;
  background-color: #1a1d23;
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(255,255,255,0.025) 11px 12px);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.04em; color: #6b7280; text-align: center; padding: 12px;
}
.ph.filled { background-size: cover; background-position: center; }
.ph.filled::after { display: none; }
.ph.filled .tmp-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.03em;
  background: rgba(14,15,18,0.72); color: #f3f4f6; border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 9px; border-radius: 5px; backdrop-filter: blur(3px);
}

header.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,15,18,0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.nav .wrap { max-width: none; margin: 0; padding: 0 28px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 21px; font-weight: 700; letter-spacing: 0.04em; }
.brand b { color: var(--accent); }
.brand img { height: 34px; width: auto; }
footer .brand img { height: 30px; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 6px; transition: all 0.18s; cursor: pointer; border: 1px solid transparent; font-family: var(--head); }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { filter: brightness(1.18); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero { padding: 100px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -30%; right: -10%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, oklch(0.72 0.15 258 / 0.16), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(42px, 5.2vw, 66px); margin: 20px 0 24px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { aspect-ratio: 4/5; }
.stats { display: flex; gap: 44px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat .n { font-family: var(--head); font-size: 36px; color: var(--accent); font-weight: 700; }
.stat .l { font-size: 13px; color: var(--muted); }

section { padding: 92px 0; }
.sec-head { max-width: 62ch; margin-bottom: 50px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 16px; }
.sec-head p { color: var(--muted); font-size: 17px; }

#servicios { background: var(--surface); }
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prod-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; transition: border-color 0.18s, transform 0.18s; }
.prod-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.prod-card .ph { aspect-ratio: 16/9; margin-bottom: 20px; }
.prod-card h3 { font-size: 21px; margin-bottom: 8px; }
.prod-card p { color: var(--muted); font-size: 15px; }

.also-offer { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.also-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 44px; position: relative; transition: background-color 0.25s ease; }
.mv-card:hover { background: var(--surface-2); }
.mv-card .num { font-family: var(--head); font-size: 50px; font-weight: 700; color: var(--line); line-height: 1; }
.mv-card h3 { font-size: 27px; margin: 8px 0 16px; }
.mv-card p { color: var(--muted); font-size: 16px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { font-size: 13px; font-weight: 500; padding: 7px 15px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-grid .ph { aspect-ratio: 5/4; }
.about-grid h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 18px; }
.about-grid p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }

#contacto { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info .row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: none; }
.contact-info dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 96px; flex-shrink: 0; padding-top: 2px; }
.contact-info dd { font-size: 16px; font-weight: 500; }
.wa-card { background: linear-gradient(155deg, var(--surface-2), #14160f); border: 1px solid var(--line); border-radius: 14px; padding: 44px; display: flex; flex-direction: column; }
.wa-card h3 { font-size: 27px; margin-bottom: 12px; }
.wa-card p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; align-self: flex-start; background: #25D366; color: #08240f; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 8px; font-family: var(--head); transition: transform 0.16s, box-shadow 0.16s; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.3); }
.map-ph { aspect-ratio: 16/6; margin-top: 28px; padding: 0; }
.map-ph iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 7px; filter: grayscale(0.15) contrast(1.05); }

footer { padding: 48px 0; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-row p { font-size: 13px; color: var(--muted); }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.45); transition: transform 0.18s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  header.nav .wrap { padding: 0 18px; }
  .nav-links a:not(.btn) { display: none; }
  .hero-grid, .mv-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; aspect-ratio: 16/10; }
  .prod-grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; flex-wrap: wrap; }
  section, .hero { padding: 56px 0; }
}
