:root {
  --azul: #00B1EA;
  --negro: #0A0A0A;
  --gris: #f7f7f7;
  --borde: #eeeeee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: var(--negro);
}

.page {
  overflow-x: hidden;
  padding-top: 88px;
}

.brillo-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TICKER - FIXED */
.brillo-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 103;
  background: var(--azul);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-weight: 700;
  font-size: 13px;
  height: 32px;
  display: flex;
  align-items: center;
}

.brillo-ticker-track {
  display: flex;
  gap: 40px;
  animation: brillo-marquee 20s linear infinite;
}

.brillo-ticker-track span {
  display: inline-block;
}

@keyframes brillo-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADER - FIXED + LOGO */
.brillo-header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 102;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.brillo-header .brillo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.brillo-logo {
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--negro);
}

.brillo-logo span {
  color: var(--azul);
}

.brillo-checkbox {
  display: none;
}

.brillo-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 104;
}

.brillo-burger span {
  width: 24px;
  height: 2px;
  background: var(--negro);
  display: block;
  border-radius: 2px;
  transition: .3s;
}

.brillo-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.brillo-nav a {
  text-decoration: none;
  color: var(--negro);
  font-weight: 600;
  font-size: 14px;
}

.brillo-btn-agendar {
  background: var(--negro);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 20px;
}

.brillo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 99;
}

@media (max-width: 820px) {
  .brillo-burger {
    display: flex;
  }

  .brillo-nav {
    position: fixed;
    top: 88px;
    right: -260px;
    width: 230px;
    background: #f1f5f9;
    flex-direction: column;
    padding: 16px 0;
    gap: 0;
    align-items: stretch;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, .12);
    border: 1px solid #e2e8f0;
    border-right: 0;
    border-radius: 16px 0 0 16px;
    transition: right .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 100;
  }

  .brillo-nav a {
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 700;
  }

  .brillo-nav a:hover {
    background: #e0f2fe;
    color: var(--azul) !important;
  }

  .brillo-btn-agendar {
    margin: 10px 16px;
    text-align: center;
    border-radius: 30px;
  }

  .brillo-btn-agendar:hover {
    background: var(--azul) !important;
  }

  .brillo-checkbox:checked ~ .brillo-nav {
    right: 0;
  }

  .brillo-checkbox:checked ~ .brillo-overlay {
    display: block;
  }

  /* X */
  .brillo-checkbox:checked + .brillo-burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .brillo-checkbox:checked + .brillo-burger span:nth-child(2) {
    opacity: 0;
  }

  .brillo-checkbox:checked + .brillo-burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* HERO */
.brillo-hero {
  text-align: center;
  padding: 36px 0 20px;
}

.brillo-badge {
  background: var(--negro);
  color: #fff;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 16px;
}

.brillo-hero h1 {
  font-size: 42px;
  line-height: 1.05;
  margin: 10px 0;
  font-weight: 800;
}

.brillo-hero h1 span {
  color: var(--azul);
}

.brillo-hero p {
  opacity: .7;
  max-width: 560px;
  margin: 0 auto 18px;
}

.brillo-slider {
  overflow: hidden;
  border-radius: 20px;
  margin: 18px auto;
  max-width: 900px;
}

.brillo-track {
  display: flex;
  gap: 12px;
  animation: brillo-slide 18s linear infinite;
  width: max-content;
}

.brillo-track img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

@keyframes brillo-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brillo-btn-cta-hero {
  display: inline-block;
  margin-top: 16px;
  background: var(--negro);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

/* SERVICIOS - FLIP */
.brillo-servicios {
  padding: 50px 0;
}

.brillo-titulo {
  text-align: center;
  font-size: 32px;
  margin: 0;
  font-weight: 800;
}

.brillo-titulo span {
  color: var(--azul);
}

.brillo-sub {
  text-align: center;
  opacity: .6;
  font-size: 14px;
  margin: 6px 0 22px;
}

.brillo-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 700px) {
  .brillo-cards-grid {
    grid-template-columns: 1fr;
  }
}

.brillo-card {
  perspective: 1000px;
}

.brillo-flip-input {
  display: none;
}

.brillo-card-box {
  display: block;
  position: relative;
  height: 260px;
  border-radius: 18px;
  border: 1px solid var(--borde);
  cursor: pointer;
  background: #fff;
  transform-style: preserve-3d;
  transition: transform .6s;
}

.brillo-card-front,
.brillo-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
}

.brillo-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brillo-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: #fff;
  padding: 14px;
}

.brillo-card-info h3 {
  margin: 0;
  font-size: 16px;
}

.brillo-precio {
  font-weight: 800;
  color: var(--azul);
}

.brillo-tap {
  font-size: 11px;
  opacity: .9;
  background: var(--azul);
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 4px;
}

.brillo-card-back {
  background: var(--negro);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.brillo-back-info h3 {
  margin: 0 0 8px;
  color: var(--azul);
  font-size: 15px;
}

.brillo-back-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.brillo-flip-input:checked + .brillo-card-box {
  transform: rotateY(180deg);
}

/* COTIZADOR */
.brillo-cotizador {
  background: var(--gris);
  padding: 50px 0;
}

.brillo-coti-box {
  background: #fff;
  border-radius: 22px;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
  overflow: hidden;
  border: 1px solid var(--borde);
}

.brillo-coti-header {
  text-align: center;
  padding: 22px;
  border-bottom: 1px solid var(--borde);
}

.brillo-coti-header h3 {
  margin: 0;
  font-size: 20px;
}

.brillo-coti-header h3 span {
  color: var(--azul);
}

.brillo-coti-header p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: .6;
}

