/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #121212;
  --bg-charcoal: #111111;
  --bg-deep: #050505;
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --gold-light: #e8c84a;
  --white: #f9f9f9;
  --muted: #999999;
  --border: rgba(255, 255, 255, 0.07);
  --gold-border: rgba(212, 175, 55, 0.25);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

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

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

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-bottom-color: var(--border);
}

.site-header.scrolled .header-cta {
  opacity: 1;
  pointer-events: auto;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-title {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-top: 2px;
}

.header-cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: none;
}

.btn-outline {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 0.85rem;
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.btn-gold {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #000;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.btn-gold:hover::after {
  transform: translateY(0);
}

.btn-gold:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--gold-glow);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-xl {
  padding: 1.3rem 2.8rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

.arrow-icon {
  transition: transform var(--transition);
}

.btn-gold:hover .arrow-icon {
  transform: translateX(4px);
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--bg);
}

.section-charcoal {
  background: var(--bg-charcoal);
}

.section-bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  background: url('public/images/hero-bg.png') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.75), rgba(10,10,10,0.55), var(--bg));
  z-index: 1;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 65%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.06);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.85);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ===========================
   SOCIAL PROOF
=========================== */
.stars-block {
  text-align: center;
  margin-bottom: 4rem;
}

.stars {
  font-size: 1.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.5));
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
}

.card-line {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 2rem;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  transition: width 0.5s ease;
}

.testimonial-card:hover .card-line {
  width: 4rem;
}

.testimonial-text {
  font-style: italic;
  color: rgba(249, 249, 249, 0.88);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
}

.verified {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}

/* ===========================
   SERVICES
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.services-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.services-text .section-sub {
  text-align: left;
  margin: 0 0 2.5rem;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  min-width: 2rem;
  min-height: 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
  transition: background var(--transition), color var(--transition);
}

.service-item:hover .service-icon {
  background: var(--gold);
  color: #000;
}

.service-item span {
  font-size: 1.05rem;
  color: rgba(249, 249, 249, 0.88);
  padding-top: 4px;
}

/* Emblem */
.services-emblem {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
}

.emblem-ring-outer {
  inset: 0;
  animation: spin 60s linear infinite;
}

.emblem-ring-inner {
  inset: 1rem;
  animation: spin 40s linear infinite reverse;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.emblem-center {
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(212,175,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(212,175,55,0.1), inset 0 0 40px rgba(212,175,55,0.04);
  position: relative;
  z-index: 2;
}

.emblem-icon {
  color: rgba(212,175,55,0.75);
}

/* ===========================
   DIFFERENTIALS
=========================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.diff-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}

.diff-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.diff-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.diff-card:hover .diff-icon {
  background: rgba(212, 175, 55, 0.2);
}

.diff-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.cta-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom, rgba(212,175,55,0.15) 0%, transparent 60%);
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  color: rgba(212, 175, 55, 0.8);
  margin: 0 auto 2rem;
}

.cta-inner .section-sub {
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  padding: 2rem 1.5rem;
  background: #030303;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}

/* ===========================
   WHATSAPP FLOAT
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), background var(--transition);
  animation: float-in 0.6s 1s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes float-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.12);
}

.whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ping 1.5s ease-out infinite;
}

@keyframes ping {
  0%   { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger .reveal-item:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger .reveal-item:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger .reveal-item:nth-child(5) { transition-delay: 0.45s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-emblem {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 1.1rem 1.25rem;
  }

  .header-cta {
    display: none;
  }
}
