/* ============================================================
   ÓPTICA EXPRESS VISION × DOCTOR LENTES
   Dark Luxury · Cyber accents
   ============================================================ */

:root {
  --bg:        #05080f;
  --bg-2:      #0a0f1c;
  --surface:   #0d1424;
  --primary:   #2f7bff;   /* azul de las marcas */
  --primary-2: #4f9bff;
  --primary-glow: rgba(47,123,255,0.5);
  --gold:      #e7c878;   /* dorado Doctor Lentes */
  --gold-2:    #f5e3ad;
  --text:      #eef3fb;
  --muted:     #8593ab;
  --border:    rgba(255,255,255,0.08);

  --font-display: "Cormorant Garamond", serif;
  --font-body:    "Space Grotesk", sans-serif;
  --font-mono:    "DM Mono", monospace;

  --text-sm:   clamp(0.85rem, 1.6vw, 0.95rem);
  --text-base: clamp(1rem, 1.6vw, 1.125rem);
  --text-lg:   clamp(1.2rem, 2.4vw, 1.5rem);
  --text-xl:   clamp(1.6rem, 4vw, 2.4rem);
  --text-3xl:  clamp(2.4rem, 6vw, 4.5rem);
  --text-hero: clamp(3rem, 9vw, 8.5rem);

  --maxw: 1440px;
  --pad:  clamp(1.5rem, 5vw, 6rem);
}

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

html { scroll-behavior: auto; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 900px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Cursor ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor { width: 38px; height: 38px; border: 1px solid var(--primary-2); }
.cursor-dot { width: 6px; height: 6px; background: var(--text); }
@media (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 9997; box-shadow: 0 0 12px var(--primary-glow);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: grid; place-items: center;
}
.preloader-inner { text-align: center; }
.preloader-eye {
  width: 70px; height: 70px; border: 2px solid var(--primary);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  margin: 0 auto 1.5rem; display: grid; place-items: center;
  box-shadow: 0 0 30px var(--primary-glow);
  animation: blink 2.4s ease-in-out infinite;
}
.preloader-pupil { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 16px var(--primary-glow); }
@keyframes blink { 0%,92%,100%{transform:scaleY(1)} 96%{transform:scaleY(0.1)} }
.preloader-text {
  font-family: var(--font-mono); letter-spacing: 0.25em; font-size: 0.8rem;
  color: var(--muted);
}
.preloader-text span { color: var(--gold); margin: 0 0.5em; }
.preloader-count { font-family: var(--font-mono); color: var(--primary-2); margin-top: 1rem; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
  padding: 1.6rem 0;
}
.navbar.scrolled {
  background: rgba(5,8,15,0.7); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); padding: 1rem 0;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-mark {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), #0c3b8f);
  box-shadow: 0 4px 18px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.nav-logo-text { font-size: 0.9rem; letter-spacing: 0.02em; color: var(--text); }
.nav-logo-text em { color: var(--gold); margin: 0 0.2em; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: 0.95rem; color: var(--muted); position: relative; transition: color 0.3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--primary-2); transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.9rem; padding: 0.7rem 1.4rem; border-radius: 100px;
  border: 1px solid var(--primary); color: var(--text);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { background: var(--primary); box-shadow: 0 0 26px var(--primary-glow); }
.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.nav-burger span { width: 26px; height: 2px; background: var(--text); transition: 0.3s; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-text { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--bg-2);
  display: grid; place-items: center;
  clip-path: circle(0% at 100% 0); transition: clip-path 0.6s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open { clip-path: circle(150% at 100% 0); }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1.2rem 0; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; color: var(--text); }
.mobile-cta { color: var(--gold) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; border-radius: 100px; font-size: 0.95rem;
  font-weight: 500; letter-spacing: 0.02em; position: relative;
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1453b8);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px var(--primary-glow); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); background: rgba(47,123,255,0.06); }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; max-height: 1100px;
  display: flex; align-items: center;
  overflow: hidden; padding: 0 var(--pad);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 60% at 75% 35%, rgba(47,123,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(231,200,120,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(20,40,90,0.3) 0%, transparent 70%);
}
.hero-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; display: block;
}
/* OVERRIDE mobile at END of file via !important to ensure it wins */
@media (max-width: 680px) {
  .hero-canvas {
    position: relative !important; top: auto !important; left: auto !important;
    width: 100% !important; height: 240px !important;
    margin-bottom: 0.5rem; opacity: 1;
  }
}
.hero-content {
  position: relative; z-index: 2; max-width: 640px;
  margin-left: clamp(0px, 4vw, 3rem);
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--primary-2); margin-bottom: 1.4rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-hero); line-height: 0.98; letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(120deg, var(--primary-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  font-size: var(--text-lg); color: var(--muted); max-width: 540px;
  margin-bottom: 2.6rem; line-height: 1.55;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--primary-2), transparent); }
