/* ============================================================
   Skill-up Learning Academy — styles.css
   Mobile-first · CSS Variables · No frameworks
   ============================================================ */

/* ---------- 0. Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Malayalam:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ---------- 1. CSS Custom Properties ---------- */
:root {
  --primary:        #0f1d72;
  --primary-dark:   #0a1558;
  --primary-light:  #1a2d9e;
  --accent:         #d72638;
  --accent-light:   #f04255;
  --white:          #ffffff;
  --off-white:      #f7f8fc;
  --light-gray:     #eef0f8;
  --mid-gray:       #9399b2;
  --dark-gray:      #3d4166;
  --text-body:      #2c2f4a;
  --text-muted:     #6b7094;
  --border:         #dde0f0;
  --shadow-sm:      0 1px 4px rgba(15,29,114,0.08);
  --shadow-md:      0 4px 20px rgba(15,29,114,0.12);
  --shadow-lg:      0 12px 40px rgba(15,29,114,0.18);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --font-body:      'Poppins', 'Noto Sans Malayalam', system-ui, -apple-system, sans-serif;
  --font-display:   'Poppins', 'Noto Sans Malayalam', system-ui, -apple-system, sans-serif;
  --font-poppins:   'Poppins', 'Noto Sans Malayalam', system-ui, -apple-system, sans-serif;
  --transition:     0.25s ease;
  --max-width:      1400px;
  --section-py:     80px;
  --header-h:       72px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

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

/* ---------- 3. Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.8;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,29,114,0.28);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,29,114,0.36);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: none;
}

.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: none;
}

.header-cta .btn-whatsapp,
.btn-whatsapp-outline {
  background: transparent;
  color: #25d366;
  border: 1.5px solid #25d366;
  box-shadow: none;
  transition: all var(--transition);
}

.header-cta .btn-whatsapp:hover,
.btn-whatsapp-outline:hover {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-wa-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- 5. Site Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

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

.site-logo img {
  height: 52px;
  width: auto;
}

/* Primary Nav */
.primary-nav {
  display: none;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  display: block;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-gray);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--primary);
  background: var(--light-gray);
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.header-phone:hover {
  border-color: var(--primary);
  background: var(--light-gray);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}

.hamburger:hover { background: var(--light-gray); }
.hamburger:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
}

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

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

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

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-gray);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav a:hover { color: var(--primary); background: var(--light-gray); }

.mobile-nav-cta {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

/* Mobile nav CTA - buttons sized to text */
.mobile-nav-cta .btn {
  width: auto;
  justify-content: center;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: var(--radius-md);
}

.mobile-nav-cta .btn-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}

.mobile-nav-cta .btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.mobile-nav-cta .btn-whatsapp {
  background: transparent;
  color: #25d366;
  border: 1.5px solid #25d366;
  box-shadow: none;
}

.mobile-nav-cta .btn-whatsapp:hover {
  background: #25d366;
  color: var(--white);
  transform: none;
  box-shadow: none;
}

/* ---------- 6. Hero Section ---------- */
.hero {
  position: relative;
  padding: 72px 0 60px;
  background: linear-gradient(145deg, #f0f2ff 0%, #ffffff 50%, #fff5f5 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(15,29,114,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(215,38,56,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,29,114,0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span.accent { color: var(--accent); }

.hero-sub {
  font-size:1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--light-gray);
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid var(--border);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
}

.hero-stat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

/* Vertical divider between columns */
.hero-stat:nth-child(even) {
  border-left: 1px solid var(--border);
}

/* Horizontal divider between rows */
.hero-stat:nth-child(-n+2) {
  border-bottom: 1px solid var(--border);
}

/* Flush outer edges so padding only separates text from dividers */
.hero-stat:first-child,
.hero-stat:nth-child(3) {
  padding-left: 0;
}

.hero-stat:nth-child(2),
.hero-stat:nth-child(4) {
  padding-right: 0;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- 7. Services Section ---------- */
.services {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.section-header {
  margin-bottom: 48px;
}

#services .section-label {
  font-family: var(--font-poppins);
  font-weight: 400;
}

#services .section-title {
  font-family: var(--font-poppins);
  font-weight: 700;
}

#services .section-subtitle {
  font-family: var(--font-poppins);
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Mobile: horizontal card — icon left, content right */
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15,29,114,0.08) 0%, rgba(15,29,114,0.04) 100%);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
}

