/* =============================================
   HASS — Apple AirPods 4 Style System
   ============================================= */

/* Google Fonts loaded via <link> in HTML for better performance */

/* ── Tokens ── */
:root {
  --blue:        #0071e3;
  --blue-hover:  #0077ed;
  --blue-light:  #e8f2ff;
  --dark:        #1d1d1f;
  --darker:      #000000;
  --navy-deep:   #00112b;
  --navy:        #0a1f3c;
  --navy-card:   #0d1f38;
  --navy-black:  #070e1f;
  --white:       #ffffff;
  --gray-bg:     #f5f5f7;
  --gray-mid:    #86868b;
  --gray-light:  #d2d2d7;
  --gray-card:   #fbfbfd;
  --border:      rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.12);
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r-sm:        12px;
  --r-md:        18px;
  --r-lg:        28px;
  --r-xl:        32px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── Typography ── */
.t-eyebrow {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-mid);
}
.t-eyebrow-blue { color: var(--blue); }

.t-hero {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700; line-height: 1.03;
  letter-spacing: -0.025em;
}
.t-display {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.022em;
  padding-bottom: 0.05em;
}
.t-title {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-headline {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.015em;
}
.t-body-large {
  font-size: 1.0625rem; font-weight: 400;
  line-height: 1.65; color: var(--gray-mid);
}
.t-body {
  font-size: 0.9375rem; font-weight: 400;
  line-height: 1.65; color: var(--gray-mid);
}
.t-caption {
  font-size: 0.75rem; font-weight: 400;
  color: var(--gray-mid); line-height: 1.5;
}

.text-white  { color: var(--white) !important; }
.text-dark   { color: var(--dark)  !important; }
.text-blue   { color: var(--blue)  !important; }
.text-gray   { color: var(--gray-mid) !important; }
.text-center { text-align: center; }

/* ── Layout ── */
.container { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.container-lg { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.container-xl { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

/* ── Section backgrounds ── */
.section-white  { background: var(--white); }
.section-gray   { background: var(--gray-bg); }
.section-dark   { background: var(--navy); }
.section-black  { background: var(--navy-deep); }

.section-pad    { padding: 100px 0; }
.section-pad-lg { padding: 130px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── Global Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 48px;
  background: #0a1f3c;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  will-change: transform;
}
.nav-inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 22px;
}
.nav-logo {
  font-size: 1.375rem; font-weight: 800;
  letter-spacing: -0.04em; color: #fff;
  line-height: 1;
}
.nav-logo span { color: #fff; }
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-link {
  padding: 6px 12px;
  font-size: 0.8125rem; font-weight: 400; color: #fff;
  opacity: 0.85; transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-link:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; opacity: 0.85;
  transition: all 0.2s; cursor: pointer;
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.15); opacity: 1; }

/* ── Language Switch ──────────────────────────────────────── */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 980px;
  padding: 3px;
  margin: 0 4px;
  height: 30px;
  flex-shrink: 0;
}
.lang-switch-indicator {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: rgba(255,255,255,0.95);
  border-radius: 980px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.08);
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}
.lang-switch-indicator.pt { transform: translateX(100%); }
.lang-switch-btn {
  position: relative; z-index: 1;
  border: none; background: transparent;
  color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em;
  padding: 0 11px; height: 24px;
  border-radius: 980px; cursor: pointer;
  transition: opacity 0.18s;
  opacity: 0.65;
  line-height: 1;
}
.lang-switch-btn.active { opacity: 1; color: var(--blue); }
.lang-switch-btn:hover:not(.active) { opacity: 0.85; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm); cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 0 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 22px;
  font-size: 1rem; font-weight: 400; color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-lang-btn.active { background: var(--blue) !important; color: #fff !important; }

/* ── Local Nav (product page) ── */
.local-nav {
  position: sticky; top: 48px; z-index: 900;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.local-nav-inner {
  max-width: 980px; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.local-nav-title {
  font-size: 0.875rem; font-weight: 600; color: var(--dark);
}
.local-nav-links {
  display: flex; align-items: center; gap: 0;
}
.local-nav-link {
  padding: 6px 14px;
  font-size: 0.8125rem; color: var(--gray-mid);
  transition: color 0.2s;
}
.local-nav-link:hover { color: var(--dark); }
.local-nav-cta {
  font-size: 0.8125rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 980px;
  font-size: 0.9375rem; font-weight: 400;
  transition: all 0.2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-sm  { padding: 8px 18px; font-size: 0.8125rem; }
.btn-md  { padding: 11px 22px; }
.btn-lg  { padding: 14px 30px; font-size: 1rem; }

.btn-blue {
  background: var(--blue); color: var(--white);
}
.btn-blue:hover { background: var(--blue-hover); }
.btn-blue:active { transform: scale(0.97); }

.btn-dark {
  background: var(--dark); color: var(--white);
}
.btn-dark:hover { background: #2d2d2f; }

.btn-outline-dark {
  background: transparent; color: var(--dark);
  border: 1px solid rgba(0,0,0,0.3);
}
.btn-outline-dark:hover { background: rgba(0,0,0,0.04); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-text-blue  { color: var(--blue);  font-size: 0.9375rem; }
.btn-text-blue:hover  { text-decoration: underline; }
.btn-text-white { color: var(--white); font-size: 0.9375rem; }
.btn-text-white:hover { text-decoration: underline; }

/* ── Hero (black / dark) ── */
.hero-black {
  background: var(--navy-deep);
  padding-top: 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-black-inner {
  padding: 80px 22px 0;
  max-width: 980px; margin: 0 auto;
}
.hero-eyebrow { margin-bottom: 12px; }
.hero-headline { color: var(--white); margin-bottom: 16px; }
.hero-subhead {
  font-size: 1.1875rem; font-weight: 400; line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 580px; margin: 0 auto 36px;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 60px;
}
.hero-product-wrap {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 40px;
}
.hero-product-svg {
  width: 100%; max-width: 760px;
  filter: drop-shadow(0 60px 120px rgba(0,113,227,0.3));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
.hero-product-svg,
.pd-hero-image img {
  will-change: transform;
}

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  gap: 12px;
}
.bento-2col { grid-template-columns: 1fr 1fr; }
.bento-3col { grid-template-columns: 1fr 1fr 1fr; }
.bento-4col { grid-template-columns: repeat(4, 1fr); }
.bento-col-span-2 { grid-column: span 2; }

.bento-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  background: var(--gray-bg);
  min-height: 380px;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.35s var(--ease);
}
.bento-card:hover { transform: scale(1.01); }

.bento-card-dark  { background: var(--navy-card); }
.bento-card-black { background: var(--navy-black); }
.bento-card-blue  { background: var(--blue); }
.bento-card-white { background: var(--white); border: 1px solid var(--border); }

.bento-card-text {
  padding: 36px 36px 0;
  position: relative; z-index: 2;
}
.bento-card-text .t-eyebrow { margin-bottom: 10px; }
.bento-card-text .t-headline { margin-bottom: 8px; }

.bento-card-visual {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  padding: 0 24px; overflow: hidden;
  position: relative;
}
.bento-card-visual img,
.bento-card-visual svg {
  width: 100%; max-width: 340px;
  transition: transform 0.5s var(--ease);
}
.bento-card:hover .bento-card-visual img,
.bento-card:hover .bento-card-visual svg {
  transform: scale(1.04) translateY(-4px);
}

.bento-card-glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}

/* ── Feature Split Section ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 560px;
}
.split-content {
  padding: 80px 60px;
}
.split-visual {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px;
  height: 100%;
}
.split-visual img,
.split-visual svg {
  width: 100%; max-width: 480px;
}

/* ── Feature Callout (Apple-style with large number/icon + text beside image) ── */
.feature-full {
  padding: 100px 0;
  text-align: center;
}
.feature-full .feature-eyebrow { margin-bottom: 12px; }
.feature-full .feature-title   { margin-bottom: 20px; }
.feature-full .feature-body    { max-width: 540px; margin: 0 auto 48px; }
.feature-full-image {
  max-width: 760px; margin: 0 auto;
}
.feature-full-image img,
.feature-full-image svg {
  width: 100%;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.35));
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-dark {
  border-top-color: var(--border-dark);
  border-bottom-color: var(--border-dark);
}
.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item-dark { border-right-color: var(--border-dark); }
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1; color: var(--dark);
}
.stat-num-white { color: var(--white); }
.stat-num span { font-size: 0.55em; color: var(--blue); font-weight: 700; }
.stat-label {
  font-size: 0.8125rem; color: var(--gray-mid);
  margin-top: 8px; line-height: 1.4;
}
.stat-label-white { color: rgba(255,255,255,0.55); }

/* ── Product Section Header ── */
.section-header {
  text-align: center;
  padding-bottom: 60px;
}
.section-header .t-eyebrow { margin-bottom: 12px; }
.section-header .t-display { margin-bottom: 16px; }
.section-header .t-body-large { max-width: 560px; margin: 0 auto; }

/* ── Product Card ── */
.product-card {
  background: var(--gray-bg);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); }

.product-card-visual {
  aspect-ratio: 1 / 0.85;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px 20px;
  position: relative; overflow: hidden;
}
.product-card-visual img,
.product-card-visual svg {
  max-height: 200px; object-fit: contain;
  transition: transform 0.4s var(--ease);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.12));
}
.product-card:hover .product-card-visual img,
.product-card:hover .product-card-visual svg {
  transform: scale(1.05) translateY(-4px);
}

.product-card-info {
  padding: 24px 28px 32px;
  flex: 1; display: flex; flex-direction: column;
}
.product-card-category {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray-mid); margin-bottom: 6px;
}
.product-card-name {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 8px;
}
.product-card-desc {
  font-size: 0.875rem; color: var(--gray-mid);
  line-height: 1.55; margin-bottom: 20px; flex: 1;
}
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-card-price {
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
}

