/* ═══════════════════════════════════════════════════
   RENT YOUR BEDS® — v6 FUSION
   Diseño: index.html | Estructura: v5 | Manual de Identidad
   #00a0df | #febe10 | #8c9091 | #000000
   ═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');

:root {
  --blue:      #00a0df;
  --blue-dk:   #0080b3;
  --blue-lt:   #33b8e8;
  --blue-pale: #e8f6fc;
  --blue-sky:  #b3e4f7;
  --yellow:    #febe10;
  --yellow-dk: #e0a800;
  --yellow-lt: #fff8e1;
  --gray:      #8c9091;
  --text:      #2d3748;
  --text-lt:   #64748b;
  --white:     #ffffff;
  --bg-alt:    #f7fbfe;
  --border:    #ddeef6;
  --wa:        #25d366;
  --ff: 'Nunito', 'Trebuchet MS', sans-serif;
  --mw: 1140px;
  --gap: clamp(1rem, 4vw, 2rem);
  --ease: .22s cubic-bezier(.4, 0, .2, 1);
  --sh-sm: 0 2px 12px rgba(0,160,223,.10);
  --sh-md: 0 8px 32px rgba(0,160,223,.14);
  --sh-lg: 0 20px 60px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { font-family: var(--ff); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.65 }
img, svg { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
ul { list-style: none }
button { font-family: inherit; cursor: pointer; border: none; background: none }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px }
.container { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 var(--gap) }

/* ══ HEADER — Azul sólido, logo grande ════════════════ */
.site-header {
  background: var(--blue);
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--mw); margin: 0 auto;
  padding: 0 var(--gap); height: 86px; gap: 1rem;
}
.ryb-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none }
/* Logo PNG — altura grande para legibilidad */
.ryb-logo img { height: 68px; width: auto; display: block }
.nav-menu { display: flex; align-items: center; gap: .25rem }
.nav-menu a {
  font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.9);
  padding: 8px 16px; border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}
.nav-menu a:hover { background: rgba(255,255,255,.15); color: white }
.nav-cta {
  background: var(--yellow) !important; color: #000 !important;
  border-radius: 8px !important; font-weight: 800 !important;
  padding: 9px 22px !important;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-cta:hover { background: var(--yellow-dk) !important; transform: translateY(-1px) !important }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px }
.nav-toggle span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: transform .25s, opacity .25s }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav-toggle.open span:nth-child(2) { opacity: 0 }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ══ BOTONES ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff); font-weight: 800; font-size: .95rem;
  padding: 13px 28px; border-radius: 10px; border: none;
  cursor: pointer; transition: all var(--ease); line-height: 1;
}
.btn-primary { background: var(--blue); color: white }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: var(--sh-md) }
.btn-yellow { background: var(--yellow); color: #000 }
.btn-yellow:hover { background: var(--yellow-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(254,190,16,.4) }
.btn-secondary { background: transparent; color: var(--blue); border: 2px solid var(--blue) }
.btn-secondary:hover { background: var(--blue-pale) }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,.7) }
.btn-outline-white:hover { background: rgba(255,255,255,.12) }
.btn-whatsapp { background: var(--wa); color: white }
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-2px) }
.btn-lg { padding: 15px 34px; font-size: 1rem }

/* ══ HERO — Diseño index.html con ilustración v5 ═══════ */
.hero {
  background: linear-gradient(145deg, var(--blue-pale) 0%, #ffffff 50%, var(--yellow-lt) 100%);
  padding: 124px 0 70px;
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,160,223,.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: white;
  font-size: .72rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--yellow); border-radius: 50%; animation: pulse 2s infinite }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.15; color: var(--text);
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--blue) }
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-lt);
  margin-bottom: 1.75rem; line-height: 1.7; max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem }
.hero-stats { display: flex; gap: 2.25rem; flex-wrap: wrap }
.stat { display: flex; flex-direction: column }
.stat-number { font-size: 1.8rem; font-weight: 900; color: var(--blue); line-height: 1 }
.stat-label { font-size: .72rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px }
.stat-divider { width: 1px; background: var(--border); height: 40px; align-self: center }

