/* Chilli Mobiles — light brand theme */
:root {
  --bg: #f7f5f3;
  --bg-elevated: #ffffff;
  --bg-soft: #efebe7;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --chili: #e31c23;
  --chili-hot: #c4151b;
  --stem: #2f7a2f;
  --border: rgba(26, 26, 26, 0.1);
  --header-bg: rgba(247, 245, 243, 0.92);
  --radius: 4px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-accent: "Libre Baskerville", serif;
  --header-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  top: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--chili);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  appearance: none;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 1.75rem 0.4rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235c5c5c' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* Custom searchable language picker */
.lang-picker {
  position: relative;
  z-index: 60;
}

.lang-picker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-picker-toggle:hover,
.lang-picker.is-open .lang-picker-toggle {
  border-color: rgba(227, 28, 35, 0.35);
  box-shadow: 0 0 0 3px rgba(227, 28, 35, 0.08);
}

.lang-picker-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--chili);
}

.lang-picker-label {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-picker-caret {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s var(--ease);
}

.lang-picker.is-open .lang-picker-caret {
  transform: rotate(180deg);
}

.lang-picker-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 1.5rem));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
  overflow: hidden;
}

.lang-picker-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.65rem 0.4rem;
  border-bottom: 1px solid var(--border);
}

.lang-picker-search-icon {
  position: absolute;
  left: 1.05rem;
  top: calc(50% - 0.1rem);
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.lang-picker-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem 0.55rem 2rem;
  outline: none;
}

.lang-picker-search:focus {
  border-color: rgba(227, 28, 35, 0.45);
  box-shadow: 0 0 0 3px rgba(227, 28, 35, 0.08);
}

.lang-picker-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.lang-picker-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: min(320px, 50vh);
  overflow-y: auto;
}

.lang-picker-option {
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.84rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.lang-picker-option:hover,
.lang-picker-option:focus {
  background: var(--bg-soft);
  outline: none;
}

.lang-picker-option.is-active {
  background: rgba(227, 28, 35, 0.08);
  color: var(--chili-hot);
  font-weight: 600;
}

.lang-picker-empty {
  margin: 0;
  padding: 1rem 0.85rem 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Hide native Google Translate UI — custom picker drives it */
.google-translate {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide Google Translate top banner */
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  display: none !important;
}

body > .skiptranslate {
  display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero — premium product showcase */
.hero {
  --hero-fg: #f5f5f5;
  --hero-muted: rgba(245, 245, 245, 0.72);
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 70% 40%, #1a1a22 0%, #0b0b0f 55%, #07070a 100%);
  color: var(--hero-fg);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-map {
  position: absolute;
  inset: -10% -5% 0 -10%;
  opacity: 0.35;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 1px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 35% 45%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 55% at 35% 45%, #000 20%, transparent 70%);
  animation: mapPulse 8s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-glow-a {
  display: none;
}

.hero-glow-b {
  width: 30vw;
  height: 30vw;
  left: 8%;
  bottom: 5%;
  background: rgba(80, 120, 255, 0.12);
}

.hero-streak {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), rgba(227, 28, 35, 0.5), rgba(255, 255, 255, 0.2), transparent);
  box-shadow: 0 0 24px rgba(227, 28, 35, 0.35);
  opacity: 0.7;
  transform: rotate(-6deg);
}

@keyframes mapPulse {
  from { opacity: 0.25; transform: scale(1); }
  to { opacity: 0.4; transform: scale(1.03); }
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: clamp(2.5rem, 7vh, 5rem) 0 clamp(4rem, 9vh, 6rem);
}

.hero-content {
  max-width: 34rem;
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-muted);
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.7);
}

.hero-logo-heading {
  margin: 0 0 1rem;
  animation: fadeUp 0.85s 0.05s var(--ease) both;
}

.hero-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 0.35rem;
  color: #fff;
  animation: fadeUp 0.85s 0.05s var(--ease) both;
}

.hero-brand span {
  color: var(--chili);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
  animation: fadeUp 0.85s 0.1s var(--ease) both;
}

