/* ===================================================================
   SMART MOBILE — STYLESHEET
   Premium Apple/Samsung-inspired design system
   =================================================================== */

/* -------------------------------------------------------------------
   1. RESET & BASE
   ------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-900);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
}

iframe {
  border: 0;
  display: block;
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------------------------------------------
   2. DESIGN TOKENS
   ------------------------------------------------------------------- */

:root {
  /* Color: navy/blue core */
  --navy-950: #060b18;
  --navy-900: #0a1228;
  --navy-800: #0f1d3d;
  --navy-700: #16294f;
  --blue-600: #2f6fed;
  --blue-500: #4d8aff;
  --blue-100: #e8f0ff;
  --cyan-400: #4fd1f5;

  /* Neutrals */
  --white: #ffffff;
  --ink-900: #0b1220;
  --ink-700: #2c3444;
  --ink-600: #5b6472;
  --ink-400: #8993a3;
  --ink-200: #d7dce5;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --surface-alt-2: #eef2f9;
  --border: #e3e8f0;

  /* Accent / semantic */
  --whatsapp-500: #25d366;
  --whatsapp-600: #1fae57;
  --gold-500: #f5b400;
  --badge-new: #2f6fed;
  --badge-value: #f59e0b;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 90px rgba(79, 209, 245, 0.35);

  /* Layout */
  --container-width: 1200px;
  --header-height: 76px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Icons (inline SVG data-uris, used as mask images) */
  --icon-chat: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C6.48 2 2 6.13 2 11.2c0 2.78 1.31 5.26 3.39 6.95L4 22l4.1-1.31A10.6 10.6 0 0 0 12 21.4c5.52 0 10-4.13 10-9.2S17.52 2 12 2zm0 16.6c-1.4 0-2.74-.32-3.92-.93l-.28-.15-2.6.83.78-2.79-.18-.3A7.7 7.7 0 0 1 4.4 11.2C4.4 7.36 7.8 4.4 12 4.4s7.6 2.96 7.6 6.8-3.4 6.8-7.6 6.8z'/></svg>");
  --icon-phone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 2v16h10V4H7zm5 13.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/></svg>");
  --icon-refresh: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4a8 8 0 0 1 7.31 4.74.9.9 0 1 1-1.64.74A6.2 6.2 0 0 0 12 5.8 6.2 6.2 0 0 0 6.1 9.6h2.1a.7.7 0 0 1 0 1.4H4.9a.7.7 0 0 1-.7-.7V6a.7.7 0 0 1 1.4 0v1.7A8 8 0 0 1 12 4zm0 16a8 8 0 0 1-7.31-4.74.9.9 0 1 1 1.64-.74A6.2 6.2 0 0 0 12 18.2a6.2 6.2 0 0 0 5.9-3.8h-2.1a.7.7 0 0 1 0-1.4h3.3a.7.7 0 0 1 .7.7V18a.7.7 0 0 1-1.4 0v-1.7A8 8 0 0 1 12 20z'/></svg>");
  --icon-wrench: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21.7 18.7l-5-5a5.5 5.5 0 0 0-6.9-6.9L7.4 4.4 4.4 7.4l2.4 2.4a5.5 5.5 0 0 0 6.9 6.9l5 5a1.4 1.4 0 0 0 2-2zM6 8.8 8.8 6l.9.9a3.7 3.7 0 1 1-2 2L6 8.8z'/></svg>");
  --icon-bag: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 7V6a5 5 0 0 1 10 0v1h2.3a.7.7 0 0 1 .7.62l1 12a1 1 0 0 1-1 1.08l-.07 0H4.07A1 1 0 0 1 3 19.7l1-12.08A.7.7 0 0 1 4.7 7H7zm1.6 0h6.8V6a3.4 3.4 0 0 0-6.8 0v1z'/></svg>");
  --icon-check: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.5 17.3 4.8 12.6l1.6-1.6 3.1 3.1 8.1-8.1 1.6 1.6z'/></svg>");
}