/* Cards flotantes hero */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center }
.hero-illustration { max-width: 480px; width: 100% }
.hero-card {
  position: absolute; background: white;
  border-radius: 14px; box-shadow: var(--sh-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-card--main { top: 10%; left: -20px; min-width: 220px }
.hero-card--stat { bottom: 20%; right: -15px; min-width: 190px }
.hero-card--review { bottom: 5%; left: 5%; max-width: 220px }
.card-icon { font-size: 1.6rem; line-height: 1 }
.card-icon-sm { font-size: 1.2rem }
.card-info strong { display: block; font-size: .85rem; font-weight: 800; color: var(--text) }
.card-info span { font-size: .72rem; color: var(--gray) }
.card-badge { background: #dcfce7; color: #166534; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-left: auto }
.card-number { font-size: 1.2rem; font-weight: 900; color: var(--blue); line-height: 1.1 }
.card-label { font-size: .72rem; color: var(--gray) }
.card-trend { font-size: .78rem; font-weight: 800; color: #16a34a; background: #dcfce7; padding: 3px 8px; border-radius: 6px; margin-left: auto }
.review-stars { color: var(--yellow); font-size: .85rem; letter-spacing: 1px; margin-bottom: 4px }
.hero-card--review p { font-size: .8rem; color: var(--text-lt); font-style: italic; margin-bottom: 4px; line-height: 1.4 }
.hero-card--review span { font-size: .72rem; font-weight: 700; color: var(--gray) }
.hero-platforms { position: absolute; top: -10px; right: 5%; display: flex; gap: 6px }
.platform-badge {
  font-size: .7rem; font-weight: 800; padding: 4px 10px;
  border-radius: 6px; border: 2px solid;
}
.platform-badge.airbnb { color: #FF5A5F; border-color: #FF5A5F; background: rgba(255,90,95,.06) }
.platform-badge.vrbo { color: #1E4AC8; border-color: #1E4AC8; background: rgba(30,74,200,.06) }
.platform-badge.booking { color: #003580; border-color: #003580; background: rgba(0,53,128,.06) }

/* ══ VALUE STRIP ═══════════════════════════════════════ */
.value-strip { background: var(--blue); padding: 20px 0 }
.value-items {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.75rem;
}
.value-item { display: flex; align-items: center; gap: 10px; color: white; font-size: .88rem; font-weight: 600 }
.value-icon { font-size: 1.1rem }
.value-sep { width: 1px; height: 20px; background: rgba(255,255,255,.25) }

/* ══ SECCIONES COMPARTIDAS ══════════════════════════════ */
section { padding: 80px 0 }
.section-tag {
  display: inline-block; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-pale);
  border: 1px solid var(--blue-sky); padding: 5px 14px;
  border-radius: 999px; margin-bottom: .75rem;
}
.section-header { margin-bottom: 3rem }
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: .75rem }
.section-header p { font-size: 1rem; color: var(--text-lt); max-width: 560px }
.section-header.centered { text-align: center }
.section-header.centered p { margin: 0 auto }

/* ══ SERVICIOS — Grid 3×2 estilo index.html ════════════ */
#servicios { background: var(--bg-alt) }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem }
.service-card {
  background: white; border-radius: 18px;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
  transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md) }
.service-card:hover::before { transform: scaleX(1) }
.service-card--featured {
  background: white;
  color: var(--text); border: 3px solid var(--yellow);
  box-shadow: 0 8px 32px rgba(254,190,16,.25);
}
.service-card--featured .service-icon { background: var(--yellow-lt); color: var(--blue) }
.service-card--featured h3 { color: var(--text) }
.service-card--featured p { color: var(--text-lt) }
.service-card--featured .service-list li { color: var(--text-lt) }
.service-card--featured::before { background: linear-gradient(90deg, var(--yellow), var(--yellow-dk)); }
.service-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--yellow); color: #000;
  font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 6px;
}
.service-icon {
  width: 52px; height: 52px; background: var(--blue-pale); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem; color: var(--blue);
  transition: background var(--ease);
}
.service-card:hover .service-icon { background: var(--blue); color: white }
.service-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .6rem }
.service-card p { font-size: .88rem; color: var(--text-lt); line-height: 1.7; margin-bottom: 1rem }
.service-list { padding-left: 0 }
.service-list li {
  font-size: .83rem; color: var(--text-lt); padding: 3px 0;
  padding-left: 1rem; position: relative; line-height: 1.5;
}
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700 }
.service-card--featured .service-list li::before { color: var(--yellow) }