.hero-text {
  color: var(--hero-muted);
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  max-width: 28rem;
  animation: fadeUp 0.85s 0.15s var(--ease) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.85s 0.2s var(--ease) both;
}

.hero .btn {
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  gap: 0.45rem;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.hero-pager {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: fadeUp 0.85s 0.25s var(--ease) both;
}

.hero-pager-num {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

.hero-pager-bar {
  width: 72px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.hero-pager-bar span {
  display: block;
  height: 100%;
  width: 33.333%;
  background: var(--chili);
  transition: transform 0.45s var(--ease);
  transform-origin: left center;
}

.hero-stage {
  /* Single source of truth so every phone renders at the same zoom */
  --device-h: clamp(260px, 46vh, 430px);
  position: relative;
  min-height: clamp(340px, 58vh, 520px);
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  left: 72%;
  top: 50%;
  width: min(130%, 640px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(227, 28, 35, 0.6) 0%,
    rgba(227, 28, 35, 0.32) 40%,
    rgba(227, 28, 35, 0.12) 62%,
    transparent 74%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-device {
  position: absolute;
  height: var(--device-h);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  background: transparent;
}

.hero-slide .d1 {
  left: 8%;
  top: 12%;
  z-index: 1;
  transform: rotate(-14deg) translateY(10px);
  height: clamp(230px, 42vh, 380px);
  animation: deviceFloat 5.5s ease-in-out infinite;
}

.hero-slide .d2 {
  left: 28%;
  top: 4%;
  z-index: 3;
  transform: rotate(-4deg);
  height: clamp(280px, 52vh, 460px);
  animation: deviceFloat 6s 0.4s ease-in-out infinite;
}

.hero-slide .d3 {
  right: 10%;
  top: 8%;
  z-index: 2;
  transform: rotate(10deg) translateY(18px);
  height: clamp(250px, 46vh, 410px);
  animation: deviceFloat 5.8s 0.8s ease-in-out infinite;
}

.hero-slide .d4 {
  right: 2%;
  bottom: 6%;
  z-index: 4;
  transform: rotate(16deg);
  height: clamp(210px, 38vh, 340px);
  animation: deviceFloat 6.2s 0.2s ease-in-out infinite;
}

/* Both banners — phones clustered in center of red glow */
.hero-slide-duo,
.hero-slide-quad {
  display: grid;
  place-items: center;
}

.hero-phone-cluster {
  position: relative;
  width: min(100%, 420px);
  height: clamp(320px, 56vh, 500px);
  display: grid;
  place-items: center;
  z-index: 1;
  transform: translateX(15%);
  margin-left: 7%;
}


.hero-slide-duo .hero-device,
.hero-slide-quad .hero-device {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  right: auto;
  bottom: auto;
  height: var(--device-h);
}

/* Banner 1 — two 17 MAX phones */
.hero-slide-duo .d1 {
  z-index: 2;
  transform: translate(-58%, -50%) rotate(-12deg);
  animation: deviceFloatDuo1 5.5s ease-in-out infinite;
}

.hero-slide-duo .d2 {
  z-index: 3;
  transform: translate(-8%, -50%) rotate(10deg);
  animation: deviceFloatDuo2 6s 0.35s ease-in-out infinite;
}

@keyframes deviceFloatDuo1 {
  0%, 100% { transform: translate(-58%, -50%) rotate(-12deg); }
  50% { transform: translate(-58%, calc(-50% - 10px)) rotate(-12deg); }
}

@keyframes deviceFloatDuo2 {
  0%, 100% { transform: translate(-8%, -50%) rotate(10deg); }
  50% { transform: translate(-8%, calc(-50% - 10px)) rotate(10deg); }
}

/* Banner 2 — four AIR phones, centered in same glow */
.hero-slide-quad .d1 {
  z-index: 1;
  transform: translate(-98%, -46%) rotate(-16deg);
  animation: deviceFloatQuad1 5.4s ease-in-out infinite;
}

.hero-slide-quad .d2 {
  z-index: 3;
  transform: translate(-52%, -52%) rotate(-6deg);
  animation: deviceFloatQuad2 5.8s 0.2s ease-in-out infinite;
}

.hero-slide-quad .d3 {
  z-index: 4;
  transform: translate(-12%, -50%) rotate(6deg);
  animation: deviceFloatQuad3 6s 0.4s ease-in-out infinite;
}

.hero-slide-quad .d4 {
  z-index: 2;
  transform: translate(32%, -46%) rotate(14deg);
  animation: deviceFloatQuad4 5.6s 0.6s ease-in-out infinite;
}

@keyframes deviceFloatQuad1 {
  0%, 100% { transform: translate(-98%, -46%) rotate(-16deg); }
  50% { transform: translate(-98%, calc(-46% - 8px)) rotate(-16deg); }
}

@keyframes deviceFloatQuad2 {
  0%, 100% { transform: translate(-52%, -52%) rotate(-6deg); }
  50% { transform: translate(-52%, calc(-52% - 10px)) rotate(-6deg); }
}

@keyframes deviceFloatQuad3 {
  0%, 100% { transform: translate(-12%, -50%) rotate(6deg); }
  50% { transform: translate(-12%, calc(-50% - 10px)) rotate(6deg); }
}

@keyframes deviceFloatQuad4 {
  0%, 100% { transform: translate(32%, -46%) rotate(14deg); }
  50% { transform: translate(32%, calc(-46% - 8px)) rotate(14deg); }
}

@keyframes deviceFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s;
}

.hero-nav:hover {
  background: rgba(227, 28, 35, 0.85);
  border-color: var(--chili);
}

.hero-nav svg {
  width: 18px;
  height: 18px;
}

.hero-nav-prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.hero-nav-next { right: clamp(0.5rem, 2vw, 1.5rem); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  background: var(--chili);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--chili-hot);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: rgba(26, 26, 26, 0.2);
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.about-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chili);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.25rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--chili);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Capabilities */
.cap-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap-item {
  padding: 1.5rem 1.25rem;
  background: linear-gradient(160deg, var(--bg-elevated), var(--bg-soft));
  border-top: 2px solid var(--chili);
}

.cap-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.cap-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Brands & Worldwide */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.brand-chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: border-color 0.25s, color 0.25s;
}

.brand-chip:hover {
  border-color: var(--chili);
  color: var(--chili);
}

.regions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.region {
  padding: 1.1rem 0.85rem;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.88rem;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.region:hover {
  transform: translateY(-3px);
  border-color: var(--stem);
}

/* Products */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.product-tab {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.product-tab.is-active,
.product-tab:hover {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
}

.product-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-panel.is-active {
  display: grid;
  animation: fadeUp 0.55s var(--ease) both;
}

.product-visual {
  position: relative;
  background:
    radial-gradient(circle at 50% 60%, rgba(227, 28, 35, 0.08), transparent 65%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-visual img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.product-meta h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.product-meta p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.color-swatches span.label {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s, border-color 0.25s;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.12);
}

.swatch.is-active,
.swatch:hover {
  border-color: var(--text);
  transform: scale(1.08);
}

.swatch[data-color="cosmic-orange"],
.swatch[data-color="orange"] {
  background: linear-gradient(135deg, #ff6b1a, #c43e00);
}

.swatch[data-color="silver"],
.swatch[data-color="white"] {
  background: linear-gradient(135deg, #e8e8e8, #a8a8a8);
}

.swatch[data-color="blue"] {
  background: linear-gradient(135deg, #4a7dff, #1a3a9e);
}

.swatch[data-color="light-gold"] {
  background: linear-gradient(135deg, #f0d78c, #c9a227);
}

.swatch[data-color="purple"] {
  background: linear-gradient(135deg, #b07cff, #5a2d9e);
}

.product-specs {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.product-specs li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  border-left: 2px solid var(--chili);
}

/* Awards */
.awards-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 1px solid var(--border);
}

.award {
  position: relative;
  padding: 1.25rem 0 1.25rem 1.75rem;
}

.award::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--chili);
  box-shadow: 0 0 0 3px var(--bg);
}

.award-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--chili);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.award p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.25rem;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-block a:hover {
  color: var(--chili);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--chili);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.25em;
  margin: 0;
}

.form-status.is-success {
  color: var(--stem);
}

.form-status.is-error {
  color: var(--chili-hot);
}

.form-status.is-pending {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand img {
  height: 34px;
  width: auto;
  opacity: 0.95;
}

.socials {
  display: flex;
  gap: 0.65rem;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.social:hover {
  color: var(--chili);
  border-color: var(--chili);
  background: rgba(227, 28, 35, 0.08);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--chili);
}

.footer-copy {
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* RTL */
[dir="rtl"] .about-points li {
  padding-left: 0;
  padding-right: 1.35rem;
}

[dir="rtl"] .about-points li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .awards-list {
  border-left: none;
  border-right: 1px solid var(--border);
}

[dir="rtl"] .award {
  padding: 1.25rem 1.75rem 1.25rem 0;
}

[dir="rtl"] .award::before {
  left: auto;
  right: -5px;
}

[dir="rtl"] .product-specs li {
  padding-left: 0;
  padding-right: 1rem;
  border-left: none;
  border-right: 2px solid var(--chili);
}

[dir="rtl"] .lang-picker-panel {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-picker-search-icon {
  left: auto;
  right: 1.05rem;
}

[dir="rtl"] .lang-picker-search {
  padding: 0.55rem 2rem 0.55rem 0.7rem;
}

/* Responsive */
@media (max-width: 900px) {
  .product-panel.is-active {
    grid-template-columns: 1fr;
  }

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

  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-stage {
    --device-h: clamp(220px, 34vh, 330px);
    min-height: 320px;
    order: -1;
  }

  .hero-stage::before {
    left: 50%;
    width: min(125%, 460px);
  }

  .hero-phone-cluster {
    transform: none;
    margin-inline: auto;
  }

  /* Devices sit symmetrically around the cluster centre on small screens */
  .hero-slide-duo .d1 {
    transform: translate(-75%, -50%) rotate(-12deg);
    animation: none;
  }

  .hero-slide-duo .d2 {
    transform: translate(-25%, -50%) rotate(10deg);
    animation: none;
  }

  .hero-slide-quad .d1 {
    transform: translate(-115%, -48%) rotate(-16deg);
    animation: none;
  }

  .hero-slide-quad .d2 {
    transform: translate(-69%, -52%) rotate(-6deg);
    animation: none;
  }

  .hero-slide-quad .d3 {
    transform: translate(-29%, -50%) rotate(6deg);
    animation: none;
  }

  .hero-slide-quad .d4 {
    transform: translate(15%, -48%) rotate(14deg);
    animation: none;
  }

  .hero-nav {
    top: 28%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .site-header.is-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    max-width: 100%;
    text-align: left;
  }

  .hero-logo {
    width: min(100%, 240px);
  }

  .hero-phone-cluster {
    width: min(100%, 360px);
    height: clamp(260px, 46vh, 380px);
  }

  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

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

  .hero {
    min-height: auto;
  }

  .hero-logo {
    width: min(100%, 200px);
  }

  .hero-stage {
    --device-h: clamp(180px, 30vh, 250px);
    min-height: 280px;
  }

  .hero-phone-cluster {
    width: 100%;
    height: clamp(230px, 40vh, 300px);
  }

  .hero-nav {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Service Centers page */
.sc-page {
  padding: 2.5rem 0 4rem;
  background: var(--bg);
}

.sc-hero {
  margin-bottom: 1.5rem;
}

.sc-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.25rem 1.5rem;
}

.sc-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: end;
}

.sc-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.sc-field select,
.sc-field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
}

.sc-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.sc-table-wrap {
  overflow-x: auto;
}

.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.sc-table th,
.sc-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.sc-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.sc-table a {
  color: var(--chili);
}

.sc-cards {
  display: none;
  gap: 0.85rem;
}

.sc-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg);
}

.sc-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.sc-card p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sc-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.sc-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.sc-pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
}

.sc-pagination button.is-active {
  background: var(--chili);
  border-color: var(--chili);
  color: #fff;
}

.sc-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .sc-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sc-filters {
    grid-template-columns: 1fr;
  }

  .sc-table-wrap {
    display: none;
  }

  .sc-cards {
    display: grid;
  }
}
