/* ============================================================
   MAS food consulting — styles.css
   Mobile-first, custom CSS, no frameworks
============================================================ */

/* ---- Variables ---- */
:root {
  --c-olive:        #8A9A5B;
  --c-olive-dark:   #6e7d47;
  --c-blue-gray:    #8FA6B5;
  --c-earth:        #A89968;
  --c-dark-green:   #1F3D2E;
  --c-dark-footer:  #162b1f;
  --c-white:        #FFFFFF;
  --c-off-white:    #F8F7F4;
  --c-text:         #1F2937;
  --c-text-sec:     #4B5563;
  --c-border:       #E5E7EB;

  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --nav-h:     68px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.22s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -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; }
h1, h2, h3, h4 { line-height: 1.25; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--c-olive);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.section {
  padding: var(--sp-16) 0;
  scroll-margin-top: var(--nav-h);
}

/* ---- Section header ---- */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--c-text-sec);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* WhatsApp green */
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn-wa:hover { background: #1ebe5d; box-shadow: 0 6px 20px rgba(37,211,102,.45); }

/* Outline light (on dark bg) */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Outline dark (on light bg) */
.btn-outline-dark {
  background: transparent;
  color: var(--c-dark-green);
  border: 2px solid rgba(31,61,46,.35);
}
.btn-outline-dark:hover { border-color: var(--c-dark-green); background: rgba(31,61,46,.05); }

/* Sizes */
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: 1rem; }
.btn-xl { padding: var(--sp-4) var(--sp-10); font-size: 1.05rem; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
  gap: var(--sp-4);
}

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; object-fit: contain; }

/* Nav menu — hidden on mobile by default */
.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  gap: var(--sp-1);
  box-shadow: var(--shadow-md);
}
.nav-menu.is-open { display: flex; }

.nav-link {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-weight: 500;
  color: var(--c-text-sec);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--c-dark-green); background: var(--c-off-white); }

/* Nav right side */
.nav-end {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--c-off-white); }
.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: var(--sp-1);
    box-shadow: none;
    align-items: center;
  }
  .nav-toggle { display: none; }
  .nav-link { padding: var(--sp-2) var(--sp-3); }
}

/* ============================================================
   HERO
============================================================ */
#inicio { scroll-margin-top: 0; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--c-text);
  padding: var(--sp-10) 0;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-white);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-8);
  width: 100%;
}

/* Copy block */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.hero-title {
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-text);
  max-width: 27ch;
  text-wrap: balance;
}
.hero-accent { color: var(--c-olive-dark); }

.hero-text {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--c-text-sec);
  max-width: 520px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* Capability chips (light) */
.hero-caps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-3);
  max-width: 560px;
}
.hero-caps li {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text-sec);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid var(--c-border);
  background: var(--c-off-white);
}

/* Logo visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  order: -1; /* mobile: logo on top */
}
.hero-logo-img {
  width: min(64vw, 290px);
  max-height: 40vh;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  color: var(--c-text-sec);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-scroll-chevron {
  display: flex;
  color: var(--c-olive);
  animation: hero-bob 1.9s ease-in-out infinite;
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* Desktop: text left, logo right */
@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    text-align: left;
    gap: var(--sp-12);
  }
  .hero-copy { align-items: flex-start; }
  .hero-actions { justify-content: flex-start; }
  .hero-caps { justify-content: flex-start; }
  .hero-visual {
    order: 0; /* copy col 1, logo col 2 */
    transform: translateY(-16px); /* nudge logo slightly up */
  }
  .hero-logo-img {
    width: 100%;
    max-width: 430px;
    max-height: 60vh;
  }
}

@media (min-width: 768px) and (min-height: 720px) {
  .hero-scroll { display: flex; }
}

/* ============================================================
   ABOUT (Quiénes somos)
============================================================ */
.about { background: var(--c-off-white); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

.pillar {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(138,154,91,.12);
  color: var(--c-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}

.pillar-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-olive);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
}

.pillar-text {
  color: var(--c-text-sec);
  font-size: 0.97rem;
  line-height: 1.65;
}

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

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--c-off-white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card[open] { box-shadow: var(--shadow-md); }

.service-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}
.service-summary::-webkit-details-marker { display: none; }

.svc-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}

.svc-verb {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--c-olive);
  text-transform: uppercase;
}

.svc-tag {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.4;
}

.svc-chevron {
  flex-shrink: 0;
  color: var(--c-text-sec);
  transition: transform var(--transition);
  display: flex;
  align-items: center;
}
.service-card[open] .svc-chevron { transform: rotate(180deg); }