/* ── Comparison Table ── */
.compare-wrap {
  background: var(--navy-deep);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.compare-header {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  padding: 28px 36px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-col-head {
  font-size: 0.8125rem; font-weight: 600; text-align: center;
}
.compare-col-head:first-child { text-align: left; color: rgba(255,255,255,0.35); }
.compare-col-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: #fff; }
.compare-col-price { font-size: 0.875rem; color: var(--blue); font-weight: 600; }
.compare-row {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  padding: 16px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  transition: background 0.15s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(255,255,255,0.03); }
.compare-feature { font-size: 0.875rem; color: rgba(255,255,255,0.45); }
.compare-val {
  font-size: 0.875rem; font-weight: 500; text-align: center; color: rgba(255,255,255,0.75);
}
.compare-check { color: var(--blue); font-size: 1rem; text-align: center; }
.compare-dash  { color: rgba(255,255,255,0.2); text-align: center; font-size: 1rem; }
.compare-highlight-col { background: rgba(0,113,227,0.08); }

/* ── Spec Table ── */
.specs-table-wrap {
  background: var(--navy-deep); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.spec-group-title {
  padding: 20px 32px 12px;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--navy);
}
.spec-row {
  display: grid; grid-template-columns: 1fr 2fr;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 16px; align-items: baseline;
}
.spec-row:last-child { border-bottom: none; }
.spec-key   { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.spec-value { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85); }

/* ── Buy Section ── */
.buy-section {
  padding: 80px 0;
  text-align: center;
}
.buy-section .t-eyebrow { margin-bottom: 12px; }
.buy-section .t-title   { margin-bottom: 16px; }
.buy-section .t-body    { max-width: 460px; margin: 0 auto 36px; }
.buy-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, #0a1836 0%, #05101f 50%, #020810 100%);
  border-top: none;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
/* Top light border */
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0,113,227,0.55) 50%, transparent 100%) top / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}
/* Atmospheric top glow */
.footer::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,113,227,0.13) 0%, transparent 70%);
  pointer-events: none;
}
/* Grain overlay */
.footer-inner::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .4;
}
.footer-inner {
  position: relative; z-index: 1;
}
.footer-brand {
  max-width: 1080px; margin: 0 auto; padding: 0 32px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 144px; width: auto; display: block;
}
.footer-grid {
  max-width: 1080px; margin: 0 auto; padding: 40px 32px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col { padding: 0 0 16px; }
.footer-col h5 {
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a  { font-size: 0.8125rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-social-icons {
  display: flex; flex-direction: column; gap: 11px;
}
.footer-social-link {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.8125rem; color: rgba(255,255,255,0.55);
  transition: color 0.2s; text-decoration: none;
}
.footer-social-link:hover { color: #fff; }
.footer-social-link svg { flex-shrink: 0; opacity: .7; transition: opacity .2s; }
.footer-social-link:hover svg { opacity: 1; }

.footer-bottom {
  max-width: 1080px; margin: 0 auto; padding: 20px 32px 24px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-bottom-left {
  font-size: 0.6875rem; color: rgba(255,255,255,0.25);
  line-height: 1.65; max-width: 560px;
}
.footer-bottom-right { display: flex; gap: 20px; flex-shrink: 0; }
.footer-bottom-right a { font-size: 0.6875rem; color: rgba(255,255,255,0.3); transition: color .2s; }
.footer-bottom-right a:hover { color: rgba(255,255,255,0.7); }

/* ── Product detail page: hero ── */
.pd-hero {
  background: var(--navy-deep);
  text-align: center;
  padding-top: 48px;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.pd-hero-inner {
  padding: 64px 22px 0;
  max-width: 980px; margin: 0 auto;
}
.pd-hero-category { margin-bottom: 8px; }
.pd-hero-name {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 700; color: var(--white); letter-spacing: -0.025em;
  line-height: 1.04; margin-bottom: 16px;
}
.pd-hero-tagline {
  font-size: 1.25rem; color: rgba(255,255,255,0.62);
  margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto;
  line-height: 1.55;
}
.pd-hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 64px;
}
.pd-hero-image {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 40px;
  position: relative;
}
.pd-hero-image svg,
.pd-hero-image img {
  width: 100%; max-width: 680px;
  filter: drop-shadow(0 60px 100px rgba(0,113,227,0.35));
  animation: float 6s ease-in-out infinite;
}

/* Gradient from dark to next section */
.hero-gradient-out {
  height: 100px;
  background: linear-gradient(to bottom, var(--navy-deep), var(--white));
}
.hero-gradient-out-gray {
  height: 100px;
  background: linear-gradient(to bottom, var(--navy-deep), var(--gray-bg));
}

/* ── Feature highlight (dark background, image + text) ── */
.feature-highlight {
  padding: 100px 0;
  text-align: center;
}
.feature-highlight .t-eyebrow { margin-bottom: 12px; }
.feature-highlight .t-title   { margin-bottom: 16px; }
.feature-highlight .t-body-large { max-width: 540px; margin: 0 auto 56px; }
.feature-highlight-visual {
  max-width: 760px; margin: 0 auto;
}
.feature-highlight-visual svg,
.feature-highlight-visual img {
  width: 100%;
}

/* ── App preview section ── */
.app-section {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 80px;
  padding: 100px 0;
}
.app-screen-mock {
  background: var(--darker);
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 24px;
  max-width: 260px;
  margin: 0 auto;
}
.app-mock-notch {
  width: 80px; height: 28px; background: var(--darker);
  border-radius: 0 0 16px 16px;
  margin: -28px auto 20px; position: relative; z-index: 1;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.app-mock-header {
  font-size: 0.625rem; font-weight: 600; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em; text-align: center; margin-bottom: 16px;
}
.app-mock-ring {
  width: 100px; height: 100px; border-radius: 50%;
  border: 8px solid rgba(0,113,227,0.6);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.375rem; font-weight: 800; color: white;
  position: relative;
}
.app-mock-ring::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 3px solid rgba(0,180,255,0.2);
}
.app-mock-bar-wrap { margin-bottom: 10px; }
.app-mock-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.6rem; color: rgba(255,255,255,0.35); margin-bottom: 5px;
}
.app-mock-bar-track {
  height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden;
}
.app-mock-bar-fill { height: 100%; background: var(--blue); border-radius: 3px; }
.app-mock-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px;
}
.app-mock-tile {
  background: rgba(255,255,255,0.05); border-radius: 10px; padding: 10px;
  font-size: 0.6rem; color: rgba(255,255,255,0.4);
}
.app-mock-tile-val { font-size: 0.875rem; font-weight: 700; color: white; margin-bottom: 2px; }

/* ── Testimonials (Apple-style, minimal) ── */
.testimonials-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial-card {
  background: var(--gray-bg);
  border-radius: var(--r-xl);
  padding: 36px;
}
.testimonial-stars { color: var(--blue); font-size: 0.875rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 1rem; font-weight: 500; color: var(--dark);
  line-height: 1.6; margin-bottom: 20px; letter-spacing: -0.01em;
}
.testimonial-author { font-size: 0.8125rem; color: var(--gray-mid); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--gray-mid); padding: 16px 0;
}
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb-sep { opacity: 0.4; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Ticker ── */
.ticker-wrap {
  overflow: hidden; padding: 20px 0;
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker-track {
  display: flex; gap: 48px; align-items: center;
  animation: ticker 24s linear infinite; width: max-content;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--gray-mid); white-space: nowrap;
}
.ticker-dot { width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 980px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em;
}
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-dark   { background: var(--dark); color: var(--white); }
.badge-white  { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.badge-new    { background: var(--blue); color: var(--white); }
.badge-gray   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); }

/* ── Misc ── */
.divider { height: 1px; background: var(--border); }
.divider-dark { background: var(--border-dark); }

/* ── Color dots ── */
.color-dots { display: flex; gap: 10px; }
.color-dot {
  width: 24px; height: 24px; border-radius: 50%;
  cursor: pointer; transition: box-shadow 0.2s;
  box-shadow: 0 0 0 2px white, 0 0 0 3px transparent;
}
.color-dot.active,
.color-dot:hover {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--dark);
}

/* ── Form ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 11px 16px;
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--r-sm);
  font-size: 0.9375rem; font-family: var(--font); color: var(--dark);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.12);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Focus styles (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-3col { grid-template-columns: 1fr 1fr; }
  .bento-4col { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-content { padding: 60px 40px; }
  .app-section   { grid-template-columns: 1fr; gap: 48px; padding: 70px 0; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-bar     { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .compare-header { grid-template-columns: 2fr 1fr 1fr; }
  .compare-row    { grid-template-columns: 2fr 1fr 1fr; }
  .compare-header > *:last-child,
  .compare-row > *:last-child { display: none; }
}
@media (max-width: 768px) {
  .section-pad    { padding: 70px 0; }
  .section-pad-lg { padding: 90px 0; }
  .pd-hero-image img { filter: none !important; }
  .nav-links { display: none; }
  .nav-actions .nav-icon-btn { display: none; }
  .nav-actions .lang-switch { display: none; }
  .nav-hamburger { display: flex; order: -1; }
  .nav-logo { margin-left: 4px; }
  .bento-2col { grid-template-columns: 1fr; }
  .bento-3col { grid-template-columns: 1fr; }
  .bento-col-span-2 { grid-column: span 1; }
  .bento-card { min-height: 300px; }
  .testimonials-strip { grid-template-columns: 1fr; }
  .local-nav-links { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .compare-header { grid-template-columns: 1fr 1fr; padding: 20px; }
  .compare-row    { grid-template-columns: 1fr 1fr; padding: 12px 20px; }
  .compare-header > *:nth-child(3),
  .compare-row > *:nth-child(3),
  .compare-header > *:last-child,
  .compare-row > *:last-child { display: none; }

  /* Split sections — stack verticalmente */
  .split-inline-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 64px 0 !important;
  }
  .split-inline-grid .split-img-col { order: -1; }

  /* Eco B1 specs 3-col → 3-col compacto */
  .b1-specs-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Products grid — 1 columna en mobile */
  .products-home-grid {
    grid-template-columns: 1fr !important;
  }

  /* Mission stats — 1 columna */
  .mission-stats {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .mission-stat { padding: 28px 24px !important; }
}

