/* Page frame: hero (text + three product tiles), about, footer and the floating
   contact buttons. Header lives in header.css, content sections in sections.css. */

/* Hero: text on one side, three equal product tiles on the other.
   Same size, same baseline, so the row reads calm and symmetrical. */
.hero { background: linear-gradient(to bottom, var(--white) 0%, var(--frost) 100%); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hero-text { max-width: 36rem; }

.hero h1 { font-size: var(--text-h1); }

.hero-lead {
  margin-top: 1.25rem;
  font-size: var(--text-large);
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.showroom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.6rem, 1.5vw, 1.25rem); }

.showroom-unit {
  display: grid;
  grid-template-rows: 1fr auto;
  aspect-ratio: 4 / 5;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--stainless);
  border-radius: var(--radius-small);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.15s;
}

.showroom-unit:hover { border-color: var(--steel-blue); }

/* Every photo sits on the same bottom line inside an equal box. */
.showroom-unit img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center bottom; }

.unit-label {
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--stainless);
  text-align: center;
  font-weight: 600;
  color: var(--navy);
}

.showroom-unit:hover .unit-label { text-decoration: underline; }

/* About */
.about { padding-block: clamp(3rem, 6vw, 5rem); background: var(--navy); color: var(--white); }

.about h2 { color: var(--white); font-size: var(--text-h2); }

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem 3rem;
  margin: 2rem 0 0;
}

.about-facts dt { font-family: var(--font-display); font-size: var(--text-h3); }

.about-facts dd { margin: 0.4rem 0 0; color: #c9d6e4; max-width: 24rem; }

/* Footer */
.site-footer { background: #0c2442; color: #c9d6e4; padding-block: 2.5rem 7rem; }

.site-footer a { color: var(--white); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: start;
}

.footer-name { font-family: var(--font-display); font-size: var(--text-large); color: var(--white); }

.footer-social { margin-top: 0.9rem; }

.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }

.footer-legal { grid-column: 1 / -1; font-size: var(--text-small); color: #a9bacc; }

/* Floating contacts: always reachable on long phone scrolls.
   WhatsApp is the main action; TikTok and Waze are smaller, stacked above it. */
.floating-contact {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.floating-contact a {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.25);
}

.floating-whatsapp { width: 3.5rem; height: 3.5rem; background: var(--whatsapp); }
.floating-whatsapp svg { width: 1.9rem; height: 1.9rem; }

.floating-small { width: 2.6rem; height: 2.6rem; background: var(--ink); }
.floating-small svg { width: 1.3rem; height: 1.3rem; }
.floating-waze { background: #0b6a99; } /* Waze-like blue, dark enough for the white icon */

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  /* Fixed photo row: a label wrapping to two lines must not shrink its photo. */
  .showroom-unit { aspect-ratio: auto; grid-template-rows: 6.5rem auto; padding: 0.6rem; }
  .unit-label { font-size: var(--text-small); margin-top: 0.5rem; padding-top: 0.4rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
