/* =========================================================
   Old West Charcoal — styles.css
   Un solo archivo controla todo el diseño del sitio.
   Paleta y tipografía propias de Old West (tomadas de la bolsa y el logo).
   ========================================================= */

:root {
  /* Paleta de marca */
  --color-ink: #1F1611;          /* café casi negro: textos y fondos oscuros */
  --color-ink-2: #2D221B;        /* tarjetas sobre fondo oscuro */
  --color-saddle: #5C2D06;       /* café silla de montar (logo) */
  --color-leather: #9C6B3C;      /* cuero (sombra del logo) */
  --color-ember: #B23C19;        /* brasa: botones y enlaces */
  --color-ember-dark: #8E2F12;   /* brasa oscura: hover */
  --color-flame: #E8892E;        /* llama: acentos sobre fondo oscuro */
  --color-kraft: #E9D7B5;        /* papel kraft de la bolsa */
  --color-parchment: #F7F0E3;    /* pergamino: fondo de secciones alternas */
  --color-white: #FFFFFF;
  --color-ash: #66584C;          /* texto secundario */
  --color-line: #E2D4BD;         /* bordes */
  --color-ok: #3D7A3A;
  --color-no: #A8352A;

  /* Tipografía */
  --font-title: 'Zilla Slab', Georgia, serif;
  --font-body: 'Source Sans 3', Arial, sans-serif;
  --font-western: 'Rye', Georgia, serif;

  /* Logos: el tamaño se controla solo aquí (lineamientos, sección 10) */
  --logo-height: 54px;
  --logo-footer-width: 160px;

  --radius: 6px;
  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-ember); }