@media (max-width: 520px) {
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Footer brand compacto */
  .footer-brand { padding-bottom: 32px !important; }
  .footer-brand img { height: 100px !important; }
  .footer-brand p { margin-top: -28px !important; font-size: 0.875rem !important; }

  /* Footer grid — 2 columnas en mobile */
  .footer-grid { grid-template-columns: 1fr 1fr !important; padding: 28px 20px !important; gap: 0 16px !important; }
  .footer-col { padding-bottom: 20px !important; }
  .footer-col h5 { font-size: 0.625rem !important; margin-bottom: 12px !important; }
  .footer-col a, .footer-social-link { font-size: 0.75rem !important; }
  .footer-col ul { gap: 8px !important; }
  .footer-social-icons { gap: 8px !important; }

  /* Footer bottom */
  .footer-bottom { padding: 16px 20px 20px !important; }
  .footer-bottom-left { font-size: 0.625rem !important; }
}

/* ── Small screens (≤ 430px) ── */
@media (max-width: 430px) {
  /* Hero text overflow prevention */
  .pd-hero-tagline { font-size: 1.0625rem; }
  .pd-hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .pd-hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Bento cards */
  .bento-card { min-height: 260px; padding: 24px; }
  .bento-card-text { padding: 20px 20px 0; }

  /* Stats bar */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.6875rem; }

  /* Section padding */
  .section-pad    { padding: 56px 0; }
  .section-pad-lg { padding: 72px 0; }

  /* Container padding */
  .container, .container-lg, .container-xl { padding: 0 16px; }

  /* Spec/compare tables */
  .specs-table-wrap, .compare-wrap { border-radius: 12px; }
  .spec-row { padding: 12px 16px; }
  .spec-key, .spec-value { font-size: 0.8125rem; }

  /* Buttons full width */
  .buy-actions { flex-direction: column; align-items: center; gap: 10px; }
  .buy-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Local nav */
  .local-nav-inner { padding: 0 16px; }

  /* Split inline text */
  .split-inline-text h2 { font-size: clamp(1.8rem, 8vw, 2.8rem) !important; }
  .split-inline-text .t-body-large { font-size: 0.9375rem !important; }
  .split-inline-specs { flex-direction: column; gap: 10px !important; }
  .split-inline-btns { flex-direction: column; gap: 10px !important; }
  .split-inline-btns .btn { width: 100%; text-align: center; }

  /* Eco B1 specs 3-col → compacto */
  .b1-specs-grid { gap: 0 !important; }
  .b1-specs-grid > div { padding: 14px 10px !important; }
  .b1-specs-grid > div > div:first-child { font-size: 1.1rem !important; }
  .b1-specs-grid > div > div:last-child { font-size: 0.625rem !important; }

  /* Mission section */
  #mission-section { padding: 72px 0 !important; }
  .mission-headline { font-size: clamp(1.8rem, 7vw, 2.4rem) !important; }
  .mission-body { font-size: 0.9375rem !important; margin-bottom: 40px !important; }
  .mission-stat-number { font-size: 2rem !important; }
  .mission-stat-label { font-size: 0.75rem !important; }
}


/* ── Skip to content (accessibility) ── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 16px;
}

/* ── WhatsApp floating button ── */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.25s cubic-bezier(0.25,1,0.5,1), box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.14);
}
.whatsapp-fab svg { color: #fff; }

/* ── Reduced motion (accessibility) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .gsap-reveal { visibility: visible !important; opacity: 1 !important; }
}
