/*
Theme Name: Horma Hogar
Description: Tema custom para hormahogar.cl — importación y venta de complementos de living.
Author: Horma Hogar
Version: 1.0
*/

:root {
  --ink: #211D1A;
  --ink-soft: #4A433C;
  --wood: #A8734A;
  --wood-deep: #7C5433;
  --wood-light: #D8B896;
  --sand: #E4DCD1;
  --stone: #8C8378;
  --bone: #F8F4EF;
  --white: #ffffff;
  --radius: 2px;
  --max-width: 1220px;
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--ink); }
h1 { font-weight: 400; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--wood-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--wood-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ===== Header ===== */
.site-header {
  background: var(--bone);
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.logo span { color: var(--wood); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--wood-deep); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .main-nav ul { flex-wrap: wrap; gap: 18px 24px; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 64px 0 28px;
  margin-top: 100px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--sand); font-size: 14.5px; }
.footer-grid a:hover { color: var(--wood-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--stone);
  flex-wrap: wrap;
  gap: 8px;
}

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