/* ══════════════════════════════════════════════════
   EQUI JUMP 06 – Stylesheet
   Design: forest green + gold | Mobile-first
══════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --green-dark:  #1B3A2D;
  --green-mid:   #2D6A4F;
  --green-light: #52B788;
  --gold:        #C9A84C;
  --gold-light:  #E8D5A3;
  --cream:       #F5F0E8;
  --dark:        #0F1F18;
  --white:       #FFFFFF;
  --text:        #2C2C2C;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;

  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15);

  --container: 1200px;
  --header-h:  72px;
  --ease:      .3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font-b); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
img   { display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
address { font-style: normal; }
button  { cursor: pointer; border: none; background: none; font-family: inherit; }
blockquote { font-style: italic; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section commons ── */
.section { padding: 96px 0; }

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

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--green-mid); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  transition: all var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,45,.35);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover {
  background: #b8953e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

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

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

/* ══════════════════════════════
   HEADER / NAV
══════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  transition: background var(--ease), box-shadow var(--ease), transform .35s cubic-bezier(.4,0,.2,1);
}
.header.header-hidden {
  transform: translateY(-100%);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-emblem { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; }
.nav-logo-text   { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  transition: color var(--ease);
}
.nav-logo-region {
  font-size: .65rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .1em;
  transition: color var(--ease);
}
.header.scrolled .nav-logo-name   { color: var(--dark); }
.header.scrolled .nav-logo-region { color: var(--text-muted); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--white); }
.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .nav-link:hover { color: var(--green-dark); }

.nav-cta {
  padding: 9px 18px;
  background: var(--gold);
  color: var(--dark) !important;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--ease);
}
.nav-cta:hover {
  background: var(--dark);
  color: var(--white) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--ease);
  cursor: pointer;
  border: none;
  background: transparent;
}
.nav-hamburger:hover  { background: rgba(255,255,255,.15); }
.header.scrolled .nav-hamburger:hover { background: rgba(0,0,0,.07); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.header.scrolled .nav-hamburger span { background: var(--dark); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(15,31,24,.88) 0%,
    rgba(27,58,45,.62) 50%,
    rgba(15,31,24,.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 96px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-subtitle {
  font-size: clamp(.95rem, 1.6vw, 1.12rem);
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
}

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

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-icon {
  width: 28px; height: 44px;
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 14px;
  position: relative;
}
.hero-scroll-icon::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.65);
  border-radius: 2px;
  animation: scroll-dot 2s ease infinite;
}
@keyframes scroll-dot {
  0%,100% { opacity: 1; top: 7px; }
  50%      { opacity: 0; top: 22px; }
}

/* ══════════════════════════════
   STATS
══════════════════════════════ */
.stats { background: var(--green-dark); padding: 40px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}

.stat-item {
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-star { font-size: 1.4rem; }
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.service-card--featured {
  background: var(--green-dark);
  color: var(--white);
}
.service-card--featured:hover { border-color: var(--gold); }

.service-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green-dark);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card--featured .service-icon {
  background: rgba(255,255,255,.1);
  color: var(--gold);
}

.service-title {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card--featured .service-title { color: var(--white); }

.service-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-card--featured .service-desc { color: rgba(255,255,255,.72); }

.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li {
  font-size: .84rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 700;
}
.service-card--featured .service-features li { color: rgba(255,255,255,.68); }
.service-card--featured .service-features li::before { color: var(--gold); }

.services-cta { text-align: center; }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Images stack */
.about-images { position: relative; padding-bottom: 32px; }

.about-img-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: -32px;
  width: 200px; height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.about-badge-float {
  position: absolute;
  top: 32px; left: -24px;
  background: var(--gold);
  color: var(--dark);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-badge-number {
  display: block;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Content */
.about-content .section-tag   { margin-bottom: 12px; }
.about-content .section-title { text-align: left; margin-bottom: 24px; }

.about-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlights { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 36px; }
.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--text);
}
.about-highlight svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green-mid); }

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery { background: var(--dark); padding: 96px 0; }
.gallery .section-tag    { color: var(--gold); }
.gallery .section-title  { color: var(--white); }
.gallery .section-subtitle { color: rgba(255,255,255,.58); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 8/3;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  font-size: .82rem;
  color: var(--white);
  font-weight: 500;
  opacity: 0;
  transition: opacity var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .88rem; color: var(--dark); }
.testimonial-author span   { font-size: .76rem; color: var(--text-muted); }

.testimonials-cta { text-align: center; }

/* ══════════════════════════════
   ZONE
══════════════════════════════ */
.zone { background: var(--white); }

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.zone-content .section-title { text-align: left; margin-bottom: 20px; }

.zone-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.zone-tag-item {
  padding: 6px 14px;
  background: var(--cream);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--green-dark);
}

