/* ============================================================
   BRAGOO — AGENCIA DE MARKETING DIGITAL
   Hoja de estilos principal
   ============================================================ */

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
  background: #ffffff !important;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  background: #ffffff;
  color: #111;
}
.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
    color: #111;
    text-decoration: none;
}
.nav-menu a,
.nav-menu a:link,
.nav-menu a:visited,
.nav-menu a:hover,
.nav-menu a:active {
    color: #222;
    text-decoration: none;
}
.nav-menu,
.nav-menu ul,
.nav-menu ol,
.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Reset global para <a> usados como botones */
a.btn,
a.btn:link,
a.btn:visited { text-decoration: none; }

a.btn.primary,
a.btn.primary:link,
a.btn.primary:visited { color: #fff; }

a.btn.ghost,
a.btn.ghost:link,
a.btn.ghost:visited { color: #333; }

a.bragoo-btn,
a.bragoo-btn:link,
a.bragoo-btn:visited { color: #fff; text-decoration: none; }

a.nav-btn,
a.nav-btn:link,
a.nav-btn:visited { color: #fff; text-decoration: none; }

a.portfolio-btn,
a.portfolio-btn:link,
a.portfolio-btn:visited { color: #fff; text-decoration: none; }

a.btn-primary-cta,
a.btn-primary-cta:link,
a.btn-primary-cta:visited { color: #fff; text-decoration: none; }

a.btn-secondary-cta,
a.btn-secondary-cta:link,
a.btn-secondary-cta:visited { color: rgba(255,255,255,0.85); text-decoration: none; }

a.btn-white-index,
a.btn-white-index:link,
a.btn-white-index:visited { color: #C91C52; text-decoration: none; }


/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: all .3s ease;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}


.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.0rem;        /* era 1.2rem, aumentado */
  font-weight: 800;
  letter-spacing: .04em;
  color: #111;
}

.logo-dot {
  color: #C91C52;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: #222;
  font-size: .95rem;
  font-weight: 600;
  transition: .2s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #C91C52;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #C91C52, #00519B);
  transition: width .25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-btn {
  text-decoration: none;
  background: #111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  transition: .25s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #C91C52;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 20px;
  transition: .25s ease;
}

/* Nav responsive */
@media(max-width:900px) {
  .nav-btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .25s ease;
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 8% 80px;
  background:
    radial-gradient(circle at 80% 20%, var(--hero-grad-1, rgba(0, 81, 155, 0.07)), transparent 40%),
    radial-gradient(circle at 20% 80%, var(--hero-grad-2, rgba(201, 28, 82, 0.07)), transparent 40%),
    #ffffff;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  max-width: 520px;
  flex: 1;
}

.hero-left h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
}

.gradient-text {
  background: linear-gradient(90deg, #C91C52, #00519B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-bullets {
  margin: 28px 0;
  list-style: none;
}

.hero-bullets li {
  margin: 12px 0;
  color: #444;
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--hero-check-color, #C91C52);
  font-size: 0.85rem;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Botones generales */
.btn {
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
}

.btn.primary {
  background: var(--hero-btn-bg, #C91C52);
  color: var(--hero-btn-text, #ffffff);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--hero-btn-bg, #C91C52) 30%, transparent);
}

.btn.ghost {
  border: 1.5px solid #ddd;
  color: #333;
  background: transparent;
}

.btn.ghost:hover {
  border-color: var(--hero-btn-bg, #C91C52);
  color: var(--hero-btn-bg, #C91C52);
}

/* ── HERO RIGHT: stack de fotos animadas ── */
.hero-right {
  position: relative;
  flex-shrink: 0;
  width: 520px;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  position: absolute;
  width: 260px;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.10);
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: transform, opacity;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp1 { right: 260px; top: -10px; transform: rotate(-6deg) translateY(40px) scale(.9); z-index: 2; }
.hp2 { right: -10px; top: 70px; transform: rotate(4deg) translateY(40px) scale(1.03); z-index: 4; }
.hp3 { right: 200px; bottom: -30px; transform: rotate(3deg) translateY(40px) scale(1.06); z-index: 5; }
.hp4 { right: -70px; bottom: 30px; transform: rotate(-4deg) translateY(40px) scale(.95); z-index: 6; }

.hero-photo.ph-show { opacity: 1; }
.hp1.ph-show { transform: rotate(-6deg) translateY(0) scale(.9); }
.hp2.ph-show { transform: rotate(4deg) translateY(0) scale(1.03); }
.hp3.ph-show { transform: rotate(3deg) translateY(0) scale(1.06); }
.hp4.ph-show { transform: rotate(-4deg) translateY(0) scale(.95); }

.hero-photo.ph-hide { opacity: 0; }
.hp1.ph-hide { transform: rotate(-6deg) translateY(-30px) scale(.9); }
.hp2.ph-hide { transform: rotate(4deg) translateY(-30px) scale(1.03); }
.hp3.ph-hide { transform: rotate(3deg) translateY(-30px) scale(1.06); }
.hp4.ph-hide { transform: rotate(-4deg) translateY(-30px) scale(.95); }

/* Hero responsive */
@media (max-width: 1060px) {
  .hero-right { width: 400px; height: 480px; }
  .hp1 { right: 180px; }
  .hp2 { right: 10px; }
  .hp3 { right: 130px; }
  .hp4 { right: -10px; }
}

@media (max-width: 860px) {
  .hero-container { flex-direction: column; text-align: center; }
  .hero-left { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-bullets li { text-align: left; }
  .hero-right { width: 100%; max-width: 400px; height: 420px; }
  .hp1 { right: auto; left: 50%; margin-left: -240px; top: 10px; }
  .hp2 { right: auto; left: 50%; margin-left: 10px; top: 50px; }
  .hp3 { right: auto; left: 50%; margin-left: -200px; bottom: 10px; }
  .hp4 { right: auto; left: 50%; margin-left: 30px; bottom: -10px; }
}

@media (max-width: 540px) {
  .hero-left h1 { font-size: 2.1rem; }
  .hero { padding: 100px 5% 60px; }
  .hero-right { height: 340px; }
  .hero-photo { width: 190px; height: 260px; }
  .hp1 { margin-left: -185px; top: 5px; }
  .hp2 { margin-left: 8px; top: 40px; }
  .hp3 { margin-left: -155px; bottom: 5px; }
  .hp4 { margin-left: 20px; bottom: -5px; }
}

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: #fff;
  padding: 3rem 8%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  color: var(--stat-color, #C91C52); /* ← toma el color de la variable */
}

.stat-card.visible .stat-num {
  opacity: 1;
  transform: translateY(0);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #666;
  margin-top: 0.25rem;
}

.stat-line {
  margin-top: 1.25rem;
  height: 4px;
  border-radius: 2px;
  width: 0%;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--stat-color, #C91C52); /* ← mismo color, sin repetir campo */
}

.stat-card.visible .stat-line {
  width: 70%;
}

/* Stats responsive */
@media (max-width: 768px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
}

/* Stats responsive */
@media (max-width: 768px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   ABOUT / NOSOTROS
══════════════════════════════════════ */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 8% 80px;
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 700;
  font-style: italic;
  color: rgba(0, 0, 0, 0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text .eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C91C52;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text .eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1.5px;
  background: #C91C52;
  flex-shrink: 0;
}

.about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  color: #111;
}

.about-text h2 em {
  font-style: normal;
  color: #C91C52;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.about-text p strong {
  color: #111;
  font-weight: 600;
}

.manifesto {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid #C91C52;
  background: rgba(201, 28, 82, 0.06);
  border-radius: 0 12px 12px 0;
}

.manifesto p {
  font-size: 1rem;
  font-style: italic;
  color: #444;
  margin: 0;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.photo-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #eee;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.photo-wrap:hover img {
  filter: grayscale(0%);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(14, 14, 14, 0.95), transparent);
  pointer-events: none;
}

.names-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.names-tag h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.names-tag span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 2px;
}

.float-card {
  position: absolute;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-card.card-top {
  top: -18px;
  right: -24px;
  animation: float-a 4s ease-in-out infinite;
}

.float-card.card-bottom {
  bottom: 90px;
  right: -28px;
  animation: float-b 5s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ── card-icon: sin color hardcodeado, viene del inline style de PHP ── */
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon span {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card-text .title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.card-text .sub {
  font-size: 0.68rem;
  color: #888888;
  white-space: nowrap;
}

/* About responsive */
@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .float-card.card-top { right: -10px; }
  .float-card.card-bottom { right: -10px; bottom: 60px; }
}

@media (max-width: 600px) {
  .float-card { display: none; }
  .about-hero { padding: 80px 5% 60px; }
}
/* ══════════════════════════════════════
   CARRUSEL DE SERVICIOS
══════════════════════════════════════ */
.cw {
  width: 100%;
  min-height: 760px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.cw::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero {
  text-align: center;
  margin-bottom: 60px;
}

.page-hero .eyebrow-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C91C52;
  margin-bottom: 16px;
  display: block;
}

.page-hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero h2 span { color: #C91C52; }

.page-hero p {
  font-size: 1rem;
  color: #777;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.stage {
  width: 100%;
  height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.card {
  position: absolute;
  width: 380px;
  height: 560px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), filter 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, filter;
  cursor: pointer;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 100%);
  z-index: 1;
}

.card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.6rem 1.7rem;
  z-index: 2;
}

.card-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.card-title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.card-sub {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.card-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  z-index: 2;
}

.card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  transition: color 0.3s, transform 0.3s;
}

.card:hover .card-arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

/* Posiciones del carrusel */
.card[data-pos="0"] { transform: translateX(0) scale(1) rotateY(0deg); opacity: 1; filter: brightness(1); z-index: 5; }
.card[data-pos="1"] { transform: translateX(330px) scale(0.86) rotateY(-6deg); opacity: 0.75; filter: brightness(0.75); z-index: 4; }
.card[data-pos="2"] { transform: translateX(560px) scale(0.72) rotateY(-10deg); opacity: 0.45; filter: brightness(0.55); z-index: 3; }
.card[data-pos="3"] { transform: translateX(0) scale(0.6); opacity: 0; filter: brightness(0.3); z-index: 1; }
.card[data-pos="4"] { transform: translateX(-560px) scale(0.72) rotateY(10deg); opacity: 0.45; filter: brightness(0.55); z-index: 3; }
.card[data-pos="5"] { transform: translateX(-330px) scale(0.86) rotateY(6deg); opacity: 0.75; filter: brightness(0.75); z-index: 4; }

.controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 1.5rem;
}

.controls .btn-carousel {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #555;
}

.controls .btn-carousel:hover {
  border-color: #111;
  color: #111;
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.on {
  background: #111;
  transform: scale(1.3);
}

.progress-ring {
  position: relative;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-shrink: 0;
}

.progress-ring svg {
  width: 38px;
  height: 38px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: #eee;
  stroke-width: 3;
}

.ring-fill {
  fill: none;
  stroke: #111;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  color: #555;
}

.card-count {
  margin-top: 0.75rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #bbb;
}

/* Carrusel responsive — tarjetas se abren al tocar */
@media (max-width: 700px) {
  .stage { height: 480px; }
  .card { width: 280px; height: 420px; }
  /* En móvil, solo se muestran las cards adyacentes */
  .card[data-pos="1"] { transform: translateX(220px) scale(0.86) rotateY(-6deg); }
  .card[data-pos="2"] { transform: translateX(380px) scale(0.72) rotateY(-10deg); opacity: 0; }
  .card[data-pos="4"] { transform: translateX(-380px) scale(0.72) rotateY(10deg); opacity: 0; }
  .card[data-pos="5"] { transform: translateX(-220px) scale(0.86) rotateY(6deg); }
}

/* ══════════════════════════════════════
   PLANES / PRICING
══════════════════════════════════════ */
.bragoo-pricing-section {
  background: #ffffff;
  padding: 90px 5%;
  position: relative;
  z-index: 1;
}

.bragoo-pricing-wrap {
  max-width: 1240px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  color: #111;
}

.bragoo-pricing-head {
  text-align: center;
  margin-bottom: 60px;
}

.bragoo-chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f7f7f7;
  border: 1px solid #ececec;
  color: #C91C52;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.bragoo-pricing-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 14px;
  color: #111;
}

.bragoo-pricing-head p {
  max-width: 760px;
  margin: 0 auto;
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

.bragoo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.bragoo-plan {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 28px;
  padding: 32px 30px;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.bragoo-plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

/* Barra superior — usa la variable */
.bragoo-plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 7px;
  background: var(--plan-color, #C91C52);
}

.bragoo-plan.bragoo-highlight {
  border: 2px solid var(--plan-color, #C91C52);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
  transform: translateY(-18px) scale(1.04);
  z-index: 3;
}

.bragoo-plan.bragoo-highlight:hover {
  transform: translateY(-24px) scale(1.05);
  box-shadow: 0 34px 75px rgba(0, 0, 0, 0.22);
}

.bragoo-featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--plan-color, #C91C52);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* Tag superior — usa la variable */
.bragoo-top-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--plan-color, #C91C52);
  color: #fff;
}

.bragoo-plan h3 {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 10px;
  color: #111;
}

.bragoo-plan .bragoo-desc {
  color: #666;
  line-height: 1.7;
  min-height: 78px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.bragoo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  flex-grow: 1;
}

.bragoo-features li {
  display: flex;
  gap: 10px;
  line-height: 1.6;
  color: #1f2937;
  font-size: .95rem;
}

/* ✦ — usa la variable */
.bragoo-features li::before {
  content: "✦";
  font-weight: 900;
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--plan-color, #C91C52);
}

.bragoo-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: .3s ease;
  color: #fff;
  border: none;
  margin-top: auto;
  cursor: pointer;
  background: var(--plan-color, #C91C52); /* ← usa la variable */
}

.bragoo-btn:hover {
  transform: translateY(-2px);
  filter: brightness(.97);
}

/* Planes responsive */
@media (max-width: 1100px) {
  .bragoo-pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .bragoo-plan,
  .bragoo-plan.bragoo-highlight { transform: none; }
  .bragoo-plan:hover,
  .bragoo-plan.bragoo-highlight:hover { transform: translateY(-6px); }
  .bragoo-plan .bragoo-desc { min-height: auto; }
  .bragoo-featured-badge { position: static; display: inline-block; margin-bottom: 14px; }
}

@media (max-width: 576px) {
  .bragoo-pricing-section { padding: 70px 5%; }
  .bragoo-plan { padding: 26px 22px; border-radius: 22px; }
}

/* ══════════════════════════════════════
   PORTAFOLIO
══════════════════════════════════════ */
.portfolio-dark {
  padding: 120px 8%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 81, 155, 0.18), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(201, 28, 82, 0.18), transparent 40%),
    #0e0e0e;
  color: white;
}

.portfolio-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.portfolio-head { margin-bottom: 60px; }

.portfolio-tag {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  color: #C91C52;
}

.portfolio-head h2 {
  font-size: clamp(2rem, 4vw, 44px);
  font-weight: 800;
  margin: 16px 0;
  color: #fff;
}

/* Degradado controlado por variables CSS desde PHP */
.portfolio-head h2 span {
  background: linear-gradient(90deg, var(--portfolio-grad-1, #C91C52), var(--portfolio-grad-2, #00519B));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-head p {
  max-width: 600px;
  margin: auto;
  color: #aaa;
  line-height: 1.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.portfolio-card {
  position: relative;
  width: 350px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  background: #1a1a1a;
}

/* Fix color morado en links de cards */
.portfolio-card,
.portfolio-card:link,
.portfolio-card:visited,
.portfolio-card:hover,
.portfolio-card:active {
  color: #fff;
  text-decoration: none;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .45s ease;
  display: block;
  background: #fff;
}

.portfolio-card:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2));
  text-align: left;
}

.portfolio-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.portfolio-overlay span {
  font-size: 13px;
  color: #bbb;
}

.portfolio-btn,
.portfolio-btn:link,
.portfolio-btn:visited {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  background: #C91C52;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: .25s;
}

.portfolio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 28, 82, 0.4);
  color: #fff;
}

/* Portafolio responsive */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 60px; }
  .portfolio-card { height: 240px; }
  .portfolio-dark { padding: 80px 5%; }
}
/* ══════════════════════════════════════
   SERVICIOS / PILARES
══════════════════════════════════════ */
.servicios-section {
  background: #f4f3ef;
  padding: 80px 8%;
}

.pilares-hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.pilares-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #111;
  margin-bottom: 0;
  line-height: 1.1;
  text-align: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  height: 380px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(.22, .68, 0, 1.2), box-shadow 0.4s;
}

.service-card:hover,
.service-card.touched {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.service-card .card-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 0.5s;
}

.service-card:hover .card-num,
.service-card.touched .card-num {
  color: rgba(255, 255, 255, 0.12);
}

.service-card .circle-bg {
  position: absolute;
  inset: 0;
}

.service-card .circle-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-color, #C91C52);
  clip-path: circle(90px at 50% 42%);
  transition: clip-path 0.6s cubic-bezier(.22, .68, 0, 1.1);
}

.service-card:hover .circle-bg::before,
.service-card.touched .circle-bg::before {
  clip-path: circle(500px at 50% 42%);
}

.service-card .icon {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 54px;
  color: #fff;
  transition: top 0.5s cubic-bezier(.22, .68, 0, 1.1), font-size 0.4s;
  z-index: 2;
}

.service-card:hover .icon,
.service-card.touched .icon {
  top: 28%;
  font-size: 38px;
}

.service-card .icon-png {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: top 0.5s cubic-bezier(.22, .68, 0, 1.1), width 0.4s, height 0.4s;
  z-index: 2;
  pointer-events: none;
}

.service-card:hover .icon-png,
.service-card.touched .icon-png {
  top: 28%;
  width: 38px;
  height: 38px;
}

.service-card .content {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  padding: 24px 26px;
  text-align: center;
  opacity: 0;
  transition: bottom 0.5s cubic-bezier(.22, .68, 0, 1.1), opacity 0.4s;
  z-index: 2;
}

.service-card:hover .content,
.service-card.touched .content {
  opacity: 1;
  bottom: 20px;
}

.service-card .content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.3;
}

.service-card .content p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.service-card .card-title-idle {
  position: absolute;
  bottom: 55px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
  padding: 0 16px;
  transition: opacity 0.3s;
  z-index: 3;
}

.service-card:hover .card-title-idle,
.service-card.touched .card-title-idle {
  opacity: 0;
}

/* Servicios responsive */
@media (max-width: 768px) {
  .cards-container { grid-template-columns: 1fr; max-width: 340px; }
}

/* ══════════════════════════════════════
   PROCESO
══════════════════════════════════════ */
.proceso-section {
  padding: 80px 5% 60px;
  text-align: center;
  background: #f4f3ef;
}

.proceso-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 0.5px solid #ddd;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-dot-anim {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1BAF65;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.proceso-titulo-row {
  position: relative;
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.proceso-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #000;
  line-height: 1.1;
  margin: 0;
}

.proceso-circle-right {
  position: absolute;
  right: -50px;
  top: -100px;
}

.circle-block {
  width: 100px;
  height: 100px;
}

.circle-text-svg {
  width: 100px;
  height: 100px;
  animation: spin-circle 10s linear infinite;
}

@keyframes spin-circle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.proceso-sub {
  font-size: 15px;
  color: #000000;
  margin: 0 auto 3rem;
  max-width: 460px;
  line-height: 1.6;
  font-weight: 300;
}

.steps-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.connector-line {
  position: absolute;
  top: 52px;
  left: calc(10% + 28px);
  width: calc(80% - 56px);
  height: 2px;
  background: #e5e5e5;
  z-index: 0;
  overflow: hidden;
}

.connector-fill {
  height: 100%;
  width: 0%;
  /* sin background — lo pone el PHP inline */
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.connector-line.animated .connector-fill { width: 100%; }

.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 1.25rem 1rem 1rem;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, border-width 0.3s ease, opacity 0.5s ease;
}

.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { transform: translateY(-6px) scale(1.02); border-color: #ccc; }
.step-card.active { transform: translateY(-8px) scale(1.03); border-width: 1.5px; }

.step-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;           /* ← ya lo tienes */
  align-items: center;     /* ← ya lo tienes */
  justify-content: center; /* ← ya lo tienes */
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.step-card:hover .step-circle { transform: rotate(10deg) scale(1.1); }

.step-number-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f2f2f0;
  color: #000000;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.4rem;
}

.step-desc {
  font-size: 12px;
  color: #000000;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
}

.step-tag {
  display: inline-block;
  margin-top: 0.875rem;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.progress-dots-pasos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.dot-pasos {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot-pasos.active-dot {
  width: 20px;
  border-radius: 3px;
}

/* Proceso responsive */
@media (max-width: 900px) {
  .proceso-circle-right { display: none; }
  .proceso-titulo-row { padding-right: 0; }
}

@media (max-width: 560px) {
  .steps-wrapper { grid-template-columns: 1fr; }
  .proceso-section { padding: 60px 5% 40px; }
}

/* ══════════════════════════════════════
   TESTIMONIO VIDEO
══════════════════════════════════════ */
.testivideo-section {
  background: radial-gradient(circle at 80% 20%, rgba(0, 81, 155, 0.18), transparent 40%), radial-gradient(circle at 20% 80%, rgba(201, 28, 82, 0.18), transparent 40%), #0e0e0e;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testivideo-section .tv-inner {
  width: 100%;
  max-width: 1200px;
}

.tv-card {
  display: grid;
  grid-template-columns: 55% 45%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
}

.tv-left {
  background: #f4f3ef;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.tv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1A1A1A;
  animation: pulse-tv 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-tv {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.tv-eyebrow h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.2;
  margin: 0;
}

.tv-video-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  flex-shrink: 0;
}

.tv-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tv-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0E0E0, #A0A0A0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  flex-shrink: 0;
  overflow: hidden;
}

.tv-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tv-video-label-text p {
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0;
}

.tv-video-label-text span {
  font-size: 12px;
  color: #888888;
}

.tv-right {
  background: radial-gradient(circle at 85% 15%, rgba(0, 81, 155, .10), transparent 30%), radial-gradient(circle at 15% 85%, rgba(201, 28, 82, .12), transparent 35%), linear-gradient(135deg, #c91c52 0%, #b91565 55%, #00519b 140%);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.tv-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tv-headline em {
  color: #ffffff;
  font-style: normal;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #ffffff;
}

.tv-right-top-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
}

.tv-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tv-metric {
  background: #FFFFFF;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: default;
  text-align: center;
}

.tv-metric:hover { background: #F5F5F5; }

.tv-metric-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1;
  /* Sin opacity:0 inicial — los números son visibles por defecto
     La animación de entrada es un plus, no un requisito */
}

.tv-metric-num.visible {
  animation: countUp-tv 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes countUp-tv {
  from { opacity: 0.4; transform: translateY(8px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.tv-metric-label {
  font-size: 11.5px;
  font-weight: 400;
  color: #888888;
  line-height: 1.4;
  text-align: center;
}

.tv-metric-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #CCCCCC;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tv-metric:hover .tv-metric-line { width: 100%; }

.tv-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #555555;
  letter-spacing: 0.02em;
}

.tv-badge-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #999999;
  flex-shrink: 0;
}

/* Testimonio video responsive */
@media (max-width: 768px) {
  .tv-card { grid-template-columns: 1fr; }
  .tv-right { border-left: none; border-top: 1px solid rgba(0, 0, 0, 0.08); padding: 2rem 1.75rem; }
  .tv-left { padding: 2.5rem 1.75rem; }
  .tv-video-container { max-width: 240px; }
}

/* ══════════════════════════════════════
   BANNER SCROLLING
══════════════════════════════════════ */
.banner-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: 72px;
}

.banner-track-outer {
  position: absolute;
  inset: 0;
  transform: rotate(-3deg) scaleX(1.1);
  transform-origin: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner-bg {
  position: absolute;
  inset: -12px;
  background: linear-gradient(90deg, #C91C52 0%, #D6521E 25%, #E8CF1F 50%, #1BAF65 75%, #00519B 100%);
}

.banner-track {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scroll-left 22s linear infinite;
}

.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
}

.banner-star {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: white;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════ */
.testimonios-section {
  background: #FFFFFF;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonios-inner {
  width: 100%;
  max-width: 1160px;
}

.testimonios-head {
  text-align: center;
  margin-bottom: 64px;
}

.pill-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #E8E8E8;
  background: #F7F6F3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 20px;
}

.pill-dot-test {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1BAF65;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.testimonios-head h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: #111;
  margin-bottom: 16px;
}

.testimonios-head h2 em {
  font-style: normal;
  color: #C91C52;
}

.testimonios-head p {
  font-size: 16px;
  color: #999;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 300;
}

.testimonial-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E8E8E8;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.06);
}

.people-panel {
  background: #F7F6F3;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #E8E8E8;
}

.people-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 1.25rem;
}

.t-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}

