@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --gold:       #cda434;
  --gold-dim:   rgba(205, 164, 52, 0.15);
  --black:      #080808;
  --card-bg:    rgba(255,255,255,0.04);
  --card-border:rgba(255,255,255,0.08);
  --white:      #ffffff;
  --text-dim:   rgba(255,255,255,0.5);
  --text-muted: rgba(255,255,255,0.28);
  --container:  1140px;
  font-family: 'Inter', system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--black);
  color: var(--white);
  min-width: 320px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Ambient background blobs ──────────────────────────── */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0); /* forza compositing layer, evita che filter:blur() sfori */
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.blob-1 {
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(150,60,10,0.45), transparent 65%);
  bottom: -20vw; left: -15vw;
}

.blob-2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(15,25,100,0.4), transparent 65%);
  top: -10vw; right: -10vw;
}

.blob-3 {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(120,45,8,0.22), transparent 65%);
  top: 40%; left: 35%;
}

/* ── Layout ────────────────────────────────────────────── */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}


.container {
  margin: 0 auto;
}


/* ── Header – full width bar ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
  width: min(100% - 3rem, var(--container));
  margin: 0 auto;
}

.brand img { width: 100px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.88; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 6rem 0 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-logo {
  margin-left: auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 60px rgba(205,164,52,0.15));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-accent { color: var(--gold); }

.rotating-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rotating-word { animation: fadeWord 0.45s ease; }

.rotating-wrap::after {
  content: '';
  width: 3px;
  height: 0.8em;
  background: var(--gold);
  margin-left: 0.2rem;
  animation: blink 0.9s step-end infinite;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  border-radius: 0;
}

.btn-ghost:hover { opacity: 0.7; transform: none; }

.btn-outline {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  border-radius: 999px;
}

/* ── Marquee ───────────────────────────────────────────── */
.marquee {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item::after {
  content: '·';
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 0;
}

/* ── Section shared ────────────────────────────────────── */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-dim);
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* ── Bento card base ───────────────────────────────────── */
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.bento-card:hover {
  border-color: rgba(255,255,255,0.16);
}

/* ── Stats section ─────────────────────────────────────── */
.stats-section { 
  padding: 6rem 0; 
  border-bottom: 1px solid rgba(255,255,255,0.06); 
  display: flex;
  justify-content: center;
}


.stats-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.stat-card:hover { border-color: rgba(205,164,52,0.25); }

.stat-card:last-child {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1rem;
}

.stat-number strong {
  color: var(--white);
  font-size: inherit;
  font-weight: inherit;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 36ch;
}

.stat-card:last-child .stat-label { margin-bottom: 0.4rem; }
.stat-card:last-child .stat-number { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 0; }

/* Decorative bar chart inside stat card */
.stat-chart {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0 1.8rem 1.5rem 0;
  opacity: 0.6;
}

.stat-bar {
  width: 10px;
  background: linear-gradient(to top, var(--gold), rgba(205,164,52,0.2));
  border-radius: 3px 3px 0 0;
}

/* ── Services bento ────────────────────────────────────── */
.services-section { 
  padding: 6rem 0; 
  border-bottom: 1px solid rgba(255,255,255,0.06); 
  display: flex;
  justify-content: center;
}

.services-section .container{
  width: 1200px;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(205,164,52,0.2);
}

.service-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.service-card:hover .service-link { color: var(--gold); }

/* ── FAQ ───────────────────────────────────────────────── */
.footer-faq {
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-faq h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.faq-list { display: grid; gap: 0; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  padding: 1.4rem 0;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-trigger:hover { color: var(--gold); }

.faq-sign {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-content p {
  overflow: hidden;
  padding-bottom: 1.4rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.92rem;
}

.faq-item.open .faq-content { grid-template-rows: 1fr; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
}

.footer-brand h2 {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.site-footer h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.site-footer p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.3rem;
}

.site-footer a { color: var(--gold); }
.site-footer a:hover { text-decoration: underline; }

.legal {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legal a { color: var(--text-muted); }
.legal a:hover { color: var(--gold); }

/* ── Social ────────────────────────────────────────────── */
.social-list { display: flex; gap: 0.5rem; margin-top: 1rem; }

.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s;
}

.social-link:hover { background: var(--gold-dim); border-color: rgba(205,164,52,0.3); }

.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }
.social-link:hover svg { fill: var(--gold); }

/* ── WhatsApp ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 200;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: pulse 2.8s infinite;
}

.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }

/* ── Cookie ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 300;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  padding: 1.2rem 1.4rem;
  display: none;
  gap: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.cookie-banner p { margin: 0; font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ── Legal pages ───────────────────────────────────────── */
.legal-content { max-width: 720px; padding: 1rem 0 5rem; }
.legal-content h2 { font-size: 1.05rem; font-weight: 800; margin: 2rem 0 0.5rem; color: var(--white); }
.legal-content p { color: var(--text-dim); line-height: 1.75; font-size: 0.92rem; }
.legal-content a { color: var(--gold); }

/* ── Reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Typewriter ────────────────────────────────────────── */
.typewriter-cursor::after {
  content: '';
  display: inline-block;
  width: 2px; height: 0.85em;
  margin-left: 0.1rem;
  background: var(--gold);
  vertical-align: -0.06em;
  animation: blink 0.8s step-end infinite;
}

/* ── Keyframes ─────────────────────────────────────────── */
@keyframes fadeWord {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blink  { 50% { opacity: 0; } }
@keyframes pulse  {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .stats-bento { grid-template-columns: 1fr; }
  .stat-card:last-child { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 640px) {
  .nav { padding: 0.6rem 0.8rem 0.6rem 1.1rem; }
  .main-nav { gap: 1rem; font-size: 0.8rem; }
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .services-bento { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-chart { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