/* ══ PROCESO — Timeline estilo index.html ══════════════ */
#proceso { background: white }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative }
.process-timeline::before {
  content: ''; position: absolute;
  top: 48px; left: 12.5%; right: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--yellow-lt), var(--yellow), var(--yellow-lt));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1 }
.step-number-wrap {
  width: 58px; height: 58px; margin: 0 auto 1.25rem;
  background: var(--yellow); border: 3px solid var(--yellow);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: #000;
  position: relative; z-index: 2;
  transition: background var(--ease), color var(--ease);
  box-shadow: 0 0 0 6px white, 0 4px 16px rgba(254,190,16,.4);
}
.process-step:hover .step-number-wrap { background: var(--blue); color: white }
.step-icon-pill {
  width: 48px; height: 48px; margin: 0 auto .75rem;
  background: var(--yellow-lt); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.process-step[data-step]::before { display: none }
.process-step h3 { font-size: .97rem; font-weight: 800; color: var(--text); margin-bottom: .5rem }
.process-step p { font-size: .85rem; color: var(--text-lt); line-height: 1.65 }
.step-connector { display: none }

/* ══ CALCULADORA ═══════════════════════════════════════ */
#calculadora { background: var(--blue); position: relative; overflow: hidden }
#calculadora::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; background: rgba(255,255,255,.06);
  border-radius: 50%; pointer-events: none;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; position: relative; z-index: 1 }
.calc-info .section-tag { background: rgba(255,255,255,.15); color: white; border-color: rgba(255,255,255,.25) }
.calc-info h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin: .75rem 0 1rem; line-height: 1.2 }
.calc-info p { color: rgba(255,255,255,.8); font-size: .97rem; margin-bottom: 1.75rem; line-height: 1.7 }
.calc-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px;
  font-size: .87rem; color: rgba(255,255,255,.9);
}
.calc-card { background: white; border-radius: 20px; padding: 2.5rem; box-shadow: 0 24px 64px rgba(0,0,0,.15) }
.calc-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text) }
.form-group { margin-bottom: 1.1rem }
.form-group label { display: block; font-size: .84rem; font-weight: 700; color: var(--text); margin-bottom: .4rem }
.form-group input, .form-group select {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--border); border-radius: 10px;
  font-family: var(--ff); font-size: .93rem; color: var(--text); background: white;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,160,223,.1);
}
.form-disclaimer { font-size: .75rem; color: var(--gray); margin-top: .75rem; text-align: center }
.form-disclaimer a { color: var(--blue) }

/* ══ PLATAFORMAS ═══════════════════════════════════════ */
#plataformas { background: var(--bg-alt) }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem }
.platform-card {
  background: white; border-radius: 18px;
  padding: 2.25rem 2rem; text-align: center;
  border: 2px solid var(--border);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.platform-card:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-4px) }
.platform-logo { font-size: 1.3rem; font-weight: 900; margin-bottom: .75rem; letter-spacing: -.02em }
.platform-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: .5rem }
.platform-card p { font-size: .88rem; color: var(--text-lt); line-height: 1.65; margin-bottom: 1rem }
.platform-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--blue-pale); color: var(--blue); padding: 4px 12px; border-radius: 999px }

