/* ============================================================
   T&E Solutions — sitio "v2 alternada" (editorial dorado / serif)
   Basado 1:1 en la landing aprobada por el operador (2026-06-09).
   Paleta petróleo + crema + dorado, serif Didot/Bodoni, secciones
   alternadas. Estático a propósito (sin animaciones).
   ============================================================ */

:root {
  --petrol:   #1a2e35;   /* fondo madre / texto sobre crema */
  --surface:  #142428;   /* cards, banda de stats */
  --footer:   #0f1f24;
  --cream:    #f4ebdc;
  --cream-2:  #ede4d3;

  --gold:        #c9a386; /* acento principal */
  --gold-title:  #e0bfa0; /* titulares sobre oscuro */
  --gold-body:   #d4b297; /* cuerpo sobre oscuro */
  --gold-cream:  #8b6f3f; /* acento/overline sobre crema */

  --line:        rgba(201,163,134,0.20);
  --line-soft:   rgba(201,163,134,0.15);
  --line-strong: rgba(201,163,134,0.30);
  --line-mid:    rgba(201,163,134,0.25);

  --serif: Didot, 'Bodoni Moda', 'Bodoni MT', 'Didot LT STD', Georgia, 'Times New Roman', serif;
  --sans:  'Helvetica Neue', Helvetica, Arial, 'Segoe UI', system-ui, sans-serif;

  --pad-x: clamp(24px, 6vw, 48px);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--petrol);
  color: var(--gold-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--petrol); }

.serif { font-family: var(--serif); font-weight: 400; }
em, .it { font-style: italic; }

/* ---------- Type primitives ---------- */
.overline {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
}
.overline.on-cream { color: var(--gold-cream); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.1; color: var(--gold-title); }
.h1 em { color: var(--gold); }
.h2 { font-size: clamp(28px, 4.6vw, 38px); color: var(--gold-title); }
.h2 em { color: var(--gold); }
.lead { font-size: clamp(15px, 1.6vw, 16px); line-height: 1.7; color: var(--gold-body); opacity: 0.9; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section { padding: clamp(56px, 8vw, 80px) var(--pad-x); }
.petrol  { background: var(--petrol); }
.cream   { background: var(--cream);   color: var(--petrol); }
.cream-2 { background: var(--cream-2); color: var(--petrol); }
.center  { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px;
  padding: 14px 32px;
  border-radius: 2px;
  border: 0.5px solid transparent;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--gold); color: var(--petrol); }
