:root {
  --color-red: #b4232a;
  --color-red-dark: #861a20;
  --color-green: #2f7d4f;
  --color-green-dark: #1f5e3b;
  --color-ink: #242424;
  --color-muted: #62666c;
  --color-paper: #ffffff;
  --color-soft: #f6f7f4;
  --color-line: #e2e5df;
  --color-footer: #202320;
  --shadow-soft: 0 18px 45px rgba(28, 30, 28, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--color-red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-red-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 125, 79, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--color-paper);
  background: var(--color-red);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 229, 223, 0.88);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 24px), 1240px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--color-ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 2px solid var(--color-green);
  border-radius: 50%;
  background: var(--color-paper);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1.08rem;
}

.brand-copy small {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink);
  background: var(--color-paper);
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-red);
}

.nav-toggle-line {
  position: relative;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.primary-nav {
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  display: none;
  padding: 14px 16px 18px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  display: grid;
  gap: 6px;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 10px 8px;
  border-radius: var(--radius);
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-red-dark);
  background: rgba(180, 35, 42, 0.08);
}

.site-main {
  min-height: 60vh;
}

.breadcrumbs {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-soft);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 11px 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  color: var(--color-green);
  content: "/";
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--color-green-dark);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumbs span {
  color: var(--color-muted);
}

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-paper);
  background: var(--color-footer);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(16, 18, 16, 0.78), rgba(16, 18, 16, 0.36)), url("/assets/img/placeholders/tienda-local.svg");
  background-position: center;
  background-size: cover;
}

.hero-montage {
  display: block;
  min-height: 0;
  padding-block: 30px 0;
  color: var(--color-ink);
  background:
    linear-gradient(180deg, rgba(246, 247, 244, 0.96), rgba(255, 255, 255, 1));
}

.hero-montage-inner {
  width: min(calc(100% - 32px), 1120px);
}

.hero-montage-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 22px 52px rgba(28, 30, 28, 0.16);
}

.hero-montage-actions {
  margin-top: 18px;
  padding-block: 16px;
  border-block: 1px solid rgba(31, 94, 59, 0.12);
  background: var(--color-green-dark);
}

.hero-montage-actions .hero-actions {
  justify-content: center;
  margin-top: 0;
}

.hero-montage-actions .btn-secondary {
  color: var(--color-paper);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 110px 76px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.04;
}

.hero-lead {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.16rem;
}

.hero-actions,
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: var(--color-paper);
  background: var(--color-red);
}

.btn-primary:hover {
  color: var(--color-paper);
  background: var(--color-red-dark);
}

.btn-secondary {
  color: var(--color-paper);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  color: var(--color-paper);
  background: rgba(255, 255, 255, 0.2);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--color-green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfe8cf;
}

.section {
  padding-block: 74px;
}

.section-intro {
  border-bottom: 1px solid var(--color-line);
}

.section-band {
  color: var(--color-paper);
  background: var(--color-green-dark);
}

.section-band .section-kicker {
  color: #bfe8cf;
}

.section-soft {
  background: var(--color-soft);
}

.split-layout,
.content-grid,
.contact-grid,
.advice-columns,
.local-seo-block {
  display: grid;
  gap: 34px;
}

.split-layout {
  align-items: start;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h2 {
  margin: 0 0 14px;
  font-size: 2rem;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

p {
  margin: 0 0 16px;
}

.service-grid,
.article-grid,
.mini-articles,
.timeline {
  display: grid;
  gap: 18px;
}

.service-card,
.article-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  overflow: hidden;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-soft);
}

.service-card h3,
.service-card p,
.service-card a,
.article-card {
  padding-inline: 18px;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p {
  color: var(--color-muted);
}

.service-card a {
  display: inline-flex;
  padding-bottom: 18px;
  font-weight: 800;
}

.feature-row {
  justify-content: space-between;
  margin-top: 0;
}

.feature-row > div {
  max-width: 760px;
}

.feature-row p {
  color: rgba(255, 255, 255, 0.86);
}

.mini-articles {
  grid-template-columns: 1fr;
}

.mini-articles article,
.timeline > div,
.highlight-panel,
.contact-panel,
.contact-form,
.practical-strip {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
}

.mini-articles article {
  padding: 18px;
}

.mini-articles span,
.article-card span,
.timeline span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-red);
  font-size: 0.84rem;
  font-weight: 800;
}

.page-hero {
  padding-block: 88px;
  color: var(--color-paper);
  background: var(--color-footer);
}

.page-hero .container {
  max-width: 900px;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.5rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.product-hero {
  border-bottom: 7px solid var(--color-green);
}

.image-showcase-section {
  padding-block: 38px;
}

.category-showcase {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: 0 18px 44px rgba(28, 30, 28, 0.12);
}

.category-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.pool-showcase {
  max-width: 1120px;
  margin-inline: auto;
}

.gift-feature {
  display: grid;
  gap: 30px;
  align-items: center;
}

.gift-feature-media {
  margin: 0;
}

.gift-feature-copy {
  max-width: 620px;
}

.gift-feature-copy .check-list {
  margin-top: 18px;
}

.text-flow > * + * {
  margin-top: 16px;
}

.text-flow p,
.wide-copy p {
  color: var(--color-muted);
}

.highlight-panel,
.contact-panel,
.contact-form,
.practical-strip {
  padding: 24px;
  box-shadow: 0 14px 36px rgba(28, 30, 28, 0.08);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-green);
  content: "";
}

