/* curiosa.com.ar — shared styles */
:root {
  --bg:           #07000f;
  --bg2:          #04000a;
  --surface:      #130025;
  --surface2:     #1c0038;
  --accent:       #8b5cf6;
  --accent-light: #c4b5fd;
  --accent-glow:  rgba(139,92,246,0.25);
  --text:         #ffffff;
  --muted:        rgba(255,255,255,0.6);
  --border:       rgba(255,255,255,0.08);
  --radius:       16px;
  --radius-sm:    10px;
  --font:         "Roboto", system-ui, sans-serif;
  --font-h:       "Raleway", sans-serif;
  --font-nav:     "Poppins", sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--bg); font-family: var(--font); margin: 0; }
h1,h2,h3,h4 { font-family: var(--font-h); color: var(--text); }
a { color: var(--accent); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; height: auto; }

/* ── HEADER ── */
.c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: transparent;
  transition: background .4s, box-shadow .4s;
  padding: 0;
}
.c-header.scrolled {
  background: var(--surface2);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.c-header .navbar { padding: 16px 0; }
.c-header .navbar-brand {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -0.5px;
}
.c-header .navbar-brand span { color: var(--accent-light); }
.c-header .nav-link {
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85) !important;
  padding: 6px 14px !important;
  transition: color .3s;
}
.c-header .nav-link:hover,
.c-header .nav-link.active { color: #fff !important; }
.c-header .dropdown-menu {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 160px;
}
.c-header .dropdown-item {
  color: rgba(255,255,255,.8);
  font-family: var(--font-nav);
  font-size: 14px;
  padding: 9px 20px;
  transition: background .2s;
}
.c-header .dropdown-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.btn-pilot {
  background: var(--accent);
  color: #fff !important;
  border-radius: 30px;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background .3s, transform .2s !important;
}
.btn-pilot:hover { background: #6155e0; transform: translateY(-1px); }
.navbar-toggler { border: 1px solid rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO (generic) ── */
.c-hero {
  background: linear-gradient(135deg, #130025 0%, #1c003a 50%, #07000f 100%);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.c-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(120,0,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.c-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}
.c-hero .subtitle {
  font-size: 1.1rem;
  opacity: .75;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}
.c-hero .hero-img {
  max-height: 380px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 20px 60px rgba(100,60,255,.45));
}
.label-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
  display: block;
}
.badge-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  margin: 4px 4px 0 0;
}
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary-c {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-c:hover { background: #6155e0; color: #fff; transform: translateY(-2px); }
.btn-outline-c {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .3s, color .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-c:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-wa {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background .3s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-wa:hover { background: #1da855; color: #fff; transform: translateY(-2px); }

/* ── SECTIONS ── */
.c-section { padding: 80px 0; }
.c-section + .c-section { border-top: 1px solid var(--border); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc { color: var(--muted); line-height: 1.7; max-width: 640px; }

/* ── PAIN CARDS ── */
.pain-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4f4f, #ff8c4f);
}
.pain-card .pain-icon {
  width: 48px; height: 48px;
  background: rgba(255,79,79,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #ff8080;
}
.pain-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── SOLUTION CARD ── */
.sol-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  border-top: 3px solid var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--accent-glow); }
.sol-card .sol-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #4a1090, #7c3aed);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #fff;
}
.sol-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.sol-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── MODULE CARDS (index page) ── */
.mod-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  border-top: 4px solid var(--accent);
  transition: transform .2s, box-shadow .2s;
  display: block;
  color: var(--text);
}
.mod-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px var(--accent-glow); color: var(--text); }
.mod-card .mod-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #4a1090, #7c3aed);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #fff;
}
.mod-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.mod-card .mod-tagline { font-size: 13px; color: var(--accent-light); font-weight: 500; margin-bottom: 10px; display: block; }
.mod-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.mod-card .mod-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: 14px;
}

/* ── BUSINESS TYPE CARDS ── */
.biz-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  height: 100%;
}
.biz-card .biz-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-light);
}
.biz-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.biz-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── STATS ── */
.stat-block {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border-radius: var(--radius);
}
.stat-val {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, var(--surface2) 0%, #0e001f 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,108,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
.cta-block p { color: var(--muted); max-width: 500px; margin: 0 auto 28px; line-height: 1.7; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surface);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,0,15,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .g-overlay { opacity: 1; }
.gallery-item .g-caption { font-size: 13px; color: rgba(255,255,255,.9); }

/* Placeholder gallery items (no photo yet) */
.gallery-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px dashed rgba(255,255,255,.15);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.gallery-placeholder i { font-size: 2rem; color: var(--accent); opacity: .5; }

/* ── MODULE PAGE SPECIFIC ── */
.mod-detail-hero { background: linear-gradient(135deg, #130025 0%, #1c003a 60%, #07000f 100%); }
.mod-accent-bar {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 60px;
}
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-item i { font-size: 1.3rem; color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.feature-item p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.feature-item strong { color: var(--text); }

.fact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--accent);
}
.fact-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.fact-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── GALLERY PAGE FILTER ── */
.gfilter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.gfilter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: all .2s;
}
.gfilter-btn:hover, .gfilter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── LIGHTBOX ── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center; justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lb-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 2rem; color: rgba(255,255,255,.7);
  cursor: pointer; background: none; border: none; line-height: 1;
}
.lb-close:hover { color: #fff; }

/* ── FOOTER ── */
.c-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.c-footer .footer-brand {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.c-footer .footer-brand span { color: var(--accent-light); }
.c-footer p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.c-footer h5 { font-size: .85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.c-footer ul { list-style: none; padding: 0; margin: 0; }
.c-footer ul li { margin-bottom: 10px; }
.c-footer ul li a { color: rgba(255,255,255,.7); font-size: 14px; transition: color .3s; }
.c-footer ul li a:hover { color: #fff; }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0 24px; }
.footer-bottom { font-size: 13px; color: var(--muted); }
.crosslink-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.crosslink-box p { margin: 0; font-size: 14px; color: var(--muted); }
.crosslink-box a { font-weight: 600; color: var(--accent-light); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  z-index: 999;
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ── UTILITIES ── */
.text-accent { color: var(--accent-light); }
.text-muted-c { color: var(--muted); }
.bg-surface { background: var(--surface); }
.rounded-c { border-radius: var(--radius); }
.mt-section { margin-top: 60px; }

@media (max-width: 768px) {
  .c-hero { padding: 100px 0 60px; }
  .c-section { padding: 56px 0; }
  .cta-block { padding: 40px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-img-wrap { text-align: center; margin-top: 32px; }
  .hero-img-wrap img { max-height: 260px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-val { font-size: 2rem; }
}
