/*
Theme Name: BC Managers 2.0
Theme URI: https://www.bcmanagers.com
Author: BC Managers
Author URI: https://www.bcmanagers.com
Description: BC Managers versión 2.0 - Ingenieros & Economistas
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: bcmanagers-v2
Tags: one-page, business, consulting, dark
*/

/* ─── FUENTE INTER (alojada en el propio servidor: sin llamadas a Google, RGPD) — SIL Open Font License ─── */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 900; font-display:swap;
  src:url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Inter'; font-style:normal; font-weight:400 900; font-display:swap;
  src:url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

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

:root {
  --brand1: #F07520;
  --brand2: #E05C00;
  --brand3: #FFB347;
  --dark:  #0D0C0A;
  --dark2: #141310;
  --dark3: #1E1B16;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(240,117,32,0.15);
  --text: #F5F0EB;
  --muted: rgba(245,240,235,0.55);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, 'Helvetica Neue', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── BG GLOW ─── */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80vw 60vh at 10% 0%, rgba(240,117,32,.3) 0%, transparent 60%),
    radial-gradient(ellipse 60vw 50vh at 90% 80%, rgba(224,92,0,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50vw 40vh at 50% 50%, rgba(255,179,71,.06) 0%, transparent 60%);
}

/* ─── ANIMATED HERO ORBS ─── */
.hero-orbs {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero-orbs::before {
  content: '';
  position: absolute; border-radius: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,117,32,.18) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation: orb-drift 18s ease-in-out infinite;
  filter: blur(1px);
}
.hero-orbs::after {
  content: '';
  position: absolute; border-radius: 50%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,92,0,.14) 0%, transparent 70%);
  bottom: -100px; right: 0;
  animation: orb-drift 14s ease-in-out infinite reverse;
  animation-delay: -7s;
  filter: blur(1px);
}
@keyframes orb-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(60px,-40px) scale(1.1); }
  66%      { transform: translate(-40px,50px) scale(.95); }
}

/* Photo particles (generated via JS in main.js) */
.ptcl {
  position: absolute; border-radius: 50%;
  background: rgba(240,117,32,.6);
  pointer-events: none;
  animation: ptcl-float var(--dur,8s) var(--delay,0s) infinite linear;
  will-change: transform, opacity;
}
@keyframes ptcl-float {
  0%   { transform: translateY(10px) scale(0); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: .4; }
  100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

/* ─── SHIMMER UTILITY ─── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shimmer-line {
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,
    transparent 0%, var(--brand1) 40%, var(--brand3) 60%, transparent 100%);
  background-size: 400px 2px;
  animation: shimmer 3s linear infinite;
}

/* ─── HERO PHOTO SUPPORT ─── */
.page-hero-photo {
  background-size: cover !important;
  background-position: center 35% !important;
  background-attachment: fixed !important;
}

/* ─── NAV ─── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 6%;
  backdrop-filter: blur(18px);
  background: rgba(13,12,10,0.6);
  border-bottom: 1px solid var(--glass-border);
  transition: background .3s;
}

.nav-logo {
  font-family: Arial, sans-serif;
  font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em;
  text-decoration: none;
}
.nav-logo .bc { color: #F07520; }
.nav-logo .managers {
  background: linear-gradient(135deg,#fff,#d0ccc8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  padding: .6rem 1.4rem;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff; border: none; border-radius: 50px;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(240,117,32,.4);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,117,32,.5); }

/* ─── HERO ─── */
#hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 10rem 6% 6rem;
  background-image: url('../../uploads/theme/img/photo-1486325212027-8081e485255e-1920.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70vw 55vh at 50% 10%, rgba(240,117,32,.22) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(13,12,10,.88) 0%, rgba(13,12,10,.55) 55%, rgba(13,12,10,.92) 100%);
}
#hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1.1rem;
  background: rgba(240,117,32,.1);
  border: 1px solid rgba(240,117,32,.28);
  border-radius: 50px;
  font-size: .72rem; font-weight: 700; color: var(--brand1);
  letter-spacing: .11em; text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(240,117,32,.1);
}
.hero-badge span.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand1); animation: pulse 2s infinite; }

@keyframes pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.4; transform:scale(1.6); }
}

h1.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.035em;
  max-width: 900px;
}

