/* ===================== VARIABLES ===================== */
:root {
  /* Paleta de marca (boceto 2026: blanco + taupe) */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F6F4F1;
  --color-field: #EFEDEA;
  --color-accent: #8C7361;
  --color-accent-dark: #735D4E;
  --color-accent-soft: #B9A595;

  /* Contraste */
  --color-ink: #2A2623;
  --color-ink-soft: #6B625A;
  --color-white: #FFFFFF;

  --color-border: rgba(42, 38, 35, 0.1);
  --color-line: rgba(140, 115, 97, 0.35);

  --shadow-soft: 0 12px 40px rgba(42, 38, 35, 0.08);
  --shadow-card: 0 20px 50px rgba(42, 38, 35, 0.12);

  --font-heading: "Jost", sans-serif;
  --font-body: "Jost", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-script: "Allura", cursive;

  --container-width: 1200px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 4px;

  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.icon { width: 20px; height: 20px; flex-shrink: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Línea corta decorativa sobre los títulos */
.rule {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 22px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn .icon { width: 22px; height: 22px; }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(140, 115, 97, 0.28);
}
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

/* Link de texto con flecha larga */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  color: var(--color-ink);
  transition: color var(--transition);
}
.link-arrow svg { width: 40px; height: 12px; color: var(--color-accent); transition: transform var(--transition); }
.link-arrow:hover { color: var(--color-accent); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ===================== SECTION HEAD ===================== */
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-ink-soft);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 300; }
.section-head .rule { margin: 20px 0 0; }
.section-head--secondary { margin-top: 90px; }
.section-subtitle { color: var(--color-ink-soft); font-size: 1rem; margin-top: 16px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--color-bg-soft); color: var(--color-ink-soft); padding: 40px 0 28px; }

.footer__top {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer__brand {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}
.footer__line { flex: 0 1 180px; height: 1px; background: var(--color-line); }
.footer__tagline {
  margin-left: auto;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.footer__tagline span + span::before { content: "•"; margin-right: 18px; }

.footer__bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.8rem;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a:hover,
.footer__credit a:hover { color: var(--color-accent); }
.footer__credit a { font-weight: 500; color: var(--color-ink); }

@media (max-width: 768px) {
  .footer__top { flex-direction: column; gap: 14px; text-align: center; }
  .footer__line { flex: none; width: 80px; }
  .footer__tagline { margin-left: 0; justify-content: center; font-size: 0.68rem; letter-spacing: 0.16em; }
  .footer__tagline span + span::before { margin-right: 10px; }
  .footer__tagline { gap: 8px 10px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
}
