/* ============================================================================
   HotelInfo by Socassat — Landing page
   Pure CSS, no preprocessor required. Inline-able and Apache-ready.
   ============================================================================ */

:root {
  /* Brand palette */
  --primary: #0A4D6F;
  --primary-dark: #073850;
  --primary-soft: #E6EEF3;
  --primary-rgb: 10, 77, 111;

  --accent: #FFB800;
  --accent-dark: #E5A600;

  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;

  --white: #FFFFFF;
  --success: #10B981;

  /* Typography scale (clamp for fluid responsive sizes) */
  --fs-hero: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  --fs-h2:   clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
  --fs-h3:   clamp(1.35rem, 1rem + 1vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing */
  --gap-xs: 0.5rem;
  --gap-sm: 0.75rem;
  --gap-md: 1rem;
  --gap-lg: 1.5rem;
  --gap-xl: 2.5rem;
  --gap-xxl: 5rem;

  /* Radius */
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1.25rem;
  --r-xl: 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 15px -3px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   RESET + BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink-900);
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--accent); color: var(--ink-900); }

/* ============================================================================
   LAYOUT UTILITIES
   ============================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap-lg);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--gap-xxl) 0; }
.section--tight { padding: var(--gap-xl) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--gap-md);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  line-height: 1.5;
  max-width: 60ch;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-xl);
}
.section-header .lead { margin: var(--gap-md) auto 0; }

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.nav.is-scrolled { border-bottom-color: var(--ink-100); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-md) var(--gap-lg);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink-900);
}
.nav__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 0.85rem;
}
.nav__links {
  display: flex;
  gap: var(--gap-lg);
  align-items: center;
}
.nav__links a {
  font-size: 0.95rem;
  color: var(--ink-700);
  font-weight: 500;
}
.nav__lang {
  display: inline-flex;
  gap: 0.2rem;
  padding: 3px;
  background: var(--ink-100);
  border-radius: 999px;
  align-items: center;
}
.nav__lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav__lang a img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  opacity: 0.55;
  transition: opacity var(--transition);
}
.nav__lang a:hover { transform: scale(1.1); }
.nav__lang a:hover img { opacity: 1; }
.nav__lang a.is-active {
  background: white;
  box-shadow: var(--shadow-sm);
}
.nav__lang a.is-active img { opacity: 1; }
/* Socassat link — bold, uppercase, brand blue (matches the Socassat logo) */
.nav__socassat {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1e3c8c;
}
.nav__socassat:hover {
  color: #142a63;
}
.nav__cta {
  background: var(--ink-900);
  color: white !important;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav__cta:hover { background: var(--primary); transform: translateY(-1px); }

.nav__burger { display: none; padding: 0.5rem; }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: var(--gap-md);
    border-top: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
  }
  .nav__links.is-open a { padding: 0.75rem 0; border-bottom: 1px solid var(--ink-100); }
  .nav__links.is-open a:last-child { border-bottom: 0; }
  .nav__links.is-open .nav__lang { margin-top: var(--gap-sm); justify-content: center; }
  /* Language flags stay in a row (no stacking / no per-flag borders) in mobile menu */
  .nav__links.is-open .nav__lang a { padding: 0; border-bottom: 0; }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--ink-900);
  color: white;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}
.btn--primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}
.btn--accent {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
}
.btn--accent:hover {
  background: var(--accent-dark);
  color: var(--ink-900);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn--ghost:hover {
  border-color: var(--ink-900);
  background: var(--ink-50);
}
.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.0625rem; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 7rem);
  background: linear-gradient(180deg, #FAFCFE 0%, #F3F8FB 50%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead, .hero__title { margin-left: auto; margin-right: auto; }
}
.hero__title {
  margin-bottom: var(--gap-lg);
  max-width: 18ch;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  max-width: 52ch;
  margin-bottom: var(--gap-xl);
  line-height: 1.5;
}
.hero__ctas {
  display: flex;
  gap: var(--gap-md);
  flex-wrap: wrap;
}
@media (max-width: 960px) { .hero__ctas { justify-content: center; } }

