/* ============================================================
   OPPOSITE VISUALS — Advertising Landing
   css/styles.css
   ============================================================ */

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --yellow:  #fcb900;
  --black:   #000000;
  --dark:    #0A0A0A;
  --gray:    #54595F;
  --white:   #ffffff;
  --font:    'Century Gothic', 'AppleGothic', 'Trebuchet MS', sans-serif;
  --radius:  20px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { background: var(--black); color: var(--white); font-family: var(--font);
        -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ─── Containers ─────────────────────────────────────────── */
.container       { max-width: 1100px; margin: 0 auto; }
.container-wide  { max-width: 1200px; margin: 0 auto; }
.container-med   { max-width: 1000px; margin: 0 auto; }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal              { opacity: 0; transform: translateY(28px);
                       transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                                   transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                                   filter 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.from-left    { transform: translateX(-32px); }
.reveal.from-right   { transform: translateX(32px); }
.reveal.scale-up     { transform: scale(0.94); }
.reveal.revealed     { opacity: 1 !important; transform: none !important; filter: none !important; }
.reveal.d1           { transition-delay: 0.10s; }
.reveal.d2           { transition-delay: 0.20s; }
.reveal.d3           { transition-delay: 0.30s; }
.reveal.d4           { transition-delay: 0.40s; }

/* ─── Cinematic Title Animations ─────────────────────────── */

/* Blur-to-focus reveal for headings */
.section-title.reveal,
.dif-headline.reveal,
.cta-title.reveal,
.form-title.reveal {
  filter: blur(12px);
  transform: translateY(40px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
              transform 1s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Subtitles — softer slide with slight blur */
.section-subtitle.reveal,
.dif-sub.reveal,
.cta-sub.reveal,
.hero-sub.reveal {
  filter: blur(6px);
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.15s,
              filter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.15s;
}

/* Hero-specific cinematic entrance */
.hero-tag.reveal {
  filter: blur(4px);
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.3s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.3s,
              filter 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}
.hero-h1.reveal {
  filter: blur(16px);
  transform: translateY(50px) scale(0.94);
  transition: opacity 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s,
              transform 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s,
              filter 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}
.hero-sub.reveal {
  filter: blur(8px);
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.85s,
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1) 0.85s,
              filter 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.85s;
}
.hero-btn.reveal {
  filter: blur(4px);
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.1s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.1s,
              filter 0.6s cubic-bezier(0.23, 1, 0.32, 1) 1.1s;
}

/* Glowing accent line under section titles */
.section-title { position: relative; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: translateX(-50%);
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}
.section-title.revealed::after {
  width: 80px;
}

/* CTA title glow line — left aligned */
.cta-title { position: relative; }
.cta-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: translateX(-50%);
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}
.cta-title.revealed::after {
  width: 80px;
}

/* Diferencial headline accent line */
.dif-headline { position: relative; display: inline-block; }
.dif-headline::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--black);
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
}
.dif-headline.revealed::after {
  width: 60px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-yellow {
  display: inline-block; background: var(--yellow); color: var(--black);
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 14px 40px; border: none; border-radius: 15px; cursor: pointer;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn-yellow:hover { filter: brightness(0.88); transform: scale(1.04); box-shadow: 0 0 28px rgba(252,185,0,0.45); }

.btn-black {
  display: inline-block; background: var(--black); color: var(--yellow);
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 14px 40px; border: 2px solid var(--yellow); border-radius: 15px; cursor: pointer;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.btn-black:hover { filter: brightness(1.1); transform: scale(1.04); box-shadow: 0 0 28px rgba(252,185,0,0.3); }

/* ─── Section helpers ────────────────────────────────────── */
.section-padding { padding: clamp(64px, 9vw, 110px) 24px; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-header.mb-80 { margin-bottom: 80px; }
.section-header.mb-56 { margin-bottom: 56px; }

.section-title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(26px, 4vw, 48px); color: var(--white);
  margin: 0 0 18px; letter-spacing: -0.02em;
}
.section-title.dark { color: var(--black); }
.section-subtitle { font-family: var(--font); font-size: 18px; color: var(--gray); margin: 0; }
.section-cta { text-align: center; margin-top: 64px; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-bottom .35s ease;
}
#navbar.scrolled {
  background: rgba(0,0,0,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(252,185,0,0.14);
}
.nav-logo   { width: 160px; height: auto; }
.nav-cta    { font-size: 0.82rem !important; padding: 10px 26px !important; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--dark);
}
#hero-bg {
  position: absolute; inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1920&auto=format&q=80');
  background-size: cover; background-position: center;
  will-change: transform;
  animation: heroKenBurns 25s ease-in-out infinite alternate;
}

/* Ken Burns — cinematic slow pan & zoom */
@keyframes heroKenBurns {
  0%   { transform: scale(1)   translate(0, 0); }
  25%  { transform: scale(1.08) translate(-1.5%, 1%); }
  50%  { transform: scale(1.12) translate(1%, -0.5%); }
  75%  { transform: scale(1.06) translate(-0.5%, -1.5%); }
  100% { transform: scale(1.1)  translate(1.5%, 0.5%); }
}

/* Subtle vignette layer for depth */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.60); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 920px; margin: 0 auto; }