.service-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ≥ 480px: switch to 2-column grid, revert to vertical card */
@media (min-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .service-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 10px;
    border-radius: var(--radius-lg);
  }
  .service-icon {
    width: 48px;
    height: 48px;
    margin-top: 0;
  }
  .service-card h3 { font-size: 0.97rem; line-height: 1.45; }
  .service-card p   { font-size: 0.85rem; line-height: 1.65; }
}

/* ---------- 8. Why Skill-up Section ---------- */
.why-skillup {
  padding: var(--section-py) 0;
  background: var(--white);
}

.why-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15,29,114,0.25);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.why-visual {
  position: relative;
}

.why-image-stack {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.why-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.why-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-badge-icon svg {
  width: 20px;
  height: 20px;
  color: white;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-badge p { font-size: 0.85rem; font-weight: 600; color: var(--dark-gray); line-height: 1.4; }
.why-badge p span { color: var(--text-muted); font-weight: 400; }

/* ---------- 9. How It Works ---------- */
.how-it-works {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(215,38,56,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.how-it-works .section-title { color: var(--white); }
.how-it-works .section-label { color: rgba(255,255,255,0.7); }
.how-it-works .section-subtitle { color: rgba(255,255,255,0.65); }

.steps-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.step-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.step-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #f04255 100%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(215,38,56,0.4);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

.step-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
}

.step-arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 10. Gallery Section ---------- */
.gallery {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,29,114,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* ---------- 11. FAQ Section ---------- */
.faq {
  padding: var(--section-py) 0;
  background: var(--white);
}

.faq-inner {
  display: grid;
  gap: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.faq-list details {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-list details[open] {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,29,114,0.06);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { display: none; }
.faq-list summary:hover { background: var(--off-white); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

details[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---------- 12. Contact Section ---------- */
.contact {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.contact-inner {
  display: grid;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-body);
  font-weight: 500;
  transition: color var(--transition);
  font-size: 0.95rem;
}

.contact-link:hover { color: var(--primary); }
.contact-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
}

.contact-link:hover .contact-link-icon {
  border-color: var(--primary);
  background: rgba(15,29,114,0.05);
}

.contact-link-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-btns .btn-whatsapp {
  justify-content: center;
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-body);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,29,114,0.1);
}

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

.form-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  padding: 16px;
  background: rgba(37,211,102,0.1);
  border: 1.5px solid rgba(37,211,102,0.3);
  border-radius: var(--radius-md);
  color: #0d6e35;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

.form-success.visible { display: block; }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social-icon:hover {
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.footer-social-icon.is-instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

.footer-social-icon.is-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.footer-social-icon.is-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.footer-social-icon.is-youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.footer-social-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--white); }
.footer-col ul a:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; border-radius: 2px; }

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(255,255,255,0.5);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }

.footer-social {
  margin-top: 16px;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 50px;
  transition: opacity var(--transition), transform var(--transition);
}

.instagram-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.instagram-btn:focus-visible { outline: 3px solid rgba(255,255,255,0.5); outline-offset: 2px; }

.instagram-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- 14. Responsive — Tablet (≥ 640px) ---------- */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-arrow { display: flex; }
  /* services-grid already handled by the 480px breakpoint above */
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-group:last-of-type,
  .form-group:nth-child(3),
  .form-group:nth-child(5) { grid-column: 1 / -1; }
  .form-submit { grid-column: 1 / -1; }
  .whatsapp-btns { flex-direction: row; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 15. Responsive — Desktop (≥ 900px) ---------- */
@media (min-width: 900px) {
  .hamburger { display: none; }
  .primary-nav { display: block; }
  .header-cta { display: flex; }

  .hero-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-image { aspect-ratio: 5/4; }

  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .service-card { flex-direction: column; padding: 28px 22px; gap: 12px; }
  .service-icon { width: 52px; height: 52px; }
  .service-icon svg { width: 26px; height: 26px; }
  .service-card h3 { font-size: 1rem; }
  .service-card p   { font-size: 0.88rem; }

  .why-inner { grid-template-columns: 1fr 1fr; gap: 72px; }

  .hero-stat-bar { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .hero-stat strong { font-size: 1.6rem; }
  .hero-stat span { font-size: 0.82rem; }
  /* Single row: remove the horizontal divider */
  .hero-stat:nth-child(-n+2) { border-bottom: none; }
  /* Dividers between every column */
  .hero-stat:nth-child(n+2) { border-left: 1px solid var(--border); }
  /* Restore inner spacing for the middle cells */
  .hero-stat:nth-child(2) { padding-right: 16px; }
  .hero-stat:nth-child(3) { padding-left: 16px; }

  .steps-grid { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery-item:first-child { grid-column: span 2; }

  .faq-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }

  .contact-inner { grid-template-columns: 1fr 1fr; align-items: stretch; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
}

/* ---------- 16. Print / Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- 17. Focus Visible Global ---------- */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- 18. Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top var(--transition);
}

.skip-link:focus { top: 0; }

/* ---------- 19. Scroll animations (JS adds .is-visible) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   20. ENHANCED ANIMATIONS & INTERACTIVITY
   ============================================================ */

/* --- Keyframe Definitions --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(2deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(15,29,114,0.4); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 16px rgba(15,29,114,0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(15,29,114,0); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes counter-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.14); color: var(--accent); }
  100% { transform: scale(1); }
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes typewriter-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Reveal Variants --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.stagger-group .reveal:nth-child(1),
.stagger-group .reveal-scale:nth-child(1) { transition-delay: 0.05s; }
.stagger-group .reveal:nth-child(2),
.stagger-group .reveal-scale:nth-child(2) { transition-delay: 0.13s; }
.stagger-group .reveal:nth-child(3),
.stagger-group .reveal-scale:nth-child(3) { transition-delay: 0.21s; }
.stagger-group .reveal:nth-child(4),
.stagger-group .reveal-scale:nth-child(4) { transition-delay: 0.29s; }
.stagger-group .reveal:nth-child(5),
.stagger-group .reveal-scale:nth-child(5) { transition-delay: 0.37s; }
.stagger-group .reveal:nth-child(6),
.stagger-group .reveal-scale:nth-child(6) { transition-delay: 0.45s; }
.stagger-group .reveal:nth-child(7),
.stagger-group .reveal-scale:nth-child(7) { transition-delay: 0.53s; }
.stagger-group .reveal:nth-child(8),
.stagger-group .reveal-scale:nth-child(8) { transition-delay: 0.61s; }

/* --- Hero text entrance --- */
.hero-text > * {
  opacity: 0;
  transform: translateY(28px);
}
.hero-text.animated > *:nth-child(1) { animation: fadeInUp 0.6s ease 0.05s forwards; }
.hero-text.animated > *:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s forwards; }
.hero-text.animated > *:nth-child(3) { animation: fadeInUp 0.6s ease 0.35s forwards; }
.hero-text.animated > *:nth-child(4) { animation: fadeInUp 0.6s ease 0.5s forwards; }
.hero-text.animated > *:nth-child(5) { animation: fadeInUp 0.6s ease 0.65s forwards; }
.hero-text.animated > *:nth-child(6) { animation: fadeInUp 0.6s ease 0.8s forwards; }
.hero-image.img-animated {
  animation: fadeInRight 0.8s ease 0.3s both;
}

/* --- Animated accent gradient --- */
.hero h1 span.accent {
  background: linear-gradient(90deg, #d72638, #ff6b6b, #d72638);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

/* --- Typewriter cursor --- */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  margin-left: 3px;
  animation: typewriter-blink 0.75s step-end infinite;
  vertical-align: bottom;
  border-radius: 2px;
  height: 0.8em;
}

/* --- Hero image float --- */
.hero-image {
  animation: float 7s ease-in-out infinite;
}

/* --- Pill shimmer --- */
.pill {
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
}
.pill:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,29,114,0.12);
}
.pill:hover::after {
  left: 160%;
  transition: left 0.45s ease;
}

/* --- Service card icon bounce --- */
.service-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-4deg);
}