a:hover { color: var(--color-ember-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Etiqueta de estilo western */
.label {
  font-family: var(--font-western);
  font-size: .9rem;
  letter-spacing: .06em;
  color: var(--color-ember);
  display: inline-block;
  margin-bottom: .6em;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  background: var(--color-parchment);
  border-bottom: 3px solid var(--color-saddle);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo img { height: var(--logo-height); width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-ember); }
.main-nav .btn, .main-nav a.btn[aria-current="page"] { color: var(--color-white); }
.menu-toggle {
  display: none; background: none;
  border: 1px solid var(--color-leather); border-radius: var(--radius);
  padding: 8px 12px; font: 600 .9rem var(--font-body); color: var(--color-ink); cursor: pointer;
}
@media (max-width: 980px) {
  :root { --logo-height: 44px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-parchment); border-bottom: 3px solid var(--color-saddle);
    padding: 10px 20px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =========================================================
   Botones
   ========================================================= */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s; cursor: pointer;
}
.btn-primary { background: var(--color-ember); color: var(--color-white); }
.btn-primary:hover { background: var(--color-ember-dark); color: var(--color-white); }
.btn-outline { border-color: var(--color-kraft); color: var(--color-kraft); }
.btn-outline:hover { background: var(--color-kraft); color: var(--color-ink); }
.btn-outline-dark { border-color: var(--color-saddle); color: var(--color-saddle); }
.btn-outline-dark:hover { background: var(--color-saddle); color: var(--color-white); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero { background: var(--color-parchment); padding: 56px 0 64px; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--color-saddle); }
.hero-lead { font-size: 1.2rem; color: var(--color-ash); max-width: 32em; }
.hero-tagline { width: 320px; margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-media { display: flex; justify-content: center; }
.hero-media img { max-height: 520px; width: auto; mix-blend-mode: multiply; }

.hero-sm { background: var(--color-ink); color: var(--color-white); padding: 54px 0 46px; }
.hero-sm .label { color: var(--color-flame); }
.hero-sm h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.hero-sm p { color: #E6DCCD; max-width: 40em; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: #B9AA97; margin-bottom: 12px; }
.breadcrumb a { color: #B9AA97; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-flame); }

@media (max-width: 860px) {
  .hero { padding: 36px 0 44px; }
  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 340px; }
  .hero-tagline { width: 260px; }
}

/* Franja de datos */
.fact-strip { background: var(--color-ink); color: var(--color-white); }
.fact-strip .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact-strip div { padding: 20px 16px; border-right: 1px solid #3A2E25; text-align: center; }
.fact-strip div:last-child { border-right: 0; }
.fact-strip strong { display: block; font-family: var(--font-title); font-size: 1.35rem; color: var(--color-flame); line-height: 1.2; }
.fact-strip span { font-size: .85rem; color: #D8CCBB; }
@media (max-width: 860px) {
  .fact-strip .container { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .fact-strip div { border-bottom: 1px solid #3A2E25; }
  .fact-strip div:nth-child(2n) { border-right: 0; }
  .fact-strip div:last-child { grid-column: 1 / -1; }
}

/* =========================================================
   Secciones
   ========================================================= */
.section { padding: 80px 0; }
.section-alt { background: var(--color-parchment); }
.section-dark { background: var(--color-ink); color: var(--color-white); }
.section-dark .label { color: var(--color-flame); }
.section-title { max-width: 44em; margin-bottom: 40px; }
.section-title p { color: var(--color-ash); font-size: 1.08rem; margin: 0; }
.section-dark .section-title p { color: #D8CCBB; }
.section-more { margin-top: 26px; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* =========================================================
   Tarjetas
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--color-white); border: 1px solid var(--color-line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
}
.card p { color: var(--color-ash); }
.card p:last-child { margin-bottom: 0; }
.section-dark .card { background: var(--color-ink-2); border-color: #3A2E25; }
.section-dark .card p { color: #D8CCBB; }
.card-media { padding: 0; overflow: hidden; }
.card-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-media .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-media .card-body p { flex: 1; }
.card-kicker { font-size: .95rem; color: var(--color-ash); margin-bottom: 4px; }
.card-link { font-weight: 700; text-decoration: none; color: var(--color-ember); }
.card-link::after { content: " →"; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--color-ember); transform: translateY(-2px); }
@media (max-width: 900px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .card-grid, .card-grid-4 { grid-template-columns: 1fr; } }

/* =========================================================
   Texto + imagen
   ========================================================= */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split-reverse .split-media { order: -1; }
.split-media img { width: 100%; border-radius: var(--radius); }
.split-media .img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-media .img-pair img { aspect-ratio: 3 / 4; object-fit: contain; background: var(--color-white); }
.split-media img.bag { width: auto; max-height: 460px; margin: 0 auto; mix-blend-mode: multiply; border-radius: 0; }
.split-media figcaption { font-size: .85rem; color: var(--color-ash); margin-top: 8px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-reverse .split-media { order: 0; }
}
.prose { max-width: 44em; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.note { font-size: .95rem; color: var(--color-ash); }

.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding: 6px 0 6px 32px; }
.check-list li::before {
  content: "★"; position: absolute; left: 0; top: 6px;
  color: var(--color-ember); font-size: 1.05rem;
}

/* =========================================================
   Guía de tamaños (size matters)
   ========================================================= */
.size-row { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; padding: 36px 0; border-top: 1px solid var(--color-line); }
.size-row:first-of-type { border-top: 0; }
.size-row img { border-radius: var(--radius); }
.size-row .label { margin-bottom: .3em; }
@media (max-width: 760px) { .size-row { grid-template-columns: 1fr; gap: 18px; } }

.size-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.size-legend li { padding: 10px 14px; background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius); }
.size-legend strong { color: var(--color-saddle); }

/* =========================================================
   Comparación lump vs. briquettes
   ========================================================= */
.compare-table { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.compare-table th { font-family: var(--font-title); font-size: 1.25rem; background: var(--color-saddle); color: var(--color-white); width: 50%; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; }
@media (max-width: 600px) { .compare-table th, .compare-table td { padding: 10px 12px; font-size: .95rem; } }

/* =========================================================
   Recuadros
   ========================================================= */
.notice-box {
  background: var(--color-parchment); border-left: 4px solid var(--color-leather);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--color-ash);
}
.price-card {
  border: 2px solid var(--color-saddle); border-radius: var(--radius);
  padding: 26px 28px; background: var(--color-white);
}
.price-card .price { font-family: var(--font-title); font-size: 2.4rem; color: var(--color-saddle); line-height: 1; }
.price-card .price-note { font-size: .92rem; color: var(--color-ash); margin-top: 6px; }
.spec-list { list-style: none; margin: 18px 0 0; padding: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--color-line); }
.spec-list li span:first-child { color: var(--color-ash); }
.spec-list li span:last-child { font-weight: 600; text-align: right; }

/* =========================================================
   Contacto
   ========================================================= */
.contact-band { text-align: center; }
.contact-band .section-title { margin-left: auto; margin-right: auto; }
.contact-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-options .btn { min-width: 220px; }
.contact-note { font-size: .9rem; color: #B9AA97; margin-top: 20px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { border: 1px solid var(--color-line); border-radius: var(--radius); padding: 30px; text-align: center; background: var(--color-white); }
.contact-card .icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--color-saddle); display: flex; align-items: center; justify-content: center; }
.contact-card .icon svg { width: 24px; height: 24px; fill: var(--color-kraft); }
.contact-card p { color: var(--color-ash); font-size: .98rem; }
.contact-card .btn { margin-top: 6px; word-break: break-all; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ — acordeón sin JavaScript
   ========================================================= */
.faq { max-width: 52em; }
.faq-cat { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.faq-cat:first-child { margin-top: 0; }
.faq-list { border-top: 1px solid var(--color-line); }
.faq-list details { border-bottom: 1px solid var(--color-line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 1.4rem; color: var(--color-ember); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--color-ash); margin: 0 0 18px; }

/* Mapa del sitio */
.sitemap-grid .card ul { list-style: none; margin: 0; padding: 0; }
.sitemap-grid .card li { padding: 6px 0; border-top: 1px solid var(--color-line); }
.sitemap-grid .card li:first-child { border-top: 0; }
.sitemap-grid .card a { text-decoration: none; font-weight: 600; }

/* Páginas legales */
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal .updated { font-size: .9rem; color: var(--color-ash); margin-top: 2.5em; }

/* =========================================================
   Footer
   ========================================================= */
.footer-scene { background: var(--color-parchment); padding-top: 40px; }
.footer-scene img { margin: 0 auto -1px; width: 500px; }
.site-footer { background: var(--color-ink); color: #C9BBA8; padding: 56px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-family: var(--font-western); font-size: .95rem; font-weight: 400; letter-spacing: .05em; color: var(--color-kraft); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C9BBA8; text-decoration: none; }
.site-footer a:hover { color: var(--color-flame); }
.footer-logo { display: inline-block; margin-bottom: 8px; }
.footer-logo img { width: var(--logo-footer-width); height: auto; }
.footer-brand .est { font-family: var(--font-western); color: var(--color-kraft); font-size: .9rem; margin-bottom: 12px; }
.footer-brand p { max-width: 22em; }
.footer-bottom { border-top: 1px solid #3A2E25; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-scene img { width: 92%; } }

/* Fotos de la bolsa en galerías */
.bag-thumb { max-height: 320px; width: auto !important; margin: 0 auto; mix-blend-mode: multiply; }
.gallery img { border-radius: var(--radius); align-self: center; }