/* ══ TESTIMONIOS ═══════════════════════════════════════ */
#testimonios { background: white }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem }
.testimonial-card {
  background: var(--bg-alt); border-radius: 18px;
  padding: 2rem; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.testimonial-card--featured { background: var(--yellow-lt); border: 2px solid var(--yellow); box-shadow: 0 8px 32px rgba(254,190,16,.2) }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md) }
.testimonial-stars { color: var(--yellow); font-size: .95rem; letter-spacing: 2px; margin-bottom: .75rem }
.testimonial-card p { font-size: .92rem; color: var(--text-lt); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic }
.testimonial-card--featured p { color: var(--text-lt) }
.testimonial-card footer { display: flex; align-items: center; gap: 12px }
.testimonial-card footer strong { display: block; font-size: .9rem; font-weight: 800; color: var(--text) }
.testimonial-card--featured footer strong { color: var(--text) }
.testimonial-card footer span { font-size: .78rem; color: var(--gray) }
.testimonial-card--featured footer span { color: var(--gray) }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--blue); flex-shrink: 0;
}
.testimonial-card--featured .testi-av { background: var(--blue); color: white }

/* ══ FAQ ════════════════════════════════════════════════ */
#faq { background: var(--bg-alt) }
.faq-list { max-width: 760px; margin: 0 auto }
.faq-item { background: white; border-radius: 12px; margin-bottom: .75rem; overflow: hidden; border: 1px solid var(--border) }
.faq-question {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--ff); font-size: .97rem; font-weight: 700; color: var(--text);
  cursor: pointer; background: none; border: none; transition: background var(--ease);
}
.faq-question:hover { background: var(--blue-pale) }
.faq-chevron {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: transform var(--ease), background var(--ease);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--blue); color: white }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease }
.faq-answer p { padding: 0 1.5rem 1.25rem; font-size: .9rem; color: var(--text-lt); line-height: 1.75 }
.faq-item.open .faq-answer { max-height: 400px }

/* ══ BLOG ═══════════════════════════════════════════════ */
#blog { background: white }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem }
.blog-card {
  background: var(--bg-alt); border-radius: 18px;
  padding: 1.75rem; border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md) }
.blog-tag {
  display: inline-block; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--blue); background: var(--blue-pale);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 1rem;
}
.blog-card h3 { font-size: .97rem; font-weight: 800; color: var(--text); margin-bottom: .6rem; line-height: 1.4 }
.blog-card h3 a { color: inherit; transition: color var(--ease) }
.blog-card h3 a:hover { color: var(--blue) }
.blog-card p { font-size: .87rem; color: var(--text-lt); line-height: 1.65; margin-bottom: 1rem }
.blog-link { font-size: .85rem; font-weight: 700; color: var(--blue); transition: color var(--ease) }
.blog-link:hover { color: var(--blue-dk) }
.blog-cta { text-align: center; margin-top: 2.5rem }

/* ══ FEATURE SECTIONS (ilustraciones SVG) ══════════════ */
.feat { padding: 80px 0 }
.feat.bg-alt { background: var(--bg-alt) }
.feat-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center }
.feat-inner.rev { direction: rtl }
.feat-inner.rev > * { direction: ltr }
.feat-icon {
  width: 60px; height: 60px; background: var(--blue-pale);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--blue);
}
.feat-text h2 { font-size: clamp(1.4rem, 2.8vw, 1.95rem); font-weight: 800; color: var(--text); margin-bottom: .75rem; line-height: 1.25 }
.feat-text p { font-size: .97rem; color: var(--text-lt); line-height: 1.75; margin-bottom: .85rem }
.feat-visual { display: flex; justify-content: center; align-items: center }
.feat-visual svg { width: 100%; max-width: 460px; height: auto }

