/* Jorge Aguilar Topografía · TOP&CAD — identidad: #FFCB05 / #231F20 / #FFFFFF · Montserrat */
:root {
  --y: #FFCB05;
  --y-hover: #FFD83D;
  --k: #231F20;
  --k2: #2E2A2B;
  --g: #646567;
  --g2: #4A4B4D;
  --g3: #BBBCBC;
  --line: #E4E4E5;
  --soft: #F5F5F4;
  --w: #FFFFFF;
  --max: 1180px;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--k); background: var(--w); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; }
h3 { font-size: 19px; font-weight: 800; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hidden { display: none; }

.kicker { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--g); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 4px; background: var(--y); }
.kicker--y { color: var(--y); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--y); border: 1px solid var(--y); border-radius: 999px; padding: 7px 14px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r); font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--y { background: var(--y); color: var(--k); border-color: var(--y); }
.btn--y:hover { background: var(--y-hover); }
.btn--ghost { color: var(--w); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--y); color: var(--y); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(35,31,32,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #3A3536; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--w); }
.nav__brand img { width: 62px; height: auto; }
.nav__brand span { font-size: 13px; font-weight: 800; line-height: 1.15; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: #E4E4E5; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 0; }
.nav__links a:not(.btn):hover { color: var(--y); }
.nav__toggle { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid #4A4546; border-radius: var(--r); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; background: var(--y); }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; color: var(--w); background: var(--k); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,31,32,.95) 0%, rgba(35,31,32,.7) 55%, rgba(35,31,32,.35) 100%); }
.hero__content { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 900; max-width: 18ch; margin: 22px 0 20px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #D9D9DA; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts { list-style: none; padding: 26px 0 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; border-top: 1px solid rgba(255,255,255,.18); max-width: 900px; }
.hero__facts strong { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; color: var(--y); line-height: 1.1; }
.hero__facts span { font-size: 13px; color: #C9C9CA; }

/* Presentación */
.about { padding: 110px 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.about__img { margin: 0; position: relative; }
.about__img img { width: 100%; aspect-ratio: 4/5; max-height: 620px; object-fit: cover; border-radius: var(--r); }
.about__img::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 6px solid var(--y); border-bottom: 6px solid var(--y); z-index: -1; }
.about h2 { margin-bottom: 22px; }
.about p { color: var(--g2); margin-bottom: 14px; }
.about blockquote { margin: 22px 0; padding: 18px 22px; background: var(--k); color: var(--w); font-weight: 600; border-left: 5px solid var(--y); border-radius: 0 var(--r) var(--r) 0; }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
.values span { color: var(--g); font-weight: 800; font-size: 12px; }

/* Servicios */
.services { padding: 100px 0; background: var(--soft); }
.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--g2); font-size: 17px; }
.lines { display: grid; gap: 28px; }
.line { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--w); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.line img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.line__body { padding: 40px; }
.line__num { font-size: 15px; font-weight: 900; color: var(--k); background: var(--y); padding: 4px 10px; border-radius: 4px; }
.line h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; margin: 16px 0 20px; }
.line ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.line li { font-size: 14.5px; color: var(--g2); padding-left: 20px; position: relative; }
.line li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--y); }
.line li strong { color: var(--k); }
.line--dark { background: var(--k); border-color: var(--k); }
.line--dark .line__body { order: -1; }
.line--dark h3, .line--dark li strong { color: var(--w); }
.line--dark li { color: #C9C9CA; }
.deliverables { margin-top: 22px; padding: 14px 16px; border: 1px solid #4A4546; border-radius: var(--r); font-size: 13.5px; color: #D9D9DA; }
.deliverables strong { color: var(--y); }

/* Tecnología */
.tech { padding: 110px 0; background: var(--k); color: var(--w); }
.tech__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.tech h2 { margin-bottom: 30px; }
.equip { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.equip li { padding: 16px 16px 16px 18px; border: 1px solid #3F3A3B; border-left: 4px solid var(--y); border-radius: var(--r); font-size: 14.5px; font-weight: 700; }
.label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g3); margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--y); color: var(--k); font-weight: 800; font-size: 13px; }
.tech__img { margin: 0; }
.tech__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.tech__img figcaption { margin-top: 10px; font-size: 13px; color: var(--g3); }

/* Experiencia */
.exp { padding: 110px 0; }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sectors article { border: 1px solid var(--line); border-top: 5px solid var(--y); border-radius: var(--r); padding: 24px; }
.sectors h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.sectors p { font-size: 14px; color: var(--g2); }
.sectors__wide { grid-column: 1 / -1; background: var(--k); color: var(--w); border-color: var(--k) !important; border-top-color: var(--y) !important; }
.sectors__wide p { color: #D9D9DA; }
.career { margin-top: 70px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; }
.career__intro h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; }
.career__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.career__list li { padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--y); }
.career__list strong { display: block; font-size: 16px; }
.career__list span { display: block; font-size: 14px; color: var(--g2); margin-top: 4px; }

