/* ==========================================================================
   MAGNETIC INTERNATIONAL LOGISTICS — Design System
   ========================================================================== */

:root {
  --c-yellow: #F9E900;
  --c-red: #F50000;
  --c-black: #111111;
  --c-charcoal: #1A1A1A;
  --c-charcoal-2: #232323;
  --c-white: #FFFFFF;
  --c-off-white: #F5F4F0;
  --c-grey-600: #6B6B6B;
  --c-grey-300: #D8D8D6;
  --c-border: rgba(255,255,255,0.12);
  --c-border-dark: rgba(17,17,17,0.1);

  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--c-white);
  color: var(--c-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-black);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--c-yellow);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--c-yellow); }

.h1-xl {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  text-transform: uppercase;
}
.h2-section {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  text-transform: uppercase;
}
.h3-sub {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: uppercase;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--c-grey-600);
  max-width: 46ch;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}
.section-head.split {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background var(--ease) .25s, color var(--ease) .25s, border-color var(--ease) .25s, transform var(--ease) .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-primary:hover { background: #cc0000; }

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

.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
}
.btn-dark:hover { background: var(--c-red); }

.btn-yellow {
  background: var(--c-yellow);
  color: var(--c-black);
}
.btn-yellow:hover { background: var(--c-white); }

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

.btn-arrow { transition: transform var(--ease) .25s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  background: transparent;
  transition: background var(--ease) .3s, padding var(--ease) .3s, box-shadow var(--ease) .3s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-scrolled {
  background: rgba(17,17,17,0.94);
  backdrop-filter: saturate(140%) blur(8px);
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 72px; width: auto; transition: height var(--ease) .3s; }
.site-header.is-scrolled .brand img { height: 56px; }
.brand-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-white);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-fallback span { color: var(--c-yellow); }

.nav-main {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  color: var(--c-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--c-yellow);
  transition: width var(--ease) .25s;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--c-white);
  transition: transform var(--ease) .3s, opacity var(--ease) .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--gutter);
  transform: translateY(-100%);
  transition: transform var(--ease) .4s;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  display: block;
}
.mobile-menu .btn { margin-top: 30px; align-self: flex-start; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.72) 0%, rgba(17,17,17,0.55) 35%, rgba(17,17,17,0.95) 100%),
    linear-gradient(90deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.35) 55%);
}

/* ---------- Liquid hero transition layers ---------- */
.hero-media-fallback-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform, opacity;
  transition: opacity 1.4s var(--ease);
}
.hero-liquid-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-liquid-canvas.is-active { opacity: 1; }
.hero-media.is-crossfade .hero-media-fallback-img.is-outgoing {
  position: absolute;
  opacity: 0;
}
.hero-media-fallback-img.is-incoming { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-media-fallback-img { transition: opacity 0.4s linear; will-change: auto; }
}
.hero-accent-line {
  position: absolute;
  z-index: 1;
  right: 8%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-yellow);
  opacity: 0.7;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(60px, 8vw, 100px);
  padding-top: 160px;
}
.hero-content { max-width: 720px; }
.hero-content .eyebrow { margin-bottom: 22px; }
.hero-content h1 {
  color: var(--c-white);
  margin-bottom: 22px;
}
.hero-content h1 .accent { color: var(--c-yellow); }
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--c-border);
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: 24px;
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
}
.hero-strip-item {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-strip-item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-red);
}

/* Page (inner) hero — smaller, for About/Services/Contact */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  overflow: hidden;
}
.page-hero .hero-inner { padding-top: 150px; padding-bottom: 56px; }
.page-hero .hero-content { max-width: 780px; }
.page-hero h1 { color: var(--c-white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; }

.breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--c-yellow); }

/* ==========================================================================
   SECTIONS — general
   ========================================================================== */

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }
.bg-off { background: var(--c-off-white); }
.bg-dark { background: var(--c-charcoal); color: var(--c-white); }
.bg-dark h2, .bg-dark h3 { color: var(--c-white); }
.bg-black { background: var(--c-black); color: var(--c-white); }

/* ---- Intro (Home section 1) ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.intro-figure { position: relative; }
.intro-figure img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 10px;
}
.intro-figure::before {
  content: "";
  position: absolute;
  top: -18px; left: -18px;
  width: 90px; height: 90px;
  border-top: 4px solid var(--c-yellow);
  border-left: 4px solid var(--c-yellow);
  z-index: 1;
}
.intro-copy p { margin-bottom: 18px; color: var(--c-grey-600); }
.intro-copy .location-tag {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border-dark);
  font-size: 0.85rem;
  color: var(--c-black);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.intro-copy .location-tag span { color: var(--c-red); }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-figure img { height: 320px; }
}

/* ---- Services grid (editorial) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-border-dark);
  border-left: 1px solid var(--c-border-dark);
}
.service-cell {
  border-right: 1px solid var(--c-border-dark);
  border-bottom: 1px solid var(--c-border-dark);
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
  overflow: hidden;
  transition: background var(--ease) .3s;
}
.service-cell::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--c-red);
  transition: height var(--ease) .35s;
}
.service-cell:hover::before { height: 100%; }
.service-cell:hover { background: var(--c-off-white); }
.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--c-red);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  display: block;
}
.service-cell h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.service-cell p { color: var(--c-grey-600); font-size: 0.95rem; max-width: 42ch; }

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

/* ---- Services page detailed list ---- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--c-border-dark);
}
.service-detail:first-of-type { padding-top: 0; }
.service-detail:nth-of-type(even) { direction: rtl; }
.service-detail:nth-of-type(even) > * { direction: ltr; }
.service-detail-figure { position: relative; }
.service-detail-figure img { width: 100%; height: 380px; object-fit: cover; border-radius: 10px; }
.service-detail-num {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--c-black);
  color: var(--c-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.service-detail-copy h3 { margin-bottom: 16px; }
.service-detail-copy p { color: var(--c-grey-600); max-width: 50ch; }
.service-detail-copy .tag-line {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-red);
}

@media (max-width: 860px) {
  .service-detail, .service-detail:nth-of-type(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-detail-figure img { height: 260px; }
}

/* ---- Why Magnetic ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
}
.why-item {
  background: var(--c-charcoal);
  padding: clamp(30px, 3.5vw, 46px) clamp(22px, 2.5vw, 32px);
}
.why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--c-yellow);
  margin-bottom: 20px;
  line-height: 1;
}
.why-item h3 {
  color: var(--c-white);
  font-size: 1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.why-item p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---- Fleet / Operations (horizontal visual) ---- */
