/* ── Premium redesign layer ── */

:root {
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-soft: #fff7ed;
  --surface: #ffffff;
  --surface-muted: #f8fbff;
  --section-gap: clamp(72px, 9vw, 108px);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 48px;
  --text-balance: balance;
}

/* Typography & rhythm */
body {
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, .section-head h2, .split h2, .cta h2 {
  text-wrap: var(--text-balance);
}

p, .muted, li {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

section {
  padding: var(--section-gap) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head .eyebrow,
.page-hero .eyebrow {
  letter-spacing: 0.22em;
}

/* Header premium */
.topbar {
  background: rgba(7, 24, 47, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
}

.topbar.is-scrolled {
  background: rgba(7, 24, 47, 0.96);
  box-shadow: 0 12px 40px rgba(7, 24, 47, 0.18);
}

.menu a {
  transition: color 0.2s ease;
}

.menu a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #fb923c);
}

/* CTA buttons — conversion accent */
.btn-orange {
  background: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-orange:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.38);
}

.hero .btn-light,
.page-hero .btn-light {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero .btn-light:hover,
.page-hero .btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Hero premium */
.hero {
  min-height: clamp(620px, 88vh, 860px);
}

.hero::after {
  background:
    radial-gradient(circle at 78% 18%, rgba(249, 115, 22, 0.14), transparent 22rem),
    radial-gradient(circle at 12% 0%, rgba(11, 98, 196, 0.4), transparent 26rem),
    linear-gradient(135deg, rgba(7, 24, 47, 0.97), rgba(7, 24, 47, 0.9) 45%, rgba(13, 47, 95, 0.72));
}

.hero-grid {
  align-items: center;
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero .actions .btn {
  min-width: min(100%, 220px);
  padding: 16px 28px;
  font-size: 15px;
}

.benefits {
  gap: 10px;
  margin-top: clamp(28px, 4vw, 40px);
}

.benefits span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.35;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.hero-card {
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(12px, 2vw, 18px);
  box-shadow: 0 32px 80px rgba(7, 24, 47, 0.28);
}

.hero-card img {
  border-radius: clamp(18px, 2vw, 28px);
  height: clamp(320px, 38vw, 460px);
}

/* Storage cards — wider, taller, premium */
#trasteros .storage-grid,
.shell > .storage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
  max-width: 1120px;
  margin-inline: auto;
}

.storage {
  border-radius: clamp(24px, 2.5vw, 32px);
  border: 1px solid rgba(13, 47, 95, 0.07);
  box-shadow:
    0 4px 6px rgba(7, 24, 47, 0.03),
    0 20px 50px rgba(7, 24, 47, 0.08);
  overflow: hidden;
}

.storage:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow:
    0 8px 16px rgba(7, 24, 47, 0.06),
    0 32px 64px rgba(7, 24, 47, 0.12);
}

.storage img {
  height: clamp(220px, 28vw, 300px);
  object-fit: cover;
}

.storage-body {
  padding: clamp(24px, 3vw, 32px);
  gap: 4px;
}

.storage h3 {
  font-size: clamp(22px, 2.5vw, 26px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.storage .tag {
  margin-bottom: 4px;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.03em;
  margin: 16px 0 12px;
  color: var(--navy);
}

.storage ul {
  margin: 0 0 20px;
  padding-left: 1.1em;
  line-height: 1.7;
}

.storage .btn-orange {
  margin-top: auto;
  width: 100%;
  min-height: 52px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Ventajas cards */
#ventajas .card-grid,
.readable-section .card-grid {
  gap: clamp(20px, 2.5vw, 28px);
}

#ventajas .card,
.readable-section .card-grid .card {
  padding: clamp(28px, 3vw, 36px);
  border-radius: clamp(22px, 2.5vw, 28px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 47, 95, 0.07);
  box-shadow: 0 12px 40px rgba(7, 24, 47, 0.06);
}

#ventajas .card .icon,
.readable-section .card .icon {
  width: 56px;
  height: 56px;
  font-size: 22px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--blue-light), #fff);
  border: 1px solid var(--blue-soft);
  box-shadow: 0 8px 20px rgba(11, 98, 196, 0.1);
}

#ventajas .card h3,
.readable-section .card h3 {
  font-size: clamp(19px, 2vw, 22px);
  margin-bottom: 12px;
}

#ventajas .card p,
.readable-section .card p {
  line-height: 1.75;
  flex: 1;
}

/* FAQ accordion premium */
#faq details,
.readable-section details,
.faq-list details {
  padding: 0;
  margin-bottom: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#faq summary,
.readable-section summary,
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

#faq summary:hover,
.readable-section summary:hover {
  background: var(--surface-muted);
}

#faq summary::after,
.readable-section summary::after {
  content: "+";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
  float: none;
  transition: transform 0.25s ease, background 0.2s ease;
}

#faq details[open] summary::after,
.readable-section details[open] summary::after {
  content: "−";
  background: var(--accent-soft);
  color: var(--accent-dark);
}

#faq details[open] summary,
.readable-section details[open] summary {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
}

#faq details p,
.readable-section details p {
  padding: 20px 26px 26px;
  margin: 0;
  line-height: 1.75;
}

#faq .split,
.readable-section .split {
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Calculator & CTA blocks */
.calculator {
  border-radius: clamp(28px, 3vw, 36px);
  padding: clamp(32px, 4vw, 48px);
}

.result {
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cta {
  border-radius: clamp(28px, 3vw, 36px);
  padding: clamp(36px, 4vw, 52px);
}

/* Forms premium */
#contact-form label {
  display: block;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  border-radius: 16px;
  border-color: #d5deea;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

#form-notice {
  border-left: 4px solid var(--accent);
}

/* Cookie banner */
.cookie {
  padding: clamp(16px, 3vw, 22px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -24px 60px rgba(7, 24, 47, 0.1);
}

.cookie-inner {
  gap: clamp(16px, 3vw, 24px);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

/* Footer polish */
.footer {
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  gap: clamp(24px, 4vw, 40px);
}

/* Page hero subpages */
.page-hero {
  padding: clamp(56px, 8vw, 88px) 0;
}

.page-hero h1 {
  max-width: 16ch;
  text-wrap: balance;
}

/* White band sections */
.white-band {
  background: linear-gradient(180deg, #fff 0%, #f4f9ff 55%, #eef4fb 100%);
}

/* Geo cards */
.geo-card {
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Trust bar under hero stats */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.hero-trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.25);
}

/* Responsive premium */
@media (max-width: 980px) {
  #trasteros .storage-grid,
  .shell > .storage-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .storage img {
    height: clamp(200px, 52vw, 280px);
  }

  #ventajas .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero .actions .btn {
    width: 100%;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }

  .benefits span {
    font-size: 12px;
    min-height: 48px;
    padding: 10px 12px;
  }

  #faq summary,
  .readable-section summary {
    padding: 18px 20px;
    font-size: 16px;
  }

  #faq details p,
  .readable-section details p {
    padding: 16px 20px 22px;
  }
}

@media (min-width: 1400px) {
  .shell {
    width: min(1240px, calc(100% - 48px));
  }
}

/* Mobile menu premium */
.mobile-menu-inner {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mobile-menu-scroll a {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(7, 24, 47, 0.04);
}

.mobile-menu-scroll a:hover {
  border-color: rgba(249, 115, 22, 0.25);
  background: var(--accent-soft);
}

.contact-card {
  border-radius: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.wa-float {
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Ventajas y FAQ: textos siempre visibles */
.readable-section .reveal,
#ventajas .reveal,
#faq .reveal {
  opacity: 1 !important;
  transform: none !important;
}
