/* ==========================================================
   TUOPERARIO.ES - style.css (version estatica ultra simple)
   Paleta: amarillo pastel + verde + blanco
   ========================================================== */

:root {
  --verde: #1E7145;
  --verde-oscuro: #145534;
  --verde-suave: #E7F2EC;
  --amarillo: #F7E7A6;
  --amarillo-suave: #FBF3D6;
  --amarillo-fuerte: #F0D467;
  --blanco: #FFFFFF;
  --gris-claro: #F7F7F5;
  --grafito: #23282B;
  --texto-secundario: #5B6560;
  --borde: #E5E3DA;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 40, 30, 0.08);
  --shadow-sm: 0 4px 14px rgba(20, 40, 30, 0.08);
  --max-width: 1200px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--grafito);
  background-color: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--grafito);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h2 { font-size: 2.1rem; }

section { padding: 88px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--texto-secundario);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary { background-color: var(--verde); color: var(--blanco); }
.btn--primary:hover { background-color: var(--verde-oscuro); }

.btn--accent { background-color: var(--amarillo-fuerte); color: var(--verde-oscuro); }
.btn--accent:hover { background-color: var(--amarillo); }

.btn--whatsapp { background-color: #ffffff; color: var(--verde-oscuro); border-color: var(--verde); }
.btn--whatsapp:hover { background-color: var(--verde-suave); }

.btn--outline { background-color: transparent; border-color: var(--verde); color: var(--verde); }
.btn--outline:hover { background-color: var(--verde); color: var(--blanco); }

.btn--outline-light { background-color: transparent; border-color: rgba(255,255,255,0.6); color: var(--blanco); }
.btn--outline-light:hover { background-color: rgba(255,255,255,0.15); }

.btn--sm { padding: 11px 20px; font-size: 0.85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--grafito);
  letter-spacing: -0.02em;
}

.logo__dot { color: var(--amarillo-fuerte); }

.nav__list { display: flex; gap: 30px; }

.nav__link {
  font-weight: 600;
  color: var(--grafito);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav__link:hover { color: var(--verde); }

.header__actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--grafito);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--blanco);
  border-top: 1px solid var(--borde);
}

.mobile-menu.is-open { display: flex; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  padding: 18px 24px 28px;
  gap: 16px;
}

.mobile-link { font-weight: 600; font-size: 1rem; padding: 4px 0; }
.mobile-cta { margin-top: 8px; text-align: center; }

/* ===== Hero (imagen principal a pantalla completa) ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 46, 30, 0.86) 0%,
    rgba(15, 46, 30, 0.68) 32%,
    rgba(15, 46, 30, 0.32) 55%,
    rgba(15, 46, 30, 0.05) 75%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.hero__text { max-width: 620px; }

.hero h1 {
  color: var(--blanco);
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero__subtitle {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 22px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero__price {
  background-color: rgba(11, 31, 20, 0.55);
  border: 1px solid rgba(240, 212, 103, 0.5);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 16px;
  display: inline-flex;
  flex-direction: column;
  max-width: 480px;
  backdrop-filter: blur(2px);
}

.hero__price-value {
  color: var(--amarillo-fuerte);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__price-note {
  color: var(--blanco);
  font-size: 0.88rem;
  margin-top: 3px;
}

.hero__safety {
  margin-bottom: 20px;
  max-width: 480px;
}

.hero__safety-title {
  color: var(--amarillo-fuerte);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}

.hero__safety-text {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero__flex-line {
  color: var(--blanco);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero__flex-detail {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  max-width: 460px;
  margin-bottom: 22px;
}

.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero .btn--whatsapp {
  background-color: var(--blanco);
  border-color: var(--blanco);
}

/* ===== Nota EPIs / seguridad (debajo del hero) ===== */
.hero-disclaimer {
  background-color: var(--gris-claro);
  padding: 16px 0;
  border-bottom: 1px solid var(--borde);
}

.hero-disclaimer__text {
  color: var(--texto-secundario);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 900px;
}

/* ===== Así de fácil / pasos ===== */
.steps-section .section-header { margin-bottom: 56px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background-color: var(--gris-claro);
  border-radius: var(--radius);
  padding: 36px 28px;
}

.step__number {
  display: block;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--amarillo-fuerte);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--texto-secundario); font-size: 0.95rem; }

.steps-goal {
  text-align: center;
  margin-top: 40px;
  font-weight: 700;
  color: var(--verde-oscuro);
  font-size: 1.05rem;
}

