/* Division 25 LLC - hoja de estilos única del sitio.
   Colores y medidas en :root; cambialos acá y se aplican a todo el sitio. */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --accent: #F9C349;      /* amarillo de botones y líneas */
  --accent-dark: #E0A920;
  --ink: #1d1d1b;         /* títulos */
  --text: #54595F;        /* texto común */
  --bg: #FFFFFF;
  --bg-warm: #F8F7F4;     /* secciones color crema */
  --line: #DDDDDD;
  --max: 1180px;          /* ancho máximo del contenido */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
strong { color: #3a3a3a; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.warm { background: var(--bg-warm); }
section { padding: 80px 0; }

/* ---------- Cabecera (menú sobre la foto) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; justify-content: flex-end; align-items: center;
  padding-top: 26px; padding-bottom: 26px;
}
.brand {
  color: #fff; text-decoration: none; font-weight: 600;
  letter-spacing: .12em; font-size: 15px;
}
.nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a {
  color: #fff; text-decoration: none; font-size: 14px; letter-spacing: .04em;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* ---------- Hero (foto grande de arriba) ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 120px 24px 60px;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .32);
}
.hero > * { position: relative; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 72px); margin: 0; }
.hero-home { min-height: 540px; }
.hero-home h1 { font-weight: 600; letter-spacing: .12em; }
.hero-home .sub {
  font-size: clamp(20px, 3.2vw, 38px); letter-spacing: .2em; font-weight: 600;
  margin: .2em 0 .6em;
}
.hero-home .tag {
  display: inline-block; background: rgba(249, 195, 73, .85); color: #fff;
  padding: 2px 14px; font-size: clamp(16px, 2.2vw, 26px);
}

/* ---------- Títulos de sección ---------- */
.eyebrow { text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 4px; }
.section-title { font-size: clamp(30px, 4vw, 44px); }
.rule { width: 64px; height: 2px; background: var(--accent); margin: 18px auto 48px; border: 0; }

/* ---------- Tarjetas de servicios ---------- */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.card.wide img { aspect-ratio: 4 / 3; }
.card h3 { font-size: 21px; margin: 20px 0 8px; }
.card p { font-size: 15.5px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; padding: 12px 28px;
  font-size: 15px; border: 1px solid var(--accent); border-radius: 2px;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: transparent; color: #fff; border-color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Bloques imagen + texto ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split.landscape img { aspect-ratio: 4 / 3; }
.split h2 { font-size: clamp(28px, 3.4vw, 36px); }
.caption { text-align: center; margin-top: 20px; }
.caption h3 { font-size: 24px; margin-bottom: 4px; }
.caption p { font-size: 14px; line-height: 1.6; color: var(--ink); }

/* ---------- Franja de llamada a la acción ---------- */
.cta {
  position: relative; text-align: center; color: #fff;
  background: #9a9ca0 center / cover;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(110, 112, 118, .72); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); max-width: 760px; margin: 0 auto; }
.cta .rule { margin: 26px auto; }
.cta p { font-size: 18px; margin-bottom: 30px; }

/* ---------- Logos de tecnologías ---------- */
.logos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 28px 32px; align-items: center; justify-items: center; margin: 40px 0;
}
.logos img {
  max-height: 44px; width: auto; max-width: 130px;
  filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s;
}
.logos img:hover { filter: none; opacity: 1; }

/* ---------- About ---------- */
.lead { font-size: clamp(24px, 3vw, 36px); color: var(--ink); line-height: 1.3; }
.values { padding-left: 1.1em; margin: 0; }
.values li { margin-bottom: .35em; }
.closing { max-width: 820px; margin: 0 auto; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact-grid h2 { font-size: clamp(32px, 4vw, 48px); }
.contact-grid .intro { font-size: 19px; }
.info dt { text-transform: uppercase; font-size: 13px; letter-spacing: .06em; color: var(--ink); margin-top: 26px; }
.info dd { margin: 2px 0 0; font-size: 20px; }
.info a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Pie de página ---------- */
.site-footer { border-top: 1px solid #eee; padding: 30px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer .nav a { color: var(--text); }

/* ---------- Celular y tablet ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .site-header .wrap { flex-direction: column; gap: 10px; padding-top: 16px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .hero { min-height: 340px; padding-top: 110px; }
  .hero-home { min-height: 460px; }
  .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card h3 { font-size: 18px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}
@media (max-width: 440px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 4 / 3; }
}
