/* BAM Soluciones — Dark Mode v2.1
   Palette: #0e0a1e (bg), #1a1535 (surface), #7c3aed (purple), #22d3ee (cyan), #c8805a (copper)
   Typography: Sora (display) + Plus Jakarta Sans (body) + Jost (wordmark)
*/

/* ===== Variables ===== */
:root {
  --bam-bg: #0e0a1e;
  --bam-surface: #1a1535;
  --bam-surface-hover: #231d48;
  --bam-navy: #1a0a2e;
  --bam-purple: #7c3aed;
  --bam-purple-dim: rgba(124, 58, 237, 0.15);
  --bam-cyan: #22d3ee;
  --bam-cyan-dim: rgba(34, 211, 238, 0.15);
  --bam-warm: #c8805a;
  --bam-warm-dim: rgba(200, 128, 90, 0.12);
  --bam-text: #e0e7ef;
  --bam-text-muted: #8a8ea6;
  --bam-border: rgba(255, 255, 255, 0.07);
  --bam-border-warm: rgba(200, 128, 90, 0.25);
  --bs-primary: #22d3ee;
  --bs-primary-rgb: 34, 211, 238;
  --bs-body-bg: #0e0a1e;
  --bs-body-color: #e0e7ef;
}

/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--bam-text);
  background-color: var(--bam-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Display headings use Sora */
h1, h2, .section-title {
  font-family: "Sora", sans-serif;
}

a {
  color: var(--bam-cyan);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #67e8f9;
}

::selection {
  background: var(--bam-cyan);
  color: var(--bam-bg);
}

/* ===== Grain Texture (page-wide) ===== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 10;
}

/* ===== Buttons ===== */
.btn-primary {
  --bs-btn-bg: var(--bam-cyan);
  --bs-btn-border-color: var(--bam-cyan);
  --bs-btn-hover-bg: #0ea5c9;
  --bs-btn-hover-border-color: #0ea5c9;
  --bs-btn-active-bg: #0ea5c9;
  --bs-btn-active-border-color: #0ea5c9;
  --bs-btn-color: var(--bam-bg);
  --bs-btn-hover-color: #fff;
  font-weight: 600;
}

.btn-outline-cyan {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid var(--bam-cyan);
  color: var(--bam-cyan);
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
}

.btn-outline-cyan:hover {
  background: var(--bam-cyan);
  color: var(--bam-bg);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  color: var(--bam-text-muted);
  border: 1px solid var(--bam-border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--bam-cyan);
  border-color: var(--bam-cyan);
}

/* ===== Text Utilities ===== */
.text-cyan {
  color: var(--bam-cyan);
}

.text-warm {
  color: var(--bam-warm);
}

.text-muted-bam {
  color: var(--bam-text-muted);
}

/* ===== Navbar ===== */
.navbar {
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(14, 10, 30, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bam-border);
  padding: 10px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 19px;
  color: #fff !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.15);
  padding: 4px 8px;
}

.nav-cta {
  margin-left: 8px;
}

/* ===== Hero — Index ===== */
.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(168, 50, 180, 0.35), transparent),
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(124, 58, 237, 0.3), transparent),
    radial-gradient(ellipse 45% 40% at 80% 80%, rgba(34, 211, 238, 0.14), transparent),
    radial-gradient(ellipse 35% 30% at 40% 70%, rgba(124, 58, 237, 0.1), transparent),
    var(--bam-bg);
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle 550px at 5% 85%, rgba(168, 50, 180, 0.28), transparent),
    radial-gradient(circle 450px at 95% 10%, rgba(124, 58, 237, 0.22), transparent),
    radial-gradient(circle 350px at 85% 75%, rgba(34, 211, 238, 0.12), transparent);
  filter: blur(60px);
  pointer-events: none;
}

.hero-home .hero-pulpo {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

.hero-home h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  color: #fff;
}

.hero-home h1 .accent {
  color: #c4b5fd;
  font-weight: 800;
}

.hero-home .hero-sub {
  font-size: 1.15rem;
  color: var(--bam-text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bam-cyan-dim);
  color: var(--bam-cyan);
  border-radius: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== Ambient Gradient System ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(124, 58, 237, 0.12), transparent),
    radial-gradient(ellipse 60% 35% at 100% 20%, rgba(168, 50, 180, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(34, 211, 238, 0.04), transparent);
  pointer-events: none;
  z-index: 0;
}

body > *:not(script):not(style) {
  position: relative;
  z-index: 1;
}