/* ===== Banner de confianza (cifras) ===== */
.trust-banner {
  background-color: var(--verde);
  padding: 48px 0;
}

.trust-banner__inner {
  text-align: center;
}

.trust-banner__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 12px 48px;
  margin-bottom: 16px;
}

.trust-banner__stat {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--amarillo-fuerte);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.trust-banner__tagline {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--amarillo-fuerte);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 auto;
  max-width: 700px;
}

@media (max-width: 640px) {
  .trust-banner { padding: 36px 0; }
  .trust-banner__stats { flex-direction: column; gap: 10px; margin-bottom: 14px; }
  .trust-banner__stat { font-size: 1.7rem; }
  .trust-banner__tagline { font-size: 1.05rem; }
}

/* ===== Perfiles ===== */
.profiles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
  background-color: var(--verde);
  border: none;
  border-radius: var(--radius);
  padding: 24px 20px 22px;
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

.profile-card:hover, .profile-card:focus-visible {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.profile-card__name {
  color: var(--blanco);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.profile-card__media {
  flex: 1;
  width: 100%;
  min-height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.profile-card:hover .profile-card__media img { transform: scale(1.05); }

.profile-card__cta {
  color: var(--amarillo-fuerte);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color var(--transition);
}

.profile-card:hover .profile-card__cta { color: var(--amarillo-suave); }

.profile-card.is-selected {
  box-shadow: 0 0 0 3px var(--amarillo-fuerte);
}

/* ===== Problema / Solución ===== */
.problem { background-color: var(--verde-suave); }

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.problem__text h2 { margin-bottom: 16px; }
.problem__text p { color: var(--texto-secundario); font-size: 1.02rem; }

.problem__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.flow-item {
  background-color: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--grafito);
  text-align: center;
}

.flow-item--final {
  background-color: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
}

.flow-arrow { color: var(--verde); font-weight: 800; font-size: 1.1rem; }

/* ===== Formulario ===== */
.request { background-color: var(--amarillo-suave); }

.request-card {
  background-color: var(--blanco);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-field { display: flex; flex-direction: column; }
.form-field--full { margin-bottom: 22px; }

.form-field label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: var(--grafito);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--borde);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--grafito);
  background-color: var(--blanco);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--verde);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #C24545;
}

#perfil.is-selected {
  box-shadow: 0 0 0 4px var(--amarillo-fuerte);
  border-color: var(--verde);
}

.error-msg {
  color: #C24545;
  font-size: 0.8rem;
  min-height: 18px;
  margin-top: 4px;
}

.form-hint {
  color: var(--texto-secundario);
  font-size: 0.85rem;
  text-align: center;
  margin-top: 14px;
}

.form-status {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 10px;
  min-height: 0;
}

.form-status.is-success { color: var(--verde); }
.form-status.is-error { color: #C24545; }

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ===== Qué hacemos por ti ===== */
.what-we-do { background-color: var(--gris-claro); }

.wwd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.wwd-card {
  background-color: var(--blanco);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--borde);
}

.wwd-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--verde);
  margin-bottom: 12px;
}

.wwd-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.wwd-card p { color: var(--texto-secundario); font-size: 0.9rem; }

/* ===== Precio claro (seccion detallada) ===== */
.pricing-detail { background-color: var(--verde-suave); }

.pricing-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pricing-detail__left { text-align: left; }

.pricing-detail__title {
  margin-bottom: 24px;
  line-height: 1.2;
}

.pricing-detail__right { display: flex; justify-content: center; }

.pricing-detail__card {
  background-color: var(--blanco);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 48px;
  max-width: 720px;
  width: 100%;
  text-align: center;
}

/* ===== Calculadora de precio ===== */
.price-calc {
  background-color: var(--blanco);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
}

.price-calc__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--verde-oscuro);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.price-calc__subtitle {
  color: var(--texto-secundario);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.price-calc__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.price-calc__field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--texto-secundario);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.price-calc__field input {
  width: 100%;
  border: 1px solid var(--borde);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--grafito);
  background-color: var(--gris-claro);
  text-align: center;
  transition: border-color var(--transition);
}

.price-calc__field input:focus {
  outline: none;
  border-color: var(--verde);
  background-color: var(--blanco);
}

.price-calc__result {
  background-color: var(--verde-suave);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
  margin-bottom: 16px;
}

.price-calc__result-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.price-calc__result-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.price-calc__result-detail {
  display: block;
  font-size: 0.8rem;
  color: var(--texto-secundario);
  margin-top: 6px;
}