.btn--solid:hover { background: var(--gold-title); }
.btn--ghost { background: transparent; color: var(--gold-title); border-color: var(--gold); }
.btn--ghost:hover { background: rgba(201,163,134,0.08); }
.btn--sm { padding: 10px 22px; letter-spacing: 2px; }
.btn--lg { padding: 16px 40px; letter-spacing: 4px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--petrol);
  border-bottom: 0.5px solid var(--line);
  transition: background .4s ease, border-color .4s ease;
}
.nav.scrolled { background: rgba(26,46,53,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand svg { width: 44px; height: 44px; flex: none; display: block; }
.brand .wordmark { color: var(--gold-title); font-size: 13px; letter-spacing: 4px; font-weight: 500; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a.link { color: var(--gold); font-size: 13px; letter-spacing: 1px; transition: color .25s ease; }
.nav-links a.link:hover, .nav-links a.link.active { color: var(--gold-title); }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 1px; background: var(--gold); margin: 6px 0; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--petrol); padding: clamp(72px, 11vw, 96px) var(--pad-x) clamp(64px, 9vw, 80px); text-align: center; }
.hero .overline { display: block; margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero .sub { max-width: 480px; margin: 0 auto 40px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec-head { text-align: center; margin-bottom: clamp(44px, 7vw, 64px); }
.sec-head .overline { display: block; margin-bottom: 20px; }
.sec-head h2 { line-height: 1.2; }

/* ============================================================
   PROCESO (3 pasos)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 720px; margin: 0 auto; }
.step .num { font-family: var(--serif); font-size: clamp(40px, 5vw, 48px); color: var(--gold-cream); line-height: 1; margin-bottom: 12px; }
.step .rule { width: 32px; height: 0.5px; background: var(--petrol); margin-bottom: 16px; opacity: 0.7; }
.step h3 { font-family: var(--sans); color: var(--petrol); font-size: 14px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--petrol); font-size: 13px; line-height: 1.7; opacity: 0.8; }
.proceso-quote { text-align: center; margin-top: clamp(44px, 7vw, 64px); }
.proceso-quote p { color: var(--petrol); font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); font-style: italic; line-height: 1.5; opacity: 0.85; }

/* ============================================================
   STATS (banda oscura)
   ============================================================ */
.stats-band { background: var(--surface); padding: 56px var(--pad-x); border-top: 0.5px solid var(--line-soft); border-bottom: 0.5px solid var(--line-soft); }
.stats { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: center; }
.stat .fig { font-family: var(--serif); font-size: clamp(34px, 5vw, 42px); color: var(--gold); margin-bottom: 8px; line-height: 1; }
.stat .cap { color: var(--gold-body); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.stat.bordered { border-left: 0.5px solid var(--line-mid); border-right: 0.5px solid var(--line-mid); }

/* ============================================================
   SERVICIOS / VERTICALES (2x2)
   ============================================================ */
.verts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: var(--maxw); margin: 0 auto; }
.vert { background: var(--surface); border: 0.5px solid var(--line-strong); padding: 32px; transition: border-color .3s ease, transform .3s ease; }
.vert:hover { border-color: var(--gold); }
.vert .v-num { font-family: var(--serif); font-size: 32px; color: var(--gold); margin-bottom: 8px; line-height: 1; }
.vert h3 { font-family: var(--sans); color: var(--gold-title); font-size: 18px; font-weight: 500; letter-spacing: 1px; margin-bottom: 12px; }
.vert p { color: var(--gold-body); font-size: 13px; line-height: 1.7; opacity: 0.85; }
.vert .v-list { list-style: none; margin: 18px 0 0; padding: 0; }
.vert .v-list li { color: var(--gold-body); font-size: 13px; line-height: 1.6; padding-left: 18px; position: relative; opacity: 0.85; margin-bottom: 6px; }
.vert .v-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial { text-align: center; }
.testimonial .quote-mark { font-family: var(--serif); color: var(--gold-cream); font-size: 80px; line-height: 1; margin-bottom: 16px; }
.testimonial .quote { color: var(--petrol); font-family: var(--serif); font-size: clamp(20px, 3vw, 24px); font-style: italic; line-height: 1.5; max-width: 540px; margin: 0 auto 32px; }
.testimonial .by { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial .by .ln { width: 36px; height: 0.5px; background: var(--petrol); }
.testimonial .by p { color: var(--petrol); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }

/* ============================================================
   CTA
   ============================================================ */
.cta { text-align: center; }
.cta h2 { margin-bottom: 16px; }
.cta p { margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ============================================================
   PAGE HEADER (páginas internas)
   ============================================================ */
.page-header { background: var(--petrol); padding: clamp(72px, 10vw, 104px) var(--pad-x) clamp(40px, 6vw, 56px); text-align: center; border-bottom: 0.5px solid var(--line-soft); }
.page-header .overline { display: block; margin-bottom: 22px; }
.page-header h1 { margin-bottom: 20px; }
.page-header .sub { max-width: 540px; margin: 0 auto; }

/* prose simple para páginas internas */
.prose { max-width: 640px; margin: 0 auto; }
.prose p { color: var(--gold-body); font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.cream .prose p, .cream-2 .prose p { color: var(--petrol); opacity: 0.85; }

/* equipo (nosotros) */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
.member { background: var(--surface); border: 0.5px solid var(--line-strong); padding: 32px; text-align: center; }
.member .av { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; color: var(--cream); background: linear-gradient(140deg, #2d4a52, #142428); border: 0.5px solid var(--line); }
.member .nm { font-family: var(--serif); color: var(--gold-title); font-size: 22px; margin-bottom: 6px; }
.member .ro { color: var(--gold-body); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 0.5px solid var(--line-strong); padding: 36px; text-align: center; }
.contact-card .ic { font-family: var(--serif); font-size: 30px; color: var(--gold); margin-bottom: 14px; }
.contact-card h3 { font-family: var(--sans); color: var(--gold-title); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.contact-card p { color: var(--gold-body); font-size: 14px; line-height: 1.6; margin-bottom: 16px; opacity: 0.9; }
.contact-card a.mail { color: var(--gold); font-size: 14px; letter-spacing: 1px; border-bottom: 0.5px solid var(--line); padding-bottom: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer); padding: 32px var(--pad-x); border-top: 0.5px solid var(--line-soft); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--gold); font-size: 11px; letter-spacing: 3px; margin: 0; }
.footer p.muted { opacity: 0.7; }
.footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .foot-links a { color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; transition: opacity .25s; }
.footer .foot-links a:hover { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26,46,53,0.98); backdrop-filter: blur(12px);
    padding: 28px var(--pad-x) 34px; border-bottom: 0.5px solid var(--line);
  }
  .nav-links.open .nav-cta { width: 100%; justify-content: center; }
  .nav-burger { display: block; }
  .nav { position: relative; }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 360px; }
  .verts { grid-template-columns: 1fr; }
  .team, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat.bordered { border-left: 0; border-right: 0; border-top: 0.5px solid var(--line-mid); border-bottom: 0.5px solid var(--line-mid); padding: 28px 0; }
  .hero .cta-row .btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* ============================================================
   DEMO (panel embebido)
   ============================================================ */
.demo-wrap{ max-width:1200px; margin:0 auto; }
.demo-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.demo-top .t b{ font-family:var(--serif); color:var(--gold-title); font-size:18px; font-weight:500; }
.demo-top .t span{ display:block; color:var(--gold-body); font-size:13px; margin-top:3px; opacity:.9; }
.demo-frame{ border:1px solid var(--line-strong); border-radius:6px; overflow:hidden; background:var(--surface); box-shadow:0 30px 60px -30px rgba(0,0,0,.5); }
.demo-bar{ display:flex; align-items:center; gap:8px; padding:11px 16px; background:#142428; border-bottom:0.5px solid var(--line); }
.demo-bar .d{ width:9px;height:9px;border-radius:50%; border:0.5px solid var(--line-strong); }
.demo-bar .url{ margin-left:14px; font-size:11px; color:var(--gold-body); letter-spacing:.06em; }
.demo-bar .open{ margin-left:auto; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); display:inline-flex; align-items:center; gap:6px; }
.demo-bar .open:hover{ color:var(--gold-title); }
.demo-frame iframe{ display:block; width:100%; height:min(86vh, 920px); border:0; background:#E8DFCF; }
.demo-note{ text-align:center; margin-top:24px; font-size:13px; color:var(--gold-body); opacity:.9; }
@media (max-width:560px){
  .demo-frame iframe{ height:74vh; min-height:520px; }
  .demo-top .open-btn{ width:100%; justify-content:center; }
}