.grad-text {
  background: linear-gradient(125deg, #fff 0%, var(--brand3) 35%, var(--brand1) 70%, var(--brand2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.8rem;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-btns {
  margin-top: 3rem;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.btn-primary {
  padding: .9rem 2.2rem;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff; border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(240,117,32,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(240,117,32,.5); }

.btn-ghost {
  padding: .9rem 2.2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #fff; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }

.hero-stats {
  margin-top: 5rem;
  display: flex; gap: 3rem; flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.6rem; font-weight: 900;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .85rem; color: var(--muted); margin-top: .3rem; }

/* ─── SECTIONS ─── */
section.site-section { position: relative; z-index: 1; padding: 6rem 6%; }

.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand1);
  background: rgba(240,117,32,.08);
  border: 1px solid rgba(240,117,32,.2);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 700px;
}

.section-sub {
  margin-top: 1.2rem;
  font-size: 1rem; color: var(--muted); max-width: 540px; line-height: 1.75;
  font-weight: 400;
}

/* ─── SERVICES ─── */
#services { background: var(--dark2); }

.services-header { margin-bottom: 4rem; }

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

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2), border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand1), var(--brand3), var(--brand2));
  opacity: 0; transition: opacity .3s;
}
.service-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 180px 120px at 50% 120%, rgba(240,117,32,.06) 0%, transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(240,117,32,.45); box-shadow: 0 24px 60px rgba(240,117,32,.15); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.5rem;
}

.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; }
.service-card p { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* ─── ABOUT ─── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap { position: relative; border-radius: 24px; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 500px; object-fit: cover; border-radius: 24px; display: block; }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(240,117,32,.25), rgba(224,92,0,.15));
  border-radius: 24px;
}
.about-float-card {
  position: absolute; bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  border-radius: 16px; padding: 1.2rem 1.6rem;
  box-shadow: 0 20px 50px rgba(240,117,32,.4);
}
.about-float-card .num { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about-float-card .lbl { font-size: .8rem; opacity: .85; margin-top: .3rem; }

.about-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.about-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; backdrop-filter: blur(8px);
}
.about-item-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.about-item h4 { font-size: .95rem; font-weight: 700; }
.about-item p { font-size: .85rem; color: var(--muted); margin-top: .2rem; }

/* ─── PROCESS ─── */
#process { background: var(--dark2); }

.process-steps {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.process-step {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; backdrop-filter: blur(8px);
  transition: transform .3s;
}
.process-step:hover { transform: translateY(-5px); }
.step-num {
  font-size: 3.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin: 1rem 0 .5rem; }
.process-step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--dark2); }

.testimonials-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
}
.stars { color: var(--brand3); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-card blockquote { font-size: .95rem; color: var(--muted); line-height: 1.7; font-style: italic; }
.testimonial-author { margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand1); }
.author-name { font-size: .9rem; font-weight: 700; }
.author-co { font-size: .8rem; color: var(--muted); margin-top: .1rem; }
.quote-mark {
  position: absolute; top: 1.5rem; right: 1.8rem;
  font-size: 4rem; line-height: 1;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: .3; font-family: Georgia, serif;
}

/* ─── CTA ─── */
.cta-banner {
  margin: 0 6% 6rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand1) 0%, var(--brand2) 100%);
  padding: 5rem 6%;
  text-align: center;
  position: relative; overflow: hidden; z-index: 1;
  box-shadow: 0 30px 80px rgba(240,117,32,.3), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(255,255,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image: 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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .5; pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; }
.cta-banner p { font-size: 1.1rem; opacity: .85; max-width: 500px; margin: 1rem auto 2.5rem; }
.btn-white {
  padding: 1rem 2.5rem;
  background: #fff; color: var(--brand1);
  border: none; border-radius: 50px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.35); }

/* ─── CONTACT ─── */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; }
.contact-info p { color: var(--muted); margin-top: 1rem; line-height: 1.7; }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-item span { font-size: .95rem; font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: .85rem 1rem;
  color: #fff; font-family: Arial, sans-serif; font-size: .95rem;
  backdrop-filter: blur(8px); transition: border-color .2s; outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--brand1);
  box-shadow: 0 0 0 3px rgba(240,117,32,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  padding: 1rem;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #fff; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 25px rgba(240,117,32,.4);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  font-family: 'Inter', Arial, sans-serif;
}
.form-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(240,117,32,.5); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-msg {
  display: none;
  padding: .85rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem; font-weight: 500; line-height: 1.5;
}
.form-msg:not(:empty) { display: block; }
.form-msg--ok  {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #4ade80;
}
.form-msg--err {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.3);
  color: #f87171;
}
.req { color: var(--brand1); }

