:root {
  --navy: #0F2638;
  --navy-deep: #0A1B28;
  --navy-mid: #163044;
  --gold: #CDB585;
  --gold-soft: #D8C6A3;
  --gold-deep: #A8905E;
  --ivory: #F4EFE6;
  --paper: #FAF7F2;
  --white: #FFFFFF;
  --ink: #1A242C;
  --mute: #5C646A;
  --legal: #6A645A;
  --link: #7A6244;
  --line: rgba(15, 38, 56, 0.12);
  --header-h: 88px;
  --space: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media video { display: none; }
}

html, body { margin: 0; padding: 0; }

body {
  font-family: Montserrat, "Segoe UI", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  min-width: 320px;
}

body.menu-open { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 27, 40, 0.78), transparent);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(10, 27, 40, 0.94);
  box-shadow: 0 1px 0 rgba(205, 181, 133, 0.18);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img {
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--gold); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
}
.btn-ghost.dark {
  color: var(--navy);
  border-color: rgba(15, 38, 56, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  color: var(--ivory);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media { z-index: 0; }
.hero-media img { z-index: 0; }
.hero-media video { z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(10, 27, 40, 0.92) 0%,
    rgba(15, 38, 56, 0.72) 46%,
    rgba(15, 38, 56, 0.28) 100%
  );
}
.hero .wrap { position: relative; z-index: 3; width: min(100% - 2.5rem, 1280px); }
.kicker {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1.1rem;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.1rem, 7.2vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 12ch;
}
.deck {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(244, 239, 230, 0.8);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.caption {
  position: absolute;
  right: max(1.25rem, calc((100% - 1280px) / 2));
  bottom: 1.4rem;
  z-index: 3;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: 0.9;
  margin: 0;
}

/* Sections */
.section { padding: 5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.section-head h2,
.grupo h2,
.contacto h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 0 0 0.7rem;
}

/* Grupo */
.grupo {
  background: var(--paper);
  color: var(--navy);
}
.grupo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.grupo p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a4450;
  margin: 0 0 1.15rem;
}
.grupo p:last-child { margin-bottom: 0; }
.pill-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.pill {
  border-top: 2px solid var(--gold);
  padding-top: 0.85rem;
}
.pill small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.pill strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
}

/* Empresas */
.empresas { background: var(--ivory); color: var(--navy); }
.division {
  margin-bottom: 2.75rem;
}
.division:last-of-type { margin-bottom: 1rem; }
.division-name {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 0 0 0.9rem;
}
.cards {
  display: grid;
  gap: 1rem;
}
.cards-1 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: 1.35fr 1fr 1fr 1fr; }

.card {
  background: var(--white);
  border: 1px solid rgba(15, 38, 56, 0.07);
  padding: 1.25rem 1.35rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.65rem;
  margin: 0 0 0.45rem;
  color: var(--navy);
  line-height: 1.15;
}
.wordmark,
.card .wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 0.45rem;
  color: var(--navy);
  line-height: 1.1;
}
.card p, .card li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4a4f55;
  margin: 0 0 0.7rem;
}
.card p:last-child, .card .links:last-child { margin-bottom: 0; }
.card a { font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0.9rem;
  min-height: 4.5rem;
}
.logo-box img { object-fit: contain; }
.logo-protector { height: 96px; width: auto; max-width: 100%; }
.logo-armapedia {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #0b0b0b;
  padding: 0.4rem 0.6rem;
}
.logo-bersa { height: 52px; width: auto; max-width: 100%; }
.logo-browning { height: 80px; width: auto; max-width: 100%; }
.logo-winchester { height: 46px; width: auto; max-width: 100%; }
.logo-richeese { height: 56px; width: auto; max-width: 100%; }
.logo-buenos-aires { height: 84px; width: auto; max-width: 100%; }
.logo-la-pacifica { height: 68px; width: auto; max-width: 100%; }
.logo-rutaxl { height: 96px; width: auto; max-width: 100%; }
.logo-fondo-angeles { height: 52px; width: auto; max-width: 100%; }
.photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin: 0 0 0.85rem;
}
.amenidades {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}
.amenidades li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.28rem;
}
.amenidades li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 1px;
  background: var(--gold-deep);
}
.legal-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--legal);
  margin: 0.85rem 0 0;
  max-width: 70ch;
}