.service-body {
  padding: 0 var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--c-off-white);
}
.service-body ul {
  list-style: none;
  padding: var(--sp-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.service-body li {
  position: relative;
  padding-left: var(--sp-5);
  color: var(--c-text-sec);
  font-size: 0.95rem;
  line-height: 1.55;
}
.service-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-olive);
  flex-shrink: 0;
}

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

/* ============================================================
   TARGET (Para quién)
============================================================ */
.target { background: var(--c-white); }
.modality-section { background: var(--c-off-white); }

.target-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  max-width: 900px;
  margin: 0 auto var(--sp-16);
}

.target-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-off-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.target-list li:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.target-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--c-olive);
}
.target-list li:nth-child(3n+1) .target-avatar { background: var(--c-olive); }
.target-list li:nth-child(3n+2) .target-avatar { background: var(--c-blue-gray); }
.target-list li:nth-child(3n+3) .target-avatar { background: var(--c-earth); }

.target-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.4;
}

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

/* Modality cards */
.modality { max-width: 960px; margin: 0 auto; }
.modality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
.modality-card {
  background: var(--c-dark-green);
  color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.modality-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.modality-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(138,154,91,.22);
  color: #B7C68C;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}
.modality-name {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.modality-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
@media (min-width: 720px) {
  .modality-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   METHODOLOGY
============================================================ */
.methodology { background: var(--c-white); }

.steps-list {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  list-style: none;
  padding: 0;
}

/* Vertical connector line behind the number badges */
.steps-list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(var(--c-olive), rgba(138,154,91,.25));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-olive), var(--c-olive-dark));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(138,154,91,.4);
}

.step-content {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.step:hover .step-content { box-shadow: var(--shadow-md); transform: translateX(3px); }

.step-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--c-dark-green);
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
}
.step-desc { color: var(--c-text-sec); font-size: 0.97rem; }

/* ============================================================
   TEAM
============================================================ */
.team { background: var(--c-white); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-5);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* Team photo */
.team-photo {
  flex-shrink: 0;
  width: min(46vw, 190px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-off-white);
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.team-photo img {
  width: 100%;
  aspect-ratio: 981 / 1148;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-info { flex: 1; min-width: 0; }

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.team-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-olive);
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-4);
}
.team-bio {
  color: var(--c-text-sec);
  font-size: 0.97rem;
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.team-skills li {
  background: var(--c-off-white);
  color: var(--c-text-sec);
  border-radius: 9999px;
  padding: var(--sp-1) var(--sp-3);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--c-border);
}

.team-exp {
  font-size: 0.875rem;
  color: var(--c-text-sec);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Photo left, info right */
@media (min-width: 560px) {
  .team-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .team-skills { justify-content: flex-start; }
  /* Desktop: cada foto ≈ 15% del ancho de pantalla */
  .team-photo { width: clamp(160px, 15vw, 240px); }
}

/* Two people side by side (half screen each) */
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  background: var(--c-dark-green);
  color: var(--c-white);
  padding: var(--sp-20) 0;
  scroll-margin-top: var(--nav-h);
}
.contact .section-title { color: var(--c-white); }
.contact .section-subtitle { color: rgba(255,255,255,.72); }
.contact-inner { text-align: center; }

.contact .section-header,
.contact-inner > .section-title,
.contact-inner > .section-subtitle {
  margin-bottom: var(--sp-6);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin: var(--sp-8) 0 var(--sp-8);
}

.contact-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--c-dark-footer);
  color: rgba(255,255,255,.6);
  padding: var(--sp-10) 0 var(--sp-8);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  text-align: center;
}

.footer-logo-link { display: inline-flex; }
.footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.75);
}

.footer-brand { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); }
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--c-olive);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  justify-content: center;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--c-white); }

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
============================================================ */
.wa-float {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.7rem 1.15rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 22px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 28px rgba(37,211,102,.6);
}
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float-label { white-space: nowrap; }

/* ============================================================
   ANIMATIONS
============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
[data-animate]:nth-child(2) { transition-delay: 0.08s; }
[data-animate]:nth-child(3) { transition-delay: 0.16s; }
[data-animate]:nth-child(4) { transition-delay: 0.06s; }
[data-animate]:nth-child(5) { transition-delay: 0.12s; }
[data-animate]:nth-child(6) { transition-delay: 0.18s; }

/* ============================================================
   UTILITY
============================================================ */
/* Hide element only on mobile (< 768px) */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
