/* ===== BROS Gráfica — Landing ===== */

:root {
  /* Paleta extraída del logo */
  --red:        #C0392B;
  --red-dark:   #9E2B1E;
  --orange:     #F39C12;
  --orange-soft:#F8B042;
  --peach:      #F8E0C0;
  --cream:      #FDF6EC;
  --cream-2:    #F8EEDD;
  --ink:        #3A2218;
  --ink-soft:   #6B5347;
  --white:      #ffffff;

  --shadow:     0 10px 30px rgba(160, 60, 30, 0.12);
  --shadow-lg:  0 24px 60px rgba(160, 60, 30, 0.18);
  --radius:     18px;
  --radius-lg:  28px;

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--ink); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(192, 57, 43, .35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(192, 57, 43, .42); }

.btn-ghost {
  background: transparent;
  color: var(--red);
  border: 2px solid rgba(192, 57, 43, .35);
}
.btn-ghost:hover { background: rgba(192, 57, 43, .08); border-color: var(--red); }

.btn-block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 236, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(192, 57, 43, .1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 52px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
}
.nav-links .nav-cta:hover { background: var(--red-dark); color: var(--white); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--red); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(243, 156, 18, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(192, 57, 43, .10), transparent 60%),
    var(--cream);
  padding: 70px 0 80px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--peach);
  color: var(--red-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--red); position: relative; }
.lead { font-size: 1.15rem; font-weight: 500; color: var(--ink-soft); max-width: 520px; margin-bottom: 30px; }
.lead strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-badges li {
  background: var(--white);
  border: 1px solid rgba(192, 57, 43, .14);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(160,60,30,.06);
}

.hero-visual { display: flex; justify-content: center; }
.hero-logo-glow {
  position: relative;
  padding: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,156,18,.22), transparent 70%);
  animation: float 5s ease-in-out infinite;
}
.hero-logo-glow img { width: 100%; max-width: 380px; }
/* efecto calco: sombra de contacto (pegado) + leve inclinación */
.hero-logo-glow img.sticker {
  filter:
    drop-shadow(0 2px 1px rgba(58,34,24,.35))
    drop-shadow(0 14px 16px rgba(58,34,24,.28));
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.hero-logo-glow img.sticker:hover { transform: rotate(0deg) scale(1.02); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== Strip ===== */
.strip { background: var(--red); color: var(--peach); padding: 16px 0; }
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 500;
  font-size: .95rem;
  text-align: center;
}
.strip .dot { color: var(--orange-soft); }

/* ===== Clientes (marquee) ===== */
.clients {
  background: var(--cream);
  padding: 40px 0 44px;
  overflow: hidden;
}
.clients-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 34px;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* aire vertical para que el zoom del hover no se corte */
  padding-block: 10px;
  /* difumina los bordes laterales */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

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

.client-logo {
  flex: 0 0 auto;
  height: 84px;
  min-width: 150px;
  margin-inline: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .55;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
/* logos cuadrados/circulares: más altos para emparejar con los alargados */
.client-logo--round img { max-height: 84px; }
/* tamaño intermedio (ej: QM) */
.client-logo--md img { max-height: 72px; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }
/* estilo de los placeholders mientras no haya logos reales */
.client-logo span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1.5px dashed rgba(192,57,43,.3);
  padding: 14px 22px;
  border-radius: 14px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .98rem;
  margin-bottom: 12px;
}
.kicker.light { color: var(--orange-soft); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(192,57,43,.08);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  font-size: 2rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--peach);
  color: var(--red);
  border-radius: 18px;
  margin: 0 auto 20px;
}
.card-icon svg { width: 32px; height: 32px; }

/* ===== Productos: grid de 4 ===== */
.cards--4 { grid-template-columns: repeat(4, 1fr); }
/* título en una sola línea (en pantallas medianas/grandes) */
@media (min-width: 820px) {
  .section-head h2.nowrap-lg { white-space: nowrap; }
  /* el título en una línea necesita más ancho para poder centrarse */
  #productos .section-head,
  #beneficios .section-head { max-width: none; }
  #productos .section-head p,
  #beneficios .section-head p { max-width: 620px; margin-left: auto; margin-right: auto; }
}
.card-benefit {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--peach);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ===== Benefits ===== */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.benefit {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.benefit-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.benefit h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.benefit p { color: var(--ink-soft); }

/* ===== Gallery ===== */
.gallery-video { background: #000; line-height: 0; }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item--zoom img { transform: scale(1.25); }
.gallery-item.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 12px, var(--peach) 12px, var(--peach) 24px);
  border: 2px dashed rgba(192,57,43,.25);
  color: var(--red-dark);
  font-weight: 600;
}
.gallery-item.placeholder span { background: rgba(253,246,236,.85); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }

/* ===== Proceso ===== */

.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.process-step {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 215px;
  text-align: center;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(192,57,43,.3);
  margin-bottom: 16px;
}
.step-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--peach);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.step-icon svg { width: 42px; height: 42px; }
.process-step h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); font-size: .92rem; }

.process-arrow {
  display: flex;
  align-items: center;
  color: var(--orange);
  align-self: center;
  flex: 0 0 auto;
  padding-top: 56px; /* alinea con el centro de los íconos */
}
.process-arrow svg { width: 26px; height: 26px; }
.process-arrow--dashed {
  width: 0;
  border-left: 2px dashed rgba(192,57,43,.3);
  align-self: stretch;
  margin: 10px 14px;
  padding: 0;
}

.process-step--cta {
  background: var(--white);
  border: 1px solid rgba(192,57,43,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  justify-content: center;
}
.process-step--cta .step-badge { margin-bottom: 14px; }
.process-step--cta .btn { margin-top: 14px; }

@media (max-width: 860px) {
  .process-arrow { display: none; }
  .process-step { min-width: 240px; max-width: 320px; flex-basis: 100%; }
  .process-step--cta { margin-top: 8px; }
}

/* ===== Reseñas ===== */
.reviews-head {
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 48px;
}
.reviews-head-text h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; margin: 16px 0 12px; }
.reviews-head-text p { color: var(--ink-soft); font-size: 1.08rem; max-width: 560px; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(58,34,24,.12);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow);
}
.google-badge-name { font-weight: 700; color: var(--ink); }
.google-badge-sep { width: 1px; height: 18px; background: rgba(58,34,24,.15); margin: 0 2px; }
.google-badge-score { font-weight: 700; color: var(--ink); }
.google-badge-total { color: var(--ink-soft); font-size: .85rem; }

.stars { color: #F5A623; letter-spacing: 1px; font-size: .95rem; }

.btn-google {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(58,34,24,.18);
  box-shadow: var(--shadow);
}
.btn-google:hover { border-color: var(--orange); transform: translateY(-2px); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(58,34,24,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--av, var(--red));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-id { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.review-id strong { font-size: 1.02rem; color: var(--ink); }
.review-g { margin-left: auto; align-self: flex-start; opacity: .9; }
.review-card p {
  color: var(--ink-soft);
  font-size: .98rem;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-time { display: block; margin-top: 12px; font-size: .82rem; color: var(--ink-soft); opacity: .8; }

@media (max-width: 900px) {
  .reviews-head { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ===== Cotizar ===== */
.section-cta {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(243,156,18,.12), transparent 60%),
    var(--ink);
  color: var(--cream);
}
.section-cta .section-head h2, .section-cta h2 { color: var(--cream); }
.cotizar-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.cotizar-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cotizar-text p { color: rgba(253,246,236,.75); font-size: 1.08rem; margin-bottom: 26px; }

.cotizar-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(58,34,24,.15);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243,156,18,.18);
}
.field textarea { resize: vertical; }
.form-note { text-align: center; font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* ===== Location ===== */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}
.location-info { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.info-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.info-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.info-item p { color: var(--ink-soft); }
.info-item a { color: var(--red); font-weight: 600; }
.info-item a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--red-dark); color: var(--peach); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 40px; }
.footer-brand img { height: 80px; background: var(--cream); padding: 10px 14px; border-radius: 16px; margin-bottom: 14px; }
.footer-brand p { color: rgba(248,224,192,.8); font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.footer-links a { font-weight: 600; color: var(--peach); transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(248,224,192,.2); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(248,224,192,.7); }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.5);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-logo-glow img { max-width: 260px; }
  .lead, .eyebrow { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cotizar-inner { grid-template-columns: 1fr; gap: 32px; }
  .location { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed;
    top: 76px; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    width: 230px;
    padding: 18px;
    border-radius: 0 0 0 18px;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 8px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