.price-calc__note {
  font-size: 0.84rem;
  color: var(--texto-secundario);
  text-align: center;
  margin-bottom: 18px;
}

.price-calc__btn { width: 100%; justify-content: center; }

.pricing-detail__price {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.pricing-detail__value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: -0.02em;
}

.pricing-detail__label {
  font-weight: 700;
  color: var(--verde-oscuro);
  font-size: 1.02rem;
  margin-top: 4px;
}

.pricing-detail__text {
  color: var(--texto-secundario);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 30px;
}

.pricing-detail__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 34px;
  text-align: left;
}

.pricing-point {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--amarillo-suave);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--grafito);
}

.pricing-point__icon {
  color: var(--verde);
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== Franja destacada de precio ===== */
.price-banner { background-color: var(--amarillo-fuerte); padding: 44px 0; }

.price-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.price-banner__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--verde-oscuro);
}

.price-banner__subtitle {
  color: var(--verde-oscuro);
  opacity: 0.85;
  font-size: 0.98rem;
  margin-top: 2px;
}

/* ===== Diferenciadores ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.diff-card {
  background-color: var(--amarillo-suave);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}

.diff-card--price {
  background-color: var(--verde);
}

.diff-card--price h3 { color: var(--blanco); }
.diff-card--price p { color: rgba(255,255,255,0.85); }

.diff-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--verde-oscuro); }
.diff-card p { color: var(--texto-secundario); font-size: 0.9rem; }

/* ===== CTA final ===== */
.final-cta {
  background-color: var(--verde);
  color: var(--blanco);
  text-align: center;
}

.final-cta h2 { color: var(--blanco); font-size: 2.3rem; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.85); margin-bottom: 34px; font-size: 1.05rem; }

.final-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FAQ ===== */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item { border-bottom: 1px solid var(--borde); }

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--grafito);
  cursor: pointer;
  position: relative;
  padding-right: 34px;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 1.4rem;
  color: var(--verde);
  font-weight: 700;
}

.accordion-header.is-active::after { content: "\2212"; }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-panel p {
  padding: 0 4px 22px;
  color: var(--texto-secundario);
  font-size: 0.95rem;
}

/* ===== Contacto final ===== */
.contact-section { background-color: var(--gris-claro); text-align: center; }
.contact-section__inner { max-width: 640px; }
.contact-section p { color: var(--texto-secundario); margin: 12px 0 32px; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.contact-detail { text-align: center; }

.contact-detail__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-secundario);
  margin-bottom: 4px;
}

.contact-detail a {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--verde-oscuro);
}

.contact-section__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer { background-color: var(--grafito); color: #C7CBC8; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 36px;
}

.footer__logo { font-size: 1.25rem; font-weight: 800; color: var(--blanco); margin-bottom: 10px; }
.footer h4 { color: var(--blanco); font-size: 1rem; margin-bottom: 14px; }
.footer__col p { margin-bottom: 9px; font-size: 0.92rem; }
.footer__col a:hover { color: var(--amarillo-fuerte); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
}

/* ===== Página legal ===== */
.legal-page { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.legal-page h1 { margin-bottom: 20px; }
.legal-page h2 { font-size: 1.2rem; margin: 28px 0 10px; }
.legal-page p, .legal-page li { color: var(--texto-secundario); margin-bottom: 12px; }
.legal-page a.back-link { display: inline-block; margin-bottom: 24px; color: var(--verde); font-weight: 700; }

/* ===== Botón WhatsApp flotante ===== */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.floating-btn:hover { transform: scale(1.06); }

.floating-btn--whatsapp { background-color: #25D366; color: var(--blanco); }

.floating-tooltip {
  background-color: var(--grafito);
  color: var(--blanco);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.floating-whatsapp:hover .floating-tooltip { opacity: 1; transform: translateX(0); }

/* ===== Chatbot ===== */
.chatbot {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chatbot__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--verde);
  color: var(--blanco);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), background-color var(--transition);
  flex-shrink: 0;
}

.chatbot__toggle:hover { transform: scale(1.06); background-color: var(--verde-oscuro); }

.chatbot__toggle.is-hidden { display: none; }

.chatbot__panel {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: auto;
  max-height: 600px;
  background-color: var(--blanco);
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--borde);
}

.chatbot__panel.is-open { display: flex; }

.chatbot__header {
  background-color: var(--verde);
  color: var(--blanco);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.chatbot__title { font-weight: 800; font-size: 0.98rem; }
.chatbot__status { font-size: 0.78rem; color: var(--amarillo-suave); margin-top: 2px; }

.chatbot__close {
  background: none;
  border: none;
  color: var(--blanco);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  opacity: 0.9;
  transition: opacity var(--transition), background-color var(--transition);
  flex-shrink: 0;
}

.chatbot__close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.15);
}

