/* ==========================================================================
   Design tokens taken from the reference layout
   ========================================================================== */
:root {
  --navy: #041f42;
  --navy-mid: #025599;
  --crimson: #c40a2d;
  --red: #ff0040;
  --teal: #00b794;
  --teal-light: #1abc9c;
  --coral: #f26446;
  --grey-1: #f1f1f1;
  --grey-2: #f0f0f0;
  --grey-3: #f9f9f9;
  --ink: #1f2124;
  --white: #fff;

  --container: 1140px;
  --section-pad: 100px;
  --radius-sm: 5px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 48px rgba(22, 32, 87, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--grey {
  background: var(--grey-1);
}

.section--grey-2 {
  background: var(--grey-2);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.h2,
h2.h2 {
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
}

.h2--center {
  text-align: center;
}

.section--navy .h2,
.on-dark .h2 {
  color: var(--white);
}

.lead {
  font-size: 16px;
  line-height: 26px;
}

.lead p + p {
  margin-top: 18px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 8px;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--hero {
  background-image: linear-gradient(
    90deg,
    rgba(255, 0, 64, 0.3) 0%,
    rgba(194, 10, 44, 0.3) 50%,
    rgba(143, 0, 19, 0.3) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  font-size: 19.2px;
  line-height: 19.2px;
  padding: 10px 40px;
  text-transform: uppercase;
}

.btn--hero:hover {
  background-image: linear-gradient(
    90deg,
    rgba(255, 0, 64, 0.55) 0%,
    rgba(194, 10, 44, 0.55) 50%,
    rgba(143, 0, 19, 0.55) 100%
  );
}

.btn--crimson {
  background: var(--crimson);
  color: var(--white);
  padding: 12px 30px;
  font-size: 16px;
}

.btn--coral {
  background: var(--coral);
  color: var(--white);
  padding: 12px 24px;
  font-size: 16px;
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  padding: 12px 30px;
  font-size: 16px;
}

.btn--blue {
  background: var(--navy-mid);
  color: var(--white);
  padding: 12px 24px;
  font-size: 16px;
}

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  padding: 8px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
  filter: none;
}

.btn--outline-navy {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 10px 22px;
  font-size: 15px;
}

.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  filter: none;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background-image: linear-gradient(
    153deg,
    rgba(196, 10, 45, 0.5) 0%,
    var(--navy) 30%,
    var(--navy) 100%
  );
  color: var(--white);
}

.topbar__inner {
  min-height: 63px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar__phone svg {
  fill: var(--crimson);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  transition: background-color 0.25s ease;
}

.header.is-stuck {
  position: fixed;
  top: 0;
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(4, 31, 66, 0.35);
}

.header__inner {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

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

.nav > li > a,
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 16px;
  padding: 12px 10px;
  white-space: nowrap;
}

.nav > li > a:hover {
  color: var(--crimson);
}

.nav__caret {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

.nav__item {
  position: relative;
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-top: 3px solid var(--crimson);
  box-shadow: 0 18px 40px rgba(4, 31, 66, 0.22);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__sub a {
  display: block;
  padding: 9px 20px;
  color: var(--navy);
  font-size: 14px;
  line-height: 20px;
}

.nav__sub a:hover {
  background: var(--grey-1);
  color: var(--crimson);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: url("../assets/images/hero.jpg") 50% 0 / cover no-repeat;
  color: var(--white);
  padding-bottom: 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 31, 66, 0.45) 0%,
    rgba(4, 31, 66, 0.25) 35%,
    rgba(4, 31, 66, 0.65) 100%
  );
}

.hero__inner {
  position: relative;
}

.hero__title {
  font-size: 40px;
  line-height: 50px;
  padding-top: 250px;
  color: var(--white);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0 24px;
}

.hero__links li:not(:last-child) {
  border-right: 1px solid #ddd;
}

.hero__links a {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  padding: 0 22px;
}

.hero__links li:first-child a {
  padding-left: 0;
}

.hero__links a:hover {
  color: #ffd0d8;
}

.hero__steps-title {
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--white);
  margin-top: 100px;
}

/* Steps tabs */
.tabs {
  display: flex;
  gap: 160px;
  margin-top: 60px;
}

.tabs__list {
  flex: 0 0 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tabs__btn {
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  color: var(--white);
  font-size: 16px;
  line-height: 26px;
  text-align: left;
  padding: 15px 35px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tabs__btn:hover {
  color: #ffc9d3;
}

.tabs__btn.is-active {
  color: var(--crimson);
  border-left-color: var(--crimson);
}

.tabs__panels {
  flex: 1 1 auto;
  min-width: 0;
}

.tabs__panel {
  display: none;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.21) 0%, #000 100%);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
}

.tabs__panel.is-active {
  display: block;
}

.tabs__num {
  font-size: 80px;
  line-height: 1;
  font-weight: 700;
  color: var(--crimson);
}

.tabs__panel h3 {
  font-size: 30px;
  line-height: 38px;
  color: var(--white);
  margin: 18px 0 14px;
}

.tabs__panel p {
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   Navy heading strip
   ========================================================================== */
.strip {
  background: var(--navy);
}

.strip .container {
  padding-block: 30px;
}

.strip h2 {
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  color: var(--white);
}

/* ==========================================================================
   Flip cards
   ========================================================================== */
.flip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.flip-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flip {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: var(--teal-light);
}

.flip-row--4 .flip {
  height: 600px;
}

.flip__face {
  position: absolute;
  inset: 0;
  padding: 35px;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.flip__front {
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.flip__front--contain {
  background-color: #062a55;
  background-size: 88% auto;
  background-position: center 30%;
}

.flip__front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 31, 66, 0.1) 0%,
    rgba(4, 31, 66, 0.75) 100%
  );
}

.flip__front > * {
  position: relative;
}

.flip__front h3 {
  font-size: 30px;
  line-height: 38px;
}

.flip__front p {
  margin-top: 12px;
  max-width: 34ch;
}

.flip__back {
  transform: translateY(100%);
  background: var(--grey-3);
  color: var(--navy);
  justify-content: center;
  text-align: left;
}

.flip__back h3 {
  font-size: 30px;
  line-height: 38px;
}

.flip__sep {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--crimson);
  margin: 16px 0;
}

.flip__back p {
  font-size: 15px;
  line-height: 25px;
}

.flip__back .btn {
  align-self: flex-start;
  margin-top: 22px;
}

.flip.is-flipped .flip__front,
.flip:focus-within .flip__front {
  transform: translateY(-100%);
}

.flip.is-flipped .flip__back,
.flip:focus-within .flip__back {
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .flip:hover .flip__front {
    transform: translateY(-100%);
  }

  .flip:hover .flip__back {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Form fields
   ========================================================================== */
.field-label,
.form__row > span {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #d8deea;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(2, 85, 153, 0.35);
  outline-offset: 1px;
}

.is-hidden {
  display: none !important;
}

/* ==========================================================================
   Ecosystem (grey section with navy cards carousel)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.split--wide-right {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.eco__text .h2 {
  margin-bottom: 20px;
}

.eco__text .btn {
  margin-top: 26px;
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.carousel__nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel__nav button:hover {
  background: var(--navy);
  color: var(--white);
}

.eco-card {
  flex: 0 0 clamp(280px, 78%, 460px);
  scroll-snap-align: start;
  background: var(--navy);
  color: var(--white);
  border-radius: 0 80px 0 80px;
  padding: 50px;
  min-height: 446px;
  display: flex;
  flex-direction: column;
}

.eco-card__brand {
  font-family: Montserrat, Raleway, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.95;
  margin-bottom: 22px;
}

.eco-card__brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 500;
  opacity: 0.7;
}

.eco-card p {
  font-size: 15px;
  line-height: 25px;
  color: rgba(255, 255, 255, 0.88);
}

.eco-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ==========================================================================
   Consultation + guide (dark)
   ========================================================================== */
.consult {
  background: var(--navy);
  color: var(--white);
}

.consult .h2,
.consult h2 {
  color: var(--white);
}

.consult p {
  color: rgba(255, 255, 255, 0.85);
}

.consult__banner {
  margin-top: 50px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.guide {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.guide__cover img {
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Tax guide (light grey with inline form) */
.tax__form {
  display: grid;
  gap: 14px;
  max-width: 420px;
  margin-top: 26px;
}

.accent-teal {
  color: var(--teal-light);
}

/* ==========================================================================
   Advantages / app
   ========================================================================== */
.advantages {
  text-align: center;
}

.advantages p {
  max-width: 900px;
  margin: 18px auto 0;
}

.advantages .btn {
  margin-top: 26px;
}

.advantages img {
  margin: 40px auto 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
  position: relative;
  flex: 0 0 clamp(260px, 60%, 320px);
  scroll-snap-align: start;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--white);
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 31, 66, 0.15) 0%,
    rgba(4, 31, 66, 0.85) 100%
  );
}

.blog-card > * {
  position: relative;
}

.blog-card h3 {
  font-size: 20px;
  line-height: 28px;
}

.blog-card .btn {
  align-self: flex-start;
  margin-top: 16px;
}

/* ==========================================================================
   Numbers + awards
   ========================================================================== */
.numbers {
  background: linear-gradient(rgba(4, 31, 66, 0.85), rgba(4, 31, 66, 0.85)),
    url("../assets/images/counter-bg.jpg") center / cover no-repeat;
  color: var(--white);
}

.numbers .h2 {
  color: var(--white);
  margin-bottom: 40px;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
}

.numbers__label {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.85;
}

.numbers__value {
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
}

.awards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
  text-align: center;
}

.award {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 18px 14px;
  font-size: 13px;
  line-height: 20px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: block;
}

.form__success {
  color: var(--teal);
  font-weight: 700;
}

.form .btn {
  justify-self: start;
}

/* ==========================================================================
   Contact strip
   ========================================================================== */
.contact-strip {
  padding: 0 0 40px;
}

.contact-strip img {
  margin-inline: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-image: linear-gradient(155deg, var(--navy) 36%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 70px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.2fr;
  gap: 40px;
}

.footer__logo img {
  height: 84px;
  width: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer a:not(.btn) {
  color: var(--crimson);
}

.footer a:not(.btn):hover {
  color: var(--white);
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__contact p {
  font-size: 15px;
  line-height: 25px;
  color: rgba(255, 255, 255, 0.85);
}

.footer__contact strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white) !important;
}

.socials a:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.footer__form input,
.footer__form select,
.footer__form textarea {
  background: rgba(255, 255, 255, 0.96);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* Inner pages */
.page-hero {
  position: relative;
  background: url("../assets/images/hero.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 200px 0 80px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 31, 66, 0.55), rgba(4, 31, 66, 0.8));
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: 40px;
  line-height: 50px;
}

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

.card {
  background: var(--grey-1);
  border-radius: var(--radius-sm);
  padding: 30px;
}

.card h3 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  line-height: 25px;
}

.about-photo {
  border-radius: var(--radius-lg);
  min-height: 460px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.stat {
  border-top: 2px solid var(--crimson);
  padding-top: 16px;
}

.stat strong {
  display: block;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.stat span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(4, 31, 66, 0.7);
  margin-top: 4px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e4e8f0;
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  min-height: 220px;
}

.service-card .num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--crimson);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 22px;
  line-height: 30px;
  margin-bottom: 12px;
}

.travel {
  position: relative;
  background: linear-gradient(rgba(4, 31, 66, 0.82), rgba(4, 31, 66, 0.88)),
    url("../assets/images/map_background.svg") center / cover no-repeat;
  color: var(--white);
}

.travel .h2,
.travel p,
.travel li {
  color: var(--white);
}

.travel__list {
  margin-top: 28px;
}

.travel__list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.travel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--crimson);
}

.travel__overlay {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(4, 31, 66, 0.45);
}

.travel__overlay strong {
  display: block;
  font-size: 22px;
  margin-bottom: 16px;
}

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

.why-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.why-card .num {
  color: var(--crimson);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
}

.why-card h3 {
  font-size: 24px;
  line-height: 32px;
  margin: 10px 0 8px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.footer__blurb {
  color: rgba(255, 255, 255, 0.82);
  margin: 12px 0 18px;
  max-width: 36ch;
}

.footer__tag {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd0d8;
}

.float-btns {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btns a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.float-btns .call {
  background: var(--navy);
}

.float-btns .wa {
  background: #25d366;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --section-pad: 70px;
  }

  .tabs {
    gap: 40px;
  }

  .tabs__list {
    flex-basis: 300px;
  }

  .flip-row,
  .flip-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .awards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header,
  .header.is-stuck {
    position: sticky;
    top: 0;
    background: var(--navy);
  }

  .header.is-stuck {
    box-shadow: 0 6px 24px rgba(4, 31, 66, 0.35);
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 10px 16px 20px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__sub {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border-top: 0;
    padding-left: 10px;
  }

  .nav__item.is-open > .nav__sub {
    display: block;
  }

  .nav__sub a {
    color: var(--white);
    min-height: 44px;
  }

  .nav > li > a,
  .nav__link {
    min-height: 44px;
  }

  .header__inner {
    min-height: 76px;
  }

  .hero {
    padding-bottom: 70px;
  }

  .hero__title {
    padding-top: 90px;
    font-size: 34px;
    line-height: 44px;
  }

  .hero__steps-title,
  .strip h2,
  .h2,
  h2.h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .tabs {
    flex-direction: column;
    gap: 24px;
    margin-top: 34px;
  }

  .tabs__list {
    flex: 1 1 auto;
  }

  .split,
  .split--wide-right,
  .split--wide-left,
  .guide {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 320px;
  }

  .flip {
    height: 480px;
  }

  .page-hero {
    padding: 140px 0 56px;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .tabs__num {
    font-size: 56px;
  }

  .tabs__btn {
    min-height: 44px;
    padding: 12px 18px;
  }

  .float-btns {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 56px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .topbar__inner {
    align-items: flex-start;
    gap: 10px;
    padding-block: 10px;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .logo img,
  .footer__logo img {
    height: 58px;
  }

  .header__inner {
    min-height: 68px;
  }

  .flip-row,
  .flip-row--4 {
    grid-template-columns: 1fr;
  }

  .flip,
  .flip-row--4 .flip {
    height: 420px;
  }

  .numbers__grid,
  .awards {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers__value {
    font-size: 32px;
    line-height: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 40px;
  }

  .eco-card {
    padding: 34px;
    border-radius: 0 60px 0 60px;
  }

  .hero__links {
    gap: 8px 0;
  }

  .hero__links li:not(:last-child) {
    border-right: 0;
  }

  .hero__links a {
    font-size: 16px;
    padding: 6px 14px 6px 0;
  }

  .hero__links li:not(:last-child) a {
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
  }

  .stats,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .btn--hero {
    min-height: 44px;
    padding: 12px 28px;
  }
}