/* ─── FOOTER ─── */
.site-footer {
  position: relative; z-index: 1;
  background: var(--dark2);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 6% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; color: var(--muted); margin-top: 1rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--muted); }
.footer-col a { display: block; font-size: .9rem; color: var(--muted); text-decoration: none; margin-bottom: .7rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--muted);
}
.social-links { display: flex; gap: .8rem; margin-top: 1.5rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: .85rem; color: var(--text);
  transition: background .2s, transform .2s;
}
.social-link:hover { background: var(--brand1); transform: translateY(-2px); }

/* ─── SERVICE CARD AS LINK ─── */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand1);
  letter-spacing: .04em;
  transition: gap .2s;
}
a.service-card:hover .service-link { letter-spacing: .1em; }

/* Dropdown removed — Servicios links directly to /#services */

/* ─── SHARED PHOTO PANEL VISUAL CARD ─── */
/* Usage: add class="…-visual vis-photo" style="--vp:url('...')" */
.vis-photo {
  min-height: 480px !important;
  background-color: #1a1710;
  background-image:
    linear-gradient(to top, rgba(13,12,10,.97) 0%, rgba(13,12,10,.7) 45%, rgba(13,12,10,.22) 100%),
    var(--vp, none);
  background-size: cover !important;
  background-position: center !important;
  justify-content: flex-end !important;
  /* Keep border/radius from the original card class */
}
/* Make sure content sits above backgrounds */
.vis-photo > * { position: relative; z-index: 1; }

/* ─── ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,.68,0,1), transform .65s cubic-bezier(.22,.68,0,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ─── STAGGERED REVEAL ─── */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ─── PROCESS STEPS NUMBERED ─── */
.step-num {
  font-size: 3.5rem; font-weight: 900;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -.04em;
}

/* ─── IMPROVED STAT NUMBERS ─── */
.stat-num {
  font-size: 2.6rem; font-weight: 900;
  letter-spacing: -.03em;
  background: linear-gradient(125deg, var(--brand3) 0%, var(--brand1) 60%, var(--brand2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── ABOUT SECTION IMG ─── */
.about-img-wrap img {
  transition: transform .6s ease;
}
.about-img-wrap:hover img { transform: scale(1.03); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  #about, #contact { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  nav.site-nav { padding: 1rem 4%; }
  .nav-links { display: none; }
  section.site-section { padding: 4rem 4%; }
  #about, #contact { padding: 4rem 4%; }
  .hero-stats { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-banner { margin: 0 4% 4rem; }
}

/* ─── RGPD: casilla y primera capa informativa del formulario ─── */
.bcm-rgpd { display:flex; flex-direction:column; gap:.6rem; }
.bcm-check { display:flex; gap:.6rem; align-items:flex-start; font-size:.88rem; color:var(--text); cursor:pointer; }
.bcm-check input { width:18px; height:18px; margin-top:2px; accent-color:var(--brand1); flex-shrink:0; }
.bcm-check a, .bcm-rgpd-info a { color:var(--brand3); }
.bcm-rgpd-info { font-size:.74rem; line-height:1.55; color:var(--muted); }

/* ─── Banner y ajustes de cookies (botones con el mismo peso visual, guía AEPD) ─── */
.bcm-ck-btn { flex:1; padding:9px 16px; border-radius:8px; font-weight:700; cursor:pointer; font-family:inherit; font-size:13px;
  background:rgba(255,255,255,.08); color:var(--text); border:1px solid rgba(240,117,32,.6); }
.bcm-ck-btn:hover { background:rgba(240,117,32,.2); }
.footer-cookie-btn { background:none; border:0; padding:0; color:var(--muted); font:inherit; font-size:.9rem; cursor:pointer; text-align:left; margin-bottom:.7rem; }
.footer-cookie-btn:hover { color:#fff; }