.hero-drag-hint {
  position: absolute; bottom: 2.5rem; right: var(--pad); z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--gold); opacity: 0.8;
}
@media (max-width: 700px){ .hero-drag-hint { display:none } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section-index {
  font-family: var(--font-mono); color: var(--primary); font-size: 0.85rem;
  letter-spacing: 0.2em; display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-3xl);
  line-height: 1.04; letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--primary-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { color: var(--muted); max-width: 520px; margin-top: 1.2rem; font-size: var(--text-lg); }

/* ---------- BRANDS ---------- */
.brands { padding: 9rem 0; }
.brand-grid {
  max-width: var(--maxw); margin: 3.5rem auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem;
}
.brand-card { padding: 2.6rem; border-radius: 24px; transform-style: preserve-3d; }
.brand-logo-wrap {
  width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
  margin-bottom: 1.8rem; background: #fff;
  box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(47,123,255,0.25);
}
.brand-logo-gold { box-shadow: 0 0 0 1px var(--border), 0 10px 30px rgba(231,200,120,0.3); }
.brand-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.brand-card h3 {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600;
  margin-bottom: 0.9rem;
}
.brand-card h3 span { color: var(--gold); }
.brand-card p { color: var(--muted); margin-bottom: 1.6rem; }
.brand-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.brand-tags li {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem; border-radius: 100px; border: 1px solid var(--border);
  color: var(--primary-2);
}

/* ---------- Marquee ---------- */
.marquee-section { padding: 2rem 0; border-block: 1px solid var(--border); }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex; align-items: center; gap: 2.5rem; will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 500; color: var(--text); font-style: italic;
}
.marquee-track span:nth-child(even) { color: var(--gold); font-size: 1.4rem; }

/* ---------- SERVICES bento ---------- */
.services { padding: 9rem 0; }
.bento {
  max-width: var(--maxw); margin: 3.5rem auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto); gap: 1.2rem;
}
.bento-item {
  border-radius: 22px; padding: 2.2rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s, border-color 0.4s;
}
.bento-item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-2), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.bento-item:hover { transform: translateY(-6px); border-color: rgba(47,123,255,0.4); }
.bento-item:hover::before { opacity: 1; }
.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }
.bento-num {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--primary);
  letter-spacing: 0.15em; margin-bottom: auto;
}
.bento-item h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  margin: 1.4rem 0 0.7rem;
}
.bento-item p { color: var(--muted); font-size: var(--text-sm); }
.bento-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.bento-list li {
  font-family: var(--font-mono); font-size: 0.7rem; padding: 0.3rem 0.7rem;
  border-radius: 100px; border: 1px solid var(--border); color: var(--gold);
}

/* ---------- TECH ---------- */
.tech { padding: 9rem 0; }
.tech-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center;
}
.tech-text > p { color: var(--muted); margin-top: 1.4rem; max-width: 480px; }
.tech-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600; line-height: 1; display: inline;
  background: linear-gradient(120deg, var(--primary-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-suf {
  font-family: var(--font-display); font-size: 2rem; color: var(--gold);
  vertical-align: top;
}
.stat p { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }

.tech-visual { position: relative; height: 420px; display: grid; place-items: center; }
.tech-orb {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--primary-2), #0a1a3c 70%);
  box-shadow: 0 0 80px var(--primary-glow), inset -20px -20px 60px rgba(0,0,0,0.6);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(-12px)} 50%{transform:translateY(12px)} }