.t-item:hover { background: #fff; border-color: #E8E8E8; }
.t-item.active { background: #fff; border-color: #C91C52; }

.avatar-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: #D5D5D5;
  flex-shrink: 0;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-info { flex: 1; min-width: 0; }

.person-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.person-role {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.person-arrow {
  font-size: 14px;
  color: #C91C52;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.t-item.active .person-arrow,
.t-item:hover .person-arrow { opacity: 1; }

.nav-dots {
  display: flex;
  gap: 6px;
  margin-top: 1.5rem;
  padding-left: 2px;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D5D5D5;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}

.nav-dot.active { background: #C91C52; transform: scale(1.3); }

.quote-panel {
  background: #fff;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.quote-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: #F5A623;
  display: block;
}

.quote-text {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  color: #111;
  font-style: italic;
  transition: opacity 0.24s, transform 0.24s;
}

.quote-text.out { opacity: 0; transform: translateY(8px); }

.quote-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E8E8E8;
  transition: opacity 0.24s, transform 0.24s;
  flex-wrap: wrap;
}

.quote-bottom.out { opacity: 0; transform: translateY(8px); }

.quote-name { font-size: 14px; font-weight: 700; color: #111; }
.quote-role { font-size: 12px; color: #999; margin-top: 2px; }

.quote-link,
.quote-link:link,
.quote-link:visited,
.quote-link:focus,
.quote-link:active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #C91C52;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 28, 82, 0.3);
  padding-bottom: 1px;
  white-space: nowrap;
  outline: none;
}

.quote-link:hover { border-color: #C91C52; }


/* ══════════════════════════════════════
   TESTIMONIOS — RESPONSIVE MÓVIL
══════════════════════════════════════ */
@media (max-width: 768px) {

  .testimonios-section {
    padding: 60px 4%;
  }

  .testimonios-head {
    margin-bottom: 40px;
  }

  /* El bloque completo pasa a ser un carrusel de cards */
  .testimonial-block {
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    gap: 0;
  }

  /* Panel lateral se oculta — la navegación la manejan los dots */
  .people-panel {
    display: none;
  }

  /* Quote panel se convierte en card */
  .quote-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E8E8E8;
    padding: 28px 22px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    gap: 1.5rem;
    /* Soporte para swipe touch */
    touch-action: pan-y;
    user-select: none;
  }

  .quote-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .quote-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 1.2rem;
  }

  /* Dots de navegación centrados bajo la card */
  .nav-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-left: 0;
  }

  .nav-dot {
    width: 7px;
    height: 7px;
  }

  .nav-dot.active {
    width: 22px;
    border-radius: 4px;
    transform: none;
    background: #C91C52;
  }

  /* Flechas prev/next para móvil */
  .testimonio-mobile-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }

  .testimonio-mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #E8E8E8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .testimonio-mobile-btn:hover {
    border-color: #C91C52;
    color: #C91C52;
  }
}
/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background: linear-gradient(135deg, #C91C52 0%, #a8163f 55%, #d91679 100%);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.cta-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.cta-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: var(--max-op, 0.6); }
  80% { opacity: var(--max-op, 0.6); }
  100% { opacity: 0; transform: translateY(-120px) scale(1); }
}

.cta-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }

.cta-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201, 28, 82, 0.25) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: drift-1 12s ease-in-out infinite alternate;
}

.cta-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27, 175, 101, 0.2) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: drift-2 14s ease-in-out infinite alternate;
}

.cta-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(232, 207, 31, 0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-orb 6s ease-in-out infinite;
}

@keyframes drift-1 { to { transform: translate(80px, 60px); } }
@keyframes drift-2 { to { transform: translate(-60px, -80px); } }
@keyframes pulse-orb {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-inner.visible { opacity: 1; transform: translateY(0); }

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cta-eyebrow-line { width: 20px; height: 1px; background: rgba(255, 255, 255, 0.4); }

.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.cta-title .accent { position: relative; display: inline-block; color: #E8CF1F; }

.cta-title .accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #E8CF1F, #C91C52);
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.cta-inner.visible .cta-title .accent::after { width: 100%; }

.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 2.75rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C91C52;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-primary-cta:hover { transform: scale(1.05); background: #a8153f; }
.btn-primary-cta:active { transform: scale(0.97); }

.btn-icon-cta {
  width: 28px; height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-primary-cta:hover .btn-icon-cta { transform: rotate(15deg) scale(1.1); }

.btn-primary-wrap { position: relative; }

.btn-glow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 20px;
  background: rgba(201, 28, 82, 0.5);
  filter: blur(14px);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.01em;
}

.btn-secondary-cta:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-arrow-cta { display: inline-block; transition: transform 0.25s ease; }
.btn-secondary-cta:hover .btn-arrow-cta { transform: translateX(4px); }

/* CTA responsive */
@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary-cta, .btn-secondary-cta { justify-content: center; }
}

/* ══════════════════════════════════════
   FORMULARIO DE COTIZACIÓN
══════════════════════════════════════ */
.bragoo-cotizacion-section {
  background: linear-gradient(135deg, #f8f8f6 0%, #fff 60%, #f0f4fa 100%);
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

.bragoo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bragoo-cotizacion-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.bragoo-cotizacion-copy { text-align: left; }

.bragoo-cotizacion-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(0, 81, 155, 0.07);
  border: 1px solid rgba(0, 81, 155, 0.18);
  color: #00519B;
}

.bragoo-cotizacion-tag::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1BAF65;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

.bragoo-cotizacion-copy h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #111;
  letter-spacing: -0.03em;
}

.highlight-pink { color: #C91C52; }

.bragoo-cotizacion-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
  font-weight: 300;
  max-width: 440px;
}

.bragoo-cotizacion-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bragoo-cotizacion-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.5;
}

.bragoo-cotizacion-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(27, 175, 101, 0.12);
  color: #1BAF65;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bragoo-cotizacion-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #C91C52, #00519B);
  border-radius: 2px;
  margin-bottom: 28px;
}