.chatbot__hint {
  position: absolute;
  bottom: 72px;
  right: 0;
  background-color: var(--grafito);
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.chatbot__hint.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chatbot__messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--gris-claro);
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-msg--bot {
  background-color: var(--blanco);
  border: 1px solid var(--borde);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg--user {
  background-color: var(--verde);
  color: var(--blanco);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg--fallback {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg--highlight {
  background-color: var(--verde);
  border: none;
  padding: 14px 16px;
}

.chat-msg__highlight-title {
  color: var(--amarillo-fuerte);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-bottom: 6px;
}

.chat-msg__highlight-subtitle {
  color: var(--blanco);
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-msg .chat-fallback-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.chat-msg .chat-fallback-buttons a {
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
}

.chat-fallback-buttons a.wa { background-color: #25D366; color: var(--blanco); }
.chat-fallback-buttons a.mail { background-color: var(--gris-claro); color: var(--grafito); border: 1px solid var(--borde); }

.chatbot__quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--borde);
  flex-shrink: 0;
  max-height: 33vh;
  overflow-y: auto;
}

.quick-reply-btn {
  background-color: var(--verde-suave);
  color: var(--verde-oscuro);
  border: none;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition);
}

.quick-reply-btn:hover { background-color: var(--amarillo-fuerte); color: var(--verde-oscuro); }

.chatbot__input-row {
  display: flex;
  border-top: 1px solid var(--borde);
  padding: 10px;
  gap: 8px;
  flex-shrink: 0;
}

.chatbot__input-row input {
  flex: 1;
  border: 1.5px solid var(--borde);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
}

.chatbot__input-row input:focus { outline: none; border-color: var(--verde); }

.chatbot__input-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--verde);
  color: var(--blanco);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot__input-row button:hover { background-color: var(--verde-oscuro); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .profiles__grid { grid-template-columns: repeat(3, 1fr); }
  .wwd-grid, .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .problem__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }

  .pricing-detail__grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-detail__right { justify-content: stretch; }
}

@media (max-width: 640px) {
  .nav, .header__actions .btn--primary { display: none; }
  .menu-toggle { display: flex; }

  h2 { font-size: 1.6rem; }

  .hero {
    min-height: 480px;
    align-items: flex-end;
  }
  .hero__inner { padding: 40px 0 44px; }
  .hero h1 { font-size: 1.7rem; }
  .hero__bg-image { object-position: 62% 20%; }
  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(15, 46, 30, 0.92) 0%,
      rgba(15, 46, 30, 0.75) 45%,
      rgba(15, 46, 30, 0.35) 80%,
      rgba(15, 46, 30, 0.15) 100%
    );
  }
  .hero__text { max-width: 100%; }
  .hero__safety { max-width: 100%; margin-bottom: 16px; }
  .hero__safety-title { font-size: 1.25rem; }
  .hero__safety-text { max-width: 100%; font-size: 0.86rem; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; }
  .hero-disclaimer__text { font-size: 0.78rem; }

  .profiles__grid { grid-template-columns: repeat(2, 1fr); }
  .profile-card { min-height: 300px; padding: 20px 14px 18px; }
  .profile-card__media { min-height: 130px; }
  .wwd-grid, .diff-grid { grid-template-columns: 1fr; }

  .request-card { padding: 28px 20px; }

  .pricing-detail__card { padding: 28px 20px; }
  .pricing-detail__points { grid-template-columns: 1fr; }
  .pricing-detail__value { font-size: 2.2rem; }
  .price-calc { padding: 22px 18px; }
  .price-calc__fields { gap: 8px; }
  .price-calc__field input { padding: 9px 4px; font-size: 0.92rem; }
  .price-calc__result-value { font-size: 2rem; }
  .price-banner__inner { text-align: center; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; }

  .chatbot__panel {
    width: calc(100vw - 24px);
    max-width: 420px;
    right: 0;
    bottom: 70px;
    height: auto;
    max-height: 75vh;
    max-height: 75dvh;
    border-radius: 16px;
  }

  .floating-whatsapp { right: 12px; bottom: 16px; }
  .chatbot { right: 12px; bottom: 84px; }
  .chatbot__hint { bottom: 66px; right: 0; max-width: calc(100vw - 24px); white-space: normal; }
  .chatbot__input-row input { font-size: 16px; }
}
