/* PersalOne Landing — Page Styles
   Requires: styles/tokens.css
   Paleta: --ps-green / --ps-ocre / --ps-bg. Navy solo para footer.
   0 azules prohibidos. 0 inline styles en HTML. */

/* ── RESET GLOBAL ENLACES ────────────────────────────────────── */
a { color: #285633; text-decoration: none; }

/* Overrides explícitos — especificidad + !important donde hace falta */
.btn-primary,
.btn-primary:link,
.btn-primary:visited { color: var(--ps-white) !important; }

.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited { color: var(--ps-grey-700); }

/* ── TIPOGRAFÍA GLOBAL ───────────────────────────────────────── */
h1, h2 {
  color: var(--ps-green);
  font-weight: var(--fw-heavy);
}

h3, h4 {
  color: var(--ps-green);
  font-weight: var(--fw-bold);
}

/* Hero h1: override para fondo verde */
.l-hero h1 { color: var(--ps-white); }

/* ── APP SCREENSHOT (sin frame — estilo oficial equipo) ──────── */
.app-screenshot {
  border-radius: 16px;
  border: 1px solid rgba(40,86,51,0.12);
  box-shadow: 0 8px 24px rgba(40,86,51,0.10);
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 16px auto 0;
}

/* Feature cards: pantalla completa sin recorte */
.l-feature-card .app-screenshot {
  max-width: 200px;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 670;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(40,86,51,0.10);
  margin: 16px auto 0;
  display: block;
}

/* ── ANIMACIONES ─────────────────────────────────────────────── */
@keyframes underlineSlide {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll reveal — simple */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal — enhanced (blur + scale + stagger) */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-hidden.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger delays — feature cards */
.l-features-grid .l-feature-card:nth-child(1) { transition-delay: 0s; }
.l-features-grid .l-feature-card:nth-child(2) { transition-delay: 0.1s; }
.l-features-grid .l-feature-card:nth-child(3) { transition-delay: 0.2s; }
.l-features-grid .l-feature-card:nth-child(4) { transition-delay: 0.3s; }
.l-features-grid .l-feature-card:nth-child(5) { transition-delay: 0.4s; }
.l-features-grid .l-feature-card:nth-child(6) { transition-delay: 0.5s; }
.l-features-grid .l-feature-card:nth-child(7) { transition-delay: 0.6s; }
.l-features-grid .l-feature-card:nth-child(8) { transition-delay: 0.7s; }

/* Reduced motion: cancelar todo */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-hidden {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.l-section {
  padding: var(--sp-16) 0;
}

.l-section--alt {
  background: var(--ps-grey-100);
}

.l-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-heavy);
  color: var(--ps-green);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.l-section__subtitle {
  font-size: var(--text-lg);
  color: var(--ps-grey-700);
  text-align: center;
  margin-bottom: var(--sp-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Divisor decorativo ocre */
.l-section-divider {
  width: 48px;
  height: 3px;
  background: var(--ps-ocre);
  border-radius: var(--r-full);
  margin: var(--sp-3) auto var(--sp-10);
  transform-origin: left;
  animation: slideInBar 0.8s ease forwards;
}

/* ── SKIP LINK ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--ps-ocre);
  color: var(--ps-white);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: top var(--t-fast);
}

.skip-link:focus { top: var(--sp-4); }

/* ── FOCUS ───────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--ps-ocre);
  outline-offset: 2px;
}

/* ── HEADER / NAV ────────────────────────────────────────────── */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ps-white);
  border-bottom: 1px solid var(--ps-grey-100);
  box-shadow: var(--shadow-xs);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-8);
}

.l-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.l-logo__img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.l-wordmark {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.l-wordmark .wm-p,
.l-wordmark .wm-o { color: var(--ps-ocre); }
.l-wordmark .wm-ersal,
.l-wordmark .wm-ne { color: var(--ps-green); }

.l-footer .l-wordmark .wm-ersal,
.l-footer .l-wordmark .wm-ne { color: var(--ps-green); }

.l-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.l-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--ps-grey-700);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}

