/* ===== NUEVA PALETA DE COLORES CLAROS Y AMIGABLES ===== */
:root {
  --bg: #FFFFFF;
  --bg-2: #FBF9FF;

  --panel: rgba(255, 255, 255, 0.7);
  --panel-2: rgba(240, 248, 255, 0.5);

  --line: rgba(220, 235, 245, 0.6);

  --accent-pink: #FFC0CB;
  --accent-blue: #B9E5FF;
  --gold: #C9A027;
  --gold-soft: rgba(201, 160, 39, 0.1);

  --text: #3D3D3D;
  --muted: #666666;

  --green: #25D366;
  --shadow: 0 10px 40px rgba(150, 170, 180, 0.15);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(at 0% 0%, rgba(255, 192, 203, 0.6) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(185, 229, 255, 0.6) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 192, 203, 0.5) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(185, 229, 255, 0.5) 0px, transparent 50%),
    #FFFFFF;
  color: var(--text);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== AJUSTES DE ELEMENTOS UI ===== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--accent-blue);
}

.brand-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
  color: white;
  font-size: 18px;
  border: none;
}

.eyebrow,
.kicker,
.urgency-kicker {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.brand {
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}

.mini-cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

main {
  padding-bottom: 96px;
}

.section {
  padding: 28px 16px;
}

.hero {
  position: relative;
  padding-top: 36px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto -40px 10px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 221, 238, 0.4), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.chip {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--accent-pink);
  font-size: 12px;
  font-weight: 700;
  color: #d66a7a;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
}

h1 {
  font-size: 36px;
  letter-spacing: -.04em;
  max-width: 10ch;
}

h2 {
  font-size: 29px;
  letter-spacing: -.03em;
}

h3 {
  font-size: 21px;
}

.lead {
  font-size: 16px;
  line-height: 1.65;
  color: black;
  margin: 16px 0 22px;
  max-width: 34ch;
}

.cta-stack {
  display: grid;
  gap: 12px;
}

.btn {
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background: linear-gradient(180deg, #30db70, #20be58);
  color: white;
}

.btn-primary {
  background: linear-gradient(90deg, #FFB6C1 0%, #B9E5FF 100%);
  color: #4A4A4A;
  border: none;
  box-shadow: 0 8px 20px rgba(185, 229, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid white;
  color: var(--text);
}

.btn.wide,
.btn.xl {
  width: 100%;
}

.btn.xl {
  min-height: 64px;
  font-size: 19px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-row li {
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #d66a7a;
  border: 1px solid #eee;
}

.section-head {
  margin-bottom: 16px;
}

.card-list,
.stats,
.steps {
  display: grid;
  gap: 12px;
}

.card,
.process-card,
.stat,
.authority-box,
.urgency-box,
.final-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,221,238,0.4) 100%);
  border: 1.5px solid rgba(255, 182, 193, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(255, 192, 203, 0.2);
}

.card {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.card strong {
  font-size: 18px;
  color: var(--text);
}

.card:nth-child(even) {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(208,239,255,0.4) 100%);
  border-color: rgba(185, 229, 255, 0.6);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--accent-pink);
  margin-bottom: 12px;
  color: #ff8da1;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 22px;
  color: var(--text);
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.steps li {
  list-style: none;
  padding: 18px;
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid var(--line);
  color: var(--text);
}

.urgency-box,
.final-box {
  padding: 18px;
  color: var(--text);
}

.microcopy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  min-width: 62px;
  height: 62px;
  padding: 0 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #30db70, #20be58);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

/* ===== CARRUSEL WHATSAPP ===== */

.chat-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.chat-carousel::-webkit-scrollbar {
  display: none;
}

.chat-carousel img {
  flex: 0 0 80%;
  max-width: 240px;
  border-radius: 16px;
  scroll-snap-align: center;
  box-shadow: 0 10px 30px rgba(150, 170, 180, 0.15);
}

@media (min-width: 768px) {
  body {
    max-width: 520px;
    margin: 0 auto;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

/* ===== PROCESO ===== */

.process {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  padding-left: 34px;
}

.process::before {
  content: "";
  position: absolute;
  left: 14.5px;
  top: 34px;
  bottom: 34px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-blue));
  border-radius: 10px;
}

.process-item {
  position: relative;
  display: flex;
  align-items: center;
}

.process-dot {
  position: absolute;
  left: -24px;
  width: 12px;
  height: 12px;
  background: var(--accent-pink);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(185, 229, 255, 0.6);
}

.process-card {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--text);
}

.process-card strong {
  font-size: 15px;
  color: var(--text);
}

/* ===== SECCIÓN INICIO (HERO) ===== */

#inicio {
  position: relative;
  background-image: url('../img/Gemini_Generated_Image_j8hf13j8hf13j8hf1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

#inicio::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.35), rgba(185, 229, 255, 0.35));
  z-index: 0;
  pointer-events: none;
}

#inicio > * {
  position: relative;
  z-index: 1;
}

/* ===== HERO FADE OUT ===== */

.hero-fade-out {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(240, 244, 248, 0.8) 50%,
    #ffffff 100%
  );
  z-index: 5;
  pointer-events: none;
}

/* ===== SEGUNDA SECCIÓN ===== */

#problemas {
  background: linear-gradient(135deg, #fff5f5 0%, #f0f7ff 100%);
  position: relative;
  z-index: 1;
  margin-top: -20px;
  padding-top: 60px;
}