/* ══ CTA FINAL ════════════════════════════════════════ */
.final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  padding: 90px 0; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.final-cta::before { width: 400px; height: 400px; top: -100px; left: -80px }
.final-cta::after { width: 300px; height: 300px; bottom: -80px; right: -60px }
.cta-content { position: relative; z-index: 1 }
.final-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: white; margin-bottom: .75rem }
.final-cta p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem }

/* ══ FOOTER ════════════════════════════════════════════ */
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow)) }
.site-footer { background: #0b1822; color: rgba(255,255,255,.7); padding: 56px 0 0 }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem }
.footer-brand .ryb-logo img { filter: brightness(0) invert(1); height: 36px; margin-bottom: 1rem }
.footer-brand p { font-size: .86rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: background var(--ease), color var(--ease);
}
.footer-social a:hover { background: var(--blue); color: white }
.footer-nav h3, .footer-col h3 { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: white; margin-bottom: .9rem }
.footer-nav ul, .footer-col ul { padding: 0 }
.footer-nav li, .footer-col li { margin-bottom: .45rem }
.footer-nav a, .footer-col a { font-size: .84rem; color: rgba(255,255,255,.5); transition: color var(--ease) }
.footer-nav a:hover, .footer-col a:hover { color: var(--blue) }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; margin-bottom: .55rem; font-size: .84rem; color: rgba(255,255,255,.5) }
.footer-contact li a { color: rgba(255,255,255,.5); transition: color var(--ease) }
.footer-contact li a:hover { color: var(--blue) }
.footer-contact svg { flex-shrink: 0; margin-top: 1px; color: var(--blue) }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35) }
.footer-legal { display: flex; gap: 1.25rem }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color var(--ease) }
.footer-legal a:hover { color: var(--blue) }

/* ══ WHATSAPP ════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 56px; height: 56px; background: var(--wa); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45); transition: transform var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1) }

/* ══ ARTÍCULOS (para artículos del blog) ═══════════════ */
.art-hero { background: var(--blue); padding: 100px 0 60px; color: white; text-align: center }
.art-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin: .5rem 0 1rem; color: white }
.art-hero p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto }
.arts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; padding: 60px 0 80px }
.art-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; padding: 60px 0 80px; align-items: start }
.art-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin: 2rem 0 .75rem; border-left: 4px solid var(--blue); padding-left: .75rem }
.art-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 .5rem }
.art-content p { font-size: .97rem; color: var(--text-lt); margin-bottom: 1.1rem; line-height: 1.8 }
.art-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem }
.art-content li { font-size: .95rem; color: var(--text-lt); margin-bottom: .5rem; line-height: 1.7 }
.art-content strong { color: var(--text); font-weight: 700 }
.art-tip { background: var(--blue-pale); border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 1.5rem 0 }
.art-tip p { margin: 0 !important; color: var(--text) !important }
.art-sidebar { position: sticky; top: 88px }
.sb-cta { background: var(--blue); color: white; border-radius: 16px; padding: 1.75rem; margin-bottom: 1.5rem; text-align: center }
.sb-cta h4 { font-size: 1rem; font-weight: 800; margin-bottom: .6rem }
.sb-cta p { font-size: .84rem; opacity: .85; margin-bottom: 1.1rem }
.sb-rel { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem }
.sb-rel h4 { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .9rem; color: var(--text) }
.sb-rel li { border-bottom: 1px solid var(--border); padding: .6rem 0 }
.sb-rel li:last-child { border-bottom: none }
.sb-rel a { font-size: .86rem; font-weight: 600; color: var(--text); transition: color var(--ease) }
.sb-rel a:hover { color: var(--blue) }

/* ══ ANIMACIONES ════════════════════════════════════ */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1) } 50% { opacity: .5; transform: scale(1.3) } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px) } to { opacity: 1; transform: translateY(0) } }
.fi { animation: fadeUp .6s ease both }
.fi2 { animation: fadeUp .6s .15s ease both }
.fi3 { animation: fadeUp .6s .3s ease both }