.l-nav__link:hover {
  color: var(--ps-ocre);
  background: var(--ps-green-05);
}

/* Nav CTA button (reemplaza inline style en header) */
.l-nav__cta {
  font-size: var(--text-sm);
  padding: 8px var(--sp-5);
}

/* Nav mobile CTA link */
.l-nav__link--cta {
  color: var(--ps-green);
  font-weight: var(--fw-semibold);
}

.l-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
  cursor: pointer;
  border-radius: var(--r-md);
}

.l-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ps-green);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.l-nav--mobile {
  display: none;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--ps-grey-100);
  background: var(--ps-white);
}

.l-nav--mobile.is-open { display: flex; }

.l-nav--mobile .l-nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-1);
  width: 100%;
}

.l-nav--mobile .l-nav__link {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  display: block;
}

/* ── LANG SELECTOR ───────────────────────────────────────────── */
.lang-selector { position: relative; flex-shrink: 0; }

.lang-btn {
  display: flex; align-items: center; gap: 4px;
  background: transparent;
  border: 1px solid var(--ps-grey-300);
  color: var(--ps-grey-700);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-family: inherit; font-size: var(--text-sm); font-weight: var(--fw-semibold);
  cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast);
}

.lang-btn:hover {
  background: var(--ps-green-05);
  border-color: var(--ps-green);
  color: var(--ps-green);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--ps-ocre);
  outline-offset: 2px;
}

.lang-arrow { transition: transform var(--t-fast); }
.lang-btn[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--ps-white);
  border: 1px solid var(--ps-grey-300);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  list-style: none; min-width: 160px; z-index: 200; overflow: hidden;
}

.lang-btn[aria-expanded="true"] + .lang-dropdown { display: block; }

.lang-dropdown li {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm); color: var(--ps-grey-700);
  cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
}

.lang-dropdown li:hover { background: var(--ps-grey-100); color: var(--ps-green); }
.lang-dropdown li[aria-selected="true"] { color: var(--ps-green); font-weight: var(--fw-semibold); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--ps-grey-700);
  padding: 10px var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-lg {
  font-size: var(--text-md);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-lg);
}

.btn-primary {
  background: var(--ps-green);
  color: var(--ps-white);
  border-color: var(--ps-green);
}

.btn-primary:hover {
  background: var(--ps-green-light);
  border-color: var(--ps-green-light);
  box-shadow: 0 4px 16px rgba(40,86,51,0.3);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--ps-grey-700);
  border-color: var(--ps-grey-300);
}

.btn-secondary:hover {
  background: var(--ps-bg);
  border-color: var(--ps-grey-700);
}

/* Submit inline (reemplaza inline style contacto) */
.btn--submit {
  align-self: flex-start;
  font-size: var(--text-md);
  padding: var(--sp-4) var(--sp-8);
}

/* ── HERO ────────────────────────────────────────────────────── */
.l-hero {
  background: var(--ps-green);
  padding: 80px 20px 60px;
  overflow-x: hidden;
  position: relative;
}


.l-hero__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: var(--sp-16);
  position: relative;
  z-index: 1;
}

.l-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--ps-ocre);
  background: rgba(201,153,58,0.15);
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.02em;
  border: 1px solid rgba(201,153,58,0.25);
}

