/* stylonatural.com — estilo cálido y editorial, opuesto al look B2B de ecomalfa.
   Sin webfonts externas: la velocidad puntúa. */

:root {
  --ink: #2b2622;
  --ink-soft: #5c534c;
  --muted: #8a7f76;
  --line: #e8e0d8;
  --bg: #fdfbf8;
  --bg-soft: #f6f1ea;
  --brand: #a8624a;
  --brand-dark: #8a4e3a;
  --radius: 12px;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 17.5px; line-height: 1.68; color: var(--ink); background: var(--bg);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border: 2px solid var(--brand); }

/* cabecera */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.logo { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.logo:hover { text-decoration: none; }
.site-nav { display: flex; gap: 20px; }
.site-nav a {
  color: var(--ink-soft); font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.site-nav a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 620px) {
  .header-inner { min-height: 54px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 13.5px; }
  .logo { font-size: 17px; }
}

/* tipografía */
main { padding: 32px 0 60px; }
h1 { font-size: clamp(29px, 4.4vw, 43px); line-height: 1.14; letter-spacing: -.015em; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.26; margin: 44px 0 12px; font-weight: 600; }
h3 { font-size: 18px; margin: 24px 0 8px; font-weight: 600; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 62ch; margin-bottom: 26px; }
.section-intro { color: var(--muted); font-size: 16px; margin: -6px 0 18px; max-width: 62ch; }
.doc { max-width: 68ch; }
.doc ul, .doc ol { margin: 0 0 20px; padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.crumbs {
  font-size: 14px; color: var(--muted); margin-bottom: 18px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.crumbs a { color: var(--muted); }

.hero { padding: 18px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.hero-actions { margin-top: 22px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; padding: 12px 26px;
  border-radius: 999px; font-size: 16px; font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

/* paleta de color: contenido visual propio, sin depender de fotos de ropa */
.paleta { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin: 18px 0 26px; }
.chip {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
}
.swatch { display: block; height: 62px; }
.chip-name {
  padding: 8px 10px 2px; font-size: 14px; font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.chip code { padding: 0 10px 9px; font-size: 12px; color: var(--muted); }

.mini-paleta { display: flex; height: 26px; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.mini-paleta span { flex: 1; }

/* cifras clave */
.tiles { display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 22px 0 8px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg-soft); }
.tile-label {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.tile-value { font-size: 21px; line-height: 1.2; }

/* tarjetas */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); margin: 18px 0; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  background: #fff; color: var(--ink); transition: border-color .12s, transform .12s;
}
.card:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.linklist { list-style: none; padding: 0; }
.linklist li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* tablas */
.table-wrap { overflow-x: auto; margin: 18px 0; }
table {
  border-collapse: collapse; width: 100%; min-width: 420px; background: #fff;
  font-size: 15.5px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
th { background: var(--ink); color: #fff; text-align: left; padding: 11px 14px; font-size: 14px; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: var(--bg-soft); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin-bottom: 8px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 14px; margin: 0; color: var(--ink-soft); }

/* pie */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; margin-top: 50px; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0; }
.footer-nav a {
  color: var(--ink-soft); font-size: 14.5px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.site-footer p { margin: 6px 0 0; }

/* ---------------------------------------------------------- contacto
   Formulario de /contacto/. Mantiene la línea del resto del sitio:
   serif editorial, paleta cálida y esquinas redondeadas. */

.contacto-cols {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 44px;
  align-items: start;
  margin-top: 8px;
}
.contacto-cols h2:first-child { margin-top: 0; }

.lead-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: var(--bg-soft);
}
.lead-form label {
  display: block;
  margin-bottom: 15px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.lead-form input[type=text],
.lead-form input[type=email],
.lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 9px;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(168, 98, 74, 0.14);
}
.lead-form textarea { resize: vertical; }
.lead-form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.85rem;
  margin: 18px 0;
}
.lead-form .check input { margin-top: 3px; flex-shrink: 0; }
.lead-form .btn { width: 100%; text-align: center; }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-mute, var(--ink-soft));
  text-align: center;
  margin: 12px 0 0;
}

/* Trampa para bots: un humano nunca ve este campo, así que si viene relleno
   el envío se descarta en el servidor. */
.hp { position: absolute; left: -9999px; }

@media (max-width: 860px) {
  .contacto-cols { grid-template-columns: 1fr; gap: 30px; }
}
