@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/oswald-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
}

/* Tokens alineados con Lovable (index.css HSL → hex) */
:root {
    --background: #ffffff;
    --foreground: #122033;
    --card: #ffffff;
    --card-foreground: #122033;
    --primary: #0e657f;
    --primary-foreground: #ffffff;
    --secondary: #202e3c;
    --secondary-foreground: #ffffff;
    --muted-foreground: #5c6d7e;
    --accent-foreground: #122033;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #0e657f;
    --section-dark: #1b2430;
    --section-dark-foreground: #e8eef2;
    --gold: #f4b724;
    --gold-dark: #b2841c;
    --hero-gradient-start: #141d26;
    --hero-gradient-end: #124a5c;
    --hero-gradient: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    --radius: 0.5rem;
}

* { box-sizing: border-box; }
/* Barra fija: anclas (#contact, etc.) no quedan tapadas; refuerza el scroll programático en theme.js */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
}
.bacs-site-shell > section[id] {
    scroll-margin-top: 5.75rem;
}
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: 'Source Sans 3', sans-serif;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
p { margin: 0; }
.bacs-site-shell { min-height: 100vh; }
.bacs-container { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.bacs-center { text-align: center; }
.bacs-text-primary { color: var(--primary); }
.bacs-text-gold { color: var(--gold); }
.bacs-divider { width: 4rem; height: 0.25rem; margin: 0.75rem auto 2.5rem; background: var(--gold); }
.bacs-section { position: relative; padding: 5rem 0; }
.bacs-section-light { background: var(--background); }
.bacs-section-dark { background: var(--section-dark); color: var(--section-dark-foreground); overflow: hidden; }
.bacs-heading-wrap { text-align: center; margin-bottom: 3.5rem; }
.bacs-section-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; }
.bacs-section-copy { max-width: 48rem; margin: 0 auto; color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.75; }
.bacs-section-copy-dark { color: rgba(230, 237, 241, 0.7); }
.bacs-grid { display: grid; gap: 1.5rem; }
.bacs-grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.bacs-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.bacs-navbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.bacs-navbar.is-scrolled { background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--border); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); backdrop-filter: blur(4px); }
.bacs-navbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.bacs-brand { display: flex; align-items: center; }
.bacs-logo { width: auto; height: 3.5rem; }
.bacs-nav-links { display: none; align-items: center; gap: 1.5rem; }
.bacs-nav-links a { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.025em; text-transform: uppercase; transition: color 0.2s ease; }
.bacs-navbar:not(.is-scrolled) .bacs-nav-links > a:not(.bacs-pill-button) { color: rgba(255,255,255,0.9); }
.bacs-nav-links a:hover, .bacs-mobile-menu a:hover { color: var(--gold); }
.bacs-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: #fff; padding: 0; }
.bacs-nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.bacs-navbar.is-scrolled .bacs-nav-toggle { color: var(--foreground); }
.bacs-nav-icon-close { display: none; }
.bacs-nav-toggle.is-open .bacs-nav-icon-open { display: none; }
.bacs-nav-toggle.is-open .bacs-nav-icon-close { display: inline-flex; }
.bacs-mobile-menu { display: none; background: var(--background); border-top: 1px solid var(--border); box-shadow: 0 20px 40px rgba(18,32,51,0.12); }
.bacs-mobile-menu.is-open { display: block; }
.bacs-mobile-menu .bacs-container { display: grid; padding-top: 0; padding-bottom: 1rem; }
.bacs-mobile-menu a { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.025em; text-transform: uppercase; }
.bacs-mobile-menu a:last-child { border-bottom: 0; margin-top: 0.75rem; }
.bacs-pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; padding: 0.75rem 1.5rem; font-family: 'Oswald', sans-serif; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease; }
.bacs-pill-button:hover { transform: translateY(-1px); }
.bacs-pill-button-gold { background: var(--gold); color: var(--accent-foreground); }
.bacs-pill-button-gold:hover { background: var(--gold-dark); }
.bacs-pill-button-glass { border: 1px solid rgba(255,255,255,0.2); color: var(--primary-foreground); background: rgba(255,255,255,0.05); backdrop-filter: blur(14px); }
.bacs-pill-button-glass:hover { background: rgba(255,255,255,0.1); }
.bacs-pill-large { padding: 1rem 2rem; font-size: 1.125rem; }
.bacs-icon { display: inline-flex; width: 1rem; height: 1rem; }
.bacs-icon svg { width: 100%; height: 100%; }
.bacs-icon-gold { color: var(--gold); }
.bacs-icon-arrow { color: rgba(255,255,255,0.4); }
.bacs-icon-star { width: 1.125rem; height: 1.125rem; color: var(--gold); }
.bacs-icon-marquee { width: 1.25rem; height: 1.25rem; color: rgba(244,183,36,0.6); }
.bacs-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--secondary); }
.bacs-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); will-change: transform; }
.bacs-hero-overlay { position: absolute; inset: 0; background: rgba(32,46,60,0.8); }
.bacs-hero-content { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 5rem; }
.bacs-hero-copy { max-width: 48rem; margin: 0 auto; text-align: center; }
.bacs-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.5rem 1rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); backdrop-filter: blur(4px); }
.bacs-hero-title { margin-top: 2rem; font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1.1; letter-spacing: -0.025em; color: var(--primary-foreground); font-weight: 700; }
.bacs-hero-line { display: inline; }
.bacs-hero-description { max-width: 34rem; margin: 1.75rem auto 0; color: rgba(255,255,255,0.6); font-size: 1.125rem; line-height: 1.7; }
.bacs-hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.bacs-rating { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.25rem; flex-wrap: wrap; }
.bacs-rating-text { margin-left: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.bacs-marquee-shell { margin-top: 3rem; overflow: hidden; padding: 1rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); backdrop-filter: blur(22px); }
.bacs-marquee-track { display: flex; align-items: center; gap: 2rem; white-space: nowrap; width: max-content; animation: bacs-marquee 30s linear infinite; }
.bacs-hero.bacs-motion-paused .bacs-marquee-track { animation-play-state: paused; }
.bacs-services-section.bacs-motion-paused .bacs-orb { animation-play-state: paused; }
.bacs-marquee-item { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 500; }
.bacs-card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.bacs-card:hover { border-color: rgba(244,183,36,0.5); transform: translateY(-3px); }
.bacs-card.bacs-about-card { transition: border-color 0.2s ease; }
.bacs-card.bacs-about-card:hover { transform: none; border-color: rgba(244,183,36,0.5); }
.bacs-about-card { text-align: center; }
.bacs-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; margin-bottom: 1rem; }
.bacs-card-icon svg { width: 1.75rem; height: 1.75rem; }
/* AboutSection Lovable: bg-primary/10 text-primary → group-hover:bg-gold/20 group-hover:text-gold */
.bacs-card-icon-primary { background: rgba(14,101,127,0.1); color: var(--primary); transition: background-color 0.2s ease, color 0.2s ease; }
.bacs-about-card:hover .bacs-card-icon-primary { background: rgba(244,183,36,0.2); color: var(--gold); }
/* ServicesSection Lovable: bg-gold/10 text-gold → group-hover:bg-gold group-hover:text-accent-foreground */
.bacs-card-icon-gold { background: rgba(244,183,36,0.1); color: var(--gold); border-radius: 0.75rem; width: 2.5rem; height: 2.5rem; flex-shrink: 0; transition: background-color 0.2s ease, color 0.2s ease; }
.bacs-glass-card:hover .bacs-card-icon-gold { background: var(--gold); color: var(--accent-foreground); }
.bacs-glass-card .bacs-card-icon-gold svg { width: 1.25rem; height: 1.25rem; }
.bacs-about-card h3, .bacs-glass-card h3, .bacs-testimonial-name, .bacs-owner-name, .bacs-contact-dark-card h3, .bacs-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bacs-about-card p { color: var(--muted-foreground); }
.bacs-services-section .bacs-container { position: relative; z-index: 1; }
.bacs-orb { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; opacity: 0.25; animation: bacs-float 6s ease-in-out infinite; }
.bacs-orb-1 { width: 16rem; height: 16rem; background: rgba(244,183,36,0.15); top: 2.5rem; left: -5rem; }
.bacs-orb-2 { width: 12rem; height: 12rem; background: rgba(244,183,36,0.1); top: 35%; right: 2.5rem; animation-delay: 0.6s; }
.bacs-orb-3 { width: 14rem; height: 14rem; background: rgba(14,101,127,0.1); bottom: 5rem; left: 33%; animation-delay: 1.2s; }
.bacs-orb-4 { width: 10rem; height: 10rem; background: rgba(244,183,36,0.1); bottom: 2.5rem; right: -2.5rem; animation-delay: 1.8s; }
.bacs-orb-center { width: 18rem; height: 18rem; background: rgba(244,183,36,0.08); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: bacs-pulse 8s ease-in-out infinite; }
.bacs-glass-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); backdrop-filter: blur(22px); transition: border-color 0.2s ease, transform 0.25s ease; }
.bacs-glass-card:hover { border-color: rgba(244,183,36,0.3); transform: translateY(-3px); }
.bacs-glass-card-glow { position: absolute; top: -4rem; right: -4rem; width: 8rem; height: 8rem; border-radius: 999px; background: rgba(244,183,36,0.1); filter: blur(32px); opacity: 0; transition: opacity 0.5s ease; }
.bacs-glass-card:hover .bacs-glass-card-glow { opacity: 1; }
.bacs-service-header { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; }
.bacs-glass-card h3 { color: var(--section-dark-foreground); font-size: 1.125rem; }
.bacs-glass-card p { color: rgba(230,237,241,0.6); flex: 1; font-size: 0.875rem; line-height: 1.625; }
.bacs-price { margin-top: 1rem; color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 1.125rem; }
.bacs-portfolio-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 0; background: transparent; border-radius: 0.5rem; padding: 0; contain: paint; isolation: isolate; }
.bacs-portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; transform: translateZ(0); }
.bacs-portfolio-card:hover img { transform: translateZ(0) scale(1.1); }
.bacs-portfolio-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(32,46,60,0); color: var(--primary-foreground); transition: background-color 0.3s ease; }
.bacs-portfolio-overlay span { opacity: 0; transition: opacity 0.3s ease; font-family: 'Oswald', sans-serif; font-size: 0.875rem; }
.bacs-portfolio-card:hover .bacs-portfolio-overlay { background: rgba(32,46,60,0.4); }
.bacs-portfolio-card:hover .bacs-portfolio-overlay span { opacity: 1; }
.bacs-lightbox { position: fixed; inset: 0; z-index: 99; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(18,32,51,0.9); }
.bacs-lightbox[hidden] { display: none; }
.bacs-lightbox-image { max-width: 100%; max-height: 85vh; border-radius: 0.5rem; object-fit: contain; }
.bacs-lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: #fff; }
.bacs-owner-shell { max-width: 70rem; }
.bacs-owner-grid { display: grid; gap: 1.5rem; align-items: center; }
.bacs-owner-photo-wrap { position: relative; overflow: hidden; padding: 1rem; border-radius: 1rem; border: 1px solid rgba(244,183,36,0.2); background: rgba(255,255,255,0.05); backdrop-filter: blur(22px); }
.bacs-owner-photo-glow { position: absolute; left: -4rem; bottom: -4rem; width: 10rem; height: 10rem; border-radius: 999px; background: rgba(244,183,36,0.15); filter: blur(48px); }
.bacs-owner-photo { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.5rem; }
.bacs-owner-copy p { color: rgba(230,237,241,0.8); font-size: 1.125rem; line-height: 1.7; margin-bottom: 1.25rem; }
.bacs-owner-name { color: var(--gold); font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 0.25rem; }
.bacs-owner-role { color: rgba(244,183,36,0.7); font-family: 'Oswald', sans-serif; margin-bottom: 1.5rem; }
.bacs-owner-stats { position: relative; overflow: hidden; margin-top: 2.5rem; border-radius: 1rem; padding: 1.5rem; background: rgba(32,46,60,0.5); border: 1px solid rgba(244,183,36,0.1); }
.bacs-owner-stats-glow { position: absolute; top: -6rem; right: -6rem; width: 12rem; height: 12rem; border-radius: 999px; background: rgba(244,183,36,0.15); filter: blur(48px); }
.bacs-owner-stat-primary { position: relative; display: flex; gap: 1rem; align-items: center; }
.bacs-target-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--gold); color: var(--accent-foreground); }
.bacs-target-icon svg { width: 1.5rem; height: 1.5rem; }
.bacs-owner-stat-value, .bacs-owner-metric-value { font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--section-dark-foreground); }
.bacs-owner-stat-value { font-size: 1.875rem; }
.bacs-owner-stat-label, .bacs-owner-metric-label { color: rgba(230,237,241,0.6); }
.bacs-progress-row { position: relative; margin-top: 1.5rem; }
.bacs-progress-labels { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.5rem; }
.bacs-progress-track { height: 0.5rem; border-radius: 999px; background: rgba(230,237,241,0.1); overflow: hidden; }
.bacs-progress-fill { width: 0; height: 100%; border-radius: 999px; background: var(--gold); transition: width 1.5s ease-out; }
.bacs-owner-metrics { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(230,237,241,0.1); }
.bacs-owner-metric-value { font-size: 1.5rem; }
.bacs-owner-metric-label { font-size: 0.75rem; }
.bacs-testimonials { position: relative; overflow: hidden; padding-top: 4rem; padding-bottom: 4rem; }
.bacs-testimonials-background { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.bacs-testimonials-overlay { position: absolute; inset: 0; background: rgba(32,46,60,0.85); }
.bacs-testimonials-content { position: relative; z-index: 1; }
.bacs-testimonials .bacs-section-title { color: var(--secondary-foreground); }
.bacs-testimonial-card { display: flex; flex-direction: column; min-height: 100%; background: var(--card); color: var(--card-foreground); border-radius: 0.75rem; box-shadow: 0 4px 6px -1px rgba(18,32,51,0.1), 0 2px 4px -2px rgba(18,32,51,0.1); padding: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bacs-testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -12px rgba(244,183,36,0.2); }
.bacs-testimonial-card p { color: var(--muted-foreground); font-size: 1rem; line-height: 1.625; margin-bottom: 1rem; flex: 1; }
.bacs-stars { display: flex; gap: 0.375rem; margin-bottom: 0.75rem; color: var(--gold); }
.bacs-stars .bacs-star-char { font-size: 1rem; line-height: 1; }
.bacs-testimonial-name { font-weight: 700; font-size: 1rem; }
.bacs-testimonial-date { color: var(--muted-foreground); font-size: 0.875rem; }
.bacs-contact-grid { display: grid; gap: 2.5rem; }
.bacs-contact-sidebar { display: grid; gap: 1.5rem; }
.bacs-contact-dark-card { display: grid; gap: 1.25rem; background: var(--section-dark); color: var(--section-dark-foreground); border-radius: var(--radius); padding: 1.5rem; }
.bacs-contact-dark-card div { display: flex; align-items: center; gap: 0.75rem; color: rgba(230,237,241,0.8); }
/* ContactSection Lovable: text-section-dark-foreground/80 hover:text-gold transition-colors */
.bacs-contact-dark-card a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(230,237,241,0.8);
    transition: color 0.2s ease;
}
.bacs-contact-dark-card a:hover { color: var(--gold); }
.bacs-platform-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; color: var(--muted-foreground); font-size: 0.875rem; }
.bacs-platform-list a { transition: color 0.2s ease; }
.bacs-platform-list a:hover { color: var(--gold); }
.bacs-quote-card { display: flex; flex-direction: column; justify-content: center; min-height: 100%; text-align: left; }
.bacs-quote-card blockquote { font-style: italic; color: var(--muted-foreground); line-height: 1.625; margin: 0; padding: 0; text-align: left; }
.bacs-quote-card p { margin: 0.75rem 0 0; padding: 0; color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 0.875rem; text-align: left; }
.bacs-contact-form-wrap { position: relative; }
.bacs-contact-form, .bacs-contact-success { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.bacs-contact-success { text-align: center; border-color: rgba(244,183,36,0.3); }
.bacs-contact-success[hidden] { display: none; }
.bacs-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 999px; background: rgba(244,183,36,0.2); color: var(--gold); margin: 0 auto 1rem; }
.bacs-success-icon svg { width: 1.75rem; height: 1.75rem; }
.bacs-contact-form { display: grid; gap: 1rem; }
.bacs-form-grid { display: grid; gap: 1rem; }
.bacs-contact-form label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.bacs-contact-form input, .bacs-contact-form select, .bacs-contact-form textarea { width: 100%; padding: 0.75rem 0.875rem; border-radius: 0.25rem; border: 1px solid var(--input); background: var(--background); color: var(--foreground); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.bacs-contact-form textarea { resize: none; }
.bacs-contact-form input:focus, .bacs-contact-form select:focus, .bacs-contact-form textarea:focus { outline: 0; border-color: var(--ring); box-shadow: 0 0 0 2px rgba(14,101,127,0.2); }
.bacs-form-submit { width: 100%; border: 0; border-radius: 999px; background: var(--gold); color: var(--accent-foreground); padding: 0.875rem 1rem; font-family: 'Oswald', sans-serif; font-size: 1.125rem; transition: background-color 0.2s ease; }
.bacs-form-submit:hover { background: var(--gold-dark); }
.bacs-form-submit[disabled] { opacity: 0.7; cursor: wait; }
.bacs-form-error { color: #b91c1c; font-size: 0.875rem; }
.bacs-form-error[hidden] { display: none; }
.bacs-map-wrap iframe { display: block; }
.bacs-footer { border-top: 1px solid rgba(244,183,36,0.1); background: var(--section-dark); color: var(--section-dark-foreground); padding: 2rem 0; }
.bacs-footer-logo { width: 3.5rem; height: 3.5rem; object-fit: contain; margin: 0 auto 0.75rem; }
.bacs-footer-company { font-family: 'Oswald', sans-serif; font-size: 0.875rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.bacs-footer-rights, .bacs-footer-credit { color: rgba(230,237,241,0.5); font-size: 0.75rem; }
.bacs-footer-credit { margin-top: 0.5rem; }
.bacs-footer-credit a { color: var(--gold); }
.bacs-footer-credit a:hover { text-decoration: underline; }
[data-item-empty="true"] { display: none !important; }
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; transition-delay: calc(var(--delay, 0) * 1ms); }
[data-animate="zoom"] { transform: scale(0.95); }
[data-animate].is-visible { opacity: 1; transform: translateY(0) scale(1); }
.bacs-portfolio-card[data-animate] { transition-duration: 0.45s; }
[data-delay="100"] { --delay: 100; }
[data-delay="200"] { --delay: 200; }
[data-delay="300"] { --delay: 300; }
[data-delay="400"] { --delay: 400; }

#about .bacs-grid-3 { gap: 2rem; }
/* TestimonialsSection Lovable: grid gap-4, mb-12 antes del CTA, max-w-4xl mx-auto */
.bacs-testimonials .bacs-grid-3 {
    gap: 1.5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-animate],
    [data-animate].is-visible {
        transition: none;
        opacity: 1;
        transform: none;
    }
    [data-animate="zoom"] { transform: none; }
    .bacs-marquee-track,
    .bacs-orb { animation: none !important; }
    .bacs-testimonials-background { background-attachment: scroll; }
}

@keyframes bacs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bacs-float { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: 0.3; } 50% { transform: translate3d(15px,-30px,0) scale(1.1); opacity: 0.5; } }
@keyframes bacs-pulse { 0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.35; } }
@media (min-width: 768px) {
    .bacs-testimonials { padding-top: 5rem; padding-bottom: 5rem; }
    .bacs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bacs-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bacs-nav-links { display: flex; }
    .bacs-nav-toggle, .bacs-mobile-menu { display: none !important; }
    .bacs-owner-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
    .bacs-contact-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
    .bacs-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .bacs-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .bacs-container { padding-left: 1rem; padding-right: 1rem; }
    .bacs-section { padding: 4rem 0; }
    .bacs-hero-actions { flex-direction: column; }
    .bacs-pill-button, .bacs-pill-large { width: 100%; }
    .bacs-owner-metrics { gap: 0.5rem; }
    /* Menú móvil: espacio borde–icono y icono–teléfono (Lovable-style) */
    .bacs-mobile-menu a.bacs-pill-button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        gap: 0.75rem;
    }
}
