/* ESENLID Destilería — site styles
   Brand: ESENLID (pure-black + charcoal accents, Philosopher + Quicksand)
   Generated 2026-05-04 from Figma file e7OPFT2r8e4mYJrXgnt1gK */

/* ---------- Brand variables ---------- */
:root {
  --charcoal: #333f48;
  --pure-black: #1a1f24;
  --white: #f4f1ec;
  --warm-gray: #5a554f;
  --light-gray: #a8a39c;
  --bg-light: #ebe7df;
  --olive: #7a8c5e;
  --deep-green: #3f4833;
  --wine: #48333f;
  --text-body: #4a4540;
  --divider: #d8d3cb;

  --font-display: 'Philosopher', Georgia, serif;
  --font-sans: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Crimson Text', 'Bookman Old Style', Georgia, serif;

  --max-w: 1200px;
  --gutter: 24px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
a:hover { opacity: .7; }

/* ---------- Layout primitives ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--lg { padding: 128px 0; }
.section--dark { background: var(--charcoal); color: var(--white); }
.section--bg-light { background: var(--bg-light); }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 24px;
}
.section--dark .eyebrow { color: var(--olive); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: inherit; }
h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 600; }
h3 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { color: var(--text-body); font-size: 16px; line-height: 1.6; }
.section--dark p { color: var(--light-gray); }

.lead { font-size: 18px; line-height: 1.55; max-width: 720px; }
.muted { color: var(--text-body); font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  height: 90px;
  display: flex; align-items: center;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__brand { display: flex; align-items: center; line-height: 1; }
.nav__logo { height: 60px; width: auto; display: block; }
@media (max-width: 720px) { .nav__logo { height: 44px; } }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { font-size: 14px; color: var(--charcoal); }
.nav__links a.is-active { color: var(--olive); }
.nav__lang { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-body); margin-left: 24px; }

@media (max-width: 720px) {
  .nav { height: 64px; }
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 700px;
  display: flex; align-items: center;
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  padding: 96px 0;
}
.hero__inner { max-width: 920px; }
.hero__eyebrow { color: var(--olive); }
.hero__title { color: var(--white); margin-bottom: 24px; }
.hero__sub { color: rgba(255,255,255,.85); font-size: clamp(16px, 2vw, 20px); line-height: 1.5; max-width: 640px; margin-bottom: 40px; }
.hero__cta { display: inline-block; padding: 14px 28px; background: var(--olive); color: var(--charcoal); font-weight: 600; font-size: 15px; border-radius: 2px; }
.hero__cta:hover { background: var(--deep-green); opacity: 1; color: var(--white); }
.hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero--small { min-height: 380px; padding: 80px 0; }

/* ---------- Section headers ---------- */
.section-head { max-width: 880px; margin-bottom: 64px; }
.section-head h2 { margin-bottom: 24px; }
.section-head .lead { color: var(--text-body); }
.section--dark .section-head .lead { color: var(--light-gray); }

/* ---------- Method (5 layers) ---------- */
.layers { display: grid; gap: 48px; }
.layer { display: grid; grid-template-columns: 96px 1fr; gap: 32px; align-items: start; padding: 32px 0; border-top: 1px solid var(--divider); }
.layer:last-child { border-bottom: 1px solid var(--divider); }
.layer__num { font-family: var(--font-display); font-weight: 700; font-size: 48px; color: var(--olive); line-height: 1; }
.layer__title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: var(--charcoal); font-family: var(--font-sans); }
.layer__body { color: var(--text-body); }
.layer__note { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--divider); color: var(--text-body); font-style: italic; }

@media (max-width: 720px) {
  .layer { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- AI / Inteligencia Aplicada ---------- */
.intel { background: var(--charcoal); color: var(--white); padding: 96px 0; }
.intel .eyebrow { color: var(--olive); }
.intel h2 { color: var(--white); margin-bottom: 24px; max-width: 800px; }
.intel__lead { color: var(--light-gray); max-width: 720px; margin-bottom: 64px; font-size: 16px; }
.intel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.intel-cell { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.15); }
.intel-cell h4 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 12px; font-family: var(--font-sans); }
.intel-cell p { color: var(--light-gray); font-size: 13px; }

