/*
 * Totaneros.es
 * Hoja de estilos local para la edición HTML estática.
 * No depende de React, Vite, una API ni ningún runtime.
 */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #172018;
  --forest: #25372f;
  --cream: #f9f5ed;
  --paper: #fffaf2;
  --sand: #eadbc4;
  --line: #d9cfbf;
  --clay: #b9462d;
  --peach: #e7a782;
  --copy: #5c665d;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

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

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

button, summary { cursor: pointer; font: inherit; }

.container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

.serif { font-family: var(--serif); }

.eyebrow {
  color: var(--clay);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--peach); }

.top-sale {
  height: 36px;
  background: var(--forest);
  color: #f5efe4;
}

.top-sale__content {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-sale__copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.top-sale__link {
  flex: none;
  border-bottom: 1px solid #d7d1bf;
  color: #fffaf0;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 94px;
  border-bottom: 1px solid #d5c9b5;
  background: rgba(249, 245, 237, 0.97);
  box-shadow: 0 8px 24px rgba(34, 39, 31, 0.08);
  backdrop-filter: blur(14px);
}

.site-header__content {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; }

.brand__mark {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #1d1718;
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  border: 1px solid var(--clay);
  border-radius: 50%;
  content: "";
}

.brand__mark::before { width: 32px; height: 32px; }
.brand__mark::after { width: 15px; height: 15px; }

.brand__name {
  font-family: var(--serif);
  font-size: 41px;
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
}

.brand__meta {
  padding-left: 10px;
  border-left: 1px solid #b9aa94;
  color: #697066;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 24px; }

.main-nav a {
  position: relative;
  color: #39473b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clay);
  content: "";
  transition: width 180ms ease-out;
}

.main-nav a:hover::after,
.main-nav .is-current::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.search-icon { color: #4e5b51; font-size: 22px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 180ms ease-out, background 180ms ease-out;
}

.button:hover { transform: translateY(-2px); }
.button--clay { background: var(--clay); color: #fff; }
.button--clay:hover { background: #963720; }
.button--peach { background: var(--peach); color: #272a21; }
.button--dark { background: var(--ink); color: #fff; }
.button--outline { border-color: rgba(255,255,255,.5); color: #fff; }

.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19,29,24,.86), rgba(25,37,29,.57) 46%, rgba(19,29,24,.12));
  content: "";
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
}

.hero h1 {
  max-width: 800px;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 102px;
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: .86;
}

.hero h1 em { color: var(--peach); }

.hero p {
  max-width: 550px;
  margin: 28px 0 0;
  color: #e4ded3;
  font-size: 17px;
  line-height: 1.65;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }

.coordinates {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 45px;
  color: #ded8ce;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coordinates::before { width: 40px; height: 1px; background: var(--peach); content: ""; }

.quick-links { border-bottom: 1px solid var(--line); background: #f2ebdf; }

.quick-links__content { display: grid; grid-template-columns: repeat(4, 1fr); }

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0 20px 20px;
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.quick-link:first-child { padding-left: 0; border-left: 0; }
.quick-link b { margin-left: auto; }

.quick-link__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #e7d9c5;
  color: #a9432e;
}

.section { padding: 92px 0; }
.section--paper { border-top: 1px solid var(--line); background: #f2ecdf; }
.section--sand { background: var(--sand); }
.section--dark { background: #1f3028; color: #fffaf0; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }

.section-heading h2,
.page-intro h1 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: .95;
}

.section-heading p,
.page-intro p { max-width: 570px; margin: 17px 0 0; color: var(--copy); line-height: 1.7; }
.section--dark .section-heading p { color: #d8d2c7; }

.underlink {
  display: inline-flex;
  gap: 7px;
  border-bottom: 1px solid var(--clay);
  color: #9b3a25;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--dark .underlink { border-color: #aaa396; color: #fff; }

.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; margin-top: 42px; }

.card-image { display: block; overflow: hidden; background: #ded2bf; }
.card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 350ms ease; }
.card-image:hover img { transform: scale(1.04); }
.story--feature .card-image img { aspect-ratio: 16 / 9; }

.story h3 {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.story--feature h3 { font-size: 40px; line-height: .96; }
.story p { margin: 12px 0 0; color: var(--copy); font-size: 14px; line-height: 1.7; }
.section--dark .story p { color: #d8d2c7; }

.story-list { display: grid; gap: 30px; padding-left: 32px; border-left: 1px solid var(--line); }

.tag {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 4px 7px;
  background: #eee2d0;
  color: #7d3b2b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.15); }

.event {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.event:nth-child(odd) { padding-right: 32px; }
.event:nth-child(even) { padding-left: 32px; }

.event__date {
  display: flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--peach);
  color: #222b23;
}

.event__date strong { font-family: var(--serif); font-size: 24px; line-height: 1; }
.event__date span { font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.event__copy { flex: 1; min-width: 0; }
.event__copy h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.02; }
.event__copy p { margin: 7px 0 0; color: #d8d2c7; font-size: 12px; }
.event__time { font-size: 12px; font-weight: 700; }

.place-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.place {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
}

.place:first-child { transform: translateY(32px); }
.place img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform 350ms ease; }
.place:hover img { transform: scale(1.05); }

.place__copy {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 20px 20px;
  background: linear-gradient(transparent, #172018);
}

.place h3 { margin: 3px 0 0; font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1; }
.place p { margin: 8px 0 0; color: #e0ddd5; font-size: 12px; line-height: 1.6; }

.two-column { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 64px; }
.clay-image { position: relative; max-width: 440px; margin: auto; }
.clay-image::before { position: absolute; top: -24px; left: -24px; width: 112px; height: 112px; border: 1px solid #bb8b70; border-radius: 50%; content: ""; }
.clay-image img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 16px 16px 0 var(--clay); }

.two-column h2 { max-width: 650px; margin: 7px 0 0; font-family: var(--serif); font-size: 62px; font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.two-column p { max-width: 610px; margin: 18px 0 0; color: #5e5549; font-size: 16px; line-height: 1.75; }

.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.business { overflow: hidden; border: 1px solid #ddd1bf; background: var(--paper); transition: transform 180ms ease, box-shadow 180ms ease; }
.business:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 #e2d1ba; }
.business img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.business__body { padding: 20px; }
.business h3 { margin: 15px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: -.04em; line-height: .96; }
.business p { min-height: 67px; margin: 10px 0 0; color: var(--copy); font-size: 13px; line-height: 1.65; }
.business__zone { float: right; color: #81867d; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.page-intro { padding: 62px 0 48px; border-bottom: 1px solid var(--line); background: #eee5d5; }
.page-intro h1 { font-size: 82px; line-height: .84; }

.filter-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.filter { border: 0; border-radius: 999px; padding: 7px 12px; background: #ede5d8; color: #5d665d; font-size: 12px; font-weight: 700; }
.filter--active { background: var(--ink); color: #fff; }

.calendar { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 38px; border: 1px solid #d5c8b8; background: var(--paper); }
.calendar__day { min-height: 128px; padding: 14px; border-right: 1px solid #ded2c1; }
.calendar__day:last-child { border-right: 0; }
.calendar__day strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 31px; line-height: 1; }
.calendar__day--active { background: var(--clay); color: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.listing { overflow: hidden; border: 1px solid #ddd0bd; background: var(--paper); }
.listing:nth-child(even) { margin-top: 40px; }
.listing img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.listing__body { padding: 20px; }
.listing h2 { margin: 7px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; }
.listing p { color: var(--copy); font-size: 13px; line-height: 1.65; }

.feature-photo { position: relative; min-height: 560px; overflow: hidden; background: var(--forest); color: #fff; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.feature-photo__content { position: relative; display: flex; min-height: 560px; flex-direction: column; justify-content: end; padding-bottom: 56px; }
.feature-photo h1 { max-width: 760px; margin: 8px 0 0; font-family: var(--serif); font-size: 82px; font-weight: 400; letter-spacing: -.065em; line-height: .84; }
.feature-photo p { max-width: 560px; color: #e0dbd0; line-height: 1.7; }

.article-hero { padding: 42px 0 54px; border-bottom: 1px solid var(--line); background: #f2ebdf; }
.back-link { display: inline-flex; color: #a9432e; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-hero__layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 55px; margin-top: 45px; }
.article-hero h1 { margin: 10px 0 0; font-family: var(--serif); font-size: 80px; font-weight: 400; letter-spacing: -.065em; line-height: .84; }
.article-hero p { margin: 0; color: #5e675e; font-size: 16px; line-height: 1.75; }
.wide-image { width: 100%; height: 480px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; padding: 50px 0; }
.facts { height: max-content; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dl { margin: 16px 0; }.facts div { margin-bottom: 18px; }
.facts dt { color: #7d8379; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 700; }
.article-copy { max-width: 700px; color: #374238; font-size: 17px; line-height: 1.9; }
.article-copy .lead { color: #26372e; font-family: var(--serif); font-size: 39px; line-height: 1.12; letter-spacing: -.035em; }
.article-copy h2 { color: var(--ink); font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.article-copy blockquote { margin: 35px 0; padding-left: 25px; border-left: 4px solid var(--clay); color: #26372e; font-family: var(--serif); font-size: 31px; line-height: 1.08; }

.sale-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff9ef; }
.sale-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.sale-hero__content { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; padding: 112px 32px; }
.sale-hero h1 { margin: 12px 0 0; font-family: var(--serif); font-size: 82px; font-weight: 400; letter-spacing: -.065em; line-height: .84; }
.sale-hero p { max-width: 600px; color: #ded8cd; font-size: 20px; line-height: 1.6; }
.sale-note { padding: 30px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.sale-note p { color: #fff; font-family: var(--serif); font-size: 31px; line-height: 1.02; }

.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: #f5efe4; }
.site-footer__content { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 50px; padding: 64px 32px; }
.site-footer p { color: #c7c1b6; font-size: 14px; line-height: 1.7; }.site-footer .brand__name { font-size: 34px; }
.footer-title { color: var(--peach); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; margin-top: 15px; color: #c7c1b6; font-size: 14px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); color: #a9a99e; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-bottom .container { display: flex; justify-content: space-between; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-actions .search-icon, .header-actions .button { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d4c7b2; border-radius: 50%; font-size: 20px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "☰"; }.mobile-menu[open] summary::after { content: "×"; }
  .mobile-menu nav { position: absolute; top: 94px; left: 0; right: 0; display: grid; padding: 16px 32px; border-top: 1px solid var(--line); background: var(--cream); box-shadow: 0 12px 20px rgba(23,32,24,.12); }
  .mobile-menu nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
  .story-grid, .two-column, .article-hero__layout, .article-layout, .sale-hero__content { grid-template-columns: 1fr; gap: 32px; }
  .story-list { grid-template-columns: 1fr 1fr; padding: 25px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }.business-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__content { grid-template-columns: 1.2fr .8fr; }.site-footer__content > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .top-sale__content { gap: 10px; font-size: 10px; letter-spacing: .11em; }
  .top-sale__desktop-copy { display: none; }.top-sale__mobile-copy { display: inline; }
  .site-header, .site-header__content { height: 94px; }.site-header__content { gap: 8px; }
  .brand { gap: 8px; }.brand__mark { width: 60px; height: 60px; }.brand__name { font-size: 41px; }.brand__meta { display: none; }
  .mobile-menu nav { top: 94px; padding: 16px; }
  .hero, .hero__content { min-height: 580px; }.hero__content { padding-bottom: 50px; }
  .hero h1 { font-size: 55px; line-height: .88; }.hero p { margin-top: 25px; font-size: 15px; }.hero__actions { margin-top: 26px; }.coordinates { margin-top: 37px; font-size: 9px; }
  .quick-links__content { grid-template-columns: 1fr; }.quick-link { padding: 16px 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .section { padding: 62px 0; }.section-heading { display: block; }.section-heading h2, .page-intro h1 { font-size: 43px; }.section-heading .underlink { margin-top: 22px; }
  .story-list, .business-grid, .place-grid, .listing-grid { grid-template-columns: 1fr; }.story-list { gap: 28px; }.story--feature h3 { font-size: 34px; }
  .event-list { grid-template-columns: 1fr; }.event:nth-child(n) { padding-right: 0; padding-left: 0; }.event__time { display: none; }
  .place, .place:first-child { min-height: 300px; transform: none; }.two-column h2 { font-size: 49px; }.clay-image { max-width: none; }.clay-image img { aspect-ratio: 4 / 3; }
  .calendar { grid-template-columns: 1fr; }.calendar__day { min-height: 96px; border-right: 0; border-bottom: 1px solid #ded2c1; }
  .listing:nth-child(even) { margin-top: 0; }.feature-photo, .feature-photo__content { min-height: 500px; }.feature-photo h1, .article-hero h1, .sale-hero h1 { font-size: 58px; }
  .wide-image { height: 270px; }.article-copy { font-size: 16px; }.article-copy .lead { font-size: 31px; }.article-copy h2 { font-size: 36px; }.article-copy blockquote { font-size: 27px; }
  .sale-hero__content { padding: 75px 16px; }.sale-note p { font-size: 28px; }.site-footer__content { grid-template-columns: 1fr; padding: 50px 16px; }.site-footer__content > :last-child { grid-column: auto; }.footer-bottom .container { display: block; }.footer-bottom span { display: block; margin-bottom: 5px; }
}

@media (min-width: 641px) { .top-sale__mobile-copy { display: none; } }
