/* ─── BTN PILL ─── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--coral-500);
  color: #fff;
  border: 1px solid var(--coral-500);
  border-radius: 999px;
  padding: 10px 10px 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-fast, 140ms) var(--ease-out), border-color var(--dur-fast, 140ms) var(--ease-out);
}

.btn-pill:hover { background: var(--coral-600); border-color: var(--coral-600); }

.btn-label { flex: 1; white-space: nowrap; }

.btn-dot-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s var(--ease-out);
}

.btn-pill:hover .btn-dot-circle { transform: scale(1.15); }

.btn-canvas {
  display: block;
  border-radius: 50%;
}

.btn-pill--white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-pill--white:hover { background: transparent; border-color: #fff; }
.btn-pill--dark { color: #000; border-color: #000; }
.btn-pill--dark .btn-dot-circle { background: var(--accent); }

/* ─── SERVICE CARDS ─── */
#servicios, #services {
  padding: var(--section-pad) 0;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.services-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
}

.service-card .service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-card__img { transform: scale(1.05); }

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%);
  transition: background 0.4s;
  z-index: 1;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 55%);
}

.service-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.service-card__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3, clamp(22px, 2.6vw, 32px));
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.service-card__link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, gap 0.25s;
}

.service-card:hover .service-card__link { color: #fff; gap: 12px; }

.service-card--holidays {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 220px;
  background: var(--navy-900);
  display: flex;
  align-items: flex-end;
}
.service-card--holidays .service-card__body { position: relative; padding: 40px; max-width: 560px; }
.service-card--holidays .service-card--holidays__logo { height: 64px; width: auto; margin: 8px 0 20px; display: block; }
.service-card--holidays p.service-card__desc { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
@media (max-width: 640px) {
  .service-card--holidays { grid-column: span 1; min-height: 240px; }
  .service-card--holidays .service-card__body { padding: 32px 24px; }
}

/* ─── ABOUT (white section) ─── */
#nosotros-home {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-left h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin: 16px 0 24px;
  color: var(--text-dark);
}

.about-left p {
  color: var(--text-muted-dark);
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 36px;
  max-width: 500px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}

.about-stat-val {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}

.about-stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted-dark);
  margin-top: 6px;
}

.about-images {
  position: relative;
  height: 580px;
}

.about-images .about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  right: 80px;
  bottom: 80px;
  object-fit: cover;
  background: #111;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
}

.about-images .about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  background: #222;
  border: 3px solid #000;
  z-index: 2;
}

/* ─── STICKY SCROLL ─── */
#sticky-services {
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sticky-panel {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translateY(100%);
}

.sticky-panel[data-panel="0"] {
  transform: translateY(0);
}

.sticky-panel .sticky-panel__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  background: #111;
}

.sticky-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0.0) 100%);
}

.sticky-panel__body {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 80px var(--gutter);
  max-width: 640px;
}

.sticky-panel__num {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: -40px;
}

.sticky-panel h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display, clamp(40px, 5vw, 68px));
  font-weight: 400;
  line-height: 1.08;
  margin: 16px 0 24px;
}

.sticky-panel p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 36px;
}

@media (max-width: 1024px) {
  /* Disable sticky scroll on tablet/mobile — stack panels normally */
  #sticky-services { height: auto !important; }
  #sticky-services .sticky-container { position: relative; height: auto !important; overflow: visible; top: auto; }
  #sticky-services .sticky-panel { position: relative !important; height: auto; min-height: 65vw; transform: none !important; }
  #sticky-services .sticky-panel__body { position: relative; padding: 48px 24px 56px; max-width: 100%; }
  #sticky-services .sticky-panel__num { font-size: 72px; margin-bottom: -24px; }
}
@media (max-width: 640px) {
  #sticky-services .sticky-panel { min-height: 80vw; }
  #sticky-services .sticky-panel__body { padding: 36px 20px 48px; }
}

/* ─── PROCESO (off-white section) ─── */
#proceso, #process {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-dark);
}

.proceso-header {
  text-align: center;
  margin-bottom: 80px;
}

.proceso-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin-top: 12px;
  color: var(--text-dark);
}

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

.proceso-step {
  padding: 48px 40px;
  border: 1px solid var(--border-dark);
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.proceso-step__num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: rgba(0,50,110,0.1);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
}

.proceso-step h3 {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 8px 0 16px;
  color: var(--text-dark);
}

.proceso-step p {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.45;
}

.proceso-step__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ─── CONTADORES (dark navy) ─── */
#contadores, #counters {
  padding: 80px 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.counter-item {
  padding: 40px var(--gutter);
  border-right: 1px solid var(--border);
  text-align: center;
}

.counter-item:last-child { border-right: none; }