@media (max-width: 720px) { .intel-grid { grid-template-columns: 1fr; } }

/* ---------- Card grids (Proyectos thumbs, etc.) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: var(--bg-light); border: 1px solid var(--divider); display: flex; flex-direction: column; }
.tile__media { aspect-ratio: 4/3; background: var(--light-gray); display: flex; align-items: center; justify-content: center; color: var(--warm-gray); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px; text-align: center; }
.tile__media[data-image] { background-size: cover; background-position: center; color: transparent; }
.tile__body { padding: 20px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tile__tag { font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); }
.tile__title { font-family: var(--font-sans); font-weight: 600; font-size: 20px; color: var(--charcoal); }
.tile__desc { color: var(--text-body); font-size: 13px; line-height: 1.55; }

@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tile-grid { grid-template-columns: 1fr; } }

/* Proyectos page two-col grid */
.tile-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid--2 .tile { flex-direction: row; min-height: 220px; }
.tile-grid--2 .tile__media { aspect-ratio: auto; flex: 0 0 280px; }
.tile-grid--2 .tile__body { padding: 28px 32px; }
@media (max-width: 800px) { .tile-grid--2 { grid-template-columns: 1fr; } .tile-grid--2 .tile { flex-direction: column; } .tile-grid--2 .tile__media { flex: 0 0 auto; aspect-ratio: 4/3; } }

/* Featured project block */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: var(--bg-light); padding: 48px; align-items: center; margin-bottom: 64px; }
.featured__media { aspect-ratio: 4/3; background: var(--light-gray); display: flex; align-items: center; justify-content: center; color: var(--warm-gray); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px; text-align: center; }
.featured__media[data-image] { background-size: cover; background-position: center; color: transparent; }
.featured__tag { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin-bottom: 16px; }
.featured__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 600; color: var(--charcoal); margin-bottom: 16px; line-height: 1.15; }
.featured__desc { color: var(--text-body); margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.featured__link { color: var(--olive); font-weight: 500; font-size: 14px; }
.featured__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--divider); }
.featured__stat-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--charcoal); }
.featured__stat-lbl { font-size: 12px; color: var(--text-body); margin-top: 4px; }

@media (max-width: 800px) { .featured { grid-template-columns: 1fr; padding: 32px; } }

/* ---------- Service cards (Áreas de Trabajo, large) ---------- */
.service-list { display: grid; gap: 24px; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 360px; background: var(--bg-light); border: 1px solid var(--divider); }
.service__media { background: var(--light-gray); display: flex; align-items: center; justify-content: center; color: var(--warm-gray); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px; text-align: center; }
.service__media[data-image] { background-size: cover; background-position: center; color: transparent; }
.service__body { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.service__num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--olive); line-height: 1; }
.service__head { display: flex; align-items: baseline; gap: 16px; }
.service__title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; color: var(--charcoal); }
.service__kicker { font-size: 12px; color: var(--text-body); font-style: italic; }
.service__desc { color: var(--text-body); font-size: 14px; line-height: 1.6; }
.service__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.service__chip { font-size: 11px; font-weight: 500; padding: 6px 12px; background: var(--white); border: 1px solid var(--divider); color: var(--charcoal); border-radius: 999px; }

@media (max-width: 800px) { .service { grid-template-columns: 1fr; min-height: auto; } .service__media { aspect-ratio: 4/3; } .service__body { padding: 32px; } }

/* ---------- Process (numbered steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step__num { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--olive); line-height: 1; margin-bottom: 16px; }
.step__title { font-family: var(--font-sans); font-weight: 600; font-size: 20px; margin-bottom: 12px; color: var(--charcoal); }
.step__body { color: var(--text-body); font-size: 14px; line-height: 1.6; }

@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 4-up grid (Tipos de cliente, Inteligencia Aplicada cells) ---------- */
.fourup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.fourup__item { padding: 24px 0; border-top: 1px solid var(--divider); }
.fourup__title { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--charcoal); font-family: var(--font-sans); }
.fourup__body { color: var(--text-body); font-size: 13px; line-height: 1.55; }
@media (max-width: 720px) { .fourup { grid-template-columns: 1fr; } }