.hero-tag {
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 22px; display: block;
}
.hero-h1 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(36px, 6.5vw, 68px); color: var(--white);
  margin: 0 0 26px; line-height: 1.08; letter-spacing: -0.025em;
}
.hero-h1 span { color: var(--yellow); }
.hero-sub {
  font-family: var(--font); font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.72); margin: 0 auto 52px;
  line-height: 1.65; max-width: 580px; display: block;
}
.hero-btn { font-size: 1rem; padding: 16px 48px; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); }

@keyframes scrollDown {
  0%   { opacity: 0; transform: translateY(-8px); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ─── PROBLEMA ───────────────────────────────────────────── */
#problema { background: var(--black); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pain-card {
  background: var(--dark); border: 1px solid var(--yellow);
  padding: 40px 36px; text-align: center; border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.pain-card:hover { box-shadow: 0 0 24px rgba(252,185,0,0.18); transform: translateY(-4px); }
.pain-icon  { margin-bottom: 20px; }
.pain-title { font-family: var(--font); font-weight: 700; font-size: 20px; color: var(--white); margin: 0 0 14px; }
.pain-desc  { font-family: var(--font); font-size: 16px; color: var(--gray); margin: 0; line-height: 1.68; }

/* ─── SOLUCIÓN ───────────────────────────────────────────── */
#solucion { background: var(--dark); }

.sol-rows { display: flex; flex-direction: column; gap: 96px; }
.sol-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sol-row.reversed .sol-img  { order: 2; }
.sol-row.reversed .sol-text { order: 1; }

.sol-img { overflow: hidden; border-radius: var(--radius); }
.sol-img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.sol-img:hover img { transform: scale(1.04); }

.sol-icon      { margin-bottom: 20px; }
.sol-title     { font-family: var(--font); font-weight: 700; font-size: clamp(22px,3vw,32px); color: var(--white); margin: 0 0 18px; line-height: 1.15; }
.sol-desc      { font-family: var(--font); font-size: 18px; color: rgba(255,255,255,0.72); margin: 0 0 20px; line-height: 1.7; }
.sol-highlight { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--yellow); margin: 0; }

/* ─── CASES ──────────────────────────────────────────────── */
#cases { background: var(--black); }

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.case-card {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  display: block; border-radius: var(--radius);
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.case-card:hover img { transform: scale(1.06); }
.case-overlay {
  position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(to top, rgba(0,0,0,0.88) 40%, transparent 100%);
  transition: background .3s;
}
.case-card:hover .case-overlay { background: linear-gradient(to top, rgba(0,0,0,0.96) 55%, rgba(0,0,0,0.25) 100%); }
.case-body {
  position: absolute; inset: 0; padding: 28px 28px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.case-tag {
  display: inline-block; padding: 5px 12px; background: var(--yellow); color: var(--black);
  font-family: var(--font); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
  border-radius: 6px; align-self: flex-start;
}
.case-title    { font-family: var(--font); font-weight: 700; font-size: 20px; color: var(--white); margin: 0 0 8px; line-height: 1.25; }
.case-subtitle { font-family: var(--font); font-size: 15px; color: rgba(255,255,255,0.65); margin: 0 0 18px; }
.case-cta-hover {
  font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--yellow);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.case-card:hover .case-cta-hover { opacity: 1; transform: translateY(0); }

/* ─── DIFERENCIAL ────────────────────────────────────────── */
#diferencial { background: var(--yellow); padding: clamp(64px,9vw,110px) 48px; }

.dif-headline {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(26px, 4vw, 52px); color: var(--black);
  margin: 0 0 18px; line-height: 1.08; max-width: 720px;
}
.dif-sub   { font-family: var(--font); font-size: 20px; color: rgba(0,0,0,0.55); margin: 0 0 56px; }
.dif-item  { display: flex; gap: 28px; align-items: flex-start; padding: 36px 0; border-bottom: 1px solid rgba(0,0,0,0.15); }
.dif-item:last-child { border-bottom: none; }
.dif-icon  { flex-shrink: 0; margin-top: 4px; }
.dif-title { font-family: var(--font); font-weight: 700; font-size: 22px; color: var(--black); margin: 0 0 10px; }
.dif-desc  { font-family: var(--font); font-size: 17px; color: rgba(0,0,0,0.62); margin: 0; line-height: 1.68; }

/* ─── CAPACIDADES ────────────────────────────────────────── */
#capacidades { background: var(--dark); }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
  border: 2px solid var(--yellow); background: var(--black); padding: 30px 24px;
  text-align: center; border-radius: var(--radius); transition: box-shadow .3s, transform .3s;
}
.cap-card:hover { box-shadow: 0 0 28px rgba(252,185,0,0.28); transform: translateY(-5px); }
.cap-icon  { margin-bottom: 18px; }
.cap-label { font-family: var(--font); font-weight: 700; font-size: 17px; color: var(--yellow); margin: 0; line-height: 1.4; }

/* ─── TESTIMONIOS ────────────────────────────────────────── */
#testimonios { background: var(--black); }

.testi-wrapper { max-width: 860px; margin: 0 auto; }
.testi-card {
  background: var(--dark); border: 1px solid rgba(252,185,0,0.25);
  padding: 44px 40px; border-radius: var(--radius); min-height: 260px;
}
@keyframes testi-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.testi-item         { display: none; }
.testi-item.active  { display: block; animation: testi-fade 0.4s ease forwards; }

.quote-icon  { margin-bottom: 24px; }
.testi-quote {
  font-family: var(--font); font-size: clamp(17px, 2.2vw, 22px);
  color: var(--white); line-height: 1.65; margin: 0 0 36px; font-style: italic;
}
.testi-author  { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--black); flex-shrink: 0;
}
.author-name { font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--white); margin: 0 0 4px; display: block; }
.author-role { font-family: var(--font); font-size: 14px; color: var(--gray); margin: 0; display: block; }