/* Contacto */
.contacto {
  background: var(--navy);
  color: var(--ivory);
  padding: 5rem 0;
}
.contacto h2 { color: var(--ivory); }
.contacto .eyebrow { color: var(--gold); }
.contacto-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contacto p { color: rgba(244, 239, 230, 0.8); }
.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.contact-list li {
  margin: 0 0 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(205, 181, 133, 0.2);
}
.contact-list li:last-child { margin-bottom: 0; }
.contact-list span.label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-list a { color: var(--ivory); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--gold); }
.contact-list [hidden],
.whatsapp-action[hidden],
[data-requires][hidden] { display: none; }

.whatsapp-action {
  margin: 1.35rem 0 0;
}
.whatsapp-action .btn {
  font-size: 0.72rem;
  padding: 0.75rem 1.1rem;
}

.pendiente {
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 500;
}

form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(205, 181, 133, 0.22);
  padding: 1.5rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(10, 27, 40, 0.5);
  border: 1px solid rgba(205, 181, 133, 0.28);
  color: var(--ivory);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.form-note, #form-status {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(244, 239, 230, 0.7);
  margin: 0.9rem 0 0;
}
#form-status.is-error { color: var(--gold-soft); }
.form-placeholder-flag {
  font-size: 0.75rem;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 239, 230, 0.72);
  padding: 2rem 0 2.25rem;
  font-size: 0.82rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-start;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { max-width: 62ch; line-height: 1.5; margin: 0; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  margin: 0;
}
.footer-contact > :not([hidden]) + :not([hidden])::before {
  content: "·";
  display: inline-block;
  margin: 0 0.75rem;
  color: rgba(205, 181, 133, 0.45);
}

/* Privacy page */
.page-header-spacer { height: var(--header-h); background: var(--navy-deep); }
.page-main {
  background: var(--ivory);
  color: var(--navy);
  padding: 3.5rem 0 5rem;
}
.page-main h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
}
.page-main .meta { color: var(--legal); font-size: 0.9rem; margin: 0 0 2rem; }
.page-main h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.7rem;
  margin: 2rem 0 0.6rem;
}
.page-main p, .page-main li { color: #3a4450; line-height: 1.65; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .grupo-grid,
  .contacto-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; }
  .caption { right: 1.25rem; max-width: 16rem; text-align: right; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .logo-link img { height: 60px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(22rem, 86vw);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.75rem 2rem;
    gap: 1.4rem;
    transform: translateX(110%);
    transition: transform 0.28s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav .btn { width: 100%; text-align: center; }
  .hero { min-height: 92svh; padding-bottom: 5.5rem; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 27, 40, 0.55) 0%,
      rgba(10, 27, 40, 0.82) 55%,
      rgba(10, 27, 40, 0.92) 100%
    );
  }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .pill-row { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }
  .contacto { padding: 3.5rem 0; }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .footer-contact > :not([hidden]) + :not([hidden])::before { content: none; }
  .wrap, .hero .wrap { width: min(100% - 1.5rem, var(--max)); }
  .caption {
    left: 1.25rem;
    right: 1.25rem;
    text-align: left;
    max-width: none;
  }
  .photo { height: 180px; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .pill-row { grid-template-columns: 1fr; }
}

.card-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.card-feature .logo-box { margin: 0; min-height: 0; }
.card-feature .logo-protector { height: 120px; }
@media (max-width: 760px) {
  .card-feature { grid-template-columns: 1fr; gap: 0.5rem; }
  .card-feature .logo-box { margin-bottom: 0.6rem; }
}

.page-main .pendiente { color: #8A6E45; }