.l-hero__title {
  font-size: clamp(26px, 5.5vw, 64px);
  font-weight: var(--fw-heavy);
  color: var(--ps-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  padding: 0 8px;
}

.l-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.l-hero__cta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* CTA principal en hero: ocre con pulso */
.l-hero__cta .btn-primary {
  background: var(--ps-ocre);
  border-color: var(--ps-ocre);
  color: var(--ps-white);
}

.l-hero__cta .btn-primary:hover {
  background: #d4a447;
  border-color: #d4a447;
  box-shadow: 0 4px 20px rgba(201,153,58,0.5);
}

.l-hero__cta .btn-secondary {
  background: transparent;
  color: var(--ps-white);
  border-color: rgba(255,255,255,0.4);
}

.l-hero__cta .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.l-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Frame de teléfono con screenshot real */
.l-hero__phone {
  position: relative;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.45),
    0 8px 24px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotate(-2deg);
  width: 260px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.l-hero__phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  z-index: 1;
}

.l-hero__phone-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

/* Feature card screenshot — via phone-frame (reemplaza l-feature-card__screenshot) */

/* ── TRUST STRIP ─────────────────────────────────────────────── */
.l-trust {
  background: var(--ps-white);
  border-bottom: 1px solid var(--ps-grey-100);
  padding: var(--sp-8) 0;
}

.l-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  text-align: center;
}

.l-trust__stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-lg);
  transition: background var(--t-base);
}

.l-trust__stat:hover { background: var(--ps-grey-100); }

.l-trust__number {
  font-size: var(--text-2xl);
  font-weight: var(--fw-heavy);
  color: var(--ps-ocre);
  letter-spacing: -0.02em;
  line-height: 1;
}

.l-trust__label {
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

/* ── FEATURES GRID ───────────────────────────────────────────── */
.l-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.l-feature-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-grey-100);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.l-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(40,86,51,0.12);
  border-color: var(--ps-grey-300);
}

.l-feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--ps-green-08);
  color: var(--ps-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
  transition: background var(--t-base);
}

.l-feature-card:hover .l-feature-card__icon {
  background: var(--ps-green-12);
}

.l-feature-card__icon svg,
.l-feature-card__icon i {
  width: 24px;
  height: 24px;
}

.l-feature-card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--ps-green);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.l-feature-card__desc {
  font-size: var(--text-md);
  color: var(--ps-grey-700);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.l-feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.l-tag {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--ps-green);
  background: var(--ps-green-05);
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  border: 1px solid var(--ps-green-12);
}

/* ── STEPS (COMO FUNCIONA) ───────────────────────────────────── */
.l-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  position: relative;
}

.l-steps-connector {
  position: absolute;
  top: 32px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--ps-green), rgba(40,86,51,0.2));
  z-index: 0;
}

.l-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.l-step__number {
  width: 64px;
  height: 64px;
  border-radius: var(--r-full);
  background: var(--ps-green);
  color: var(--ps-white);
  font-size: var(--text-xl);
  font-weight: var(--fw-heavy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 4px 16px rgba(40,86,51,0.3);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.l-step:hover .l-step__number {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(40,86,51,0.4);
}

.l-step__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--ps-green);
  margin-bottom: var(--sp-2);
}

.l-step__desc {
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  line-height: 1.6;
}

/* ── FORMS ───────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--ps-grey-700);
}

.form-required {
  color: var(--ps-danger);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--ps-grey-100);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  font-family: inherit;
  color: var(--ps-grey-700);
  background: var(--ps-white);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}

.form-input:focus {
  border-color: var(--ps-green);
  box-shadow: 0 0 0 3px var(--ps-green-08);
}

.form-input::placeholder { color: var(--ps-grey-300); }

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  line-height: 1.5;
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--ps-green);
  cursor: pointer;
}

.form-privacy a {
  color: var(--ps-green);
  text-decoration: underline;
}

/* Notices (JS los gestiona: is-success, is-error) */
.contact-form__notice {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  line-height: 1.5;
  display: none;
}

.contact-form__notice.is-success {
  display: block;
  background: var(--ps-success-bg);
  color: var(--ps-success);
  border: 1px solid rgba(45,122,62,0.25);
}

.contact-form__notice.is-error {
  display: block;
  background: var(--ps-danger-bg);
  color: var(--ps-danger);
  border: 1px solid rgba(180,48,42,0.25);
}