/* -------------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 2.5rem;
  }
}

main {
  display: block;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.85rem;
}

.section-eyebrow-light {
  color: var(--cyan-400);
}

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
}

.section-title-light {
  color: var(--white);
}

.section-subtitle {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--ink-600);
}

/* -------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 111, 237, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--border);
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
}

.btn-outline:hover {
  background: var(--blue-100);
  border-color: var(--blue-500);
}

.btn-whatsapp {
  background: var(--whatsapp-500);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(37, 211, 102, 0.42);
}

.icon-whatsapp {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-chat);
  mask-image: var(--icon-chat);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* -------------------------------------------------------------------
   5. HEADER / NAVIGATION
   ------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(10, 18, 40, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s var(--ease), height 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(8, 14, 32, 0.78);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.logo-text-accent {
  color: var(--cyan-400);
}

.main-nav {
  display: flex;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-bottom: 0.3rem;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  border-radius: var(--radius-full);
  transition: width 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

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

.header-whatsapp-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mobile-menu-btn.is-active .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active .menu-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-active .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(8, 14, 32, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    padding: calc(var(--header-height) + 1.5rem) 2rem 2rem;
    transition: right 0.4s var(--ease);
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 479px) {
  .whatsapp-btn-text {
    display: none;
  }

  .header-whatsapp-btn {
    padding: 0.65rem;
    border-radius: 50%;
  }
}

/* -------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 5rem;
  background: radial-gradient(circle at 80% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(79, 209, 245, 0.18), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(47, 111, 237, 0.25), transparent 50%);
  z-index: -1;
}

.hero-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: rgba(79, 209, 245, 0.12);
  border: 1px solid rgba(79, 209, 245, 0.3);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.1rem, 1.5rem + 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-inline: auto;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-trust-item {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.hero-trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--cyan-400);
  -webkit-mask-image: var(--icon-check);
  mask-image: var(--icon-check);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-media-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(79, 209, 245, 0.45), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-image {
  width: min(78%, 320px);
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.45));
  animation: float-hero 6s ease-in-out infinite;
}

@keyframes float-hero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.05fr 0.95fr;
    text-align: left;
  }

  .hero-content {
    text-align: left;
  }

  .hero-description {
    margin-inline: 0;
  }

  .hero-cta-group,
  .hero-trust-list {
    justify-content: flex-start;
  }

  .hero-image {
    width: min(85%, 380px);
  }
}

/* -------------------------------------------------------------------
   7. BRAND STRIP
   ------------------------------------------------------------------- */

.brand-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.brand-item {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-400);
  transition: color 0.25s var(--ease);
}

.brand-item:hover {
  color: var(--blue-600);
}

/* -------------------------------------------------------------------
   8. PRODUCTS
   ------------------------------------------------------------------- */

.products {
  padding: 5.5rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  color: var(--white);
  z-index: 2;
}

.product-badge-new {
  background: var(--badge-new);
}

.product-badge-value {
  background: var(--badge-value);
}

.product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin-bottom: 1.5rem;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-image {
  height: 85%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

.product-brand {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0.35rem;
  color: var(--ink-900);
}

.product-specs {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-600);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
}

.products-footer {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------
   9. AI ASSISTANT
   ------------------------------------------------------------------- */

.ai-assistant {
  position: relative;
  padding: 5.5rem 0;
  background: radial-gradient(circle at 10% 10%, var(--navy-700) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  overflow: hidden;
}

.ai-assistant-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.ai-assistant-description {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.ai-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.ai-quick-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.ai-quick-btn:hover {
  background: rgba(79, 209, 245, 0.16);
  border-color: var(--cyan-400);
  transform: translateY(-2px);
}

.ai-chat-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-chat-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--whatsapp-500);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.ai-chat-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.ai-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
}

.chat-message {
  max-width: 82%;
  padding: 0.75rem 1.05rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.55;
}

.chat-message-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.chat-message-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ai-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  color: var(--white);
}

.ai-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ai-chat-send-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ai-chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.4);
}

@media (min-width: 1024px) {
  .ai-assistant-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------------------------------------------------
   10. SERVICES
   ------------------------------------------------------------------- */

.services {
  padding: 5.5rem 0;
  background: var(--surface-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  background-color: var(--white);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.service-icon-new::before {
  -webkit-mask-image: var(--icon-phone);
  mask-image: var(--icon-phone);
}

.service-icon-used::before {
  -webkit-mask-image: var(--icon-refresh);
  mask-image: var(--icon-refresh);
}

.service-icon-repair::before {
  -webkit-mask-image: var(--icon-wrench);
  mask-image: var(--icon-wrench);
}

.service-icon-accessories::before {
  -webkit-mask-image: var(--icon-bag);
  mask-image: var(--icon-bag);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.6rem;
}

.service-description {
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------
   11. WHY CHOOSE US
   ------------------------------------------------------------------- */

.why-us {
  padding: 5.5rem 0;
}

.why-us-container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.why-us-media {
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-alt), var(--surface-alt-2));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.why-us-image {
  width: min(70%, 280px);
  filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.18));
}

.why-us-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us-item {
  position: relative;
  padding-left: 2.1rem;
}

.why-us-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
}

