/* Homepage — Amexhe Flooring */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.topbar {
  background: #0a0a0a;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5% 100px;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.62)),
    url('../img/img-home-01-a.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 980px;
}

.eyebrow {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 18px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 .gold { color: var(--gold); }

.hero p {
  max-width: 760px;
  margin: 24px auto 34px;
  font-size: 1.2rem;
  color: #efefef;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #111;
  box-shadow: 0 8px 20px rgba(201, 162, 74, 0.22);
}

.btn-secondary {
  background: rgba(17,17,17,0.7);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.btn:hover { transform: translateY(-2px); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: #f5f5f5;
  font-weight: 600;
}

.section {
  padding: 82px 5%;
  background: linear-gradient(180deg, #171717, #121212);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.section.alt {
  background: linear-gradient(180deg, #121212, #181818);
}

.process-bg-section {
  position: relative;
  background-image: url('../img/img-OurSimpleProcess.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.process-bg-section > .container {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 16px;
}

.section-line {
  width: 140px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0.7;
}

.lead {
  text-align: center;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.12rem;
}

.features {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: rgba(201,162,74,0.16);
  border: 1px solid rgba(201,162,74,0.35);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--gold);
}

.icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(71%) sepia(35%) saturate(456%) hue-rotate(358deg) brightness(93%) contrast(88%);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.closing {
  margin-top: 28px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.step {
  padding: 26px 18px;
  border-left: 2px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}

.step-number {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); }

.cta-banner {
  text-align: center;
}

.cta-banner p {
  max-width: 740px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.trusted-bg-section,
.upgrade-bg-section,
.reviews-bg-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.trusted-bg-section,
.upgrade-bg-section {
  background-image: url('../img/fondo-gris-oxford01.jpg');
}

.reviews-bg-section {
  background-image: url('../img/img-home-02.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  
  /* Esta es la propiedad mágica para el efecto parallax / fondo fijo */
  background-attachment: fixed !important; 
}

.trusted-bg-section::before,
.upgrade-bg-section::before,
.reviews-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 0;
}

.trusted-bg-section > .container,
.upgrade-bg-section > .container,
.reviews-bg-section > .container {
  position: relative;
  z-index: 1;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
}

.review {
  background: #f8f5ef;
  color: #1b1b1b;
  border-radius: 12px;
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold-dark);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review cite {
  font-style: normal;
  font-weight: 700;
  margin-top: 18px;
  display: block;
  text-align: right;
}

.service-areas {
  text-align: center;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin-top: 20px;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.7)),
    url('../img/cta-footer.jpg') center/cover no-repeat;
}

.final-cta-actions {
  margin-top: 28px;
  margin-bottom: 0;
}

.final-cta-tagline {
  margin-top: 26px;
  font-weight: 700;
  color: #fff;
}

footer {
  padding: 22px 5%;
  text-align: center;
  color: #bdbdbd;
  font-size: 0.95rem;
  background: #0b0b0b;
}

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 60px;
    min-height: auto;
  }

  .trust-strip,
  .features,
  .process {
    grid-template-columns: 1fr;
  }

  .topbar {
    text-align: center;
    justify-content: center;
  }

  h1 { font-size: 2.3rem; }
  .hero p { font-size: 1rem; }
}