.brillo-coti-body {
  padding: 20px;
}

.brillo-fomo {
  background: #FFF3CD;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 14px;
}

.brillo-coti-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}

.brillo-coti-opt:has(input:checked) {
  border-color: var(--azul);
  background: #e6f7fe;
}

.brillo-coti-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brillo-coti-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  background: #fff;
}

.brillo-coti-opt:has(input:checked) .brillo-coti-check {
  background: var(--azul);
  border-color: var(--azul);
  color: #fff;
}

.brillo-coti-price {
  font-weight: 800;
}

.brillo-coti-opt input {
  display: none;
}

.brillo-coti-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.brillo-coti-inputs input {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 100%;
  font-family: inherit;
  grid-column: span 2;
}

.brillo-coti-inputs input:nth-child(4),
.brillo-coti-inputs input:nth-child(5) {
  grid-column: span 1;
}

.brillo-coti-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 18px;
  margin-top: 16px;
}

.brillo-btn-cotizar {
  width: 100%;
  background: var(--negro);
  color: #fff;
  border: 0;
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 14px;
  cursor: pointer;
}

.brillo-btn-cotizar:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* TESTIS */
.brillo-testis {
  padding: 50px 0;
}

.brillo-testis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 800px) {
  .brillo-testis-grid {
    grid-template-columns: 1fr;
  }
}

.brillo-testi {
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.brillo-testi p {
  margin: 0 0 6px;
  font-weight: 600;
}

.brillo-testi span {
  font-size: 12px;
  opacity: .6;
}

.brillo-stars {
  color: #ffb400;
  margin-top: 6px;
  font-size: 14px;
}

/* MAPA */
.brillo-mapa {
  padding: 50px 0;
  background: #fafafa;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
}

.brillo-mapa-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
}

@media (max-width: 800px) {
  .brillo-mapa-grid {
    grid-template-columns: 1fr;
  }
}

.brillo-mapa-info {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 18px;
}

.brillo-mapa-title {
  font-weight: 800;
  margin: 0 0 6px;
}

.brillo-mapa-sub {
  opacity: .6;
  font-size: 13px;
  margin: 0 0 14px;
}

.brillo-btn-mapa {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  margin-top: 8px;
}

.brillo-btn-mapa-dark {
  background: var(--negro);
  color: #fff;
}

.brillo-btn-mapa-light {
  background: #fff;
  color: var(--negro);
  border: 1px solid var(--borde);
}

.brillo-mapa-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--borde);
  height: 300px;
}

.brillo-mapa-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FOOTER */
.brillo-footer {
  background: var(--negro);
  color: #fff;
  padding: 36px 0 90px;
  margin-top: 0;
  text-align: center;
}

.brillo-footer .brillo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brillo-footer-brand {
  margin-bottom: 14px;
}

.brillo-footer-logo {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.brillo-footer-logo span {
  color: var(--azul);
}

.brillo-footer-sub {
  opacity: .6;
  font-size: 13px;
  margin: 6px 0 0;
}

.brillo-footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
  width: 100%;
  max-width: 700px;
  justify-items: center;
}

@media (max-width: 600px) {
  .brillo-footer-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.brillo-footer-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.brillo-footer-micro {
  opacity: .6;
  font-size: 12px;
  margin: 0 0 12px;
}

.brillo-footer-redes {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.brillo-footer-redes a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1a1a;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: .2s;
}

.brillo-footer-redes a:hover {
  background: var(--azul);
  transform: translateY(-3px);
}

.brillo-footer-redes a:nth-child(1):hover {
  background: #1877F2;
}

.brillo-footer-redes a:nth-child(2):hover {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.brillo-footer-redes a:nth-child(3):hover {
  background: #010101;
  color: #fff;
  box-shadow: 2px 2px 0 #25F4EE, -2px -2px 0 #FE2C55;
}

.brillo-footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brillo-footer-col p {
  font-size: 13px;
  opacity: .8;
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.brillo-footer-bottom {
  border-top: 1px solid #222;
  margin-top: 10px;
  padding-top: 16px;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
}

.brillo-firma {
  font-size: 12px;
  opacity: .6;
  margin: 0;
}

.brillo-embudo {
  font-size: 11px;
  opacity: .5;
  margin: 6px 0 0;
}

.brillo-embudo a {
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit;
  font-weight: 600;
  transition: .2s;
}

.brillo-embudo a:hover {
  color: var(--azul) !important;
}

/* BOTÓN WHATSAPP */
.brillo-float {
  position: fixed;
  right: 14px;
  bottom: 5px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brillo-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: .2s;
}

.brillo-float-btn:hover {
  transform: scale(1.08);
}

.brillo-float-bubble {
  background: #fff;
  border: 1px solid var(--borde);
  padding: 7px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  position: relative;
}

.brillo-float-bubble span {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 9px;
  height: 9px;
  background: #fff;
  border-right: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  transform: translateY(-50%) rotate(-45deg);
}