/* ==========================================================================
   Banda Prime — Design System
   ========================================================================== */

:root {
  --color-bg: #0a0a0a;
  --color-bg-alt: #131110;
  --color-bg-card: #1a1613;
  --color-gold: #c9a227;
  --color-gold-light: #e8ca6c;
  --color-gold-dark: #8a6d1a;
  --color-text: #f5f1e6;
  --color-text-muted: #b3ab98;
  --color-border: rgba(201, 162, 39, 0.18);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section { padding: 110px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--gold {
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__lede { color: var(--color-text-muted); margin-top: 14px; font-size: 1.02rem; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #14110b;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}
.btn--gold:hover { box-shadow: 0 12px 32px rgba(201, 162, 39, 0.4); }

.btn--outline {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}
.btn--outline:hover { background: rgba(201, 162, 39, 0.1); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-text);
}
.logo span { color: var(--color-gold); }

.logo__img {
  height: 38px;
  width: auto;
  display: block;
}

.footer__brand .logo__img { height: 46px; }

.nav__list { display: flex; gap: 30px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.is-active { color: var(--color-text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 22px;
  border-left: 1px solid var(--color-border);
}
.nav__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.nav__social-link:hover {
  color: var(--color-bg);
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.header__actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}
.hamburger span {
  width: 100%; height: 2px;
  background: var(--color-gold);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(10%) brightness(0.6) contrast(1.05);
  transform: scale(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 55%, var(--color-bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 780px;
}

.hero__content h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 22px; height: 36px;
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
}
.stat p { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.about__media img { aspect-ratio: 4/5; object-fit: cover; }

.about__text p { color: var(--color-text-muted); margin-bottom: 18px; }
.about__text h2 { margin-bottom: 22px; }

.check-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 0.98rem;
}
.check-list li::before {
  content: '✓';
  color: #14110b;
  background: var(--color-gold);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Videos
   ========================================================================== */

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

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
  border: 1px solid var(--color-border);
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover img { transform: scale(1.08); }
.video-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1), rgba(10,10,10,0.85));
}
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.92);
  color: #14110b;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  transition: transform var(--transition);
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__label {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
  font-size: 0.88rem;
  font-weight: 500;
}

.video-cta { text-align: center; margin-top: 44px; }

.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.video-card.is-playing { cursor: default; }
.video-card.is-playing::after { display: none; }
.video-card iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* ==========================================================================
   Gallery + Lightbox
   ========================================================================== */

.gallery {
  columns: 4 220px;
  column-gap: 18px;
}
.gallery__item {
  display: block;
  width: 100%;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: none;
  padding: 0;
  cursor: zoom-in;
  break-inside: avoid;
}
.gallery__item img { width: 100%; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  padding: 40px;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: var(--color-gold);
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--color-gold); }
.service-card__icon { display: flex; justify-content: center; color: var(--color-gold); margin-bottom: 18px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--color-text-muted); font-size: 0.92rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.testimonial cite {
  color: var(--color-gold-light);
  font-style: normal;
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ / Accordion
   ========================================================================== */

.faq { max-width: 820px; }
.accordion__item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}
.accordion__item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: '+';
  color: var(--color-gold);
  font-size: 1.4rem;
  margin-left: 20px;
  transition: transform var(--transition);
}
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__item p { color: var(--color-text-muted); margin-top: 14px; }

/* ==========================================================================
   Quote Form
   ========================================================================== */

.quote-form {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { margin-bottom: 26px; }

.field label { font-size: 0.85rem; color: var(--color-text-muted); }

.field input, .field select, .field textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='%23c9a227' d='M0 0l7 9 7-9z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 110px; }

.field.has-error input, .field.has-error select { border-color: #d64545; }

.form-note { color: var(--color-text-muted); font-size: 0.8rem; text-align: center; margin-top: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--color-bg-alt); padding-top: 80px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border);
}
.footer__brand p { color: var(--color-text-muted); margin: 16px 0 22px; max-width: 320px; }
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
  transition: background var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--color-gold); color: #14110b; transform: translateY(-3px); }

.footer__col h4 { font-size: 0.95rem; margin-bottom: 20px; color: var(--color-gold-light); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--color-text-muted); font-size: 0.92rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--color-gold); }

.footer__bottom { padding: 26px 0; text-align: center; }
.footer__bottom p { color: var(--color-text-muted); font-size: 0.82rem; }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.whatsapp-fab {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 300;
  animation: pulse 2.4s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 30px rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.45); }
}

/* ==========================================================================
   AI Assistant widget
   ========================================================================== */

.assistant { position: fixed; bottom: 26px; right: 98px; z-index: 300; }

.assistant__fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #14110b;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
  transition: transform var(--transition);
}
.assistant__fab:hover { transform: scale(1.08); }

.assistant__panel {
  position: absolute;
  bottom: 72px; right: 0;
  width: 320px;
  max-height: 440px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.assistant__panel[hidden] { display: none; }

.assistant__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(201,162,39,0.06);
}
.assistant__header strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.assistant__header span { display: block; font-size: 0.72rem; color: var(--color-text-muted); margin-top: 2px; }
.assistant__header button { background: none; border: none; color: var(--color-text-muted); font-size: 1.4rem; cursor: pointer; }

.assistant__messages {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 220px;
}
.assistant__msg { font-size: 0.86rem; line-height: 1.5; padding: 10px 14px; border-radius: 12px; max-width: 90%; }
.assistant__msg--bot { background: rgba(201,162,39,0.1); border: 1px solid var(--color-border); align-self: flex-start; }
.assistant__msg--user { background: var(--color-gold); color: #14110b; align-self: flex-end; }

.assistant__quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--color-border);
}
.assistant__quick button {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.assistant__quick button:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.assistant__quick-cta {
  background: var(--color-gold) !important;
  color: #14110b !important;
  border-color: var(--color-gold) !important;
  font-weight: 500;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav { position: fixed; top: 0; right: -100%; width: min(320px, 80%); height: 100vh; background: var(--color-bg-alt); border-left: 1px solid var(--color-border); transition: right var(--transition); z-index: 205; padding: 100px 32px 40px; }
  .nav.is-open { right: 0; }
  .nav__list { flex-direction: column; gap: 26px; }
  .nav__social {
    padding-left: 0;
    padding-top: 22px;
    border-left: none;
    border-top: 1px solid var(--color-border);
    gap: 18px;
  }
  .nav__social-link { width: 40px; height: 40px; }
  .hamburger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2 200px; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .quote-form { padding: 30px 22px; }
  .assistant { right: 20px; bottom: 96px; }
  .whatsapp-fab { bottom: 26px; right: 20px; width: 54px; height: 54px; }
  .assistant__panel { width: calc(100vw - 40px); right: -4px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .whatsapp-fab { animation: none; }
}
