/* ============================================================
   THE ATHLETE'S FOOT — Components CSS
   Navbar, Buttons, Cards, Forms, Footer, Modals
   ============================================================ */

/* ── Scroll Progress ───────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  z-index: 9999;
  box-shadow: 0 0 10px var(--red-glow);
  transition: width 80ms linear;
}

/* ── Top Bar ───────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--t-base);
}

.topbar-contact a:hover { color: var(--text); }

.topbar-contact svg {
  width: 14px; height: 14px;
  color: var(--red);
  flex-shrink: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  transition: color var(--t-base), background var(--t-base);
}

.topbar-social a:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.topbar-social svg { width: 14px; height: 14px; }

.topbar-divider {
  width: 1px; height: 16px;
  background: var(--border-md);
}

.topbar-promo {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.topbar-promo strong { color: var(--gold); }

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-slow), backdrop-filter var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom-color: var(--border-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 36px;
  width: auto;
  transition: filter var(--t-base), opacity var(--t-base);
}

.nav-logo:hover img { filter: drop-shadow(0 0 8px rgba(212,43,43,0.5)); opacity: 0.9; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition: color var(--t-base), background var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: var(--r-full);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-dropdown-item:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  color: var(--text-muted);
  transition: color var(--t-base), background var(--t-base);
  cursor: pointer;
}

.nav-icon-btn:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.nav-icon-btn svg { width: 20px; height: 20px; }

.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 2px solid var(--bg);
}

.nav-cta {
  margin-left: var(--sp-2);
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: var(--r-md);
  transition: background var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: background var(--t-base);
}

.hamburger:hover { background: rgba(0,0,0,0.05); }

.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--t-slow), opacity var(--t-base), width var(--t-slow);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  z-index: calc(var(--z-overlay) + 10);
  display: flex;
  flex-direction: column;
  padding: var(--sp-6);
  padding-top: calc(var(--header-h) + var(--sp-8));
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-base), padding-left var(--t-slow);
}

.mobile-menu-link:hover {
  color: var(--text);
  padding-left: var(--sp-4);
}

.mobile-menu-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-slow);
  white-space: nowrap;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 300ms ease;
}

.btn:hover::before { transform: translateX(0); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Primary */
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(212,43,43,0.3);
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

/* Secondary / Ghost */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-md);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.04);
}

/* White */
.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Gold */
.btn-gold {
  background: var(--gold);
  color: #000;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* Sizes */
.btn-sm { padding: 8px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }
.btn-xl { padding: 20px 44px; font-size: 15px; }

/* Icon only */
.btn-icon {
  padding: 10px;
  width: 40px; height: 40px;
}

/* Loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading::after {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 600ms linear infinite;
  margin-left: 6px;
}

/* ── Product Card ───────────────────────────────────────────── */

.product-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--t-slow), box-shadow var(--t-slow), transform var(--t-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-card), 0 0 40px rgba(212,43,43,0.08);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-badges {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.product-card-wishlist {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--t-base), background var(--t-base), transform var(--t-spring);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-card-wishlist {
  opacity: 1;
  transform: scale(1);
}

.product-card-wishlist:hover { color: var(--red); }
.product-card-wishlist svg { width: 16px; height: 16px; }

.product-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-4);
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform var(--t-slow);
}

.product-card:hover .product-card-overlay {
  transform: translateY(0);
}

.product-card-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.product-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.product-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-category {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.product-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.product-price-original {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-right: 4px;
}

.product-quick-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--t-base), transform var(--t-spring), box-shadow var(--t-base);
  cursor: pointer;
  border: none;
}

.product-quick-add:hover {
  background: var(--red-light);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(212,43,43,0.4);
}

.product-quick-add svg { width: 14px; height: 14px; }

/* ── Review Card ────────────────────────────────────────────── */

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.review-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-star {
  width: 16px; height: 16px;
  color: var(--gold);
  fill: var(--gold);
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.review-author-info span {
  font-size: 11px;
  color: var(--text-dim);
}

.review-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Form Elements ──────────────────────────────────────────── */

.form-group {
  position: relative;
}

.form-label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-dim);
  pointer-events: none;
  transition: all var(--t-base);
  background: transparent;
}

.form-group.textarea .form-label {
  top: 18px;
  transform: none;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px;
  padding-top: 22px;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
  outline: none;
  -webkit-appearance: none;
}