.zone-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.zone-map iframe { display: block; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-title { text-align: left; margin-bottom: 20px; }
.contact-text {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  transition: all var(--ease);
}
a.contact-detail:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.contact-detail-value { font-size: .92rem; color: var(--dark); font-weight: 600; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: .76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer { background: var(--dark); color: rgba(255,255,255,.72); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 24px 48px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-logo-link { display: block; margin-bottom: 14px; }
.footer-logo-name {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: .86rem;
  line-height: 1.75;
  max-width: 280px;
  color: rgba(255,255,255,.6);
}

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: all var(--ease);
}
.footer-social a:hover { background: var(--green-mid); color: var(--white); }

.footer-nav h4,
.footer-contact h4,
.footer-zone h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: .86rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact address { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: .86rem; color: rgba(255,255,255,.55); transition: color var(--ease); }
.footer-contact a:hover { color: var(--white); }
.footer-contact p { font-size: .86rem; line-height: 1.65; color: rgba(255,255,255,.55); }

.footer-zone p { font-size: .86rem; line-height: 1.75; color: rgba(255,255,255,.55); }
.footer-cert {
  display: inline-flex;
  margin-top: 20px;
  padding: 6px 14px;
  background: rgba(201,168,76,.14);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 100px;
  font-size: .76rem;
  color: var(--gold-light);
  font-weight: 600;
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.48); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--white); }

/* ══════════════════════════════
   BACK TO TOP
══════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  width: 46px; height: 46px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--ease), transform var(--ease);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover   { background: var(--green-mid); }

/* ══════════════════════════════
   PAGE TRANSITIONS
══════════════════════════════ */
/* Page transitions */
.page-transition-out {
  animation: pageFadeOut .25s ease forwards;
}
@keyframes pageFadeOut {
  to { opacity: 0; }
}
body {
  animation: pageFadeIn .3s ease backwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
}

/* ══════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════ */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger siblings */
.services-grid .animate-up:nth-child(2) { transition-delay: .1s; }
.services-grid .animate-up:nth-child(3) { transition-delay: .2s; }
.services-grid .animate-up:nth-child(4) { transition-delay: .3s; }
.testimonials-grid .animate-up:nth-child(2) { transition-delay: .1s; }
.testimonials-grid .animate-up:nth-child(3) { transition-delay: .2s; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid   { gap: 48px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav mobile */
  .nav-hamburger { display: flex; }
  .nav-hamburger span { transition: all .3s cubic-bezier(.4,0,.2,1); }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 150;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.16);
    border-top: 3px solid var(--gold);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link {
    padding: 13px 10px;
    margin: 0 -10px;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
    width: calc(100% + 20px);
    border-radius: 6px;
    transition: background var(--ease), color var(--ease);
  }
  .nav-link:last-of-type { border-bottom: none; }
  .nav-link:hover { background: rgba(201,168,76,.08) !important; color: var(--green-dark) !important; }
  .nav-link::after { display: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    width: 100%;
    padding: 14px 20px;
    font-size: .95rem;
    border-radius: 10px;
    display: block;
  }

  /* Hero */
  .hero-content { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { margin-bottom: 48px; }
  .about-img-accent { right: -12px; }
  .about-badge-float { left: -12px; }
  .about-content .section-title { text-align: left; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
  .gallery-item--large { grid-column: span 2; }

  /* Cheval gallery thumbs */
  .gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .gallery-thumbs img,
  .gallery-thumbs > * {
    min-width: 64px;
    min-height: 64px;
    flex: 1 1 64px;
  }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Zone */
  .zone-grid { grid-template-columns: 1fr; gap: 40px; }
  .zone-map   { order: -1; }
  .zone-content .section-title { text-align: left; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .footer-social { gap: 14px; }
  .footer-social a { width: 44px; height: 44px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Filter bar — touch scrolling */
  .filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  /* Page hero (interior pages) */
  .page-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .page-hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-hero .breadcrumb {
    font-size: .78rem;
    white-space: nowrap;
    overflow-x: auto;
  }

  /* Back to top — above mobile browser chrome */
  .back-to-top { bottom: 80px; }

  /* Article layout — collapse sidebar */
  .article-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .hero-title    { font-size: 2.2rem; }

  /* Blog/evenements card grid — force single column */
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact form popup name/surname row — stack on very small screens */
  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: .8rem; }
  .share-bar { gap: 8px; }
  .share-btn { padding: 9px 14px; font-size: .8rem; }

  /* Pension page service-mini grid overflow fix */
  .service-mini-grid,
  [style*="minmax(260px"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 380px) {
  /* Extra safety for very small screens */
  .hero-title {
    font-size: 1.9rem;
    word-break: break-word;
  }

  /* Page hero text safety */
  .page-hero-title {
    word-break: break-word;
  }
}