.counter-val {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.counter-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ─── TESTIMONIOS ─── */
#testimonios, #testimonials {
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.testimonios-header {
  margin-bottom: 60px;
}

.testimonios-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin-top: 12px;
}

.testimonios-slider {
  position: relative;
}

.testimonio-slide {
  display: none;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.testimonio-slide.is-active { display: grid; }

.testimonio-slide .testimonio-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}

.testimonio-body { position: relative; }

.testimonio-quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -30px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}

.testimonio-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonio-text {
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonio-meta-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.testimonio-meta-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.testimonios-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}

.testi-btn:hover { border-color: var(--accent); background: var(--accent); }

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
  position: relative;
}
.testi-dot::before { content: ''; position: absolute; inset: -10px; } /* área táctil mínima */
.testi-dot:focus-visible { outline: 2px solid #6aabff; outline-offset: 6px; }
.testi-dot.is-active { background: var(--accent); transform: scale(1.4); }

/* ─── VIDEO INLINE FULLWIDTH ─── */
#video-section {
  border-top: 1px solid var(--border);
}

.video-fullwidth-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.corporate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-inline-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
  transition: opacity 0.5s ease;
}

.video-inline-overlay.is-playing {
  opacity: 0;
  pointer-events: none;
}

.video-overlay-content {
  text-align: center;
}

.video-overlay-content .eyebrow {
  color: var(--gold);
  margin-bottom: 16px;
}

.video-overlay-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display, clamp(40px, 5vw, 68px));
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  line-height: 1.1;
}

.play-btn-large {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.video-fullwidth-wrap:hover .play-btn-large {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* ─── LOGO STRIP (white) ─── */
#clientes, #clients {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-dark);
  overflow: hidden;
}

#clientes .eyebrow, #clients .eyebrow { text-align: center; margin-bottom: 48px; color: var(--accent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  margin: 0 12px;
}

.marquee-track .client-logo img {
  height: 72px;
  width: auto;
  filter: none;
  transition: opacity 0.3s;
  object-fit: contain;
  opacity: 0.85;
}

.client-logo:hover img { opacity: 1; }

.client-logo-text {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  transition: color 0.3s;
}
.client-logo:hover .client-logo-text { color: rgba(255,255,255,0.7); }

/* ─── FAQ + FORM (white) ─── */
#faq-form {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-dark);
}

#faq-form .faq-form-grid > div:last-child {
  background: #f0f5ff;
  padding: 48px 40px;
  border-radius: 2px;
}

.faq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 40px;
  color: var(--text-dark);
}

.faq-list { list-style: none; }

.faq-item {
  border-top: 1px solid var(--border-dark);
}

.faq-item:last-child { border-bottom: 1px solid var(--border-dark); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 16px;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}

.faq-q:hover { color: var(--accent); }

.faq-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s;
}

.faq-item.is-open .faq-a { max-height: 300px; padding-bottom: 24px; }

.faq-a p {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.45;
}

