/* ============================================
   A.B. STORE SRL — Home
   ============================================ */

/* --- Hero --- */
.hero {
  height: 100svh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(90,68,45,0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 22%, rgba(65,52,38,0.20) 0%, transparent 50%),
    linear-gradient(148deg, rgba(46,40,32,0.50) 0%, rgba(26,20,16,0.58) 45%, rgba(38,32,26,0.45) 75%, rgba(20,16,8,0.65) 100%),
    url('https://images.unsplash.com/photo-1778049337224-3f307769a520?w=1920&q=90&auto=format&fit=crop') center / cover no-repeat;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,16,12,0.15) 0%,
    rgba(20,16,12,0.08) 45%,
    rgba(20,16,12,0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 24px;
  max-width: 860px;
}

.hero__eyebrow {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero__title {
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 52px;
  animation: fadeUp 1s var(--ease) 0.42s both;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero .btn { animation: fadeUp 1s var(--ease) 0.68s both; }

.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.45);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fadeUp 1s var(--ease) 1.1s both;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.75);
  animation: scrollPulse 2s var(--ease) infinite 1.6s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* --- Intro --- */
.intro { background: var(--color-white); }
.intro__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.intro__inner .section-body { margin: 0 auto; }

/* --- Collezioni in evidenza --- */
.featured { background: var(--color-bg); }

.section-header { margin-bottom: clamp(40px, 6vw, 64px); }

.featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.featured__card {
  overflow: hidden;
  background: var(--color-bg-warm);
  position: relative;
}
.featured__card a { display: block; height: 100%; }
.featured__card--tall { grid-row: span 2; }

.featured__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  transition: transform 0.75s var(--ease);
}
.featured__card--tall .featured__img {
  aspect-ratio: unset;
  min-height: 420px;
  height: calc(100% - 57px);
}
.featured__card:hover .featured__img { transform: scale(1.045); }

/* Placeholder materiali */
.featured__img--marmo {
  background:
    radial-gradient(ellipse at 25% 35%, rgba(255,255,255,0.65) 0%, transparent 45%),
    linear-gradient(135deg, #EDEAE6 0%, #D8D3CC 38%, #F0EDE8 68%, #E0DDD6 100%);
}
.featured__img--cemento {
  background:
    radial-gradient(ellipse at 72% 58%, rgba(185,180,175,0.5) 0%, transparent 50%),
    linear-gradient(145deg, #BBBAB5 0%, #A8A7A0 42%, #B5B4AE 70%, #A2A19A 100%);
}
.featured__img--gres {
  background:
    radial-gradient(ellipse at 32% 68%, rgba(215,193,162,0.55) 0%, transparent 50%),
    linear-gradient(122deg, #C8B898 0%, #B8A880 42%, #D0C0A0 62%, #C0B090 100%);
}
.featured__img--travertino {
  background:
    radial-gradient(ellipse at 62% 28%, rgba(235,218,185,0.65) 0%, transparent 50%),
    linear-gradient(135deg, #D8C8A0 0%, #C8B888 42%, #DDD0A8 70%, #CEC0A0 100%);
}
.featured__img--interno {
  background: url('https://images.unsplash.com/photo-1758448656987-cfae6bf225e4?w=1200&q=85&auto=format&fit=crop') center / cover no-repeat;
}
.featured__img--esterno {
  background: url('https://plus.unsplash.com/premium_photo-1682377521765-d5a6f0bfbe1f?w=1200&q=85&auto=format&fit=crop') center / cover no-repeat;
}
.featured__img--bagno {
  background:
    radial-gradient(ellipse at 38% 32%, rgba(220,230,238,0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 72% 70%, rgba(190,205,215,0.5) 0%, transparent 42%),
    linear-gradient(135deg, #D8E4EC 0%, #C4D4DE 38%, #DEEAF0 65%, #CAD8E4 100%);
}
.featured__img--salotto {
  background:
    radial-gradient(ellipse at 42% 55%, rgba(210,195,168,0.55) 0%, transparent 52%),
    linear-gradient(135deg, #D4C8A8 0%, #C4B898 40%, #D8CEB5 65%, #C8B8A0 100%);
}

.featured__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}
.featured__name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 400;
}
.featured__arrow {
  font-size: 1.1rem;
  color: var(--color-accent);
  transition: transform var(--t-fast);
}
.featured__card:hover .featured__arrow { transform: translateX(7px); }

.featured__cta {
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
}

/* --- About preview --- */
.about-preview { background: var(--color-bg-warm); padding: 0; }
.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.about-preview__img {
  background: url('https://images.unsplash.com/photo-1523292864699-4dcfd824dae2?w=1200&q=85&auto=format&fit=crop') center / cover no-repeat;
  min-height: 420px;
}
.about-preview__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(48px, 7vw, 90px);
}
.about-preview__content .section-title { margin-bottom: 24px; }
.about-preview__content .section-body { margin-bottom: 40px; max-width: 420px; }

/* --- Numeri --- */
.numbers { background: var(--color-bg-dark); color: var(--color-white); }
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.numbers__item {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.numbers__item:first-child { border-left: none; }
.numbers__value {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
}
.numbers__label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

/* --- Responsive Home --- */
@media (max-width: 960px) {
  .featured__grid { grid-template-columns: 1fr; }
  .featured__card--tall { grid-row: span 1; }
  .featured__card--tall .featured__img { aspect-ratio: 4/3; min-height: unset; height: auto; }
  .about-preview__inner { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__item { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .numbers__item:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 2.8rem; }
}