/* ── PLANS SHOWCASE ──────────────────────────────────────────── */
.plans-showcase {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-12);
}

/* ── PLANS GRID ──────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  gap: 24px;
}

.plan-card {
  background: var(--ps-white);
  border: 2px solid var(--ps-grey-100);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(40,86,51,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card--featured {
  border-color: var(--ps-green);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ps-green);
  color: var(--ps-white);
  font-size: 11px;
  font-weight: var(--fw-bold);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.plan-name {
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--ps-green);
  text-align: center;
  margin-bottom: var(--sp-3);
}

.plan-price {
  font-size: 28px;
  font-weight: var(--fw-heavy);
  color: var(--ps-green);
  text-align: center;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.plan-price__suffix {
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  color: var(--ps-grey-700);
}

.plan-desc {
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  text-align: center;
  margin-bottom: var(--sp-6);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  margin-bottom: var(--sp-6);
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.plan-features li i {
  width: 16px;
  height: 16px;
  color: var(--ps-green);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }
}

/* ── CONTACT SECTION ─────────────────────────────────────────── */
.l-contact__inner {
  max-width: 640px;
  margin: 0 auto;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.l-footer {
  background: #FFFFFF;
  color: #285633;
}

.l-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding: var(--sp-16) var(--sp-6) var(--sp-12);
  max-width: 1200px;
  margin: 0 auto;
}

.l-footer .l-logo { margin-bottom: var(--sp-4); }

.l-footer__brand-desc {
  font-size: var(--text-sm);
  color: #285633;
  line-height: 1.65;
  max-width: 240px;
}

.l-footer__col h3 {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: #285633;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-5);
}

.l-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.l-footer__col ul a {
  font-size: var(--text-sm);
  color: #285633 !important;
  text-decoration: none;
  transition: color var(--t-fast);
}

.l-footer__col ul a:hover { opacity: 0.7; }

.l-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.l-footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.l-footer__copyright {
  font-size: var(--text-xs);
  color: #4A4A48;
}

.l-footer__security-txt {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.l-footer__security-txt:hover { opacity: 1; }

/* ── COOKIE BANNER ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, calc(100% - var(--sp-8)));
  background: var(--ps-white);
  border: 1px solid var(--ps-grey-100);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.cookie-banner.is-visible { display: block; }

.cookie-banner__inner { padding: var(--sp-6); }

.cookie-banner__title {
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--ps-green);
  margin-bottom: var(--sp-2);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}

.cookie-banner__text a {
  color: var(--ps-green);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.cookie-banner__button {
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
}

.cookie-banner__button--accept  { background: var(--ps-green); color: var(--ps-white); }
.cookie-banner__button--accept:hover { background: var(--ps-green-light); }
.cookie-banner__button--customize { background: var(--ps-grey-100); color: var(--ps-grey-700); }
.cookie-banner__button--customize:hover { background: var(--ps-grey-300); color: var(--ps-grey-700); }
.cookie-banner__button--reject { background: transparent; color: var(--ps-grey-700); border-color: var(--ps-grey-300); }
.cookie-banner__button--reject:hover { background: var(--ps-grey-100); }
.cookie-banner__button--save { background: var(--ps-green); color: var(--ps-white); }
.cookie-banner__button--save:hover { background: var(--ps-green-light); }
.cookie-banner__button--back { background: var(--ps-grey-100); color: var(--ps-grey-700); }
.cookie-banner__button--back:hover { background: var(--ps-grey-300); }

.cookie-banner__options { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-5); }

.cookie-banner__option {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  cursor: pointer;
}

.cookie-banner__option input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--ps-green);
}

.cookie-banner__option-info { display: flex; flex-direction: column; gap: 2px; }
.cookie-banner__option-label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ps-grey-700); }
.cookie-banner__option-label--disabled { color: var(--ps-grey-700); }
.cookie-banner__option-tag { font-size: var(--text-xs); color: var(--ps-success); background: var(--ps-success-bg); padding: 1px var(--sp-2); border-radius: var(--r-full); margin-left: var(--sp-2); }
.cookie-banner__option-desc { font-size: var(--text-xs); color: var(--ps-grey-700); line-height: 1.4; }
.cookie-banner__customize-actions { display: flex; gap: var(--sp-3); }

/* ── FEATURE IMAGE (optimized card versions) ────────────────── */
.feature-img {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  border: 2px solid var(--ps-grey-100);
  box-shadow: 0 8px 24px rgba(40,86,51,0.12);
  display: block;
  margin: var(--sp-4) auto 0;
  object-fit: cover;
  object-position: top;
}

/* ── APP SHOWCASE CAROUSEL ───────────────────────────────────── */
.app-showcase {
  padding: 80px 0;
  background: var(--ps-bg);
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 280px;
  text-align: center;
}

.carousel-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  display: block;
}