.timeline {
  grid-template-columns: 1fr;
}

.timeline > div {
  padding: 22px;
  color: var(--color-ink);
}

.practical-strip {
  display: grid;
  gap: 16px;
  align-items: center;
}

.practical-strip h2 {
  margin: 0;
}

.practical-strip p {
  color: var(--color-muted);
}

.practical-strip .btn {
  justify-self: start;
}

.advice-columns article {
  padding-block: 10px;
  border-top: 4px solid var(--color-red);
}

.article-card {
  padding-block: 22px;
}

.article-card p {
  color: var(--color-muted);
}

.store-note {
  display: grid;
  gap: 22px;
  align-items: center;
}

.store-note span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-red);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.store-note p {
  margin: 0;
  color: var(--color-muted);
}

.founders-feature {
  display: grid;
  gap: 28px;
  align-items: center;
}

.founders-photo,
.history-gallery figure {
  margin: 0;
}

.founders-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.founders-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.founders-photo figcaption,
.history-gallery figcaption {
  padding: 12px 14px;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.founders-copy {
  border-left: 5px solid var(--color-green);
  padding-left: 22px;
}

.founders-copy p {
  color: var(--color-muted);
}

.history-gallery {
  display: grid;
  gap: 18px;
}

.history-gallery figure {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
}

.history-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.history-gallery figure:nth-child(4) img,
.history-gallery figure:nth-child(5) img {
  aspect-ratio: 16 / 10;
}

.text-link {
  color: var(--color-green-dark);
  font-weight: 800;
}

.local-seo-block {
  align-items: start;
}

.local-seo-block p {
  color: var(--color-muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-paper);
}

.faq-list h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.faq-list p {
  margin: 0;
  color: var(--color-muted);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 2px;
}

.contact-list dt {
  color: var(--color-green-dark);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--color-muted);
}

.contact-list dd span {
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.inline-action {
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form p {
  color: var(--color-muted);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form label span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--color-ink);
  background: var(--color-paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.privacy-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px 10px;
  font-weight: 400;
}

.privacy-check input {
  width: auto;
  margin-top: 0.4em;
}

.privacy-check .field-error {
  grid-column: 2;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  color: var(--color-red-dark);
  font-size: 0.9rem;
}

.form-notice {
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 700;
}

.form-notice-success {
  color: var(--color-green-dark);
  background: rgba(47, 125, 79, 0.11);
}

.form-notice-error {
  color: var(--color-red-dark);
  background: rgba(180, 35, 42, 0.1);
}

.map-placeholder {
  display: grid;
  gap: 24px;
}

.map-placeholder iframe,
.map-box {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.map-box {
  display: grid;
  place-items: center;
  color: var(--color-muted);
  background:
    linear-gradient(45deg, rgba(47, 125, 79, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(180, 35, 42, 0.08) 25%, transparent 25%),
    var(--color-paper);
  background-size: 28px 28px;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--color-footer);
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-block: 54px 34px;
}

.footer-block h2 {
  margin-bottom: 12px;
  color: var(--color-paper);
  font-size: 1.08rem;
}

.footer-block p,
.footer-list {
  margin: 0;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: var(--color-paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  text-align: right;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 680px) {
  .hero h1 {
    font-size: 4rem;
  }

  .service-grid,
  .article-grid,
  .mini-articles,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practical-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  .header-inner {
    gap: 8px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .primary-nav ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 2px;
    width: auto;
    transform: translateX(-28px);
  }

  .primary-nav a {
    padding: 8px 10px;
    font-size: 0.93rem;
    white-space: nowrap;
  }

  .split-layout,
  .content-grid,
  .contact-grid,
  .local-seo-block,
  .store-note,
  .founders-feature {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-grid-three,
  .advice-columns,
  .footer-grid,
  .timeline,
  .article-grid,
  .faq-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-placeholder {
    grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
    align-items: center;
  }

  .history-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .gift-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }

  .practical-strip {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.1fr) auto;
  }

  .practical-strip .btn {
    justify-self: end;
    white-space: nowrap;
  }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .primary-nav ul {
    transform: translateX(-18px);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-montage {
    min-height: 0;
    padding-block: 14px 0;
  }

  .hero-montage-inner {
    width: min(calc(100% - 18px), 1120px);
  }

  .hero-montage-image {
    border-radius: 6px;
  }

  .hero-montage-actions {
    margin-top: 14px;
  }

  .hero-content {
    padding-block: 96px 58px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-lead,
  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .page-hero {
    padding-block: 64px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .section {
    padding-block: 54px;
  }

  h2 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
  }
}
