/* ===== Reset & base ===== */
* { box-sizing: border-box; }
body { margin: 0; }
::placeholder { color: #9aa0a4; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: #5f666b;
  font-size: 16px;
  line-height: 1.7;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px 0;
  color: #ED6F2C;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: #13191e;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.section-title-light { color: #ffffff; margin-bottom: 48px; }

.text-orange { color: #ED6F2C; }

.btn-pill {
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
}

.btn-orange { background: #ED6F2C; color: #fff; }
.btn-orange:hover { background: #d65f1f; }

.btn-outline-dark {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.08); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eeeeec;
}

.header-inner {
  padding: 14px clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 50px; width: auto; display: block; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-desktop a {
  text-decoration: none;
  color: #2b3238;
  font-size: 14px;
  font-weight: 600;
}

.nav-desktop a.btn-pill { padding: 11px 22px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: #2b3238;
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 8px 0;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile a {
  text-decoration: none;
  color: #2b3238;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
}

.nav-mobile-phone { color: #ED6F2C !important; font-weight: 700 !important; }

@media (max-width: 899px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero { background: #0f1418; }

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-text {
  flex: 1 1 520px;
  min-width: 300px;
  padding: clamp(56px, 7vw, 104px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  margin: 0 0 26px 0;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-desc {
  margin: 0 0 36px 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-image {
  flex: 0 1 540px;
  width: 100%;
  min-width: 280px;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin: clamp(32px, 6vw, 56px) auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #ED6F2C;
  color: #fff;
  padding: 22px 30px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 12px;
}

.hero-badge-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
}

.hero-badge-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 190px;
}

/* ===== Stats band ===== */
.stats-band { background: #ED6F2C; }

.stats-inner {
  padding: 26px clamp(24px, 4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: center;
}

.stats-inner span { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.3px; }
.stats-inner .dot { color: rgba(255, 255, 255, 0.5); font-weight: 400; }

/* ===== Quienes somos ===== */
.quienes {
  background: #ffffff;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 44px);
}

.quienes-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.quienes-text { flex: 1 1 440px; min-width: 300px; }
.quienes-text .section-title { margin-bottom: 24px; }

.quienes-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 34px;
}

.info-card {
  background: #f6f5f2;
  border-radius: 18px;
  padding: 30px;
}

.info-card h3 {
  margin: 0 0 10px 0;
  color: #13191e;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
}

.info-card p {
  margin: 0;
  color: #5f666b;
  font-size: 15.5px;
  line-height: 1.8;
}

.quienes-images {
  flex: 1 1 380px;
  min-width: 300px;
  display: flex;
  gap: 18px;
  align-items: flex-end;
}

.quienes-img {
  width: 50%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.quienes-img-short { height: clamp(300px, 32vw, 400px); }
.quienes-img-tall { height: clamp(360px, 40vw, 500px); }

/* ===== Servicios ===== */
.servicios {
  background: #f6f5f2;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 44px);
}

.servicios-header { max-width: 680px; margin-bottom: 54px; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.18s;
  background: transparent;
  color: #8a9197;
}

.tab-btn:hover { color: #13191e; }

.tab-btn.is-active { background: #13191e; color: #ffffff; }
.tab-btn.is-active:hover { color: #ffffff; }

.tab-panel-frame {
  background: #fff;
  border: 1px solid #ececea;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 56px);
  box-shadow: 0 24px 60px rgba(15, 20, 24, 0.06);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.panel-text { flex: 1 1 340px; min-width: 0; order: 1; }

.area-badge {
  display: inline-block;
  background: #f6f5f2;
  color: #ED6F2C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.area-badge-new { background: #ED6F2C; color: #fff; }

.panel-title {
  margin: 0 0 20px 0;
  color: #13191e;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.panel-title-tight { margin-bottom: 16px; }

.panel-desc {
  margin: 0 0 18px 0;
  color: #5f666b;
  font-size: 15.5px;
  line-height: 1.8;
}

.panel-subhead {
  margin: 0 0 10px 0;
  color: #13191e;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.panel-list {
  margin: 0 0 28px 0;
  padding-left: 20px;
  color: #5f666b;
  font-size: 15.5px;
  line-height: 1.8;
}

.panel-list li { margin-bottom: 10px; }

.panel-list-2col {
  font-size: 15px;
  line-height: 1.75;
  columns: 2;
  column-gap: 32px;
}

.panel-list-2col li { break-inside: avoid; }

.panel-img {
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  object-fit: cover;
  border-radius: 16px;
  flex: 1 1 340px;
  min-width: 0;
  order: 2;
}

/* ===== CTA band ===== */
.cta-band {
  background: #0f1418;
  padding: clamp(48px, 6vw, 84px) clamp(24px, 5vw, 44px);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.cta-inner h2 {
  margin: 0;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  max-width: 660px;
}

.cta-inner .btn-pill { font-size: 15.5px; padding: 16px 34px; white-space: nowrap; }

/* ===== Contacto ===== */
.contacto {
  background: #13191e;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 5vw, 44px);
}

.contacto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.contact-form { flex: 1.7 1 420px; min-width: 300px; }

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #2c343b;
  background: #1b232a;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  border-radius: 12px;
  padding: 15px 18px;
}

.form-row input { flex: 1 1 150px; min-width: 120px; }

.form-full { width: 100%; margin-bottom: 16px; display: block; }

.contact-form textarea { resize: vertical; margin-bottom: 22px; }

.btn-submit { background: #ED6F2C; color: #fff; border: none; font-size: 15px; padding: 16px 38px; }

.sent-msg { margin: 0; color: #ED6F2C; font-weight: 600; font-size: 15px; }

.error-msg { margin: 10px 0 0 0; color: #e05a4e; font-weight: 600; font-size: 14px; }

.contact-card {
  flex: 1 1 280px;
  min-width: 260px;
  background: #1b232a;
  border-radius: 20px;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
}

.contact-label {
  margin: 0 0 6px 0;
  color: #8a9197;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-value {
  text-decoration: none;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-value-email { font-size: 19px; font-weight: 500; }

.contact-divider { height: 1px; background: #2c343b; }

/* ===== Footer ===== */
.site-footer {
  background: #ffffff;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 44px) 36px;
}

.footer-inner { text-align: center; }

.footer-logo { height: 88px; width: auto; display: inline-block; margin-bottom: 30px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #ededed;
  padding-top: 26px;
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }

.footer-nav a {
  text-decoration: none;
  color: #8a8e92;
  font-size: 13.5px;
  font-weight: 500;
}

.footer-copy { margin: 0; color: #a7abae; font-size: 12.5px; }