.why-us-item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  background-color: var(--blue-600);
  -webkit-mask-image: var(--icon-check);
  mask-image: var(--icon-check);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.why-us-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-900);
}

.why-us-item-text {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--ink-600);
}

@media (min-width: 1024px) {
  .why-us-container {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* -------------------------------------------------------------------
   12. TESTIMONIALS
   ------------------------------------------------------------------- */

.testimonials {
  padding: 5.5rem 0;
  background: var(--surface-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: var(--gold-500);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-700);
}

.testimonial-author {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-600);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------
   13. FAQ
   ------------------------------------------------------------------- */

.faq {
  padding: 5.5rem 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq-item.active {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue-600);
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  padding-inline: 1.5rem;
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: grid-template-rows 0.35s var(--ease), opacity 0.3s var(--ease),
    padding 0.35s var(--ease);
}

.faq-answer p {
  overflow: hidden;
  min-height: 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 1.5rem;
}

/* -------------------------------------------------------------------
   14. CONTACT
   ------------------------------------------------------------------- */

.contact {
  padding: 5.5rem 0;
  background: var(--surface-alt);
}

.contact-container {
  display: grid;
  gap: 2.5rem;
}

.contact-description {
  margin-top: 1.1rem;
  font-size: 1.02rem;
  color: var(--ink-600);
  line-height: 1.7;
}

.contact-info-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue-500);
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.contact-info-value {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-900);
}

.contact-whatsapp-btn {
  margin-top: 2rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.contact-map-frame {
  height: 100%;
}

@media (min-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-map {
    aspect-ratio: auto;
    height: 100%;
    min-height: 360px;
  }
}

/* -------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  margin-bottom: 0.9rem;
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease);
}

.footer-link:hover {
  color: var(--cyan-400);
}

.footer-contact-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.footer-whatsapp-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--whatsapp-500);
}

.footer-whatsapp-link:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-copyright {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-container {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

/* -------------------------------------------------------------------
   16. STICKY WHATSAPP FLOAT BUTTON
   ------------------------------------------------------------------- */

.whatsapp-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp-500);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  animation: float-pulse 2.6s infinite;
  transition: transform 0.25s var(--ease);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
}

.whatsapp-float-btn .icon-whatsapp {
  width: 26px;
  height: 26px;
  color: var(--white);
}

@keyframes float-pulse {
  0% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* -------------------------------------------------------------------
   TESTIMONIAL SLIDER FIX
   The base .testimonials-grid rules above (section 12) lay the cards
   out in a CSS grid — 1 column on mobile, 3 columns from 768px up —
   which is correct for a static layout but conflicts with the JS
   slider, which expects exactly one full-width card visible at a
   time inside a horizontally-sliding flex track.

   script.js adds an .is-slider class to .testimonials-grid once the
   slider initializes. The rules below target that combined selector
   (.testimonials-grid.is-slider), which has higher specificity than
   the plain .testimonials-grid rules — including the one inside the
   768px media query — so the slider layout always wins, at every
   breakpoint, without touching the original grid rules.
   ------------------------------------------------------------------- */

.testimonials-grid.is-slider {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  touch-action: pan-y;
  transition: transform 0.5s var(--ease);
}

/* Explicitly neutralize the 3-column desktop grid so it can never
   re-apply once the slider is active, even on wide screens. */
@media (min-width: 768px) {
  .testimonials-grid.is-slider {
    display: flex;
    grid-template-columns: none;
  }
}

/* Exactly one full-width card per slide, at every breakpoint */
.testimonials-grid.is-slider .testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Prev/Next arrows + dot indicators (built by script.js) */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonial-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-700);
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.testimonial-arrow:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonial-dot.is-active {
  background: var(--blue-600);
  transform: scale(1.3);
}

/* Clean, compact controls on small screens */
@media (max-width: 639px) {
  .testimonial-controls {
    margin-top: 2rem;
    gap: 1rem;
  }

  .testimonial-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
}