.carousel-caption {
  margin-top: 12px;
  font-size: var(--text-sm);
  color: var(--ps-grey-700);
  font-weight: var(--fw-medium);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ps-grey-300);
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
}

.carousel-dot.active {
  background: var(--ps-green);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .app-showcase { padding: 60px 0; }
  .carousel-slide { flex: 0 0 240px; }
  .carousel-img { height: 160px; }
}

/* ── BACK TO TOP ─────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--ps-green);
  color: var(--ps-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity var(--t-base), transform var(--t-base);
  pointer-events: none;
}

#back-to-top.is-visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-2px); }
#back-to-top svg { width: 20px; height: 20px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .l-hero { padding: 64px 20px 48px; }
  .l-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .l-hero__subtitle { margin-left: auto; margin-right: auto; }
  .l-hero__cta { justify-content: center; }
  .l-hero__visual { display: none; }

  .l-trust__inner { grid-template-columns: repeat(2, 1fr); }
  .l-features-grid { grid-template-columns: repeat(2, 1fr); }
  .l-steps-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
  .l-steps-connector { display: none; }
  .l-footer__inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
}

@media (max-width: 768px) {
  .l-section { padding: var(--sp-12) 0; }
  .l-section__subtitle { margin-bottom: var(--sp-8); }

  .l-header__inner { height: 60px; }
  .l-nav__list { display: none; }
  .l-nav__hamburger { display: flex; }

  .l-hero { padding: 48px 20px 40px; overflow-x: hidden; }
  .l-hero__inner { flex-direction: column; }
  .l-hero__title { text-align: center; width: 100%; }
  .l-section__title { font-size: var(--text-2xl); }

  .l-trust__inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .l-trust__number { font-size: var(--text-xl); }
  .l-features-grid { grid-template-columns: 1fr; }
  .l-steps-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .l-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding: var(--sp-10) var(--sp-6) var(--sp-8);
  }

  .cookie-banner {
    bottom: 0;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    width: 100%;
  }

  #back-to-top { bottom: var(--sp-5); right: var(--sp-5); }
}

@media (max-width: 480px) {
  .l-container { padding: 0 var(--sp-4); }
  .l-hero__cta { flex-direction: column; }
  .l-hero__cta .btn-lg { width: 100%; }
  .l-trust__inner { gap: var(--sp-2); }
}

/* ── APP DOWNLOAD BUTTONS ────────────────────────────────────── */
.app-download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 170px;
  line-height: 1.2;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40, 86, 51, 0.20);
}

.btn-download:focus-visible {
  outline: 2px solid var(--ps-ocre);
  outline-offset: 3px;
}

.btn-ios {
  background-color: transparent;
  color: var(--ps-green);
  border: 2px solid var(--ps-green);
}

.btn-coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-download svg {
  flex-shrink: 0;
}

.btn-download small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-download strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .app-download-buttons { flex-direction: column; }
  .btn-download { width: 100%; justify-content: center; }
}