/* ============================================================
   SECCIÓN SERVICIOS - CORREGIDA DE VERDAD
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;

  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;

  border: 1.5px solid rgba(255, 182, 193, 0.5);
  box-shadow: 0 10px 30px rgba(255, 192, 203, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  isolation: isolate;
}

.service-card:nth-child(even) {
  border-color: rgba(185, 229, 255, 0.6);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255, 192, 203, 0.35);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.42) 38%,
    rgba(0, 0, 0, 0.14) 68%,
    rgba(0, 0, 0, 0.02) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  width: 100%;
}

.service-content h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  font-family: Georgia, serif;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.service-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.service-card .icon {
  font-size: 1.8rem;
  color: #FFB6C1;
  margin-bottom: 10px;
  background: none;
  border: none;
  width: auto;
  height: auto;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ===== ESTÉTICA GENERAL EXTRA ===== */

.card,
.service-card,
.process-card,
.stat,
.authority-box,
.urgency-box,
.final-box {
  box-shadow: 0 10px 30px rgba(255, 192, 203, 0.2);
}

.topbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--accent-blue);
}

.brand-mark {
  background: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
  color: white;
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, #FFB6C1 0%, #B9E5FF 100%);
  color: #4A4A4A;
  border: none;
  box-shadow: 0 8px 20px rgba(185, 229, 255, 0.4);
}

.chip {
  background: #fff;
  border: 1px solid var(--accent-pink);
  color: #d66a7a;
}

.icon {
  background: white;
  border: 1px solid var(--accent-pink);
  color: #ff8da1;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 767px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: 340px;
  }

  .service-content {
    padding: 22px 18px;
  }

  .service-content h3 {
    font-size: 1.35rem;
  }

  .service-content p {
    font-size: 0.92rem;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    max-width: 100%;
  }
}

/* ======================================================
   HERO SECTION FORZADO
   ====================================================== */

.hero {
    position: relative !important;
    overflow: hidden !important;

    padding-top: 36px !important;
    padding-bottom: 100px !important;

    background-image: url("../img/Gemini_Generated_Image_j8hf13j8hf13j8hf1.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    z-index: 1 !important;
}


/* overlay suave */

.hero::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    background: linear-gradient(
        135deg,
        rgba(255,192,203,0.25),
        rgba(185,229,255,0.25)
    ) !important;

    z-index: 1 !important;
}


/* contenido del hero por encima */

.hero > * {
    position: relative !important;
    z-index: 2 !important;
}


/* glow */

.hero-glow {

    position: absolute !important;

    right: -60px !important;
    bottom: 20px !important;

    width: 240px !important;
    height: 240px !important;

    border-radius: 999px !important;

    background: radial-gradient(
        circle,
        rgba(255,192,203,0.45),
        transparent 70%
    ) !important;

    filter: blur(18px) !important;

    z-index: 1 !important;
}


/* ======================================================
   FADE OUT HERO
   ====================================================== */

.hero-fade-out {

    position: absolute !important;

    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 140px !important;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.7) 60%,
        #ffffff 100%
    ) !important;

    z-index: 3 !important;

    pointer-events: none !important;
}
#problemas {
    background: linear-gradient(135deg, #fff5f5 0%, #f0f7ff 100%);
    position: relative;
    z-index: 1;
    margin-top: -20px;
    padding-top: 15px !important;
}

/* Reactivamos y mejoramos la Topbar */
.topbar {
  display: flex !important; /* Asegura que se vea */
  position: sticky;
  top: 0;
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--accent-blue);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  margin: 0;
  font-size: 18px; /* Tamaño profesional para header */
  font-weight: 800;
  font-family: Georgia, serif; /* Siguiendo tu estilo de h1, h2 */
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-mark {
  /* Ya usa tu gradiente rosa/celeste definido en CSS */
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.4);
  font-size: 20px;
}

.mini-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--accent-blue);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.3s ease;
  color: var(--text);
  font-weight: 700;
}

.mini-cta:hover {
  background: var(--bg-2);
  transform: translateY(-1px);
  border-color: var(--accent-pink);
}

.online-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
h1 {
    font-size: 36px;
    letter-spacing: -.04em;
    max-width: 23ch !important;
}
body > main > section.section.reveal.urgency.is-visible > div > a{
    display: none;
}

.card.soft{
cursor:pointer;
transition:transform .25s ease, box-shadow .25s ease;
}

.card.soft:hover{
transform:translateY(-6px);
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

/* popup confirmacion whatsapp */

.wa-confirm{
position:fixed;
inset:0;
background:rgba(0,0,0,.45);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
animation:fadeIn .25s ease;
}

.wa-confirm-box{
background:#ffffff;
padding:30px;
border-radius:18px;
text-align:center;
max-width:320px;
box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.wa-confirm-box h3{
margin:0 0 18px;
font-size:20px;
}

.wa-confirm-btn{
width:100%;
padding:14px;
border-radius:12px;
border:none;
background:#25D366;
color:#fff;
font-weight:700;
font-size:16px;
cursor:pointer;
margin-bottom:10px;
}

.wa-confirm-close{
display:block;
font-size:13px;
color:#777;
cursor:pointer;
}

@keyframes fadeIn{
from{opacity:0}
to{opacity:1}
}

.floating-wa{
position:fixed !important;
right:16px !important;
bottom:16px !important;

width:64px !important;
height:64px !important;

border-radius:50% !important;

background:#fff !important;

display:flex !important;
align-items:center !important;
justify-content:center !important;

box-shadow:0 10px 30px rgba(0,0,0,.25) !important;

z-index:9999 !important;
}

.floating-wa img{
width:130px !important;
height:130px !important;
}
/* IMPORTANTE: Borra el display:none que está al final de tu styles.css para que esto funcione */