/* ─── Service page features ─── */
.feature-text strong { color: #fff; display: block; margin-bottom: 5px; font-weight: 500; }

/* ─── FAQ dark (service pages) ─── */
.service-faq {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}
.service-faq .faq-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 48px;
  color: #fff;
}
.service-faq .faq-item { border-top: 1px solid var(--border); }
.service-faq .faq-item:last-child { border-bottom: 1px solid var(--border); }
.service-faq .faq-q { color: rgba(255,255,255,0.85); }
.service-faq .faq-q:hover { color: #6aabff; }
.service-faq .faq-a p { color: var(--text-muted); }
.service-faq .faq-icon { color: #6aabff; }

/* Form */
.contact-form-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin: 12px 0 40px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select option { background: #111; color: #fff; }

.form-group textarea { resize: none; height: 100px; }

.btn-pill--submit {
  width: 100%;
  justify-content: space-between;
  padding: 14px 14px 14px 28px;
  font-size: 14px;
  background: var(--coral-500);
  color: #fff;
  border-color: var(--coral-500);
  margin-top: 8px;
}
.btn-pill--submit:hover { background: var(--coral-600); border-color: var(--coral-600); }
.btn-pill--submit .btn-dot-circle { background: rgba(255,255,255,0.15); }

/* .form-success, .form-error y .form-consent: ver global.css */
#faq-form .form-consent label, #faq-form .form-legal { color: var(--text-muted-dark); }
#faq-form .form-success p { color: var(--text-muted-dark); }

/* ─── BLOG (white) ─── */
#blog-home {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-dark);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.blog-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2, clamp(32px, 3.8vw, 52px));
  font-weight: 400;
  line-height: 1.1;
  margin-top: 12px;
  color: var(--text-dark);
}

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

.blog-card { display: block; }

.blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 20px;
  background: #111;
}

.blog-card__img-wrap .blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card__img { transform: scale(1.05); }

.blog-card__cat {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: var(--font-body);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.blog-card__link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, gap 0.25s;
}

.blog-card:hover .blog-card__link { color: #fff; gap: 12px; }

/* ─── CTA STRIP (wave dots like Spence) ─── */
.cta-strip {
  position: relative;
  background: var(--bg-mid);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-dots-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  background: var(--bg-mid);
  padding: clamp(60px, 8vw, 100px) clamp(48px, 8vw, 120px);
  text-align: center;
  max-width: 800px;
  width: 90%;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display, clamp(48px, 6.5vw, 92px));
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.cta-strip p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 44px;
  margin-top: 16px;
}

/* Related arrow — override inline service-page CSS */
.related-arrow { color: #6aabff !important; }

/* Breadcrumbs hidden from heroes */
.service-hero .breadcrumb,
.inner-hero .breadcrumb { display: none; }

/* CTA strip button always white text */
.cta-strip .btn-pill { color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .about-grid      { grid-template-columns: 1fr; }
  .about-images    { height: 400px; }
  .counters-grid   { grid-template-columns: repeat(2, 1fr); }
  .counter-item:nth-child(2) { border-right: none; }
  .faq-form-grid   { grid-template-columns: 1fr; gap: 60px; }
  .blog-grid       { grid-template-columns: repeat(2, 1fr); }
  .proceso-grid    { grid-template-columns: 1fr; }
  /* Service page features grid */
  .features-grid   { grid-template-columns: 1fr 1fr !important; gap: 2px !important; }
}

@media (max-width: 768px) {
  /* Blog page full grid */
  .blog-grid-full       { grid-template-columns: 1fr !important; }
  .blog-card-featured   { grid-column: auto !important; }
  /* Nosotros about section images */
  .about-images         { height: 280px; }
  .about-images .about-img-secondary { width: 45%; height: 45%; }
  /* FAQ + form */
  #faq-form .faq-form-grid > div:last-child { padding: 36px 24px; }
  /* CTA strip */
  .cta-inner { padding: 0 24px; }
  .cta-inner h2 { font-size: clamp(32px, 8vw, 48px); }
  .cta-inner p  { font-size: 16px; }
  /* Video section tablet — text & play smaller */
  .video-overlay-content h2 { font-size: clamp(26px, 4vw, 44px); }
  .play-btn-large { width: 68px; height: 68px; }
}

@media (max-width: 640px) {
  .services-grid      { grid-template-columns: 1fr; }
  .blog-grid          { grid-template-columns: 1fr; }
  .counters-grid      { grid-template-columns: 1fr 1fr; }
  .testimonio-slide   { grid-template-columns: 1fr; }
  .testimonio-slide .testimonio-img { width: 100px; height: 100px; }
  .services-header    { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-header        { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* Service page features grid — single column on phone */
  .features-grid      { grid-template-columns: 1fr !important; }
  /* Process grid spacing */
  .proceso-step       { padding: 36px 24px; }
  /* Video section mobile — text ~25% smaller, play ~30% smaller */
  .video-overlay-content h2 { font-size: clamp(20px, 6vw, 30px); }
  .play-btn-large { width: 62px; height: 62px; }
}

@media (max-width: 480px) {
  .counters-grid      { grid-template-columns: 1fr; }
  .counter-item       { border-right: none !important; border-bottom: 1px solid var(--border-dark); }
  .about-images       { height: 220px; }
}

/* Nosotros corporate video — mobile overrides */
@media (max-width: 640px) {
  #video-section .video-fullwidth-wrap {
    aspect-ratio: auto;
    height: 360px;
  }
  #video-section .play-btn-large {
    width: 44px;
    height: 44px;
  }
  #video-section .play-btn-large svg {
    width: 18px;
    height: 18px;
  }
  #video-section .video-inline-overlay {
    justify-content: flex-end;
    padding-bottom: 40px;
  }
}

/* ─── Vídeo incrustado (YouTube/Vimeo) y modo póster ─── */
.video-fullwidth-wrap--embed { cursor: auto; overflow: hidden; }
.corporate-video--embed {
  border: 0;
  object-fit: initial;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.35);
  transform-origin: center center;
  pointer-events: none;
}
.video-inline-overlay--embed {
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, transparent 60%);
  align-items: center;
  justify-content: flex-start;
  padding: clamp(28px, 6vh, 72px) var(--gutter) 0;
  text-align: center;
}
.video-inline-overlay--embed .video-overlay-content { text-align: center; }
.video-inline-overlay--embed h2 { text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.video-inline-overlay--embed .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.video-fullwidth-wrap--poster { cursor: auto; }
.video-fullwidth-wrap--poster img.corporate-video { object-fit: cover; }