.bragoo-cotizacion-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #999;
  font-weight: 400;
}

.bragoo-cotizacion-trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1BAF65;
  flex-shrink: 0;
}

.bragoo-form-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 81, 155, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 81, 155, 0.1);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.bragoo-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C91C52 0%, #00519B 50%, #1BAF65 100%);
  border-radius: 24px 24px 0 0;
  z-index: 1;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 24px;
  font-weight: 400;
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}

.form-input,
.form-textarea {
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #C91C52;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(201, 28, 82, 0.08);
}

.form-select {
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
  background-color: #fafafa;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-textarea { resize: vertical; min-height: 80px; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-chips-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 10px;
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.form-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid #e8e8e8;
  background: #fafafa;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.form-chip:hover { border-color: #C91C52; color: #C91C52; background: rgba(201, 28, 82, 0.04); }
.form-chip.selected { border-color: #C91C52; background: #C91C52; color: #fff; }

.form-submit {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: #C91C52;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: #a8153f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 28, 82, 0.3);
}

.form-submit:active { transform: translateY(0); }
.form-submit-icon { font-size: 16px; }

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: #bbb;
  margin-top: 12px;
  font-weight: 400;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }

.form-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}


/* Formulario responsive */
@media (max-width: 992px) {
  .bragoo-cotizacion-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .bragoo-cotizacion-section { padding: 80px 5%; }
}

