/* ValesTech - Main Stylesheet */
/* Paleta: Rojo (#da5d5d), Blanco (#ffffff), Negro (#111111) */

:root {
  --primary: #da5d5d;
  --primary-dark: #c44545;
  --primary-light: #e88a8a;
  --white: #ffffff;
  --black: #111111;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   LOADER
============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.loader-dots span {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; }
.loader-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.loader-text {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================================
   TOAST NOTIFICATIONS
============================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  max-width: 360px;
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success {
  border-left: 4px solid #22c55e;
}

.toast.toast-error {
  border-left: 4px solid var(--primary);
}

.toast.toast-info {
  border-left: 4px solid #3b82f6;
}

.toast.toast-warning {
  border-left: 4px solid #f59e0b;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.toast-close {
  width: 20px;
  height: 20px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* ============================================
   PILL NAV (Desktop)
============================================ */
.pill-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: pillNavIn 0.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes pillNavIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.pill-nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pill-nav-logo {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pill-nav-brand-name {
  align-self: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 0.5px;
}

.pill-nav-brand-tagline {
  font-size: 10px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.3px;
}

.pill-nav-logo svg {
  width: 24px;
  height: 24px;
}

.pill-nav-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.pill-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pill-nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 40px;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.pill-nav-link:hover {
  color: var(--black);
  background: var(--gray-100);
}

.pill-nav-link.active {
  color: var(--white);
  background: var(--black);
}

.pill-nav-cta {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: 40px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.pill-nav-cta:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}

/* ============================================
   MOBILE NAV (Staggered Menu)
============================================ */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--black);
  transition: transform var(--transition-fast);
}

.mobile-nav-toggle.active svg {
  transform: rotate(90deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
}

.mobile-nav-link {
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  padding: 16px 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: color var(--transition-fast), opacity var(--transition-normal), transform var(--transition-normal);
}

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

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-social {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  transition-delay: 0.35s;
}

.mobile-nav.active .mobile-nav-social {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-social a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 50%;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.mobile-nav-social a:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.mobile-nav-social a:hover svg {
  color: var(--white);
}

.mobile-nav-social svg {
  width: 22px;
  height: 22px;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#pixel-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(218, 93, 93, 0.1);
  border: 1px solid rgba(218, 93, 93, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.5s;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--black);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.5s;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 500;
  color: var(--black);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.6s;
  letter-spacing: 2px;
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.7s;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.8s;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.9s;
}

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

.hero-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--primary);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(218, 93, 93, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 93, 93, 0.5);
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ============================================
   SECTIONS
============================================ */
.section {
  padding: 100px 24px;
}

.section-dark {
  background: var(--gray-50);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(218, 93, 93, 0.1);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--gray-500);
}

/* ============================================
   SPOTLIGHT CARDS
============================================ */
.spotlight-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.spotlight-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(218, 93, 93, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(218, 93, 93, 0.3);
}

.spotlight-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 93, 93, 0.1);
  border-radius: 16px;
  margin-bottom: 20px;
}

.spotlight-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.spotlight-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.spotlight-card-description {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.spotlight-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.spotlight-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.spotlight-card:hover .spotlight-card-link {
  gap: 10px;
}

.spotlight-card:hover .spotlight-card-link svg {
  transform: translateX(4px);
}

/* ============================================
   BORDER GLOW CARDS (Premium)
============================================ */
.glow-card {
  position: relative;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--primary),
    transparent 30%
  );
  animation: borderRotate 4s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glow-card:hover::after {
  opacity: 0.3;
}

@keyframes borderRotate {
  100% {
    transform: rotate(360deg);
  }
}

.glow-card-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   PIXEL CARD (Tech feel)
============================================ */
.pixel-card {
  position: relative;
  background: var(--black);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  overflow: hidden;
}

.pixel-card-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(218, 93, 93, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(218, 93, 93, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pixel-card-content {
  position: relative;
  z-index: 1;
}

.pixel-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pixel-card-text {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   BENTO GRID
============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
}

.bento-item {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  border-color: rgba(218, 93, 93, 0.3);
  box-shadow: var(--shadow-lg);
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item.span-3 {
  grid-column: span 3;
}

.bento-item.span-row-2 {
  grid-row: span 2;
}

.bento-item.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
}

.bento-item.featured .bento-description {
  color: rgba(255, 255, 255, 0.8);
}

.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 93, 93, 0.1);
  border-radius: 14px;
  margin-bottom: 20px;
}

.bento-item.featured .bento-icon {
  background: rgba(255, 255, 255, 0.2);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.bento-item.featured .bento-icon svg {
  color: var(--white);
}

.bento-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-description {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding-right: 40px;
}

.contact-info-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--black);
}

.contact-info-text {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 93, 93, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-item-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-item-content p, 
.contact-item-content a {
  font-size: 15px;
  color: var(--gray-500);
}

.contact-item-content a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
}

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

.form-submit {
  width: 100%;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 24px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 15px;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 15px;
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 10px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

.footer-credit {
  color: var(--gray-500);
  font-size: 13px;
  transition: color var(--transition-fast);
}

.footer-credit:hover {
  color: var(--primary-light);
}

.footer-credit strong {
  font-weight: 600;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-credit:hover strong {
  color: var(--primary);
}

/* CTA Rating Tooltip (visible when CTA in view) */
.cta-buttons-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-rating-tooltip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 8px;
}

.cta-rating-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-rating-tooltip .google-maps-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta-rating-score {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.cta-rating-stars {
  display: flex;
  gap: 1px;
}

.cta-rating-stars svg {
  width: 12px;
  height: 12px;
  color: #FBBC04;
}

.cta-rating-label {
  font-size: 11px;
  color: var(--gray-500);
  padding-left: 8px;
  border-left: 1px solid var(--gray-200);
}

/* Floating Rating Notification */
.floating-rating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-rating.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.floating-rating a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.floating-rating a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.floating-rating .google-maps-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.floating-rating-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-rating-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-rating-score {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.floating-rating-stars {
  display: flex;
  gap: 1px;
}

.floating-rating-stars svg {
  width: 14px;
  height: 14px;
  color: #FBBC04;
}

.floating-rating-label {
  font-size: 11px;
  color: var(--gray-500);
}

@media (max-width: 480px) {
  .floating-rating {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  
  .floating-rating a {
    justify-content: center;
  }
}

/* ============================================
   PAGE HEADER (Internal pages)
============================================ */
.page-header {
  padding: 160px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.page-header-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}

.page-header-description {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   LOCATIONS SECTION
============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.location-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.location-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.location-card-city {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-card-city svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.location-card-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-600);
  font-family: var(--font-mono);
}

.location-card-phone:hover {
  color: var(--primary);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-item.span-3 {
    grid-column: span 2;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .pill-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 32px;
  }
  
  .hero-stat-number {
    font-size: 36px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-item.span-2,
  .bento-item.span-3 {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  
  .toast {
    max-width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 100px 16px 60px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .spotlight-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* ============================================
   ANIMATIONS ON SCROLL
============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