.hero__trust {
  display: flex;
  gap: var(--gap-lg);
  margin-top: var(--gap-xl);
  flex-wrap: wrap;
}
@media (max-width: 960px) { .hero__trust { justify-content: center; } }
.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__trust-item strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.hero__trust-item span {
  font-size: 0.8rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Mockup phone — used in hero + features */
.phone {
  position: relative;
  width: clamp(260px, 28vw, 340px);
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 44px;
  background: #0F172A;
  padding: 12px;
  box-shadow:
    var(--shadow-xl),
    inset 0 0 0 2px rgba(255,255,255,0.08);
  transform: rotate(-2deg);
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.phone:hover { transform: rotate(0deg) translateY(-8px); }
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 26px;
  background: #0F172A;
  border-radius: 14px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink-50);
}

/* Phone screen content variants */
.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
}

/* Real product screenshot — the entire phone screen IS the screenshot.
   Used when we want fidelity to the actual product (no CSS reproduction).
   Combine with .phone-screen--photo and set background-image on the parent. */
.phone-screen--photo {
  display: block;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* ─── HOME mockup — large stacked image cards (matches real product) ──── */
.phone-screen--home .phone-screen__hero {
  position: relative;
  min-height: 38%;
  border-radius: 0 0 18px 18px;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.55) 100%),
                    url('https://images.unsplash.com/photo-1564501049412-61c2a3083791?w=600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 36px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.phone-screen__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  width: fit-content;
}
.phone-screen__chip::before { content: '✦'; font-size: 9px; }
.phone-screen__hero-title-big {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 4px;
}
.phone-screen__body {
  padding: 14px;
  flex: 1;
  overflow: hidden;
  background: white;
}
.phone-screen__section-eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 4px 0 4px;
}
.phone-screen__section-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-bottom: 12px;
}
.phone-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: var(--ink-100);
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.phone-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}
.phone-card__icon {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: white;
  z-index: 2;
}
.phone-card__icon svg { width: 11px; height: 11px; }
.phone-card__arrow {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2D7AB8;
  display: grid;
  place-items: center;
  color: white;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
}
.phone-card__label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  z-index: 2;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Photo backgrounds for each home card */
.phone-card--welcome { background-image: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=600&q=80'); }
.phone-card--facilities { background-image: url('https://images.unsplash.com/photo-1535827841776-24afc1e255ac?w=600&q=80'); }
.phone-card--menu-pool { background-image: url('https://images.unsplash.com/photo-1571902943202-507ec2618e8f?w=600&q=80'); }
.phone-card--wine { background-image: url('https://images.unsplash.com/photo-1547595628-c61a29f496f0?w=600&q=80'); }
.phone-card--takeaway { background-image: url('https://images.unsplash.com/photo-1539252554935-80c8cb536cca?w=600&q=80'); }
.phone-card--services { background-image: url('https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?w=600&q=80'); }

/* ─── RESTAURANT menu mockup — matches the real product styling ────────── */
.phone-screen--restaurant .phone-screen__hero {
  position: relative;
  min-height: 25%;
  background-image: linear-gradient(180deg, rgba(45,122,184,0.85) 0%, rgba(45,122,184,0.75) 100%),
                    url('https://images.unsplash.com/photo-1571902943202-507ec2618e8f?w=600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.phone-screen--restaurant .phone-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: #2D7AB8;
}
.phone-screen--restaurant .phone-icon-circle svg { width: 16px; height: 16px; }
.phone-screen--restaurant .phone-screen__hero-title-big { font-size: 22px; }
.phone-menu-section-title {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--ink-500);
  padding: 10px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  margin: 4px 0 8px;
}
.phone-menu-dish {
  position: relative;
  background: white;
  border-radius: 8px;
  padding: 9px 10px 9px 14px;
  margin-bottom: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.phone-menu-dish::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: #2D7AB8;
}
.phone-menu-dish--wine::before { background: #8b2538; }
.phone-menu-dish__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.phone-menu-dish__name {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.phone-menu-dish__price {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.phone-menu-dish__desc {
  font-size: 8.5px;
  color: var(--ink-500);
  margin-top: 2px;
  line-height: 1.3;
}
.phone-menu-dish__allergens {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.phone-allergen {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  font-size: 8px;
  color: var(--ink-500);
}

/* ─── WINE list mockup — DO badges + same dish cards ────────────────── */
.phone-screen--wine .phone-screen__hero {
  background-image: linear-gradient(180deg, rgba(64,16,28,0.85) 0%, rgba(64,16,28,0.75) 100%),
                    url('https://images.unsplash.com/photo-1547595628-c61a29f496f0?w=600&q=80');
}
.phone-screen--wine .phone-icon-circle { color: #8b2538; }
.phone-wine-do {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 6px 2px;
}
.phone-wine-do__bar {
  flex: 1;
  height: 1px;
  background: var(--ink-100);
}
.phone-wine-do__label {
  font-size: 9.5px;
  font-weight: 700;
  color: #8b2538;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── ANALYTICS mockup — more detail ─────────────────────────────────── */
.phone-screen--analytics .phone-screen__hero {
  background: linear-gradient(135deg, #0A4D6F 0%, #1F6F95 100%);
  min-height: 22%;
  padding: 28px 18px 14px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.phone-screen--analytics .phone-screen__hero-eyebrow {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.85;
  margin-bottom: 4px;
  font-weight: 700;
}
.phone-screen--analytics .phone-screen__hero-title-big { font-size: 19px; }
.phone-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.phone-kpi {
  background: var(--ink-50);
  border-radius: 8px;
  padding: 7px 8px;
}
.phone-kpi__value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.phone-kpi__delta {
  font-size: 8px;
  font-weight: 700;
  color: #10b981;
  margin-left: 4px;
}
.phone-kpi__label {
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-top: 1px;
}
.phone-chart {
  background: var(--ink-50);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 8px;
}
.phone-chart__label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 5px;
}
.phone-chart__viz {
  height: 38px;
  position: relative;
}
.phone-chart__viz svg { width: 100%; height: 100%; }
.phone-langs {
  background: var(--ink-50);
  border-radius: 8px;
  padding: 8px;
}
.phone-lang-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 8.5px;
}
.phone-lang-row:last-child { margin-bottom: 0; }
.phone-lang-row__flag { font-size: 12px; }
.phone-lang-row__name {
  font-weight: 700;
  color: var(--ink-900);
  width: 50px;
}
.phone-lang-row__bar {
  flex: 1;
  height: 5px;
  background: var(--ink-100);
  border-radius: 999px;
  overflow: hidden;
}
.phone-lang-row__fill {
  height: 100%;
  background: linear-gradient(90deg, #0A4D6F, #2D7AB8);
  border-radius: 999px;
}
.phone-lang-row__pct {
  font-weight: 700;
  color: var(--ink-500);
  font-size: 8px;
  width: 24px;
  text-align: right;
}

/* Incidents screen variant — for the new "guest complaints / room issues"
   feature split. Shows a list of resolved/open tickets like the real product. */
.phone-screen--incidents .phone-screen__hero {
  background: linear-gradient(135deg, #A4422A 0%, #d97559 100%);
  min-height: 28%;
}
.phone-incident {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--ink-50);
  margin-bottom: 6px;
  align-items: center;
}
.phone-incident__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #f59e0b;
}
.phone-incident__dot--done { background: #10b981; }
.phone-incident__info { flex: 1; min-width: 0; }
.phone-incident__title {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}
.phone-incident__meta {
  font-size: 7.5px;
  color: var(--ink-500);
  margin-top: 1px;
  letter-spacing: 0.01em;
}
.phone-incident__time {
  font-size: 8px;
  font-weight: 600;
  color: var(--ink-500);
}
.phone-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.phone-kpi {
  background: var(--ink-50);
  border-radius: 8px;
  padding: 8px 6px;
}
.phone-kpi__value {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.phone-kpi__label {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-top: 2px;
}
.phone-chart {
  height: 60px;
  background: var(--ink-50);
  border-radius: 8px;
  padding: 8px;
  position: relative;
  overflow: hidden;
}
.phone-chart svg { width: 100%; height: 100%; }

/* ============================================================================
   FEATURES
   ============================================================================ */
.features {
  background: var(--white);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}
@media (max-width: 880px) { .features__grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--gap-xl);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--gap-md);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: var(--gap-sm); }
.feature-card p { color: var(--ink-500); }

/* ============================================================================
   HOW IT WORKS — Stepped layout with connecting line
   ============================================================================ */
.how {
  background: var(--ink-50);
  position: relative;
  overflow: hidden;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-xl);
  position: relative;
}
@media (max-width: 880px) { .how__steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: white;
  padding: var(--gap-xl);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute;
  top: -18px;
  left: var(--gap-xl);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-900);
  color: white;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}
.step h3 { margin: var(--gap-sm) 0 var(--gap-sm); }
.step p { color: var(--ink-500); }

/* ============================================================================
   MODULES SHOWCASE — grid + alternating split rows
   ============================================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap-md);
}
.module-pill {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--gap-md);
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  transition: all var(--transition);
}
.module-pill:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.module-pill__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.module-pill__icon svg { width: 18px; height: 18px; }
.module-pill__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
  line-height: 1.25;
}

/* Alternating feature rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: var(--gap-xxl) 0;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; padding: var(--gap-xl) 0; }
}
.split__reverse .split__media { order: 2; }
@media (max-width: 880px) { .split__reverse .split__media { order: 0; } }

.split__title { margin-bottom: var(--gap-md); }
.split__list { margin-top: var(--gap-lg); }
.split__list li {
  display: flex;
  gap: var(--gap-sm);
  padding: var(--gap-sm) 0;
  color: var(--ink-700);
}
.split__list li::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A4D6F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--primary-soft);
  margin-top: 2px;
}

/* ============================================================================
   PRICING
   ============================================================================ */
.pricing {
  background: linear-gradient(180deg, white 0%, var(--ink-50) 100%);
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) { .pricing__grid { grid-template-columns: 1fr; } }

.plan {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: var(--gap-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--featured {
  border-color: var(--ink-900);
  box-shadow: var(--shadow-md);
}
.plan--featured::before {
  content: 'Más popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-900);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan__name {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: var(--gap-sm);
}
.plan__price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
}
.plan__price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0;
}
.plan__desc {
  color: var(--ink-500);
  font-size: 0.95rem;
  margin: var(--gap-sm) 0 var(--gap-lg);
}
.plan__features {
  flex: 1;
  margin: 0 0 var(--gap-lg);
}
.plan__features li {
  padding: var(--gap-sm) 0;
  display: flex;
  gap: var(--gap-sm);
  color: var(--ink-700);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--ink-100);
}
.plan__features li:last-child { border-bottom: 0; }
.plan__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230A4D6F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 3px;
}

.pricing__note {
  text-align: center;
  margin-top: var(--gap-xl);
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq { background: white; }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--ink-100);
}
.faq__item:first-child { border-top: 1px solid var(--ink-100); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: var(--gap-lg) 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}
.faq__q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink-500);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq__item.is-open .faq__q::after {
  content: '−';
  color: var(--primary);
}
.faq__a {
  padding: 0 0 var(--gap-lg);
  color: var(--ink-500);
  line-height: 1.6;
  display: none;
}
.faq__item.is-open .faq__a { display: block; animation: fadeIn 200ms ease-out; }

/* ============================================================================
   CTA SECTION (final)
   ============================================================================ */
.cta-final {
  background: var(--ink-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, transparent 60%);
}
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4) 0%, transparent 60%);
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-final h2 { color: white; margin-bottom: var(--gap-md); }
.cta-final p {
  font-size: var(--fs-lead);
  opacity: 0.8;
  margin-bottom: var(--gap-xl);
}
.cta-final .btn--primary {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
}
.cta-final .btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 30px rgba(255, 184, 0, 0.5);
}