/* ══════════════════════════════════════════════════
   RESPONSIVE — 4 BREAKPOINTS
   Desktop  : 1281px+   (default styles arriba)
   Laptop   : 961-1280px
   Tablet   : 641-960px
   Mobile   : 320-640px
══════════════════════════════════════════════════ */

/* ── LAPTOP (961-1280px) ─────────────────────────── */
@media (max-width: 1280px) {
  :root { --mw: 960px }
  .hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem) }
  .services-grid { grid-template-columns: repeat(3, 1fr) }
  .hero-card--main { left: -10px }
  .hero-card--stat { right: -10px }
}

/* ── TABLET (641-960px) ──────────────────────────── */
@media (max-width: 960px) {
  :root { --mw: 100%; --gap: 1.5rem }

  /* Layout */
  .hero-grid { grid-template-columns: 1fr; text-align: center }
  .hero-visual, .feat-visual { display: none }
  .hero-actions { justify-content: center }
  .hero-stats { justify-content: center }
  .hero-subtitle, .hero-badge { margin-left: auto; margin-right: auto }

  /* Sections */
  .feat-inner, .calc-grid { grid-template-columns: 1fr }
  .feat-inner.rev { direction: ltr }
  .feat-text { text-align: center }
  .feat-icon { margin: 0 auto 1.25rem }
  .feat-text .btn { display: inline-flex }
  section { padding: 60px 0 }

  /* Grids 2-col en tablet */
  .services-grid { grid-template-columns: 1fr 1fr }
  .platforms-grid { grid-template-columns: 1fr 1fr }
  .testimonials-grid { grid-template-columns: 1fr 1fr }
  .blog-grid { grid-template-columns: 1fr 1fr }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 2rem }
  .process-timeline::before { display: none }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem }

  /* Artículos */
  .art-layout { grid-template-columns: 1fr }
  .art-sidebar { display: none }

  /* Calculadora */
  .calc-info h2 { font-size: 1.8rem }

  /* Value strip */
  .value-items { gap: 1rem }
  .value-sep { display: none }
  .value-item { font-size: .82rem }

  /* Section headers */
  .section-header p { max-width: 100% }
  .section-header.centered p { margin: 0 auto }

  /* Hero padding para header fijo */
  .hero { padding: 106px 0 60px }
}

