@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
}

:root {
  --sand: #d49a3a;
  --sand-dark: #b47d22;
  --ink: #1b2a3a;
  --ink-soft: #33465a;
  --muted: #6b7a8c;
  --bg: #ffffff;
  --bg-alt: #f4f1ea;
  --line: #e4e0d6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 42, 58, .10);
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header { position: relative; color: #fff; }
.navbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  font-weight: 400; letter-spacing: 2px; background: transparent;
  color: #fff; padding: 0; border-radius: 0; font-size: 5.7rem; line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.brand-text { font-weight: 600; font-size: 1.05rem; }
.nav-menu {
  list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center;
}
.nav-menu a { color: #fff; font-weight: 500; opacity: .92; }
.nav-menu a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  border: 1.5px solid rgba(255,255,255,.7); padding: 8px 16px; border-radius: 999px;
}
.nav-cta:hover { background: #fff; color: var(--ink) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 120px 20px 80px;
  background: #0d1722 url("../img/dsc-3963-2000x1335.jpg") center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,23,34,.65) 0%, rgba(13,23,34,.55) 50%, rgba(13,23,34,.78) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-weight: 700; color: var(--sand);
  margin: 0 0 14px; font-size: .9rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; margin: 0 0 18px; font-weight: 800; }
.hero-lead { font-size: 1.15rem; opacity: .95; margin: 0 auto 30px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #fff; font-size: 1.8rem; opacity: .85; animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: .2s; font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--sand); color: var(--ink); }
.btn-primary:hover { background: var(--sand-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn.is-disabled { opacity: .7; cursor: not-allowed; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0 0 14px; font-weight: 800; color: var(--ink);
  position: relative; display: inline-block;
}
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; background: var(--sand);
  border-radius: 4px; margin: 12px auto 0;
}
.section-head--left h2::after { margin-left: 0; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); transition: .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--sand); }
.card h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--ink); }
.card h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px; background: var(--sand);
  border-radius: 3px; margin-right: 10px; vertical-align: middle;
}
.card p { margin: 0; color: var(--ink-soft); }

/* ---------- Productos ---------- */
.productos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.data-table caption { text-align: left; color: var(--muted); font-size: .9rem; padding: 0 0 8px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--ink); color: #fff; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: .98rem; }
.productos-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.productos-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item {
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden;
  aspect-ratio: 3 / 2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contacto-list { list-style: none; margin: 10px 0 0; padding: 0; }
.contacto-list li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacto-label { font-weight: 700; color: var(--ink); }
.contacto-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.contacto-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Acceso ---------- */
.acceso-box {
  text-align: center; max-width: 720px; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 54px 30px; box-shadow: var(--shadow);
}
.acceso-box h2 { margin: 0 0 14px; font-size: 1.8rem; }
.acceso-box p { color: #c9d4df; margin: 0 0 26px; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1722; color: #c9d4df; padding: 50px 0 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.site-footer .brand-mark { display: inline-block; margin-bottom: 12px; font-size: 2.2rem; }
.site-footer p { margin: 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: #c9d4df; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; font-size: .9rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,14,20,.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; }
.lightbox-close { top: 22px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox button:hover { background: rgba(255,255,255,.28); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .brand-mark { font-size: 3.4rem; }
  .nav-menu {
    position: absolute; top: 100%; right: 20px; left: 20px; flex-direction: column;
    align-items: flex-start; gap: 4px; background: var(--ink); border-radius: 12px;
    padding: 14px 18px; box-shadow: var(--shadow); transform: scaleY(0); transform-origin: top;
    opacity: 0; transition: .2s; pointer-events: none;
  }
  .nav-menu.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 10px 4px; width: 100%; }
  .nav-cta { border: 0; padding: 10px 4px; }
  .productos-grid, .contacto-grid { grid-template-columns: 1fr; }
  .contacto-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll { animation: none; }
  .btn:hover, .card:hover, .gallery-item:hover img { transform: none; }
}