.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.testi-dot  { width: 10px; height: 10px; border-radius: 5px; background: var(--gray); padding: 0; transition: width .3s ease, background .3s ease; }
.testi-dot.active { width: 28px; background: var(--yellow); }

/* ─── TEAM ───────────────────────────────────────────────── */
#equipo { background: var(--dark); }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.team-card {
  background: var(--dark); border: 1px solid var(--yellow);
  padding: 36px 28px; text-align: center; border-radius: var(--radius);
  transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: 0 0 28px rgba(252,185,0,0.22); transform: translateY(-6px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--yellow);
  margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 22px; color: var(--black);
}
.team-name { font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--white); margin: 0 0 8px; line-height: 1.25; }
.team-role { font-family: var(--font); font-size: 13px; color: var(--yellow); margin: 0; font-weight: 700; letter-spacing: 0.04em; }

/* ─── CTA ────────────────────────────────────────────────── */
#cta { background: var(--black); padding: clamp(80px,11vw,140px) 24px; text-align: center; }
.cta-inner  { max-width: 720px; margin: 0 auto; }
.cta-title  {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(32px, 5.5vw, 60px); color: var(--white);
  margin: 0 0 22px; line-height: 1.06; letter-spacing: -0.02em;
}
.cta-title span { color: var(--yellow); }
.cta-sub    { font-family: var(--font); font-size: 18px; color: var(--gray); margin: 0 0 52px; line-height: 1.65; }
.cta-btn    { font-size: 1.05rem !important; padding: 18px 56px !important; }
.cta-note   { font-family: var(--font); font-size: 13px; color: var(--gray); margin-top: 26px; }

