/* =============================================
   TERRANOVA – INDEX.CSS
   ============================================= */

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,14,15,0.88) 0%,
    rgba(13,14,15,0.6) 55%,
    rgba(13,14,15,0.25) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding-top: 6rem;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 13vw, 10rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  display: flex; flex-direction: column;
  margin-bottom: 1.75rem;
}
.hero-line {
  display: block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: slideReveal 0.9s cubic-bezier(0.22,0.61,0.36,1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.5s; }
.hero-line:nth-child(2) { animation-delay: 0.65s; }
.hero-line:nth-child(3) { animation-delay: 0.8s; }
.hero-line.accent { color: var(--gold); }

@keyframes slideReveal {
  to { opacity: 1; clip-path: inset(0 0% 0 0); }
}
@keyframes fadeUp {
  to { opacity: 1; }
}

.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.6);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.15s forwards;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 2;
  opacity: 0; animation: fadeUp 1s 1.6s forwards;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(0.5);opacity:0.4} }
.hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
}

.hero-stats {
  position: absolute; bottom: 0; right: 0;
  display: flex;
  z-index: 2;
  opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.stat {
  padding: 1.75rem 2.5rem;
  background: rgba(13,14,15,0.7);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-left: 1px solid rgba(201,168,76,0.08);
  text-align: center;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 0.25rem;
}

/* TICKER */
.intro-strip { overflow: hidden; background: var(--gold); padding: 0.9rem 0; }
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dark);
  padding: 0 1.5rem;
}
.ticker-track .dot {
  display: inline-flex; align-items: center;
  width: 5px; height: 5px;
  background: var(--dark); border-radius: 50%;
  margin: auto 0;
  padding: 0; flex-shrink: 0;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ABOUT SNAP */
.about-snap { padding: 7rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img-frame {
  position: relative;
}
.about-img-frame img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.img-accent-bar {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.check-list { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.95rem; color: rgba(244,241,236,0.8);
}
.icon-check {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--gold); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* SERVICES PREVIEW */
.services-preview { padding: 5rem 0 7rem; background: var(--dark-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--dark-2);
  display: flex; flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: background var(--transition);
}
.service-card:hover { background: var(--dark-3); }
.service-card-img {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
  display: block;
}
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body {
  padding: 1.5rem;
  flex: 1; display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.service-card-body::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover .service-card-body::before { transform: scaleX(1); }
.service-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.service-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service-card-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.06em;
  color: var(--light); margin-bottom: 0.5rem;
}
.service-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; flex: 1; }
.card-arrow {
  display: flex; align-items: center; justify-content: flex-end;
  margin-top: 1rem;
  color: var(--gold);
  transform: translateX(-4px);
  transition: transform var(--transition);
}
.card-arrow svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.service-card:hover .card-arrow { transform: translateX(0); }
.services-more { text-align: center; }

/* CTA BAND */
.cta-band { position: relative; padding: 7rem 0; overflow: hidden; }
.cta-band-bg {
  position: absolute; inset: 0;
}
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,14,15,0.9) 0%, rgba(13,14,15,0.75) 100%);
}
.cta-band-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--light); margin-bottom: 0.5rem;
}
.cta-sub { font-size: 1rem; color: rgba(244,241,236,0.65); max-width: 44ch; }

/* TESTIMONIALS */
.testimonials { padding: 7rem 0; background: var(--dark); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.testi-card:hover { border-color: rgba(201,168,76,0.25); transform: translateY(-3px); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 1rem; }
.testi-stars svg {
  width: 14px; height: 14px;
  fill: var(--gold); stroke: none;
}
.testi-card > p { font-size: 0.95rem; color: rgba(244,241,236,0.75); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: 0.9rem; color: var(--light); }
.testi-author span { font-size: 0.78rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: clamp(3.5rem, 15vw, 5.5rem); }
  .hero-stats { position: static; flex-wrap: wrap; margin-top: 2rem; }
  .stat { flex: 1; min-width: 100px; padding: 1.25rem 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .img-accent-bar { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-sub { margin: 0 auto; }
}
