/* ==========================================================
   SBD Logistics — Design System Stylesheet
   Based on: _brand/reference-analysis.md
   ========================================================== */

/* ---- DESIGN TOKENS ---- */
:root {
  --color-dark:       #1B2A4A;
  --color-red:        #D4960A;
  --color-red-hover:  #B07D08;
  --color-white:      #FFFFFF;
  --color-grey-light: #F0F2F5;
  --color-grey-mid:   #6B7B8D;
  --color-navy:       #0F1A2E;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --container-max: 1200px;
  --section-pad:   96px;
  --radius:        0px;
  --shadow-card:   0px 4px 16px 0px rgba(0, 0, 0, 0.10);
  --shadow-nav:    0px 2px 8px 0px rgba(0, 0, 0, 0.15);
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 80px;
}
.section { padding: var(--section-pad) 0; }
.section--white { background: var(--color-white); }
.section--grey  { background: var(--color-grey-light); }
.section--dark  { background: var(--color-dark); color: var(--color-white); }
.section--red   { background: var(--color-red); color: var(--color-white); padding: 64px 0; }

.section--has-bg {
  position: relative;
  overflow: hidden;
}
.section--has-bg > .container {
  position: relative;
  z-index: 2;
}
.section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
}
.section__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.section__bg-overlay--light {
  background: rgba(255, 255, 255, 0.92);
}
.section__bg-overlay--dark {
  background: rgba(27, 42, 74, 0.88);
}

.overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 16px;
}
.overline--white { color: var(--color-white); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section__header {
  max-width: 600px;
  margin-bottom: 64px;
}

/* ---- GRID ---- */
.grid--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 200ms var(--ease);
}
.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn--primary:hover {
  background: var(--color-red-hover);
  border-color: var(--color-red-hover);
}
.btn--secondary {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}
.btn--secondary:hover {
  background: var(--color-red);
  color: var(--color-white);
}
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn--full { width: 100%; text-align: center; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-dark);
  transition: box-shadow 300ms var(--ease);
}
.nav--scrolled { box-shadow: var(--shadow-nav); }
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
/* ---- LOGO ---- */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__top {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}
.logo__sbd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo__irect {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}
.logo__sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  color: var(--color-red);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
  margin-top: 2px;
  line-height: 1;
  display: block;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 200ms var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 8px; }

.nav__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 200ms var(--ease);
  margin-left: auto;
  margin-right: 32px;
}
.nav__phone:hover { color: var(--color-red); }
.nav__phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 300ms var(--ease);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  transition: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.20) 60%, rgba(0,0,0,0.0) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 80px;
  padding-bottom: 80px;
  will-change: transform, opacity;
}
.hero__overline {
  color: var(--color-white);
  opacity: 0.85;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero__badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-left: 14px;
  border-left: 2px solid var(--color-red);
  line-height: 1.3;
}