/* ─── CONTACT FORM ───────────────────────────────────────── */
#contact    { background: var(--dark); }
.form-inner { max-width: 620px; margin: 0 auto; }
.form-head  { text-align: center; margin-bottom: 52px; }
.form-title {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(26px, 4vw, 42px); color: var(--white); margin: 0 0 14px;
}
.form-subtitle { font-family: var(--font); font-size: 17px; color: var(--gray); margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.ov-input {
  width: 100%; background: var(--black); border: 1px solid var(--gray);
  color: var(--white); font-family: var(--font); font-size: 16px;
  padding: 14px 18px; outline: none; transition: border-color .2s;
  resize: vertical; border-radius: 10px;
}
.ov-input:focus        { border-color: var(--yellow); }
.ov-input::placeholder { color: var(--gray); }
textarea.ov-input      { min-height: 130px; }

.form-btn  { width: 100%; padding: 16px !important; font-size: 1rem !important; letter-spacing: 0.06em !important; }
.form-note { font-family: var(--font); font-size: 12px; color: var(--gray); text-align: center; margin: 0; }

.form-success          { text-align: center; padding: 60px 0; }
.form-success svg      { margin: 0 auto 24px; }
.form-success h3       { font-family: var(--font); font-weight: 700; font-size: 26px; color: var(--white); margin: 0 0 12px; }
.form-success p        { font-family: var(--font); font-size: 16px; color: var(--gray); margin: 0; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: #0a0a0a; border-top: 1px solid rgba(252,185,0,0.18); overflow: hidden; }

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; align-items: flex-start;
}
.footer-logo    { width: 150px; height: auto; margin-bottom: 24px; border-radius: 12px; }
.footer-tagline { font-family: var(--font); font-size: 14px; color: var(--gray); line-height: 1.7; margin: 0; max-width: 220px; }

.footer-label { font-family: var(--font); font-size: 11px; font-weight: 700; color: var(--yellow); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 28px; display: block; }
.footer-nav   { display: flex; flex-direction: column; gap: 14px; }
.footer-nav-link {
  color: var(--white); font-family: var(--font); font-size: 15px; font-weight: 600;
  display: block; transition: color .2s, transform .2s; cursor: pointer;
  background: none; border: none; text-align: left; padding: 0;
}
.footer-nav-link:hover { color: var(--yellow); transform: translateX(4px); }

.footer-about { font-family: var(--font); font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.7; margin: 0 0 32px; }

.footer-socials { display: flex; gap: 12px; }
.footer-social  {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); transition: border-color .2s, color .2s, background .2s;
}
.footer-social:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(252,185,0,0.08); }

.footer-brand      { padding: 0 40px; overflow: hidden; line-height: 0.85; }
.footer-brand-text {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(64px, 12vw, 160px);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  margin: 0; letter-spacing: -0.02em; user-select: none; white-space: nowrap;
}
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-family: var(--font); font-size: 12px; color: var(--gray); }
.footer-link { font-family: var(--font); font-size: 12px; color: var(--gray); transition: color .2s; }
.footer-link:hover { color: var(--yellow); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1199px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  #navbar           { padding: 16px 24px; }
  .pain-grid        { grid-template-columns: 1fr; }
  .sol-row          { grid-template-columns: 1fr; gap: 32px; }
  .sol-row.reversed .sol-img  { order: 0; }
  .sol-row.reversed .sol-text { order: 0; }
  .cases-grid       { grid-template-columns: 1fr; }
  .cap-grid         { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr; padding: 48px 24px; }
  .reveal           { transition-duration: 0.5s !important; }
  .section-title.reveal,
  .dif-headline.reveal,
  .cta-title.reveal { filter: blur(8px); }
  .hero-h1.reveal   { filter: blur(10px); }
}
@media (max-width: 767px) {
  #hero       { height: 100svh; }
  .form-row   { grid-template-columns: 1fr; }
  .testi-card { padding: 32px 24px; }
}
@media (max-width: 639px) {
  #diferencial    { padding-left: 24px; padding-right: 24px; }
  .cap-grid       { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  --modal-gutter: 24px;
  padding: var(--modal-gutter);
  overflow-y: auto;
  align-items: safe center;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--dark); border: 1px solid rgba(252,185,0,0.25);
  border-radius: var(--radius); padding: 40px;
  width: 100%; max-width: 620px; max-height: calc(100vh - var(--modal-gutter) * 2); overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--yellow); color: var(--black); }

@media (max-width: 600px) {
  .modal-overlay {
    --modal-gutter: 12px;
  }
  .modal-content {
    padding: 32px 16px 20px;
  }
}
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}