.tech-card {
  position: relative; z-index: 1; padding: 1.8rem; border-radius: 18px;
  max-width: 240px; backdrop-filter: blur(24px);
}
.tech-card-label {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.tech-card h4 { font-family: var(--font-display); font-size: 1.5rem; margin: 0.4rem 0; }
.tech-card p { color: var(--muted); font-size: 0.85rem; }

/* ---------- CONTACT ---------- */
.contact { padding: 9rem 0; }
.contact-inner { max-width: var(--maxw); margin: 0 auto; }
.contact-grid {
  padding: 0 var(--pad); margin-top: 3.5rem;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem;
}
.contact-item { margin-bottom: 2.2rem; }
.contact-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--primary); display: block; margin-bottom: 0.6rem;
}
.contact-item p { font-size: var(--text-lg); }
.contact-item a:hover { color: var(--primary-2); }
.contact-map { border-radius: 22px; overflow: hidden; min-height: 420px; }
.contact-map iframe { filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) contrast(0.9); }

/* ---------- FOOTER ---------- */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-brand em { color: var(--gold); }
.footer-copy { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }

/* ---------- Reveal base ---------- */
.reveal { will-change: transform, opacity; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  z-index: 9990; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #25d366, #128c54);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s;
}
.whatsapp-float svg { position: relative; z-index: 2; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 36px rgba(37,211,102,0.6); }
.whatsapp-float:active { transform: scale(0.96); }
.whatsapp-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: 1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: var(--surface); color: var(--text);
  font-size: 0.85rem; padding: 0.6rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-50%) translateX(8px);
}
.whatsapp-tooltip::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--surface);
  border-right: 1px solid var(--border); border-top: 1px solid var(--border);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tech-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.tall { grid-row: span 1; }
  .tech-visual { height: 340px; }
}

/* ----- Tablet / large phone ----- */
@media (max-width: 680px) {
  .brand-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-item.wide { grid-column: span 1; }
  .hero-content { margin-left: 0; }
  .brands, .services, .tech, .contact { padding: 5.5rem 0; }

  /* Hero on mobile: glasses in a clean top band, text below — no overlap */
  .hero {
    min-height: auto; max-height: none;
    display: flex; flex-direction: column; justify-content: flex-start;
    align-items: stretch;
    padding-top: 6.5rem; padding-bottom: 3.5rem;
  }
  .hero-content {
    position: relative; z-index: 2; max-width: 100%;
    background: none; backdrop-filter: none;
  }
  .hero-subtitle { font-size: var(--text-base); max-width: 100%; }
  /* Stack buttons vertically so nothing gets clipped on narrow screens */
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; padding-inline: 1rem; }
  .hero-drag-hint, .hero-scroll { display: none; }

  /* Prevent any horizontal overflow on phones */
  .hero-eyebrow { letter-spacing: 0.14em; font-size: 0.66rem; white-space: normal; }
  .section-title, .hero-title { word-break: break-word; overflow-wrap: break-word; }
  .brand-tags li, .bento-list li { font-size: 0.68rem; }

  /* Smaller section titles so long phrases fit one screen width */
  .section-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }

  /* Cards/grids never bleed past the screen edge; text wraps inside */
  .brand-grid, .bento, .contact-grid { max-width: 100%; box-sizing: border-box; }
  .brand-card, .bento-item, .glass { max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .brand-card p, .bento-item p, .brand-card h3, .bento-item h3 {
    overflow-wrap: break-word; word-break: break-word; max-width: 100%;
  }
  /* Tag rows wrap instead of overflowing */
  .brand-tags, .bento-list { flex-wrap: wrap; }

  .tech-stats { gap: 1.6rem; justify-content: space-between; }
  .tech-visual { height: 300px; }
  .contact-map { min-height: 320px; }
  .section-lead { font-size: var(--text-base); }
}

/* ----- Small phones (≤ 400px) ----- */
@media (max-width: 400px) {
  .brand-card { padding: 1.8rem; }
  .bento-item { padding: 1.7rem; }
  .stat-num { font-size: 2.4rem; }
  .whatsapp-float { width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
}

/* Tap targets & remove hover-only effects on touch devices */
@media (hover: none) {
  .whatsapp-pulse { animation-duration: 2.4s; }
  .nav-links a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .whatsapp-pulse { display: none; }
}