/* ============================================================================
   CONTACT FORM
   ============================================================================ */
.contact {
  background: var(--ink-50);
  padding: var(--gap-xxl) 0;
}
.contact-form {
  max-width: 580px;
  margin: 0 auto;
  background: white;
  padding: var(--gap-xl);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.contact-form__row {
  display: grid;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}
@media (min-width: 600px) {
  .contact-form__row--2 { grid-template-columns: 1fr 1fr; }
}
.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 1rem;
  background: white;
  color: var(--ink-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form__submit { margin-top: var(--gap-md); width: 100%; }
.contact-form__note {
  font-size: 0.85rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: var(--gap-md);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: var(--gap-xxl) 0 var(--gap-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-xl);
  margin-bottom: var(--gap-xl);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 800;
  margin-bottom: var(--gap-md);
}
.footer__brand .nav__brand-mark { background: white; color: var(--ink-900); }
.footer__about { color: var(--ink-400); font-size: 0.9rem; max-width: 30ch; }

.footer__col-title {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--gap-md);
}
.footer__col a {
  display: block;
  color: var(--ink-400);
  padding: 0.25rem 0;
  font-size: 0.9rem;
}
.footer__col a:hover { color: white; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--gap-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-400);
  gap: var(--gap-md);
  flex-wrap: wrap;
}
.footer__bottom a { color: var(--ink-400); }
.footer__bottom a:hover { color: white; }

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
}
.fade-up.is-visible {
  animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger children animation */
.fade-up.is-visible:nth-child(1) { animation-delay: 0ms; }
.fade-up.is-visible:nth-child(2) { animation-delay: 80ms; }
.fade-up.is-visible:nth-child(3) { animation-delay: 160ms; }
.fade-up.is-visible:nth-child(4) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .phone { transform: none; }
}