/* Reels */
.reels { padding: 110px 0; background: var(--k); color: var(--w); overflow: hidden; }
.reels__head { display: flex; align-items: center; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.reels__head img { width: 110px; height: auto; }
.reels__head p:not(.kicker) { color: #C9C9CA; margin-top: 12px; }
.reels__head a { color: var(--y); font-weight: 700; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; justify-items: center; }
.phone { margin: 0; width: 100%; max-width: 290px; }
.phone__screen { position: relative; aspect-ratio: 9/19.5; border-radius: 38px; border: 10px solid #0F0D0E; box-shadow: 0 0 0 2px #4A4546, 0 30px 60px rgba(0,0,0,.45); overflow: hidden; background: #0F0D0E; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #0F0D0E; border-radius: 999px; z-index: 2; }
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__play { position: absolute; left: 0; right: 0; bottom: 18%; margin: 0 auto; width: 68px; height: 68px; border-radius: 50%; border: none; background: var(--y); cursor: pointer; z-index: 3; transition: transform .2s, opacity .2s; }
.phone__play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--k); }
.phone__play:hover { transform: scale(1.06); }
.phone.is-playing .phone__play { opacity: 0; pointer-events: none; }
.reels__hint { text-align: center; color: var(--g3); font-size: 13px; margin-top: 26px; }
.phone figcaption { text-align: center; margin-top: 16px; font-weight: 700; font-size: 14px; }

/* Contacto */
.contact { padding: 110px 0; background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; }
.contact h2 { margin-bottom: 16px; }
.contact__grid > div > p { color: var(--g2); font-size: 17px; }
.contact__data { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.contact__data li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact__data span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.contact__data a, .contact__data p { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact__data a:hover { color: var(--g2); text-decoration: underline; }
.qr { display: flex; align-items: center; gap: 16px; }
.qr img { border: 3px solid var(--y); padding: 6px; background: var(--w); border-radius: var(--r); }
.qr span { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form { background: var(--w); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 500; color: var(--k); background: var(--w); border: 1.5px solid #CFCFD1; border-radius: var(--r); padding: 13px 14px; min-height: 50px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 3px rgba(255,203,5,.55); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--g2); }
.form .check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--k); flex: none; }
.form .btn { justify-self: start; }

/* Pie */
.foot { background: var(--k); color: var(--g3); padding: 34px 0; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; font-size: 13px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 58px; height: auto; }
.foot__brand strong { display: block; color: var(--w); font-size: 14px; }
.foot__brand span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--y); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--y); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 60; }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: var(--k); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Responsivo */
@media (max-width: 960px) {
  .nav__links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--k); border-bottom: 1px solid #3A3536; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #3A3536; font-size: 16px; }
  .nav__links .btn { margin-top: 14px; }
  .nav__toggle { display: flex; }
  .about__grid, .tech__grid, .career, .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__img img { aspect-ratio: 4/3; }
  .line { grid-template-columns: minmax(0, 1fr); }
  .line img { min-height: 220px; max-height: 300px; }
  .line--dark .line__body { order: 0; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; justify-items: start; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .phone { scroll-snap-align: start; min-width: 220px; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .services, .tech, .exp, .reels, .contact { padding: 72px 0; }
  .line__body { padding: 26px 22px; }
  .equip, .sectors, .form__row { grid-template-columns: minmax(0, 1fr); }
  .contact__data li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .form { padding: 24px 18px; }
  .btn { width: 100%; }
  .nav__links .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