/* ===== Hero — Banner (subpages) ===== */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(168, 50, 180, 0.35), transparent),
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(124, 58, 237, 0.3), transparent),
    radial-gradient(ellipse 45% 50% at 80% 70%, rgba(34, 211, 238, 0.14), transparent),
    radial-gradient(ellipse 35% 30% at 25% 25%, rgba(124, 58, 237, 0.12), transparent),
    var(--bam-bg);
}

/* Soft glow orbs */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle 450px at 10% 80%, rgba(168, 50, 180, 0.28), transparent),
    radial-gradient(circle 400px at 90% 15%, rgba(124, 58, 237, 0.22), transparent),
    radial-gradient(circle 300px at 80% 70%, rgba(34, 211, 238, 0.1), transparent);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* Tech dot grid overlay */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-banner .hero-pulpo {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.hero-pulpo--odoo {
  width: 600px;
  opacity: 0.18;
}

.hero-banner .container {
  position: relative;
  z-index: 3;
}

.hero-banner h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 16px;
}

.hero-banner .hero-subtitle {
  color: var(--bam-text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-banner .breadcrumb-text {
  font-size: 13px;
  color: var(--bam-text-muted);
  margin-bottom: 16px;
}

.hero-banner .breadcrumb-text a {
  color: var(--bam-text-muted);
}

.hero-banner .breadcrumb-text a:hover {
  color: var(--bam-cyan);
}

/* ===== Hero — Compact (gracias) ===== */
.hero-sub-page {
  padding: 140px 0 60px;
  background: var(--bam-bg);
  border-bottom: 1px solid var(--bam-border);
}

.hero-sub-page h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
}

.hero-sub-page .breadcrumb-text {
  font-size: 14px;
  color: var(--bam-text-muted);
}

.hero-sub-page .breadcrumb-text a {
  color: var(--bam-text-muted);
}

.hero-sub-page .breadcrumb-text a:hover {
  color: var(--bam-cyan);
}

/* ===== Section Base ===== */
section {
  padding: 100px 0;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(124, 58, 237, 0.08), transparent),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(168, 50, 180, 0.05), transparent),
    var(--bam-bg);
}

.section-surface {
  position: relative;
  background:
    radial-gradient(ellipse 50% 45% at 5% 50%, rgba(124, 58, 237, 0.06), transparent),
    radial-gradient(ellipse 40% 35% at 95% 70%, rgba(168, 50, 180, 0.04), transparent),
    var(--bam-surface);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bam-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--bam-cyan);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--bam-text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ===== Section Divider (signature element) ===== */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--bam-border) 20%,
    rgba(124, 58, 237, 0.25) 50%,
    var(--bam-border) 80%,
    transparent
  );
  margin: 0;
  position: relative;
  overflow: visible;
}

.section-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--bam-warm);
  opacity: 0.7;
}

/* ===== Service Cards ===== */
.service-card {
  display: flex;
  gap: 24px;
  padding: 28px 28px 28px 24px;
  background: var(--bam-surface);
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.service-card:hover {
  border-left-color: var(--bam-cyan);
  background: var(--bam-surface-hover);
  transform: translateX(4px);
}

.service-card .service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bam-cyan-dim);
  border-radius: 8px;
  color: var(--bam-cyan);
  font-size: 18px;
}

.service-card h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--bam-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-card ul li {
  font-size: 12px;
  color: var(--bam-text-muted);
  padding: 3px 10px;
  background: rgba(124, 58, 237, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ===== Diff Cards (Why BAM / Values) ===== */
.diff-card {
  padding: 32px;
  background: var(--bam-surface);
  border-radius: 10px;
  border: 1px solid var(--bam-border);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
}

.diff-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
}

.diff-card .diff-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bam-cyan-dim);
  border-radius: 8px;
  color: var(--bam-cyan);
  font-size: 16px;
  margin-bottom: 20px;
}

.diff-card h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.9rem;
  color: var(--bam-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ===== Odoo Module Cards ===== */
.odoo-card {
  padding: 28px;
  background: var(--bam-surface);
  border-radius: 10px;
  border: 1px solid var(--bam-border);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
}

.odoo-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
}

.odoo-card img {
  height: 48px;
  margin-bottom: 20px;
  filter: brightness(0) invert(0.7);
  transition: filter 0.3s;
}

.odoo-card:hover img {
  filter: brightness(0) saturate(100%) invert(63%) sepia(89%) saturate(1500%) hue-rotate(162deg) brightness(101%) contrast(101%);
}