/* --- Ripple on buttons --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn .ripple-el {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* --- Why items left-slide hover --- */
.why-item {
  transition: transform 0.25s ease;
  cursor: default;
}
.why-item:hover { transform: translateX(6px); }
.why-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.why-item:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(15,29,114,0.35);
}

/* --- Step cards --- */
.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,29,114,0.15);
}
.step-number {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-card:hover .step-number { transform: scale(1.1); }

/* --- Gallery image zoom --- */
.gallery-item { overflow: hidden; }
.gallery-item img {
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(8px);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* --- FAQ chevron --- */
.faq-chevron { transition: transform 0.3s ease; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { animation: fadeInUp 0.3s ease; }

/* --- Contact link slide --- */
.contact-link {
  transition: transform var(--transition), color var(--transition);
}
.contact-link:hover { transform: translateX(5px); color: var(--primary); }
.contact-link-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-link:hover .contact-link-icon { transform: scale(1.15) rotate(-5deg); }

/* --- Form field animations --- */
input, select, textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15,29,114,0.12);
}

/* --- Footer social --- */
.footer-social-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer-social-icon:hover { transform: translateY(-4px) scale(1.12); }

/* --- Nav underline slide --- */
.primary-nav a {
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

/* --- Mobile nav slide indent --- */
.mobile-nav a {
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
}
.mobile-nav a:hover { padding-left: 24px; }

/* --- Section title underline grow --- */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 44px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.is-visible .section-title::after,
.section-title:hover::after { width: 100%; }

/* --- Logo hover --- */
.site-logo img {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.site-logo:hover img { transform: scale(1.05); }

/* --- Cursor glow --- */
#cursor-glow {
  position: fixed;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,29,114,0.055) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9990;
  will-change: left, top;
  transition: opacity 0.3s ease;
}

.hero-inner { position: relative; z-index: 1; }

/* --- Progress scroll indicator --- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1100;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* --- Back-to-top button --- */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background var(--transition);
  box-shadow: 0 4px 16px rgba(15,29,114,0.28);
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px) scale(1.08);
}
#back-to-top svg {
  width: 20px; height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   Glimpses Marquee — infinite auto-scroll right → left
   ============================================================ */

/* Outer wrapper: clips the overflow and fades edges */
.glimpses-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* Soft fade masks on left & right edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* Scrolling track — wide enough to hold all 12 cards in one row */
.glimpses-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: glimpses-scroll 28s linear infinite;
  will-change: transform;
}

/* Pause on hover for accessibility / browsing comfort */
.glimpses-marquee-wrapper:hover .glimpses-track {
  animation-play-state: paused;
}

/* Individual image card — 3:4 portrait ratio */
.glimpses-item {
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glimpses-item:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.glimpses-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.glimpses-item:hover img {
  transform: scale(1.07);
}

/* Keyframe: translateX -50% scrolls exactly the first 6 (original) cards out */
@keyframes glimpses-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .glimpses-item {
    width: 195px;
    height: 260px;
  }
}

/* Reduce-motion override */
@media (prefers-reduced-motion: reduce) {
  .hero-image  { animation: none !important; }
  .pill::after { display: none; }
  .hero-text > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-text.animated > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  #cursor-glow { display: none !important; }
  .glimpses-track { animation: none !important; }
}