/* ---- DIAGONAL SPLIT (About + Why) ---- */
.split {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--color-white);
}
.split__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  filter: grayscale(50%);
  z-index: 0;
  pointer-events: none;
}
.split__bg {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.82);
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 44% 100%);
  z-index: 0;
}
.split__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  clip-path: polygon(56% 0, 56.35% 0, 44.35% 100%, 44% 100%);
  z-index: 1;
}
.split__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.split__col {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.split__col p + p { margin-top: 16px; }

.split__col--light {
  color: var(--color-dark);
  padding-right: 32px;
}
.split__col--light h2 { color: var(--color-dark); }
.split__col--light .btn { margin-top: auto; padding-top: 32px; align-self: flex-start; min-width: 200px; text-align: center; }

.split__col--dark {
  color: var(--color-white);
  padding-left: 32px;
  text-align: right;
}
.split__col--dark h2 { color: var(--color-white); }
.split__col--dark .btn { margin-top: auto; padding-top: 32px; align-self: flex-end; min-width: 200px; text-align: center; }
.split__col--dark .overline { margin-left: auto; }
.split__col--dark .split__list {
  align-items: flex-end;
}
.split__col--dark .split__list li {
  flex-direction: row-reverse;
}

.split__list {
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.split__list--light li {
  color: rgba(255,255,255,0.85);
}
.split__list--light .why__check {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .split__bg {
    clip-path: polygon(0 48%, 100% 42%, 100% 100%, 0 100%);
  }
  .split__bg::after {
    clip-path: polygon(0 48%, 100% 42%, 100% 42.8%, 0 48.8%);
  }
  .split__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .split__col--light {
    padding-right: 0;
    padding-bottom: 64px;
  }
  .split__col--dark {
    padding-left: 0;
    padding-top: 64px;
  }
}

/* ---- CALLBACK STRIP ---- */
.callback-strip {
  padding: 40px 0;
}
.callback-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.callback-strip__text {
  flex-shrink: 0;
}
.callback-strip__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 4px;
}
.callback-strip__sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 340px;
}
.callback-strip__form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.callback-strip__input {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  outline: none;
  width: 180px;
  transition: border-color 200ms var(--ease);
}
.callback-strip__input::placeholder {
  color: rgba(255,255,255,0.5);
}
.callback-strip__input:focus {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.15);
}
.btn--dark {
  background: var(--color-dark);
  color: var(--color-white);
  border: 2px solid var(--color-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
  white-space: nowrap;
}
.btn--dark:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

@media (max-width: 768px) {
  .callback-strip__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .callback-strip__sub {
    max-width: none;
  }
  .callback-strip__form {
    flex-direction: column;
    width: 100%;
  }
  .callback-strip__input {
    width: 100%;
  }
  .btn--dark {
    width: 100%;
    text-align: center;
  }
}

/* ---- SERVICES ---- */
.services { padding: 48px 0; }
.services .section__header { margin-bottom: 24px; }
.services__grid {
  display: grid;
  gap: 16px;
}
.services__grid--main {
  grid-template-columns: repeat(4, 1fr);
}
.services__grid--extra {
  grid-template-columns: repeat(3, 1fr);
}
.services__extra {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 400ms var(--ease), opacity 300ms var(--ease), margin 300ms var(--ease);
  margin-top: 0;
}
.services__extra.is-open {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}
.services__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 24px auto 0;
  padding: 10px 24px;
  background: none;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.services__toggle:hover {
  background: var(--color-dark);
  color: var(--color-white);
}
.services__toggle-icon {
  transition: transform 300ms var(--ease);
}
.services__toggle.is-open .services__toggle-icon {
  transform: rotate(180deg);
}
.card {
  position: relative;
  background: var(--color-white);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  transition: transform 350ms var(--ease), box-shadow 350ms var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
}
.card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-red);
  margin-bottom: 16px;
}
.card__icon svg { width: 100%; height: 100%; }
.card__title {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-grey-mid);
  margin-bottom: 20px;
}
.card__price {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-red);
  border-top: 2px solid var(--color-red);
  padding-top: 12px;
  margin-top: auto;
}
@media (max-width: 768px) {
  .services__grid--main { grid-template-columns: repeat(2, 1fr); }
  .services__grid--extra { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services__grid--main { grid-template-columns: 1fr; }
}

/* ---- ESTIMATOR BACKGROUND ---- */
.estimator__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  filter: grayscale(60%);
  z-index: 0;
  pointer-events: none;
}