/* ---------- Pricing models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { padding: 32px; background: var(--bg-light); border: 1px solid var(--divider); }
.model__title { font-family: var(--font-sans); font-weight: 600; font-size: 22px; margin-bottom: 12px; color: var(--charcoal); }
.model__body { color: var(--text-body); font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.model__price { font-size: 16px; font-weight: 600; color: var(--olive); }
@media (max-width: 800px) { .models { grid-template-columns: 1fr; } }

/* ---------- Conferencias / credentials list ---------- */
.confs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 48px; }
.conf__year { font-size: 12px; font-weight: 600; color: var(--olive); margin-bottom: 8px; }
.conf__name { font-family: var(--font-sans); font-weight: 600; font-size: 16px; color: var(--charcoal); margin-bottom: 4px; line-height: 1.2; }
.conf__loc { font-size: 12px; color: var(--text-body); }
.judges { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 32px; border-top: 1px solid var(--divider); }
.judges__label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); width: 100%; }
.judges span { font-size: 13px; color: var(--text-body); }
@media (max-width: 1000px) { .confs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .confs { grid-template-columns: 1fr; } }

/* ---------- Founder block ---------- */
.founder { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.founder__media { aspect-ratio: 3/4; background: var(--light-gray); display: flex; align-items: center; justify-content: center; color: var(--warm-gray); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.founder__media[data-image] { background-size: cover; background-position: center; color: transparent; }
.founder__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.5vw, 32px); margin: 8px 0 24px; color: var(--charcoal); }
.founder__bio { color: var(--text-body); font-size: 15px; line-height: 1.65; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }

/* ---------- Pullquote ---------- */
.pullquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; color: var(--charcoal);
  max-width: 880px; margin: 0 auto 32px; text-align: center;
}
.pullquote-attr { text-align: center; color: var(--text-body); font-size: 15px; max-width: 720px; margin: 0 auto; }

/* ---------- Credenciales row ---------- */
.creds { text-align: center; }
.creds__head { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(22px, 3vw, 32px); line-height: 1.3; color: var(--charcoal); max-width: 880px; margin: 0 auto 40px; }
.creds__row { font-family: var(--font-accent); font-size: 14px; color: var(--text-body); letter-spacing: 0.02em; }

/* ---------- CTA block ---------- */
.cta { background: var(--charcoal); color: var(--white); padding: 96px 0; text-align: center; }
.cta h2 { color: var(--white); margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.cta p { color: var(--light-gray); max-width: 640px; margin: 0 auto 32px; }
.cta__btn { display: inline-block; padding: 16px 32px; background: var(--olive); color: var(--charcoal); font-weight: 600; font-size: 15px; border-radius: 2px; }
.cta__btn:hover { background: var(--deep-green); color: var(--white); opacity: 1; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0; border-top: 1px solid var(--divider); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer__brand-block { display: flex; align-items: center; gap: 14px; }
.footer__logo { height: 40px; width: auto; }
.footer__brand-tag { font-size: 11px; color: var(--text-body); }
.footer__contact { font-size: 12px; color: var(--text-body); }
.footer__social { display: flex; gap: 16px; }
.footer__social a { font-size: 12px; color: var(--text-body); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 12px; font-weight: 500; color: var(--charcoal); letter-spacing: 0.04em; }
.form__input, .form__textarea {
  padding: 12px 16px; border: 1px solid var(--divider); background: var(--white);
  font-family: var(--font-sans); font-size: 14px; color: var(--charcoal); border-radius: 2px;
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__input:focus, .form__textarea:focus { outline: none; border-color: var(--olive); }
.form__submit { align-self: flex-start; padding: 14px 28px; background: var(--charcoal); color: var(--white); font-weight: 600; font-size: 14px; border: 0; border-radius: 2px; cursor: pointer; }
.form__submit:hover { background: var(--olive); color: var(--charcoal); }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block__label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin-bottom: 12px; }
.contact-block__line { font-size: 16px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; }
.contact-block__line a { color: var(--charcoal); }

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.spacer-sm { height: 24px; }
.spacer { height: 48px; }
.spacer-lg { height: 96px; }
