:root {
  --ink: #0d0d0f;
  --panel: #151517;
  --muted: #646464;
  --line: #e4e0d8;
  --paper: #f6f4ef;
  --gold: #d6a11b;
  --gold-dark: #9b6e08;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.showroom-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.showroom-modal.is-hidden {
  display: none;
}

.showroom-card {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  border: 1px solid rgba(214, 161, 27, 0.42);
  border-radius: 8px;
  color: var(--white);
  background: #101012;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.showroom-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.05;
}

.showroom-card p:not(.eyebrow) {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.showroom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.showroom-close:hover,
.showroom-close:focus-visible {
  color: var(--gold);
}

.showroom-fixed {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(214, 161, 27, 0.5);
  color: #171100;
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.showroom-fixed span {
  font-size: 0.7rem;
  font-weight: 800;
}

.showroom-fixed strong {
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 140px 1fr 310px;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(13, 13, 15, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(214, 161, 27, 0.18);
}

.brand img {
  width: 110px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0;
}

.header-cta,
.button.primary {
  background: var(--gold);
  color: #171100;
}

.header-cta.online-store {
  border-color: rgba(214, 161, 27, 0.58);
  background: transparent;
  color: var(--gold);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button.secondary.dark {
  border-color: rgba(214, 161, 27, 0.72);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 9vw, 118px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.98) 0%, rgba(8, 8, 10, 0.84) 36%, rgba(8, 8, 10, 0.35) 66%, rgba(8, 8, 10, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.18), rgba(8, 8, 10, 0.3)),
    url("assets/images/hero-esquadrias.jpg") center right / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 12px;
  content: "";
  background: var(--gold);
}

.section-heading.center .eyebrow::after {
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-budget {
  gap: 10px;
  min-height: 52px;
  padding-inline: 24px;
  box-shadow: 0 14px 28px rgba(214, 161, 27, 0.24);
}

.hero-budget svg {
  width: 20px;
  height: 20px;
}

.hero-budget svg path,
.hero-budget svg rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
}

.hero-points span {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.hero-points span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-points svg {
  width: 52px;
  height: 52px;
  color: var(--gold);
}

.hero-points svg path,
.hero-points svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-strip {
  padding: 18px clamp(20px, 6vw, 86px);
  background: var(--gold);
  color: #1b1300;
  font-weight: 800;
  text-align: center;
}

.intro-strip p {
  margin: 0;
  font-size: clamp(1.06rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 6vw, 86px);
}

.page-hero {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 86px) clamp(40px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.94), rgba(8, 8, 10, 0.7)),
    url("assets/images/hero-esquadrias.jpg") center right / cover no-repeat;
}

.page-hero .section-heading {
  margin-bottom: 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.color-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.color-note span,
.color-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.color-note span {
  color: var(--gold);
  border: 1px solid rgba(214, 161, 27, 0.44);
}

.color-swatch {
  min-width: 104px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.color-black {
  color: var(--white);
  background: #0f0f10;
}

.color-white {
  color: #171100;
  background: #f7f5ef;
}

.color-wood {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(77, 42, 18, 0.32), rgba(255, 255, 255, 0.08), rgba(77, 42, 18, 0.26)),
    linear-gradient(135deg, #6f3f1d 0%, #a7652a 36%, #d0944a 62%, #7a431f 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: #343434;
  font-size: 1.08rem;
  line-height: 1.8;
}

.about {
  padding-block: clamp(42px, 5vw, 68px);
}

.about .section-heading {
  margin-bottom: 22px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.values-grid article {
  min-height: 190px;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
}

.values-grid h3 {
  margin-bottom: 12px;
  font-size: 0.96rem;
  text-transform: uppercase;
}

.values-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.products {
  padding-block: clamp(32px, 4.5vw, 54px);
  background: var(--white);
}

.products .section-heading {
  margin-bottom: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 220px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.product-visual {
  width: 104px;
  height: 80px;
  margin: 0 auto 18px;
  padding: 8px;
  color: var(--gold-dark);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-visual rect,
.product-visual line,
.product-visual path,
.product-visual circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  text-transform: uppercase;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.projects {
  padding-block: clamp(42px, 5vw, 68px);
  color: var(--white);
  background: var(--panel);
}

.projects .section-heading {
  margin-bottom: 22px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.projects-grid img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  border: 1px solid rgba(214, 161, 27, 0.22);
}

.projects-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(20px, 6vw, 86px);
  background: var(--white);
}

.trust-band article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 24px 24px;
  background: var(--white);
}

.trust-band article:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 22px;
  width: 1px;
  content: "";
  background: #e5e5e5;
}

.trust-icon {
  width: 54px;
  height: 54px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-icon path,
.trust-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-band h3 {
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

.trust-band p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.showcase {
  background: var(--paper);
}

.showcase-page {
  background: var(--paper);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: #f1eee7;
}

.showcase-card h3 {
  margin: 22px 22px 10px;
  font-size: 1rem;
  text-transform: uppercase;
}

.showcase-card p {
  margin: 0 22px 24px;
  color: var(--muted);
  line-height: 1.6;
}

.catalog {
  color: var(--white);
  background: var(--panel);
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.line-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid rgba(214, 161, 27, 0.28);
  border-radius: 8px;
  background: #241e13;
}

.line-grid h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.line-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #09090a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  padding: 44px clamp(20px, 6vw, 86px);
}

.footer-brand img {
  width: 104px;
  height: 70px;
  margin-bottom: 18px;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--gold);
}

.footer-brand p {
  max-width: 300px;
}

.footer-bottom {
  padding: 14px clamp(20px, 6vw, 86px);
  color: #1b1300;
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.footer-bottom p {
  color: #1b1300;
  line-height: 1.4;
}

.footer-bottom a {
  display: inline;
  color: #1b1300;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #000000;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: stretch;
  }

  .site-header.is-open .header-cta {
    flex: 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-points,
  .about-grid,
  .values-grid,
  .product-grid,
  .projects-grid,
  .trust-band,
  .showcase-grid,
  .line-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand img {
    width: 92px;
    height: 54px;
  }

  .hero {
    padding: 48px 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 54px 18px;
  }

  .showroom-fixed {
    right: 12px;
    bottom: 12px;
    min-width: 0;
    padding: 10px 12px;
  }
}