.form-textarea {
  padding-top: 28px;
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--red);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(212,43,43,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: transparent;
}

/* Float label up when focused or filled */
.form-group:focus-within .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: 8px;
  transform: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.form-group.textarea:focus-within .form-label {
  top: 8px;
}

.form-error {
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  display: none;
  padding-left: 4px;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: var(--error);
}

.form-group.error .form-error { display: block; }

.form-success-msg {
  display: none;
  text-align: center;
  padding: var(--sp-8);
}

.form-success-msg.show { display: block; }

/* ── Stats Card ─────────────────────────────────────────────── */

.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.stat-number-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-number-display span { color: var(--red); }

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Brand Logo Card ────────────────────────────────────────── */

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6) var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base), transform var(--t-slow);
  min-height: 100px;
}

.brand-card:hover {
  border-color: var(--red);
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212,43,43,0.12);
}

.brand-card .brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color var(--t-base);
}

.brand-card:hover .brand-name { color: var(--text); }

/* ── Collection Card ────────────────────────────────────────── */

.collection-card {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.collection-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card-img {
  transform: scale(1.06);
}

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.3) 50%,
    transparent 100%
  );
}

.collection-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-8);
}

/* ── Carousel / Slider ──────────────────────────────────────── */

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: var(--sp-6);
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: var(--z-above);
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-spring);
}

.carousel-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg { width: 18px; height: 18px; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface-3);
  cursor: pointer;
  transition: background var(--t-base), width var(--t-slow);
}

.carousel-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: var(--r-full);
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: var(--sp-20) 0 var(--sp-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.footer-brand .nav-logo img {
  height: 32px;
  margin-bottom: var(--sp-4);
}

.footer-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
}

.footer-social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color var(--t-base), border-color var(--t-base), background var(--t-base), transform var(--t-spring);
}

.footer-social-link:hover {
  color: var(--text);
  border-color: var(--red);
  background: rgba(212,43,43,0.1);
  transform: translateY(-2px);
}

.footer-social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link {
  font-size: 14px;
  color: var(--text-dim);
  transition: color var(--t-base), padding-left var(--t-slow);
}

.footer-link:hover {
  color: var(--text);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-contact-item svg {
  width: 16px; height: 16px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-contact-item a {
  color: var(--text-muted);
  transition: color var(--t-base);
}

.footer-contact-item a:hover { color: var(--red); }

.footer-newsletter {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color var(--t-base);
}

.footer-newsletter input:focus { border-color: var(--red); }
.footer-newsletter input::placeholder { color: var(--text-dim); }

.footer-newsletter button {
  padding: 10px 16px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--t-base);
  cursor: pointer;
  border: none;
}

.footer-newsletter button:hover { background: var(--red-light); }

.footer-bottom {
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-copyright a { color: var(--red); transition: color var(--t-base); }
.footer-copyright a:hover { color: var(--red-light); }

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color var(--t-base);
}

.footer-legal a:hover { color: var(--text); }

/* ── Mobile FAB Buttons ─────────────────────────────────────── */

.mobile-fabs {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-5);
  display: none;
  flex-direction: column;
  gap: var(--sp-3);
  z-index: var(--z-overlay);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  pointer-events: none;
}

.mobile-fabs.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

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

.fab-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  border: none;
  text-decoration: none;
}

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

.fab-call {
  background: var(--red);
  color: #fff;
}

.fab-call:hover { box-shadow: var(--shadow-red); }

.fab-whatsapp {
  background: #25D366;
  color: #fff;
}

.fab-whatsapp:hover { box-shadow: 0 0 20px rgba(37,211,102,0.4); }

.fab-btn svg { width: 22px; height: 22px; }

/* ── Cookie Banner ──────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  max-width: 400px;
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  transform: translateY(120%);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner h4 {
  font-size: 14px;
  margin-bottom: var(--sp-2);
}

.cookie-banner p {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.cookie-banner-btns {
  display: flex;
  gap: var(--sp-3);
}

/* ── Responsive Nav ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 768px) {
  .topbar-contact .topbar-email { display: none; }
  .topbar-promo { display: none; }
}

@media (max-width: 480px) {
  .topbar-left { gap: var(--sp-3); }
  .topbar-contact { gap: var(--sp-2); }
}
