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

:root {
  --bg: #F8F6F2;
  --white: #FFFFFF;
  --ink: #1A1410;
  --mid: #5C5248;
  --light: #E8E3DC;
  --accent: #D4581A;
  --accent-dark: #A8400E;   /* texto chico sobre fondo claro (contraste AA) */
  --accent-light: #F4DED0;
  --steel: #2C3E50;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: .7rem 1rem;
}
.skip-link:focus { left: 0; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--steel); color: #d6dbe0; font-size: .78rem; letter-spacing: .04em;
  padding: .5rem 2rem; display: flex; justify-content: space-between; align-items: center;
  gap: .4rem 1.5rem; flex-wrap: wrap;
}
.topbar a { color: #d6dbe0; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar strong { color: #fff; }

/* ===== NAVBAR ===== */
.site-nav {
  background: var(--white); border-bottom: 3px solid var(--accent);
  padding: .9rem 2rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-main {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.8rem;
  letter-spacing: .03em; color: var(--ink); text-transform: uppercase;
}
.logo-main span { color: var(--accent); }
.logo-sub { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); font-weight: 500; margin-top: 2px; }

.nav-links { display: flex; gap: .5rem 1.15rem; list-style: none; flex-wrap: wrap; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; position: relative; padding: .3rem 0; display: inline-block;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--accent-dark); color: #fff; padding: .55rem 1.1rem; border-radius: 3px; font-weight: 600; transition: background .2s;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: #8c340a; color: #fff; }

/* ===== HERO ===== */
.hero { position: relative; min-height: clamp(460px, 64vh, 640px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(26,20,16,.93) 45%, rgba(26,20,16,.5) 100%); }
.hero-content { position: relative; z-index: 2; padding: 4rem 2rem 4rem 6vw; max-width: 780px; }
.hero-tag {
  display: inline-block; background: var(--accent-dark); color: #fff; font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 700; padding: .35rem .9rem; margin-bottom: 1.5rem; font-family: 'Barlow Condensed', sans-serif;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .95; text-transform: uppercase; color: #fff; letter-spacing: .02em; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: #ff8a4d; }
.hero p { font-family: 'Lora', serif; font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 2.2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary, .btn-secondary, .btn-wsp {
  display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.8rem; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 3px; font-weight: 700;
  transition: background .2s, transform .15s, border-color .2s;
}
.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: #8c340a; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); font-weight: 600; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-wsp { background: #128C4A; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; padding: 1rem 2rem; border-radius: 4px; }
.btn-wsp:hover { background: #0e7a40; transform: translateY(-2px); }
.btn-wsp svg { width: 22px; height: 22px; fill: #fff; }

/* ===== STRIP ===== */
.strip { background: var(--accent-dark); padding: .9rem 2rem; display: flex; justify-content: center; align-items: center; gap: .6rem 3rem; flex-wrap: wrap; }
.strip-item { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin-bottom: .6rem; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; line-height: 1.02; color: var(--ink); margin-bottom: 1rem; }
.section-sub { font-family: 'Lora', serif; font-size: 1rem; line-height: 1.7; color: var(--mid); max-width: 640px; }
.section-header { margin-bottom: 3rem; }
.prose p { font-size: 1rem; line-height: 1.75; color: var(--mid); margin-bottom: 1rem; max-width: 70ch; }
.prose strong { color: var(--ink); }
.bg-white { background: var(--white); }

/* ===== RESPUESTA RÁPIDA / DATOS CLAVE ===== */
.answer { background: var(--white); padding: 3rem 2rem; border-bottom: 1px solid var(--light); }
.answer-lead { font-family: 'Lora', serif; font-size: 1.15rem; line-height: 1.7; color: var(--ink); max-width: 880px; margin-bottom: 2rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem 2.5rem; }
.fact dt { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--accent-dark); margin-bottom: .15rem; }
.fact dd { font-size: .98rem; color: var(--ink); line-height: 1.5; }
.fact dd a { text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ===== PAGE HEADER (páginas internas) ===== */
.page-head { background: var(--steel); color: #fff; padding: 3.5rem 2rem 3rem; }
.page-head h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; line-height: 1; letter-spacing: .02em; max-width: 900px; }
.page-head p { font-family: 'Lora', serif; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.85); max-width: 760px; margin-top: 1rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .04em; margin-bottom: 1.2rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 .4rem; }

/* ===== CARDS ===== */
.productos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.producto-card { background: var(--bg); border: 1px solid var(--light); border-radius: 6px; overflow: hidden; transition: transform .2s, box-shadow .2s; text-decoration: none; color: var(--ink); display: block; }
.producto-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.producto-icon { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; background: var(--light); }
.producto-body { padding: 1.2rem; }
.producto-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .4rem; }
.producto-desc { font-size: .88rem; color: var(--mid); line-height: 1.5; }
.producto-tag { display: inline-block; margin-top: .8rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); border: 1px solid var(--accent-dark); padding: .2rem .5rem; border-radius: 2px; }

.servicios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.servicio-card { background: var(--white); border-radius: 6px; padding: 1.8rem; border-left: 4px solid var(--accent); box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.servicio-icon { font-size: 2.1rem; margin-bottom: .8rem; }
.servicio-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .6rem; }
.servicio-desc { font-size: .92rem; color: var(--mid); line-height: 1.6; }
.bg-alt .servicio-card { background: var(--bg); }

.check-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem 1.5rem; margin: 1.5rem 0 0; }
.check-list li { position: relative; padding-left: 1.7rem; font-size: 1rem; color: var(--ink); }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

/* ===== HISTORIA ===== */
.history-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.history-grid img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* ===== ENVÍOS ===== */
.envios { background: var(--steel); color: #fff; }
.envios-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.envios .section-label { color: #ffb48a; }
.envios .section-title { color: #fff; }
.envios .section-sub { color: rgba(255,255,255,.8); max-width: 100%; }
.envios-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.envios-item { display: flex; gap: 1rem; align-items: flex-start; }
.envios-bullet { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.envios-item strong { display: block; font-size: .98rem; font-weight: 600; margin-bottom: 2px; }
.envios-item span { font-size: .86rem; color: rgba(255,255,255,.72); }
.envios-cta-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 2.3rem; text-align: center; }
.envios-cta-box h2, .envios-cta-box h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; margin-bottom: .5rem; }
.envios-cta-box p { color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.6; margin-bottom: 1.6rem; }
.envios-cta-box a.mail { color: #fff; text-decoration: underline; display: inline-block; margin-top: 1rem; }

/* ===== CONTACTO ===== */
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contacto-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contacto-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.contacto-ico { width: 46px; height: 46px; border-radius: 4px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contacto-item h2, .contacto-item h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.contacto-item p, .contacto-item a { font-size: .98rem; color: var(--mid); text-decoration: none; line-height: 1.6; display: block; }
.contacto-item a:hover { color: var(--accent-dark); text-decoration: underline; }
.map-container { border-radius: 8px; overflow: hidden; border: 1px solid var(--light); box-shadow: 0 4px 24px rgba(0,0,0,.06); height: 380px; }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }
.horario-table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.horario-table th, .horario-table td { padding: .5rem 0; font-size: .95rem; border-bottom: 1px solid var(--light); text-align: left; color: var(--mid); font-weight: 400; }
.horario-table th { font-weight: 600; color: var(--ink); padding-right: 1rem; }

/* ===== LINKS RELACIONADOS ===== */
.related { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.related a { border: 1px solid var(--accent-dark); color: var(--accent-dark); text-decoration: none; padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.related a:hover { background: var(--accent-dark); color: #fff; }

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 999; background: #128C4A; color: #fff;
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(18,140,74,.45); text-decoration: none; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== FOOTER ===== */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 2.5rem 2rem; text-align: center; }
footer .foot-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; color: #fff; letter-spacing: .04em; margin-bottom: .5rem; }
footer .foot-logo span { color: var(--accent); }
footer p { font-size: .85rem; margin-top: .3rem; }
footer p a { color: inherit; }
footer .foot-links { display: flex; gap: .5rem 1.5rem; justify-content: center; margin: 1rem 0; flex-wrap: wrap; }
footer .foot-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
footer .foot-links a:hover { color: #ff8a4d; }

/* ===== ANIMACIONES (solo si hay JS; sin JS el contenido siempre se ve) ===== */
.js .fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .topbar { padding: .5rem 1.2rem; font-size: .74rem; }
  .site-nav { padding: .8rem 1.2rem; position: static; }
  .nav-links { width: 100%; gap: .3rem 1.1rem; }
  .nav-links a { font-size: .78rem; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 3rem 1.4rem; }
  .envios-inner, .contacto-inner, .history-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 3.5rem 1.2rem; }
  .answer, .page-head { padding-left: 1.2rem; padding-right: 1.2rem; }
}
