*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

@font-face {
  font-family: 'Flama Black Italic';
  src: url('fonts/Flama-BlackItalic.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Baskerville SemiBold';
  src: url('fonts/Baskerville-SemiBold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

body { background: #FFFFFF; color: #2C2C2C; font-family: 'Lato', sans-serif; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; cursor: pointer; }
input, button { font-family: 'Lato', sans-serif; }
input::placeholder { color: rgba(44,44,44,0.32); font-size: 14px; font-weight: 300; }
button { cursor: pointer; border: none; }
::selection { background: #969484; color: white; }

.container { max-width: 1280px; margin: 0 auto; }
.accent { color: #969484; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.overline { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.overline-bar { width: 28px; height: 1px; background: #969484; }
.overline span { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #969484; }

.section-title {
  font-family: 'Flama Black Italic', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 0.92;
  color: #969484;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(44,44,44,0.07);
  transition: box-shadow 0.35s ease;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(44,44,44,0.1); }

.logo { display: inline-flex; align-items: center; height: 44px; }
.logo img, .footer-logo { height: 44px; width: auto; display: block; user-select: none; }

.nav-links { display: flex; align-items: center; gap: 48px; }
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2C2C2C;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-cta {
  background: #969484;
  color: white;
  padding: 12px 28px;
  opacity: 1;
  transition: background 0.2s;
}
.nav-links a.nav-cta:hover { background: #78766A; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 104px 64px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-amp {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-52%);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 680px;
  line-height: 1;
  color: rgba(150,148,132,0.035);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-content {
  display: flex;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-left { flex: 1; min-width: 0; }

.hero-anim { opacity: 0; animation: heroFadeUp 0.8s ease both; animation-fill-mode: both; }

.hero-title {
  font-family: 'Flama Black Italic', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.05;
  color: #969484;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.hero-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(44,44,44,0.78);
  max-width: 480px;
  margin-bottom: 48px;
  text-wrap: pretty;
}

.brand-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2C2C2C;
  border: 1px solid rgba(44,44,44,0.22);
  padding: 8px 18px;
}

.hero-form {
  flex: 0 0 420px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease both;
}

.form-card, .form-success {
  background: #F5F4F2;
  border-top: 3px solid #969484;
  padding: 44px 40px;
}

.form-card h2 {
  font-family: 'Flama Black Italic', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 0.02em;
  color: #969484;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(44,44,44,0.62);
  margin-bottom: 36px;
  line-height: 1.6;
}

.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(44,44,44,0.42);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(44,44,44,0.18);
  padding: 10px 0;
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  outline: none;
  transition: border-bottom-color 0.2s;
}
.field input:focus { border-bottom-color: #969484; }

.form-error {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: #C0392B;
  margin-bottom: 14px;
  line-height: 1.4;
}

.form-card button {
  width: 100%;
  background: #969484;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px;
  transition: background 0.25s;
}
.form-card button:hover { background: #78766A; }

.form-disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(44,44,44,0.45);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.success-check {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #969484;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.form-success h3 {
  font-family: 'Flama Black Italic', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: #969484;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.form-success p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(44,44,44,0.68);
  line-height: 1.6;
  max-width: 280px;
}

/* ─── COBRANDING ─── */
.cobranding { background: #F5F4F2; }
.cobranding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
}
.cobranding-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.cobranding-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.cobranding-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 64px;
}
.cobranding-caption .overline span { color: #969484; }
.cobranding-caption .overline-bar { background: #969484; }
.cobranding-caption p {
  color: #2C2C2C;
  font-size: 28px;
  max-width: 420px;
  line-height: 1.3;
}

@media (max-width: 880px) {
  .cobranding { background: none; }
  .cobranding-grid {
    display: block;
    position: relative;
    height: 60vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
  }
  .cobranding-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .cobranding-caption {
    position: absolute;
    left: 64px;
    right: auto;
    bottom: 48px;
    z-index: 1;
    padding: 0;
  }
  .cobranding-caption .overline span { color: #FFFFFF; }
  .cobranding-caption .overline-bar { background: #FFFFFF; }
  .cobranding-caption p {
    color: #FFFFFF;
    font-size: 26px;
    max-width: 520px;
  }
}

/* ─── PROPUESTA ─── */
.propuesta { background: #F5F4F2; padding: 120px 64px; }
.propuesta .container > div:first-child { margin-bottom: 80px; }

.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.prop-card { transition: background 0.25s; }
.prop-card:hover { background: rgba(255,255,255,0.7); }
.prop-card .prop-icon { color: #969484; margin-bottom: 18px; }
.prop-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: #969484;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.prop-card p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(44,44,44,0.72);
}

.prop-1 { padding: 44px 44px 44px 0; border-top: 1px solid rgba(44,44,44,0.12); }
.prop-2 { padding: 44px; border-top: 1px solid rgba(44,44,44,0.12); border-left: 1px solid rgba(44,44,44,0.08); }
.prop-3 { padding: 44px 0 44px 44px; border-top: 1px solid rgba(44,44,44,0.12); border-left: 1px solid rgba(44,44,44,0.08); }
.prop-4 { padding: 44px 44px 44px 0; border-top: 1px solid rgba(44,44,44,0.07); }
.prop-5 { padding: 44px; border-top: 1px solid rgba(44,44,44,0.07); border-left: 1px solid rgba(44,44,44,0.08); }
.prop-6 { padding: 44px 0 44px 44px; border-top: 1px solid rgba(44,44,44,0.07); border-left: 1px solid rgba(44,44,44,0.08); }

/* ─── QUIENES SOMOS ─── */
.nosotros { background: #FFFFFF; padding: 120px 64px; }
.nosotros-wrap { display: flex; gap: 80px; align-items: flex-start; }

.nosotros-left { flex: 0 0 300px; }

.logo-card {
  border: 1px solid rgba(44,44,44,0.12);
  padding: 36px 32px;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(44,44,44,0.06);
}
.logo-card img { width: 100%; height: auto; display: block; }

.brands-list { margin-bottom: 52px; }
.brands-label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #969484;
  margin-bottom: 14px;
}
.brands-items { display: flex; flex-direction: column; gap: 7px; }
.brands-items div {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #2C2C2C;
  text-transform: uppercase;
}

.big-50 {
  font-family: 'Flama Black Italic', 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 116px;
  line-height: 0.88;
  color: #969484;
  letter-spacing: -0.02em;
}
.big-50-caption {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(44,44,44,0.6);
  margin-top: 10px;
  line-height: 1.6;
}

.nosotros-right { flex: 1; min-width: 0; padding-top: 8px; }
.nosotros-title { margin-bottom: 52px; }

.nosotros-block { border-top: 1px solid rgba(44,44,44,0.1); padding: 32px 0; }
.nosotros-block-last { border-bottom: 1px solid rgba(44,44,44,0.1); }
.nosotros-block h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #969484;
  margin-bottom: 12px;
}
.nosotros-block p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(44,44,44,0.78);
  text-wrap: pretty;
}

/* ─── FOOTER ─── */
.footer { background: #1A1A1A; padding: 40px 64px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copy {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.footer-top {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  transition: opacity 0.2s;
}
.footer-top:hover { opacity: 0.65; }

/* ─── SCROLL-IN ANIMATION ─── */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim].in-view { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 880px) {
  #hero-content   { flex-direction: column !important; }
  .hero-form      { flex: 0 0 auto !important; width: 100% !important; }
  #nosotros-wrap  { flex-direction: column !important; }
  .nosotros-left  { flex: 0 0 auto !important; width: 100% !important; }

  .prop-grid { grid-template-columns: 1fr 1fr; }
  .prop-card {
    padding: 36px 28px;
    border-left: none;
    border-top: 1px solid rgba(44,44,44,0.1);
  }
  .prop-card:nth-child(even) { border-left: 1px solid rgba(44,44,44,0.1); }

  .hero, .propuesta, .nosotros { padding-left: 40px; padding-right: 40px; }
  #navbar { padding: 0 40px; }
  .footer { padding: 40px; }
}

@media (max-width: 640px) {
  #navbar { padding: 0 20px; height: 64px; }
  .logo, .logo img { height: 34px; }
  .nav-links { gap: 14px; }

  .cobranding-grid { height: 56vh; min-height: 380px; }
  .cobranding-caption { left: 24px; right: 24px; bottom: 28px; }
  .cobranding-caption p { font-size: 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a.nav-cta { padding: 10px 18px; font-size: 10px; }

  .hero { padding: 88px 24px 56px; }
  .hero-bg-amp { font-size: 280px; right: -50px; }
  .hero-content { gap: 40px; }
  .hero-form { animation-delay: 0.28s; }
  .form-card, .form-success { padding: 32px 24px; }

  .propuesta, .nosotros { padding: 72px 24px; }
  .propuesta .container > div:first-child { margin-bottom: 48px; }

  .prop-grid { grid-template-columns: 1fr; }
  .prop-card { border-left: none !important; padding: 28px 0; }
  .prop-card:nth-child(even) { border-left: none; }

  .nosotros-wrap { gap: 48px; }
  .nosotros-block { padding: 24px 0; }

  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

/* ─── LEAD (Baskerville) override — kept last so it always wins the cascade ─── */
.lead.lead {
  font-family: 'Baskerville SemiBold', Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}
