/* ============ Variables de marca ============ */
:root {
  --navy-dark: #070C16;
  --navy-mid: #0B2548;
  --navy: #0E3874;
  --accent: #4F86D6;
  --accent-light: #8FB0DC;
  --gold: #FBBF24;
  --white: #FFFFFF;
  --ink: #1A2433;
  --gray: #4A5568;
  --bg-alt: #F4F7FB;
  --border: #E4EAF3;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(14, 56, 116, 0.08);
  --whatsapp: #25D366;
}

/* ============ Reset base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 110%; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.section-intro { color: var(--gray); margin-bottom: 40px; max-width: 560px; }
.placeholder-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

/* ============ Botones ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--navy); color: #fff; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-icon { height: 30px; width: auto; flex: none; filter: brightness(0) invert(1); }
.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .5px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name small {
  font-weight: 500;
  font-size: .55rem;
  letter-spacing: 2px;
  color: var(--accent-light);
}
.main-nav { display: none; gap: 24px; }
.main-nav a { color: #DCE6F4; font-size: .9rem; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-whatsapp-small {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.btn-whatsapp-small svg { width: 16px; height: 16px; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; }

.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  flex-direction: column;
  padding: 16px 20px;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .btn-whatsapp-small { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: 64px 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  filter: blur(2px) brightness(.78);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7,12,22,.68) 0%, rgba(11,37,72,.62) 55%, rgba(14,56,116,.54) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 28px; max-width: 640px; text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }

/* ============ Empresa ============ */
.empresa {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}
.empresa-inner { display: grid; grid-template-columns: 1fr; gap: 32px; }
.empresa-media { border-radius: var(--radius); overflow: hidden; }
.empresa-photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.empresa-content { max-width: 640px; }
.empresa-intro { color: var(--gray); font-size: 1rem; margin-bottom: 14px; }
.empresa-intro:last-of-type { margin-bottom: 28px; }
.empresa-intro b { color: var(--navy); }
.empresa-features { display: flex; flex-direction: column; gap: 20px; }
.empresa-feature { display: flex; gap: 14px; align-items: flex-start; }
.empresa-feature-icon { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.empresa-feature h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .3px; color: var(--navy); margin-bottom: 4px; }
.empresa-feature p { color: var(--gray); font-size: .9rem; }
@media (min-width: 860px) {
  .empresa-inner { grid-template-columns: 480px 1fr; gap: 48px; align-items: stretch; }
}

/* ============ Servicios ============ */
.services { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0 0; }
.services-intro { padding-bottom: 8px; }
.service-block { padding: 44px 0; border-top: 1px solid var(--border); }
.service-block.alt { background: var(--bg-alt); }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-block-head { max-width: 420px; }
.service-title-row { display: flex; align-items: center; gap: 14px; }
.service-title-row svg { width: 36px; height: 36px; color: var(--navy); flex: none; }
.service-title-row h3 { font-size: 1.25rem; color: var(--navy); }
.service-desc { color: var(--gray); font-size: .95rem; margin-top: 10px; }
.service-block-list { display: flex; flex-direction: column; gap: 10px; }
.service-block-list li {
  position: relative;
  padding-left: 18px;
  font-size: .92rem;
  color: var(--ink);
}
.service-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}
.service-block-list li b { color: var(--navy); }
@media (min-width: 860px) {
  .service-block-inner { grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
}
@media (min-width: 640px) {
  .service-block-list { display: grid; grid-template-columns: 1fr; gap: 10px 28px; }
}
@media (min-width: 860px) {
  .service-block-list.two-col,
  .service-block-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Proceso (Soluciones llave en mano) ============ */
.process { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; background: #fff; }
.process h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); max-width: 720px; }
.process .section-intro { max-width: 640px; }
.process-steps { margin-top: 36px; display: flex; flex-direction: column; }
.process-step { display: flex; gap: 22px; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex: none;
}
.step-line { width: 2px; flex: 1; background: var(--border); min-height: 28px; }
.step-content { padding-bottom: 32px; padding-top: 8px; }
.step-content h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.step-content p { color: var(--gray); font-size: .92rem; max-width: 520px; }
.process-step:last-child .step-content { padding-bottom: 0; }

/* ============ Contacto ============ */
.contact { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0; background: var(--navy-dark); color: #fff; }
.contact-inner { display: grid; gap: 40px; grid-template-columns: 1fr; }
.contact-text { display: flex; flex-direction: column; }
.contact h2 { color: #fff; }
.contact-tagline {
  color: var(--accent-light);
  font-size: 1.05rem;
  margin: 14px 0 28px;
  max-width: 460px;
}
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; align-items: center; gap: 12px; color: #DCE6F4; font-size: .95rem; }
.contact-details svg { width: 22px; height: 22px; flex: none; color: var(--accent-light); }
.contact-details a:hover { color: #fff; text-decoration: underline; }
.contact-ig a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-ig a:hover svg { color: #fff; }
.contact-ig svg { transition: color .2s ease; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-size: .85rem; color: var(--navy); font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D6DEE9;
  border-radius: 8px;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: 6px; align-self: flex-start; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1fr; } }

.contact-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}
.contact-signoff-icon { height: 40px; width: auto; flex: none; filter: brightness(0) invert(1); }
.contact-signoff-name { font-size: 1.25rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.contact-signoff-tagline { font-size: .72rem; color: var(--accent-light); text-transform: uppercase; letter-spacing: 2px; margin-top: 2px; }

.contact-map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 220px; border: 0; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-dark);
  color: #B9C8DE;
  padding: 24px 0;
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
