:root {
  --yellow: #FFD600;
  --yellow-dark: #E6C100;
  --black: #0B0B0B;
  --gray-900: #1A1A1A;
  --gray-700: #333333;
  --gray-400: #6B6B6B;
  --gray-100: #F2F2F2;
  --white: #FFFFFF;
  --font-head: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius: 10px;
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--black); letter-spacing: 0.02em; }
.brand-name strong { color: var(--yellow-dark); }

.nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

@media (max-width: 1180px) and (min-width: 1025px) {
  .nav { gap: 16px; }
  .nav a { font-size: 12.5px; }
}
.nav a:hover { color: var(--black); border-color: var(--yellow); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-small { padding: 10px 20px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url('../assets/img/hero-bg.jpg') center 22% / cover no-repeat, var(--black);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,11,11,0.92) 30%, rgba(11,11,11,0.55) 65%, rgba(11,11,11,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: 90px; padding-bottom: 90px; }
.eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); font-size: 44px; text-transform: uppercase; margin-bottom: 14px; }
.hero-slogan { color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: 20px; margin-bottom: 18px; }
.hero-copy { color: #D8D8D8; font-size: 17px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-100); }
.kicker {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow-dark);
  margin-bottom: 10px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: 32px; text-transform: uppercase; }
.section-sub { color: var(--gray-400); margin-top: 12px; font-size: 16px; }

/* ---------- Two column (Nosotros / Contacto) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col-text h2 { font-size: 30px; text-transform: uppercase; margin: 6px 0 18px; }
.two-col-text p { color: var(--gray-700); margin-bottom: 20px; }
.two-col-media img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 15px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Misión / Visión / Valores ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.mv-card { background: var(--white); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.mv-card h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 14px; }
.mv-card p { color: var(--gray-700); }

.values-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-chip { background: var(--white); border-radius: var(--radius); padding: 20px 18px; text-align: left; box-shadow: 0 6px 16px rgba(0,0,0,0.04); }
.value-chip strong { display: block; font-family: var(--font-head); font-size: 15px; text-transform: uppercase; margin-bottom: 8px; color: var(--black); }
.value-chip span { font-size: 13px; color: var(--gray-400); line-height: 1.5; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white);
  border: 1px solid #ECECEC;
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; text-transform: uppercase; margin-bottom: 10px; color: var(--black); }
.service-card p { color: var(--gray-400); font-size: 14px; }

/* ---------- Proyectos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.project-card img { height: 200px; width: 100%; object-fit: cover; }
.project-body { padding: 22px; }
.project-body h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 10px; color: var(--yellow-dark); }
.project-body p { font-size: 14px; color: var(--gray-700); }

/* ---------- Normativas ---------- */
.norms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.norm-card { text-align: center; padding: 30px 20px; }
.norm-card h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 10px; }
.norm-card p { color: var(--gray-400); font-size: 14px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--black); color: var(--white); padding: 60px 0 24px; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 42px; color: var(--yellow); }
.stat-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: #BBBBBB; margin-top: 8px; }
.stats-note { margin-top: 30px; font-size: 12px; color: #777; font-style: italic; }

/* ---------- Contacto ---------- */
.contact-list { list-style: none; margin-top: 10px; }
.contact-list li { margin-bottom: 14px; color: var(--gray-700); }
.contact-list a { color: var(--black); font-weight: 700; }

.contact-form { background: var(--gray-100); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 13px; font-weight: 700; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.03em; display: flex; flex-direction: column; gap: 6px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  padding: 12px 14px;
  border: 1px solid #DADADA;
  border-radius: 6px;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }

.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: normal; min-height: 20px; }
.form-status-ok { color: #1B7F3A; }
.form-status-error { color: #C0392B; }
.form-alt { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--gray-400); text-align: center; }
.form-alt a { color: var(--black); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #C9C9C9; padding: 60px 0 20px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.brand-footer .brand-name { color: var(--white); }
.footer-slogan { margin-top: 10px; font-style: italic; color: var(--yellow); }
.site-footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a, .site-footer p { display: block; font-size: 14px; margin-bottom: 10px; color: #B5B5B5; }
.site-footer a:hover { color: var(--yellow); }
.footer-copy { text-align: center; font-size: 12px; color: #777; border-top: 1px solid #262626; padding-top: 20px; }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col-media { order: -1; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .norms-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 3px solid var(--yellow);
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 16px 24px; border-bottom: 1px solid var(--gray-100); }
  .nav-toggle { display: flex; }
  .header-inner .btn-small { display: none; }
  .hero h1 { font-size: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
