/* ============ TOKENS ============ */
:root {
  --navy-900: #0a2540;
  --navy-800: #0f3057;
  --navy-700: #163d6b;
  --blue-600: #1d4e8f;
  --blue-500: #2f6fc0;
  --blue-100: #e6eef7;

  --gray-900: #1f2937;
  --gray-700: #475569;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f3f6f9;

  --white: #ffffff;
  --line: var(--gray-200);

  --text-heading: var(--navy-900);
  --text-body: var(--gray-700);
  --text-muted: var(--gray-500);

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 6px;
  --container-w: 1180px;
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.12);
}

/* ============ RESET ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text-heading);
}
p { margin: 0 0 16px; color: var(--text-body); }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--blue-600); color: var(--white);
  padding: 10px 16px; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--blue-600);
  margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-outline {
  background: var(--white);
  border-color: var(--gray-300);
  color: var(--text-heading);
}
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-logo-img { height: 40px; width: auto; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  font-weight: 600;
}
.brand-suffix {
  color: var(--blue-600);
  font-size: 13px;
  margin-left: 4px;
  vertical-align: super;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--blue-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text-heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-100) 0%, var(--white) 55%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,37,64,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,37,64,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-diagonal { position: absolute; bottom: 0; left: 0; width: 100%; height: 260px; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 20px; }
.hero-lead { font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--blue-600);
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 180px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============ BRANDS STRIP ============ */
.brands-strip {
  background: var(--navy-900);
  padding: 18px 0;
}
.brands-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.brands-strip-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
}
.brands-strip-names {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 15px;
}
.brands-strip-names .dot { color: var(--blue-500); }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-100); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-lead { font-size: 17px; }

/* ============ BRAND CARDS ============ */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.brand-card-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.brand-photo {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-photo--contain img {
  object-fit: contain;
  padding: 18px;
}
.brand-photo--laser img {
  object-position: 48% 34%;
  transform: scale(1.2);
  transform-origin: 40% 42%;
}
.brand-photo--laser::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 52%, var(--gray-100) 94%),
    linear-gradient(180deg, var(--gray-100) 0%, transparent 24%),
    radial-gradient(ellipse 72% 72% at 40% 46%, transparent 55%, rgba(243, 246, 249, 0.55) 82%);
  pointer-events: none;
}
.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.brand-logo {
  height: 56px;
  display: flex;
  align-items: center;
}
.brand-logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.brand-origin {
  flex-shrink: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--gray-200);
  padding: 6px 10px;
  border-radius: 999px;
}
.brand-card h3 { font-size: 24px; margin-bottom: 4px; }
.brand-tagline {
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.brand-desc { font-size: 15px; }
.brand-list { margin-bottom: 24px; flex-grow: 1; }
.brand-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text-body);
}
.brand-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 2px;
  background: var(--blue-600);
}
.brand-cta { align-self: flex-start; margin-top: auto; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text h2 { font-size: clamp(26px, 3.2vw, 36px); }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.point-icon {
  width: 44px; height: 44px;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.point h3 { font-size: 17px; margin-bottom: 8px; }
.point p { font-size: 14px; }

/* ============ SECTORES ============ */
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.sector-tags span {
  padding: 12px 22px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-heading);
  background: var(--white);
}

/* ============ CONTACT ============ */
.section-contact { background: var(--gray-100); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(26px, 3.2vw, 34px); }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-details strong {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-details a, .contact-details span { font-size: 16px; color: var(--text-heading); }
.contact-details a:hover { color: var(--blue-600); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 20px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.form-row-split > div { margin-bottom: 20px; }
label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
textarea { resize: vertical; min-height: 100px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.form-note {
  min-height: 20px;
  font-size: 14px;
  color: var(--blue-600);
  margin: -6px 0 16px;
}
.form-note.success { color: #15803d; }
.form-note.error { color: #b91c1c; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-900);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-chip {
  display: inline-flex;
  background: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.footer-brand p { margin: 8px 0 0; font-size: 13px; max-width: 320px; color: var(--gray-300); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 13px; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--gray-500); width: 100%; margin-top: 16px; border-top: 1px solid var(--navy-700); padding-top: 20px; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .brand-cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .main-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero { padding: 56px 0 48px; }
  .hero-stats { gap: 24px; }
  .section { padding: 64px 0; }
  .form-row-split { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