@media (max-width: 576px) {
  .bragoo-form-card { padding: 24px 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section {
  background: #fff;
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-head {
  text-align: center;
  margin-bottom: 60px;
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #C91C52;
  background: #C91C52;
}

.faq-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #111;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.faq-title em { font-style: normal; color: #C91C52; }

.faq-sub {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #f8f8f8;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.faq-item:hover { border-color: rgba(201, 28, 82, 0.3); background: rgba(201, 28, 82, 0.02); }
.faq-item.open { border-color: rgba(201, 28, 82, 0.4); background: rgba(201, 28, 82, 0.04); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.4rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #111;
  text-align: left;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.faq-item.open .faq-q { color: #111; }

.faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: #111;
  font-size: 20px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, color 0.2s;
  line-height: 1;
}

.faq-item:hover .faq-icon { background: rgba(201, 28, 82, 0.15); color: #C91C52; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: #C91C52; color: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.75rem;
}

.faq-item.open .faq-a { max-height: 320px; padding: 0 1.75rem 1.5rem; }

.faq-a p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.1rem;
}

/* FAQ responsive */
@media (max-width: 600px) {
  .faq-section { padding: 70px 5%; }
  .faq-q { padding: 1.1rem 1.25rem; font-size: 0.88rem; }
  .faq-a { padding: 0 1.25rem; }
  .faq-item.open .faq-a { padding: 0 1.25rem 1.1rem; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 52px 8%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 160px;
  flex-shrink: 0;
}

.footer-logo {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  color: #ffffff;
  background: linear-gradient(115deg, #ffffff 0%, #ffffff 15%, #c91c52 32%, #00519b 52%, #ffffff 68%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footerShine 4.5s linear infinite;
  transform: translateZ(0);
  will-change: background-position;
  isolation: isolate;
}

@keyframes footerShine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.footer-copy {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.6;
  margin: 0;
}

.footer-center {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  flex: 1;
  min-width: 200px;
  padding-top: 4px;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links-column a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.87rem;
  font-weight: 400;
  padding: 5px 0;
  display: block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links-column a:hover {
  color: #5ec8ff;
  transform: translateX(5px);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  min-width: 180px;
  flex-shrink: 0;
}

.footer-contact {
  text-align: right;
}

.footer-contact h3 {
  font-size: 0.67rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-contact p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 5px;
}

.footer-contact strong {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
  display: block;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-social,
.footer-social:link,
.footer-social:visited,
.footer-social:focus,
.footer-social:active {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(94, 200, 255, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ce68b;
  text-decoration: none;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  outline: none;
}

.footer-social:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 200, 255, 0.85);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(94, 200, 255, 0.15);
  background: linear-gradient(135deg, rgba(0, 81, 155, 0.22), rgba(201, 28, 82, 0.18));
}

/* Responsive */
@media (max-width: 991px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer-center { justify-content: flex-start; gap: 50px; }
  .footer-right { align-items: flex-start; }
  .footer-contact { text-align: left; }
}

@media (max-width: 600px) {
  .site-footer { padding: 38px 7%; gap: 28px; }
  .footer-center { width: 100%; gap: 35px; flex-direction: column; }
  .footer-logo { font-size: 1.7rem; }
}
/* ══════════════════════════════════════
   MARQUEE
══════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  background: #C91C52;
  padding: 16px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

.marquee-track span.dot {
  color: rgba(255, 255, 255, 0.5);
  padding: 0;
  font-size: 8px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   CTA BAND (sección contacto final)
══════════════════════════════════════ */
.cta-band-index {
  background: linear-gradient(135deg, #C91C52 0%, #a8163f 55%, #d91679 100%);
  padding: 96px 0;
}

.cta-band-index .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.btn-white-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #C91C52;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 14px 26px;
  min-height: 52px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-white-index:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   INTRO OVERLAY
══════════════════════════════════════ */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

#intro-overlay.exit { opacity: 0; transform: scale(1.04); pointer-events: none; }
#intro-overlay.gone { display: none; }

#intro-bg,
#intro-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#intro-fx { z-index: 4; pointer-events: none; }

#intro-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

#intro-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.88) 100%);
}

#intro-logo-wrap {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: nowrap;
  transform: translateY(-6%);
}

.intro-letter {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 14vw, 140px);
  color: #111111;
  line-height: 1;
  letter-spacing: -3px;
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.intro-letter.dot { color: #C91C52; }
.intro-letter.show { opacity: 1; transform: translateY(0); }

#intro-tagline {
  position: absolute;
  left: 50%;
  top: calc(50% + 68px);
  margin-top: 35px;
  transform: translateX(-50%) translateY(40px);
  z-index: 5;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0);
  white-space: nowrap;
  transition: color 0.8s ease, transform 0.8s ease;
}

#intro-tagline.show {
  color: rgba(17, 17, 17, 0.38);
  transform: translateX(-50%) translateY(0);
}

#intro-skip {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 10;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.38);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, opacity 0.5s;
  opacity: 0;
}

#intro-skip.show { opacity: 1; }
#intro-skip:hover { border-color: #C91C52; color: #C91C52; }

body.intro-active { overflow: hidden; }

#page-content {
  opacity: 0;
  transition: opacity 0.7s ease 0.2s;
}

#page-content.visible { opacity: 1; }

/* ══════════════════════════════════════
   REVEAL ON SCROLL
══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}