.odoo-card h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.odoo-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.odoo-card ul li {
  font-size: 0.85rem;
  color: var(--bam-text-muted);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.odoo-card ul li i {
  color: var(--bam-cyan);
  font-size: 10px;
}

/* ===== Module Group Headers (Odoo page) ===== */
.module-group {
  margin-bottom: 20px;
  padding-top: 16px;
}

.module-group-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bam-text-muted);
}

.module-group-label .group-number {
  color: var(--bam-warm);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.module-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--bam-border), transparent);
}

/* ===== About Section ===== */
.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  color: var(--bam-text-muted);
  font-size: 0.95rem;
}

.about-values li i {
  color: var(--bam-cyan);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Quote card with warm accent */
.quote-card {
  border-left: 3px solid var(--bam-warm);
  padding: 32px;
  background: var(--bam-surface);
  border-radius: 10px;
}

.quote-card p:first-child {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-card .quote-attr {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--bam-warm);
  margin: 0;
}

.quote-card .quote-attr--body {
  color: var(--bam-text-muted);
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== Contact Form ===== */
.contact-form .form-control {
  background: var(--bam-surface);
  border: 1px solid var(--bam-border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--bam-text);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control::placeholder {
  color: var(--bam-text-muted);
}

.contact-form .form-control:focus {
  background: var(--bam-surface);
  border-color: var(--bam-cyan);
  box-shadow: 0 0 0 3px var(--bam-cyan-dim);
  color: var(--bam-text);
}

.contact-info-card {
  background: var(--bam-surface);
  border: 1px solid var(--bam-border);
  border-radius: 10px;
  padding: 32px;
}

.contact-info-card h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-card p {
  color: var(--bam-text-muted);
  margin-bottom: 16px;
  font-size: 0.93rem;
}

.contact-info-card i {
  color: var(--bam-cyan);
  width: 18px;
  text-align: center;
}

.form-status-msg {
  font-size: 0.93rem;
  padding: 12px 16px;
  border-radius: 8px;
}

.form-status-ok {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status-error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info-card strong {
  color: var(--bam-text);
}

/* ===== Footer ===== */
.footer {
  background:
    radial-gradient(ellipse 50% 60% at 80% 100%, rgba(124, 58, 237, 0.06), transparent),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(168, 50, 180, 0.04), transparent),
    var(--bam-surface);
  border-top: 1px solid var(--bam-border);
  padding: 48px 0 24px;
}

.footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer .footer-brand img {
  height: 32px;
}

.footer .footer-brand span {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer .footer-desc {
  color: var(--bam-text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--bam-text);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links li {
  margin-bottom: 8px;
}

.footer .footer-links a {
  color: var(--bam-text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer .footer-links a:hover {
  color: var(--bam-cyan);
}

.footer .footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--bam-text-muted);
  font-size: 0.88rem;
}

.footer .footer-contact i {
  color: var(--bam-cyan);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid var(--bam-border);
  padding-top: 20px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--bam-text-muted);
  font-size: 12px;
  margin: 0;
}

.footer-bottom .social-links a {
  color: var(--bam-text-muted);
  font-size: 16px;
  margin-left: 16px;
  transition: color 0.2s;
}

.footer-bottom .social-links a:hover {
  color: var(--bam-cyan);
}

/* ===== Scroll Animations ===== */

/* Default: fade up */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Variant: scale up (for grid cards) */
.reveal.from-scale {
  transform: scale(0.92);
}

/* Variant: slide from left */
.reveal.from-left {
  transform: translateX(-32px);
}

/* Variant: blur reveal (for hero elements) */
.reveal.from-blur {
  transform: translateY(12px);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.from-blur.revealed {
  filter: blur(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--bam-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--bam-cyan);
}

.faq-question:focus-visible {
  outline: 2px solid var(--bam-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-question i {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--bam-text-muted);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
  color: var(--bam-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 0 20px;
  color: var(--bam-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-home {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-home .hero-pulpo {
    width: 280px;
    right: -5%;
    opacity: 0.06;
  }

  .hero-home h1 {
    font-size: 2.6rem;
  }

  .hero-banner {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .service-card {
    flex-direction: column;
    gap: 16px;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .hero-home .hero-pulpo,
  .hero-banner .hero-pulpo {
    display: none;
  }

  .hero-banner::after {
    display: none;
  }

  .hero-sub-page {
    padding: 120px 0 40px;
  }

  .hero-sub-page h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 50px 0;
  }

  .navbar-brand span {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.from-scale,
  .reveal.from-left,
  .reveal.from-blur {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
