/* =========================================================
   MATE24X7 — Design tokens
   Palette:
     --white:        #FFFFFF  (base background)
     --cream:        #FFF4EC  (soft warm alt-section background)
     --orange:       #EA5C14  (brand orange — logo, buttons, highlights)
     --orange-bright:#FF7A33  (hover state)
     --orange-deep:  #C24A0E  (pressed / deep accent)
     --charcoal:     #1E1712  (near-black warm neutral — nav-on-scroll, footer, text)
   Type:
     Display: 'Space Grotesk'  — headlines, big numbers
     Body:    'Inter'          — paragraphs, UI
     Mono:    'JetBrains Mono' — eyebrows, labels, data
   Signature: the "Disponible 24x7" live badge — a pulsing status
   indicator that reappears in-corner + footer, making the brand's
   round-the-clock promise a literal, persistent UI element. The
   "Cómo funciona" section flips to full brand-orange as the page's
   one bold, saturated moment.
   ========================================================= */

:root{
  --white: #FFFFFF;
  --cream: #FFF4EC;
  --cream-deep: #FDE7D7;
  --orange: #EA5C14;
  --orange-bright: #FF7A33;
  --orange-deep: #C24A0E;
  --charcoal: #1E1712;
  --charcoal-soft: #2A211A;
  --text-dark: #221812;
  --muted: #8A7A70;
  --muted-on-orange: #FFDCC2;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6{ font-family: var(--font-display); letter-spacing: -0.02em; }
a{ text-decoration: none; }
::selection{ background: var(--orange); color: var(--white); }

a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

.section-py{ padding: 6.5rem 0; }
@media (max-width: 768px){ .section-py{ padding: 4rem 0; } }

.bg-cream{ background: var(--cream); }
.bg-light-soft{ background: var(--white); }
.bg-orange-bold{ background: linear-gradient(135deg, var(--orange-deep), var(--orange)); }

/* ---------- Eyebrow ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: rgba(234,92,20,.08);
  border: 1px solid rgba(234,92,20,.22);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.eyebrow-light{ color: var(--white); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }

.section-head{ max-width: 720px; }
.section-title{ font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 700; margin-bottom: .75rem; color: var(--text-dark); }
.section-lead{ font-size: 1.05rem; color: var(--muted); }
.text-white{ color: var(--white) !important; }
.text-muted-green{ color: var(--muted-on-orange) !important; }

/* ---------- Buttons ---------- */
.btn-mate-primary{
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: .8rem 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-mate-primary:hover{
  background: var(--orange-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(234,92,20,.55);
}

.btn-mate-outline{
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  border: 1.5px solid rgba(30,23,18,.25);
  border-radius: 999px;
  padding: .8rem 1.75rem;
  transition: all .2s ease;
}
.btn-mate-outline:hover{
  border-color: var(--orange);
  color: var(--orange-deep);
  transform: translateY(-2px);
}
/* outline variant used on dark/orange backgrounds */
.bg-orange-bold .btn-mate-outline, .cta-section .btn-mate-outline{
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.bg-orange-bold .btn-mate-outline:hover, .cta-section .btn-mate-outline:hover{
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.btn-giant{ font-size: 1.15rem; padding: 1.1rem 2.75rem; }

/* CTA section uses a light button since its own bg is orange */
.cta-section .btn-mate-primary{
  background: var(--white);
  color: var(--orange-deep);
}
.cta-section .btn-mate-primary:hover{ background: var(--cream); color: var(--orange-deep); }

/* ---------- Live badge (signature) ---------- */
.live-badge{
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: rgba(30,23,18,.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(234,92,20,.45);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  padding: .5rem .9rem;
  border-radius: 999px;
  transition: opacity .3s ease, transform .3s ease;
}
.live-dot{
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot{
  0%{ box-shadow: 0 0 0 0 rgba(234,92,20,.55); }
  70%{ box-shadow: 0 0 0 9px rgba(234,92,20,0); }
  100%{ box-shadow: 0 0 0 0 rgba(234,92,20,0); }
}
.live-badge-footer{ position: static; background: rgba(234,92,20,.12); border-color: rgba(234,92,20,.3); color: var(--orange-bright); display: inline-flex; }

@media (max-width: 576px){
  .live-badge{ font-size: .68rem; padding: .4rem .7rem; left: .8rem; bottom: .8rem; }
}

/* ---------- Navbar ---------- */
.mate-nav{
  background: rgba(255,255,255,0);
  padding: 1.1rem 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.mate-nav.scrolled{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  padding: .7rem 0;
  box-shadow: 0 1px 0 rgba(30,23,18,.08), 0 12px 30px -18px rgba(30,23,18,.25);
}
.mate-nav .nav-link{
  color: var(--text-dark);
  font-weight: 500;
  font-size: .92rem;
  opacity: .82;
}
.mate-nav .nav-link:hover{ color: var(--orange-deep); opacity: 1; }
.navbar-toggler{ border: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero-section{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 12% 15%, rgba(234,92,20,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 95% 85%, rgba(234,92,20,.10), transparent 60%),
    var(--white);
  overflow: hidden;
  padding-top: 6rem;
}
.hero-glow{
  position: absolute;
  width: 55vw; height: 55vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(234,92,20,.14), transparent 65%);
  top: -12%; right: -12%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid-lines{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30,23,18,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,23,18,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, black, transparent);
  pointer-events: none;
}
.hero-inner{ position: relative; z-index: 2; }

.hero-title{
  color: var(--text-dark);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 1.4rem;
}
.text-gradient-green{
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle{
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 480px;
  margin-bottom: 2.2rem;
}
.hero-trust{ font-family: var(--font-mono); }
.hero-trust div{ display: flex; flex-direction: column; }
.hero-trust strong{ color: var(--text-dark); font-size: 1.15rem; }
.hero-trust span{ color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }

.hero-visual{ position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero-visual-glow{
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(234,92,20,.28), transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
}
.hero-mascot{
  position: relative;
  width: min(70%, 340px);
  filter: drop-shadow(0 30px 50px rgba(30,23,18,.22));
}
.floaty{ animation: float 5s ease-in-out infinite; }
@keyframes float{
  0%,100%{ transform: translateY(0px); }
  50%{ transform: translateY(-16px); }
}
.hero-chip{
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(234,92,20,.25);
  color: var(--text-dark);
  font-family: var(--font-mono);
  font-size: .78rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(30,23,18,.25);
}
.chip-top{ top: 8%; left: 0%; }
.chip-bottom{ bottom: 10%; right: 0%; }
.hero-chip i{ color: var(--orange); }

@media (max-width: 991px){
  .chip-top{ left: 2%; }
  .chip-bottom{ right: 2%; }
}

.scroll-cue{
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(30,23,18,.4);
  font-size: 1.3rem;
  animation: bob 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bob{ 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- Why cards ---------- */
.why-card{
  background: var(--white);
  border: 1px solid rgba(30,23,18,.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.why-card:hover{
  transform: translateY(-6px);
  border-color: rgba(234,92,20,.35);
  box-shadow: 0 20px 40px -18px rgba(30,23,18,.18);
}
.why-card i{ font-size: 1.7rem; color: var(--orange); margin-bottom: 1.1rem; display: block; }
.why-card h3{ color: var(--text-dark); font-size: 1.15rem; margin-bottom: .6rem; }
.why-card p{ color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.55; }

/* ---------- Ideal tiles ---------- */
.ideal-tile{
  background: var(--cream);
  border: 1px solid rgba(234,92,20,.12);
  border-radius: 18px;
  padding: 1.6rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ideal-tile:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(30,23,18,.15); }
.ideal-tile i{ font-size: 1.6rem; color: var(--orange-deep); display: block; margin-bottom: .6rem; }
.ideal-tile span{ font-weight: 600; font-size: .92rem; color: var(--text-dark); }

/* ---------- Timeline (bold orange section) ---------- */
.timeline{ position: relative; }
.timeline-line{ display: none; }
@media (min-width: 768px){
  .timeline-line{
    display: block;
    position: absolute;
    top: 22px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  }
}
.timeline-step{ position: relative; padding-top: .2rem; }
.timeline-dot{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--orange-deep);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}
.timeline-step h4{ color: var(--white); font-size: 1.1rem; margin-bottom: .5rem; }
.timeline-step p{ color: var(--muted-on-orange); font-size: .9rem; line-height: 1.5; }

/* ---------- Include cards ---------- */
.include-card{
  background: var(--white);
  border: 1px solid rgba(30,23,18,.08);
  border-radius: 18px;
  padding: 1.6rem 1.25rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.include-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(30,23,18,.15); }
.include-card i{ font-size: 1.5rem; color: var(--orange); margin-bottom: .8rem; display: block; }
.include-card h5{ font-size: 1rem; margin-bottom: .35rem; color: var(--text-dark); }
.include-card p{ font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Gallery / swiper ---------- */
.gallery-swiper{ padding: 0 0 1rem 0; }
.gallery-swiper .swiper-slide{
  width: 380px;
  height: 460px;
  border-radius: 22px;
  overflow: hidden;
}
.gallery-swiper .swiper-slide img{ width: 100%; height: 100%; object-fit: cover; }
.gallery-swiper .swiper-button-next, .gallery-swiper .swiper-button-prev{ color: var(--orange); }
.gallery-swiper .swiper-slide{ position: relative; }
.gallery-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem 1.1rem;
  background: linear-gradient(0deg, rgba(20,14,10,.82), transparent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
}

/* ---------- Event cards ---------- */
.event-card{
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(30,23,18,.08);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px -18px rgba(30,23,18,.18); }
.event-photo{ height: 190px; background-size: cover; background-position: center; }
.event-body{ padding: 1.5rem; }
.event-date{ font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-deep); }
.event-body h5{ margin: .4rem 0 .5rem; font-size: 1.05rem; color: var(--text-dark); }
.event-body p{ font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.event-desc{ margin-top: .6rem !important; }

/* ---------- Calendario de disponibilidad ---------- */
.calendar-legend{ display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.5rem; }
.calendar-legend span{ display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-dark); }
.dot{ width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-available{ background: var(--white); border: 2px solid var(--orange); }
.dot-booked{ background: #D8CFC6; border: 2px solid #B7ACA0; }
.dot-today{ background: var(--orange); }

.calendar-card{
  background: var(--white);
  border: 1px solid rgba(30,23,18,.08);
  border-radius: 24px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(30,23,18,.25);
}
.calendar-header{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.calendar-month{ font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-dark); text-transform: capitalize; }
.calendar-nav{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(30,23,18,.15);
  background: var(--white);
  color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.calendar-nav:hover{ background: var(--orange); border-color: var(--orange); color: var(--white); }
.calendar-weekdays{
  display: grid; grid-template-columns: repeat(7,1fr);
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: .5rem;
}
.calendar-grid{ display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; transition: opacity .15s ease; }
.calendar-grid.is-loading{ opacity: .4; }
.cal-day{
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid transparent;
  cursor: default;
  transition: all .15s ease;
  position: relative;
}
.cal-day.cal-empty{ background: transparent; }
.cal-day.cal-available{ cursor: pointer; border-color: rgba(234,92,20,.3); }
.cal-day.cal-available:hover{ background: var(--orange); color: var(--white); transform: translateY(-2px); }
.cal-day.cal-booked{ background: #EFEAE5; color: #B7ACA0; text-decoration: line-through; cursor: not-allowed; }
.cal-day.cal-past{ background: transparent; color: #D9CFC5; cursor: not-allowed; }
.cal-day.cal-today{ box-shadow: inset 0 0 0 2px var(--orange); font-weight: 700; }
.calendar-note{ margin: 1.25rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.calendar-note.is-link{ color: var(--orange-deep); font-weight: 600; }

/* ---------- Stats ---------- */
.stats-section{
  background: linear-gradient(135deg, var(--orange-deep), var(--charcoal));
  padding: 5rem 0;
}
.stat-box{ color: var(--white); }
.stat-number, .stat-number-text{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
}
.stat-plus{ font-family: var(--font-display); font-size: clamp(1.4rem,2.4vw,1.9rem); font-weight: 700; color: var(--white); }
.stat-box p{ color: var(--muted-on-orange); font-size: .88rem; margin-top: .4rem; }

/* ---------- Testimonials ---------- */
.testimonial-swiper{ padding-bottom: 3rem; }
.testimonial-card{
  background: var(--white);
  border: 1px solid rgba(30,23,18,.08);
  border-radius: 20px;
  padding: 2.25rem;
  height: 100%;
  box-shadow: 0 12px 34px -22px rgba(30,23,18,.25);
}
.stars{ color: var(--orange); margin-bottom: 1rem; font-size: .9rem; }
.testimonial-card p{ font-size: 1.02rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 1.5rem; }
.testimonial-author strong{ display: block; font-size: .92rem; color: var(--text-dark); }
.testimonial-author span{ font-size: .8rem; color: var(--muted); }
.testimonial-swiper .swiper-pagination-bullet-active{ background: var(--orange); }

/* ---------- FAQ ---------- */
.mate-accordion .accordion-item{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(30,23,18,.1);
}
.mate-accordion .accordion-button{
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.4rem 0;
  box-shadow: none;
}
.mate-accordion .accordion-button:not(.collapsed){ color: var(--orange-deep); }
.mate-accordion .accordion-button:not(.collapsed)::after{
  filter: invert(37%) sepia(84%) saturate(1189%) hue-rotate(353deg) brightness(93%) contrast(92%);
}
.mate-accordion .accordion-body{ color: var(--muted); padding: 0 0 1.5rem; font-size: .95rem; line-height: 1.6; }

/* ---------- CTA gigante ---------- */
.cta-section{
  position: relative;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  padding: 7rem 0;
  overflow: hidden;
  text-align: center;
}
.cta-glow{
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-title{
  position: relative; z-index: 2;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-sub{ position: relative; z-index: 2; color: var(--muted-on-orange); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2.25rem; }

/* ---------- Footer ---------- */
.mate-footer{
  background: var(--charcoal);
  color: var(--muted-on-orange);
  padding: 4.5rem 0 2rem;
}
.mate-footer h6{ color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; font-family: var(--font-mono); }
.footer-text{ font-size: .9rem; line-height: 1.6; max-width: 320px; margin-bottom: 1.25rem; }
.footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer-links a, .footer-links li{ color: var(--muted-on-orange); font-size: .9rem; }
.footer-links a:hover{ color: var(--orange-bright); }
.footer-social a{ color: var(--muted-on-orange); font-size: 1.2rem; transition: color .2s ease; }
.footer-social a:hover{ color: var(--orange-bright); }
.mate-footer hr{ border-color: rgba(255,255,255,.1); margin: 2.5rem 0 1.5rem; }
.footer-copy{ font-size: .8rem; color: rgba(255,220,194,.65); }

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position: fixed;
  right: 1.5rem; bottom: 1.5rem;
  width: 56px; height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 14px 30px -8px rgba(234,92,20,.55);
  z-index: 1200;
  transition: transform .2s ease, background .2s ease;
}
.wa-float:hover{ transform: scale(1.08); background: var(--orange-bright); color: var(--white); }

@media (max-width: 576px){
  .wa-float{ width: 50px; height: 50px; font-size: 1.3rem; right: 1rem; bottom: 1rem; }
}