.fleet-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4px;
  height: clamp(340px, 46vw, 560px);
}
.fleet-cell { position: relative; overflow: hidden; }
.fleet-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.fleet-cell:hover img { transform: scale(1.06); }
.fleet-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
}
.fleet-caption {
  position: absolute;
  left: 20px; bottom: 18px;
  z-index: 2;
  color: var(--c-white);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 760px) {
  .fleet-strip { grid-template-columns: 1fr; height: auto; }
  .fleet-cell { height: 260px; }
}

/* ---- References / Trust ---- */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-border-dark);
  border-left: 1px solid var(--c-border-dark);
}
.ref-item {
  border-right: 1px solid var(--c-border-dark);
  border-bottom: 1px solid var(--c-border-dark);
  padding: 30px 24px;
  text-align: center;
}
.ref-item .ref-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.ref-item .ref-phone {
  font-size: 0.85rem;
  color: var(--c-grey-600);
}
.ref-item .ref-phone a:hover { color: var(--c-red); }
@media (max-width: 900px) {
  .refs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .refs-grid { grid-template-columns: 1fr; }
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--c-red);
  color: var(--c-white);
  padding-block: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -6%; top: -40%;
  width: 420px; height: 420px;
  background: rgba(0,0,0,0.08);
  transform: rotate(30deg);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--c-white); max-width: 14ch; }
.cta-inner p { color: rgba(255,255,255,0.88); max-width: 44ch; margin-top: 10px; }
.cta-band .btn-outline { color: var(--c-white); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border);
}
.mv-item {
  background: var(--c-black);
  padding: clamp(36px, 4.5vw, 60px);
}
.mv-item .eyebrow { margin-bottom: 18px; }
.mv-item p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--c-white);
  line-height: 1.4;
}
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

.timeline {
  display: flex;
  flex-direction: column;
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid var(--c-border-dark);
}
.timeline-item:last-child { border-bottom: 1px solid var(--c-border-dark); }
.timeline-tag {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-red);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.timeline-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.timeline-body p { color: var(--c-grey-600); max-width: 56ch; }

@media (max-width: 620px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}

.safety-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.safety-split img { width: 100%; height: 440px; object-fit: cover; border-radius: 10px; }
@media (max-width: 860px) {
  .safety-split { grid-template-columns: 1fr; }
  .safety-split .safety-figure { order: -1; }
  .safety-split img { height: 300px; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact-info-block { padding-top: 4px; }
.contact-info-block h3 { margin-bottom: 6px; font-size: 1rem; text-transform: uppercase; }
.contact-info-block .info-group { margin-bottom: 34px; }
.contact-info-block .info-group p,
.contact-info-block .info-group a {
  display: block;
  color: var(--c-grey-600);
  font-size: 0.98rem;
  padding: 2px 0;
}
.contact-info-block .info-group a:hover { color: var(--c-red); }

.quick-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.quick-actions .btn { justify-content: center; width: 100%; }

.contact-form {
  background: var(--c-off-white);
  padding: clamp(28px, 4vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--c-black);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfcdc6;
  border-radius: 20px;
  background: var(--c-white);
  padding: 13px 18px;
  font-size: 0.95rem;
  color: var(--c-black);
  transition: border-color var(--ease) .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-red);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--c-grey-600); margin-top: 6px; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.map-block { margin-top: 60px; }
.map-frame {
  border: 1px solid var(--c-border-dark);
  height: 380px;
  width: 100%;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--c-black);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(50px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--c-border);
}
.footer-brand img { height: 84px; margin-bottom: 18px; }
.footer-brand .brand-fallback { color: var(--c-white); font-size: 1.1rem; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; margin-bottom: 20px; }
.footer-col h4 {
  color: var(--c-white);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--c-yellow); }
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease) .25s, border-color var(--ease) .25s;
}
.social-links a:hover { background: var(--c-red); border-color: var(--c-red); }
.social-links svg { width: 17px; height: 17px; fill: var(--c-white); }

.contact-info-block .social-links a { border-color: var(--c-border-dark); }
.contact-info-block .social-links svg { fill: var(--c-black); }
.contact-info-block .social-links a:hover { background: var(--c-red); border-color: var(--c-red); }
.contact-info-block .social-links a:hover svg { fill: var(--c-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   SCROLL ANIMATION HOOKS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: transform var(--ease) .25s, box-shadow var(--ease) .25s;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0,0,0,0.34);
}
.whatsapp-float svg { width: 30px; height: 30px; display: block; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-yellow);
  color: var(--c-black);
  padding: 12px 20px;
  z-index: 2000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.skip-link:focus { left: 12px; top: 12px; }