/* ---- PRICE ESTIMATOR ---- */
.estimator__card {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.estimator__tabs {
  display: flex;
  border-bottom: 2px solid var(--color-grey-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.estimator__tab {
  flex: 1;
  min-width: max-content;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.estimator__tab:hover {
  color: var(--color-dark);
}
.estimator__tab.is-active {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}
.estimator__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  align-items: start;
}
.estimator__inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.estimator__group {
  animation: estFadeIn 300ms var(--ease) both;
}
@keyframes estFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.estimator__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  background: var(--color-grey-light);
  min-height: 240px;
}
.estimator__price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.estimator__price-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
}
.estimator__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: var(--color-dark);
  transition: color 200ms var(--ease);
}
.estimator__price--active {
  color: var(--color-red);
}
.estimator__price-note {
  font-size: 12px;
  color: var(--color-grey-mid);
  line-height: 1.5;
}
.estimator__fixed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--color-grey-light);
}
.estimator__fixed-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  text-align: center;
}
.estimator__fixed-item + .estimator__fixed-item {
  border-left: 2px solid var(--color-grey-light);
}
.estimator__fixed-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-grey-mid);
}
.estimator__fixed-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .estimator__body {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .estimator__tabs { gap: 0; }
  .estimator__tab { padding: 14px 16px; font-size: 11px; }
  .estimator__fixed {
    grid-template-columns: 1fr;
  }
  .estimator__fixed-item + .estimator__fixed-item {
    border-left: none;
    border-top: 2px solid var(--color-grey-light);
  }
}


/* ---- WHATSAPP BUTTON ---- */
.wa-btn {
  position: fixed;
  top: 96px;
  right: 32px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), background 200ms var(--ease);
}
.wa-btn.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
.wa-btn:hover {
  background: #1EBE5A;
}
.wa-btn__icon {
  width: 30px;
  height: 30px;
  color: #fff;
}
.wa-btn__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(0);
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 8px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}
.wa-btn:hover .wa-btn__tooltip { opacity: 1; }
.wa-btn--pulse {
  animation: waPulse 1.6s ease-out 1;
}
@keyframes waPulse {
  0%   { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- WHY CHECK ---- */
.why__check {
  width: 20px;
  height: 20px;
  color: var(--color-red);
  flex-shrink: 0;
}

/* ---- CONTACT ---- */
.contact__details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}
.contact__item a {
  color: var(--color-red);
  transition: color 200ms var(--ease);
}
.contact__item a:hover { color: var(--color-red-hover); }
.contact__icon { width: 24px; height: 24px; color: var(--color-red); flex-shrink: 0; }

.form { display: flex; flex-direction: column; gap: 24px; }
.form__label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.form__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 2px solid #D0D0D0;
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color 200ms var(--ease);
  outline: none;
}
.form__input:focus { border-color: var(--color-red); }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form__textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.logo--footer { margin-bottom: 16px; }
.logo--footer .logo__sbd { font-size: 26px; }
.logo--footer .logo__irect { font-size: 12px; }
.logo--footer .logo__sub { font-size: 9.5px; }
.footer__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer__text--small { font-size: 13px; margin-top: 8px; }
.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-white);
}
.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color 200ms var(--ease);
}
.footer__link:hover { color: var(--color-red); }
.footer__bottom {
  margin-top: 48px;
  padding: 24px 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-red);
  z-index: 1001;
  transition: none;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Direction variants */
.reveal--left {
  transform: translateX(-40px);
}
.reveal--right {
  transform: translateX(40px);
}
.reveal--scale {
  transform: scale(0.92);
}
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* ---- CARD INNER GLOW ---- */
.card__inner-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms var(--ease);
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(204,0,0,0.06) 0%, transparent 60%);
  z-index: 0;
}
.card:hover .card__inner-glow {
  opacity: 1;
}

/* ---- ACTIVE NAV LINK ---- */
.nav__link--active::after {
  width: 100%;
}

/* ---- MAGNETIC BUTTON ---- */
.btn--magnetic {
  will-change: transform;
  transition: all 200ms var(--ease);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .card { flex: 0 0 calc(50% - 12px); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  h2 { font-size: 32px; }
  .hero__title { font-size: 40px; }
  .hero { min-height: 560px; }

  .grid--2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .card { flex: 0 0 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { padding: 24px; }

  /* Mobile nav */
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 300ms var(--ease), opacity 300ms var(--ease);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__cta { margin-left: 0; width: 100%; text-align: center; }
  .nav__phone { margin-right: 16px; }
  .nav__phone-number { display: none; }
  .nav__phone-icon { width: 22px; height: 22px; }
  .wa-btn { top: 80px; right: 16px; width: 52px; height: 52px; }
  .wa-btn__tooltip { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
