/* ═══════════════════════════════════════════════════
   NIDO — home.css (homepage-only styles)
   ═══════════════════════════════════════════════════ */

/* ── Hero extra button variant ── */
.btn-hero-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255,255,234,.5);
}
.btn-hero-outline:hover {
  background: rgba(255,255,234,.12);
  border-color: var(--cream);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255,255,234,.4);
}
.btn-outline-cream:hover {
  background: rgba(255,255,234,.12);
  border-color: var(--cream);
}

/* Hero CTAs row */
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center;
}

/* ── Brand Statement ── */
.brand-statement {
  background: var(--blush);
  padding: 8rem 2.5rem;
}

.bs-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 6rem; align-items: center;
}

.bs-logo img {
  width: 260px;
  max-width: 100%;
  margin-left: 40px;
  animation: logoFloat 4s ease-in-out infinite, logoEntrance 1s ease-out;
}

@media (max-width: 1024px) {
  .bs-logo img {
    margin-left: 0;
  }
}


@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

.bs-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--dark); line-height: 1.08;
  margin-bottom: 1.4rem;
}
.bs-title em { color: var(--purple); }

.bs-text {
  font-size: 1.08rem; color: var(--mid);
  line-height: 1.75; margin-bottom: 2.5rem;
  max-width: 540px;
}


/* New feature lines */
.bs-features {
  margin-bottom: 2rem;
}

.bs-feature-line {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.5rem;
  padding-left: 0;
  position: static;
  max-width: 540px;
}

.bs-feature-line::before {
  content: none;
  display: none;
}
.bs-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Services Teaser ── */
.home-services {
  background: var(--purple);
  padding: 8rem 2.5rem;
}

.hs-inner {
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}

.hs-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900; letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--cream); line-height: .88;
  margin-bottom: 1.2rem;
}

.hs-sub {
  font-size: 1.1rem; color: rgba(255,255,234,.65);
  margin-bottom: 3.5rem; line-height: 1.6;
}

.hs-pills {
  display: flex; flex-wrap: wrap;
  gap: .75rem; justify-content: center;
  margin-bottom: 3.5rem;
}

.hs-pill {
  display: flex;
  align-items: center;
  gap: 0.69rem;
  font-family: var(--font-head);
  font-size: .98rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream);
  background: rgba(255,255,234,.07);
  border: 1.5px solid rgba(255,255,234,.18);
  border-radius: 0; /* Square */
 padding: 0.86rem 1.84rem;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s, transform .25s var(--ease-spring);
}

.pill-icon {
  width: 23px;
  height: 23px;
  background: var(--orange);
  border-radius: 0; /* Square */
  flex-shrink: 0;
}

.hs-pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-4px);
}
.hs-pill:hover .pill-icon {
  background: var(--cream);
}

.hs-cta { display: inline-flex; }

/* ── Gallery Teaser ── */
.home-gallery {
  background: var(--peach);
  padding: 8rem 2.5rem;
}

/* Gallery header with entrance animation */
.hg-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: galleryHeaderEntrance 1.2s ease-out;
}

@keyframes galleryHeaderEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hg-header {
  text-align: center; margin-bottom: 3.5rem;
}

.hg-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; letter-spacing: -.03em;
  color: var(--dark);
}

.hg-grid {
  max-width: 1300px; margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

.hg-item {
  border-radius: 0; /* Square gallery images */ overflow: hidden;
  position: relative; display: block;
  text-decoration: none;
}
.hg-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
  animation: galleryImgFloat 3s ease-in-out infinite;
}

@keyframes galleryImgFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-8px);
  }
}

.hg-item:hover img { 
  transform: scale(1.07); 
  animation: none;
}

.hg-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  background: rgba(115,74,136,.8);
  border-radius: 0; /* Square */ padding: .3rem .9rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}
.hg-item:hover .hg-label { opacity: 1; transform: translateY(0); }

.hg-item--tall { grid-row: span 2; }
.hg-item--wide { grid-column: span 2; }

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

/* ── Terrace Teaser ── */
.home-terrace {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 0 2.5rem;
}

.ht-bg {
  position: absolute; inset: 0;
}
.ht-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.ht-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(26,16,20,.75) 0%,
    rgba(115,74,136,.6) 100%
  );
}

.ht-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 6rem 0;
}

.ht-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255,105,51,.4);
  border-radius: 0; /* Square */ padding: .35rem 1.1rem;
  margin-bottom: 1.2rem;
}

.ht-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900; letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--cream); line-height: .85;
  margin-bottom: 1.2rem;
}

.ht-sub {
  font-size: 1rem; color: rgba(255,255,234,.75);
  line-height: 1.7; margin-bottom: 1.8rem;
}

.ht-details {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  justify-content: center; margin-bottom: 2rem;
}
.ht-details span {
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,234,.8);
  background: rgba(255,255,234,.1);
  border-radius: 0; /* Square */ padding: .4rem 1rem;
}

/* ── Quote Band ── */
.home-quote {
  background: var(--purple);
  padding: 8rem 2.5rem;
  text-align: center;
}

.hq-inner {
  max-width: 750px; margin: 0 auto;
}

.hq-text {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900; letter-spacing: -.02em;
  color: var(--cream); line-height: 1.15;
  margin-bottom: 1.5rem;
  quotes: none;
}

.hq-attr {
  display: block;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,234,.45);
  font-style: normal;
  margin-bottom: 2.5rem;
}

/* Footer contact row */
.footer-contact {
  display: flex; gap: 1.2rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.footer-contact a {
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,234,.5);
  transition: color .3s;
}
.footer-contact a:hover { color: var(--orange); }
.footer-contact span { color: rgba(255,255,234,.2); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bs-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .bs-logo { display: flex; justify-content: center; }
  .bs-ctas { justify-content: center; }
  .hg-grid { grid-template-columns: 1fr 1fr; }
  .hg-item--tall { grid-row: span 1; }
  .hg-item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .brand-statement,
  .home-services,
  .home-gallery,
  .home-quote { padding: 5rem 1.5rem; }
  .hg-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .hg-item--wide,
  .hg-item--tall { grid-column: span 1; grid-row: span 1; }
  .hs-pills { gap: .5rem; }
  .hs-pill { font-size: .75rem; padding: .6rem 1.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .ht-details { gap: .6rem; }
}

@media (max-width: 480px) {
  .bs-logo img { width: 180px; }
  .bs-ctas { flex-direction: column; }
  .footer-contact { flex-direction: column; gap: .5rem; }
  .footer-contact span { display: none; }
}