/* ─── SEO long-tail intro block (discreet, above footer) ──────────────── */
.seo-note {
  background: var(--ink-50, #f8fafc);
  border-top: 1px solid var(--ink-100, #eef2f6);
}
.seo-note__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}
.seo-note h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-700, #334155);
  margin: 0 0 0.75rem;
}
.seo-note p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-500, #64748b);
  margin: 0 0 0.6rem;
}

/* ─── Floating WhatsApp button (like the WordPress plugin) ────────────── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 0;
  width: 58px;
  height: 58px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  overflow: hidden;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
  white-space: nowrap;
}
.wa-float__icon {
  min-width: 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}
.wa-float__icon svg { width: 30px; height: 30px; fill: #fff; }
.wa-float__label {
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  padding-right: 4px;
  transition: opacity 0.2s 0.1s;
}
/* Expand on hover (desktop) */
@media (hover: hover) {
  .wa-float:hover {
    width: 210px;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
  }
  .wa-float:hover .wa-float__label { opacity: 1; }
}
/* Gentle pulse to draw attention */
@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: wa-pulse 2.8s infinite; }
.wa-float:hover { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; transition: none; }
}

/* ─── Legal pages (privacy, legal notice) ────────────────────────────── */
.legal-header {
  background: var(--primary, #0A4D6F);
  color: #fff;
  padding: 1rem 0;
}
.legal-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}
.legal-header__brand .nav__brand-mark {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.legal-header__back {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}
.legal-header__back:hover { opacity: 1; }
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.legal h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900, #0f172a);
  margin: 0 0 0.4rem;
}
.legal__updated {
  font-size: 0.85rem;
  color: var(--ink-500, #64748b);
  margin: 0 0 2rem;
}
.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900, #0f172a);
  margin: 2rem 0 0.6rem;
}
.legal h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-700, #334155);
  margin: 1.4rem 0 0.4rem;
}
.legal p, .legal li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-700, #334155);
}
.legal p { margin: 0 0 0.9rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--primary, #0A4D6F); }
.legal strong { color: var(--ink-900, #0f172a); }
.legal__todo {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 0.15rem 0.4rem;
  font-size: 0.9em;
  color: #8a6d00;
  font-weight: 600;
}
.legal__box {
  background: var(--ink-50, #f8fafc);
  border: 1px solid var(--ink-100, #eef2f6);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}
.legal__box p:last-child { margin-bottom: 0; }

/* ─── Contact form status message (success / error) ──────────────────── */
.contact-form__status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}
.contact-form__status--ok {
  background: #e7f7ee;
  border: 1px solid #a7e0c0;
  color: #12693f;
}
.contact-form__status--err {
  background: #fdecea;
  border: 1px solid #f5c2bd;
  color: #a32219;
}
/* Honeypot — hidden from humans, bots fill it and get rejected */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