/* ── MOBILE (320-640px) ──────────────────────────── */
@media (max-width: 640px) {
  :root { --gap: 1rem }

  /* ── NAV MÓVIL ── */
  .nav-menu {
    display: none; position: absolute;
    top: 86px; left: 0; right: 0;
    background: var(--blue-dk); flex-direction: column;
    padding: 1rem; gap: .25rem;
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  .nav-menu.open { display: flex }
  .nav-toggle { display: flex }
  .nav-menu a { padding: 12px 16px; border-radius: 8px; font-size: .95rem }
  .nav-cta { text-align: center }

  /* ── HERO ── */
  .hero { padding: 100px 0 48px; min-height: auto }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); text-align: center }
  .hero-badge { margin: 0 auto 1rem }
  .hero-subtitle { font-size: .97rem; text-align: center }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .75rem }
  .hero-actions .btn { justify-content: center; width: 100% }
  .hero-stats { gap: .75rem; justify-content: center; flex-wrap: wrap }
  .stat-divider { display: none }
  .stat-number { font-size: 1.5rem }

  /* ── VALUE STRIP ── */
  .value-strip { padding: 14px 0 }
  .value-items { flex-direction: column; gap: .6rem; align-items: flex-start; padding: 0 1rem }
  .value-sep { display: none }
  .value-item { font-size: .85rem }

  /* ── SECTIONS ── */
  section { padding: 50px 0 }
  .section-header { margin-bottom: 2rem }
  .section-header h2 { font-size: 1.5rem }
  .feat-text h2 { font-size: 1.4rem; text-align: center }
  .feat-text p { text-align: left }
  .feat-icon { margin: 0 auto 1rem }
  .feat-text .btn { width: 100%; justify-content: center }

  /* ── SERVICIOS ── */
  .services-grid { grid-template-columns: 1fr }
  .service-card { padding: 1.5rem }

  /* ── PROCESO ── */
  .process-timeline { grid-template-columns: 1fr; gap: 1.25rem }
  .process-step { display: flex; align-items: flex-start; gap: 1rem; text-align: left; background: var(--bg-alt); border-radius: 14px; padding: 1.25rem; border: 1px solid var(--border) }
  .process-step .step-number-wrap { width: 44px; height: 44px; min-width: 44px; font-size: 1rem; margin: 0; box-shadow: none }
  .process-step .step-icon-pill { display: none }
  .process-step h3 { text-align: left; font-size: .95rem }
  .process-step p { text-align: left; font-size: .85rem }

  /* ── CALCULADORA ── */
  .calc-card { padding: 1.5rem }
  .calc-info h2 { font-size: 1.5rem }
  .calc-note { flex-direction: column; gap: 6px }

  /* ── PLATAFORMAS ── */
  .platforms-grid { grid-template-columns: 1fr }

  /* ── TESTIMONIOS ── */
  .testimonials-grid { grid-template-columns: 1fr }
  .testimonial-card { padding: 1.5rem }

  /* ── FAQ ── */
  .faq-question { font-size: .92rem; padding: 1rem 1.25rem }
  .faq-answer p { padding: 0 1.25rem 1rem }

  /* ── BLOG ── */
  .blog-grid { grid-template-columns: 1fr }

  /* ── CTA FINAL ── */
  .cta-actions { flex-direction: column; align-items: stretch }
  .cta-actions .btn { justify-content: center; width: 100% }
  .final-cta h2 { font-size: 1.6rem }
  .final-cta p { font-size: .95rem }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: .75rem }
  .footer-brand p { max-width: 100% }

  /* ── MISC ── */
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px }
  .btn-lg { padding: 13px 24px; font-size: .93rem }
  .section-tag { font-size: .68rem }
}

/* ── MOBILE PEQUEÑO (320-380px) ─────────────────── */
@media (max-width: 380px) {
  .nav-wrap { padding: 0 .75rem }
  .ryb-logo img { height: 40px }
  .hero h1 { font-size: 1.6rem }
  .stat-number { font-size: 1.3rem }
  .service-card { padding: 1.25rem }
  .platform-card { padding: 1.5rem 1.25rem }
}

/* ══ AJUSTES v7 ══ */
/* Más amarillo en botones alternativos */
.btn-outline-yellow {
  background: transparent; color: var(--yellow-dk); 
  border: 2px solid var(--yellow);
}
.btn-outline-yellow:hover { background: var(--yellow); color: #000 }
/* Value strip — iconos en amarillo */
.value-icon { font-size: 1.2rem; filter: brightness(1.2) }
/* Process steps — número con fondo amarillo al hover */
.process-step:hover .step-number-wrap { background: var(--yellow-dk); color: #000; border-color: var(--yellow-dk); transform: scale(1.08) }
/* Plataformas — Direct badge */
.platform-tag.direct { background: var(--yellow-lt); color: var(--yellow-dk); border: 1px solid var(--yellow) }
/* Logo transparente en footer */
.ft-logo-transparent { height: 44px; width: auto; margin-bottom: .75rem }
/* Testimonio featured — estrellas más grandes */
.testimonial-card--featured .testimonial-stars { font-size: 1.1rem }

.footer-brand img { height: 44px; width: auto; margin-bottom: .75rem }

/* ── TABLET NAV (641-960px) — horizontal compacto ── */
@media (max-width: 960px) and (min-width: 641px) {
  .nav-menu a { padding: 7px 12px; font-size: .85rem }
  .nav-cta { padding: 8px 16px !important; font-size: .85rem !important }
  .nav-toggle { display: none }
}

/* ── PRINT ── */
@media print {
  .site-header, .whatsapp-float, .nav-toggle { display: none }
  .hero { padding-top: 2rem }
}
