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

:root {
  --bg:     #FAFAF7;
  --white:  #FFFFFF;
  --ink:    #1C1A18;
  --muted:  #7A7068;
  --border: #E4DED7;
  --beige:  #F0E9E1;
  --font:   'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ───────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 22px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover { background: var(--ink); color: var(--white); }

/* ─── HERO ──────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--beige);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 72px 80px 64px;
}

.hero-name {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 18px;
}

.hero-tagline {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 56px;
}

.hero-socials { display: flex; flex-direction: column; }

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.social-link:last-child { border-bottom: 1px solid var(--border); }
.social-link:hover { opacity: 0.45; }

.social-link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }

.social-link-arrow { margin-left: auto; font-size: 14px; color: var(--border); }

/* ─── SECCIONES ─────────────────────────────────────────── */

.section-wrap { border-top: 1px solid var(--border); }

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 48px;
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  text-align: center;
}

/* ─── MARCAS ────────────────────────────────────────────── */

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.logo-item {
  height: 80px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* ─── CONTACTO ──────────────────────────────────────────── */

.contacto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 48px 140px;
  text-align: center;
}

.contacto-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.contacto-titulo {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contacto-subtitulo {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  max-width: 400px;
  margin: 0 auto 52px;
}

.btn-contacto {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 52px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, gap 0.2s;
}

.btn-contacto:hover { background: #2e2b29; gap: 18px; }

.btn-arrow {
  font-weight: 300;
  font-size: 16px;
  transition: transform 0.2s;
}

.btn-contacto:hover .btn-arrow { transform: translateX(4px); }

/* ─── FOOTER ────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--border); }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 12px; color: var(--muted); font-weight: 300; }

.footer-links { display: flex; gap: 28px; }

.footer-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--ink); }

/* ─── RESPONSIVE ────────────────────────────────────────── */

@media (max-width: 960px) {
  .nav { padding: 0 28px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media {
    height: 70vw;
    max-height: 520px;
    min-height: 300px;
    position: relative;
  }
  .hero-text { justify-content: flex-start; padding: 52px 28px 72px; }
  .inner { padding: 72px 28px; }
  .logo-item { padding: 0 20px; }
  .contacto-inner { padding: 88px 28px 104px; }
  .footer-inner { padding: 24px 28px; flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 560px) {
  .hero-name { font-size: 11vw; }
  .hero-tagline { max-width: 100%; }
  .logo-item { padding: 0 14px; height: 64px; }
  .logo-item img { height: 36px; }
}

/* ─── HERO DESKTOP: foto a la derecha ───────────────────── */

@media (min-width: 961px) {
  .hero-media { order: 2; }
  .hero-text  { order: 1; }
}
