/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --green-blue-crayola: var(--brand-green);
  --prussian-blue: var(--black);
  --eerie-black: var(--black);
  --dark-orange: var(--brand-green);
  --alice-blue: var(--white);
  --light-gray: var(--white);
  --indigo-dye: var(--black);
  --cultured-1: var(--white);
  --card-number-color: hsl(0, 0%, 94%);
  --cultured-2: var(--white);
  --cultured-3: var(--white);
  --plutinum: var(--white);
  --black_60: rgba(0, 0, 0, 0.6);
  --white: #ffffff;
  --black: #000000;
  --onyx: var(--black);
  --brand-navy: var(--black);
  --brand-green: #4f8f18;
  --brand-green-soft: hsl(92, 30%, 96%);

  /**
   * typography
   */

  --ff-oswald: 'Oswald', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;

  --fs-1: 6rem;
  --fs-2: 5rem;
  --fs-3: 4rem;
  --fs-4: 3rem;
  --fs-5: 2.2rem;
  --fs-6: 2rem;
  --fs-7: 1.8rem;
  --fs-8: 1.5rem;
  --fs-9: 1.4rem;
  --fs-10: 1.2rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /**
   * spacing
   */

  --section-padding: 50px;

  /**
   * shadow
   */
   
  --shadow-1: 2px 0 50px hsla(0, 0%, 0%, 0.2);
  --shadow-2: 0px 40px 60px hsla(92, 62%, 30%, 0.22);
  --shadow-3: 0px 0px 60px hsla(92, 62%, 30%, 0.16);

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

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

a,
img,
time,
span,
input,
button,
ion-icon { display: block; }

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-rubik);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--onyx);
  font-size: 1.6rem;
  line-height: 1.7;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 12px; }

::-webkit-scrollbar-track { background-color: var(--cultured-2); }

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 80%);
  border: 2px solid var(--cultured-2);
}

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.section {
  padding-block: var(--section-padding);
  scroll-margin-top: 100px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-oswald);
  line-height: 1.2;
  font-weight: var(--fw-600);
}

.h1 {
  font-size: var(--fs-3);
  text-transform: uppercase;
}

.h2,
.h3 { color: var(--prussian-blue); }

.h2 { font-size: var(--fs-4); }

.h3 { font-size: var(--fs-5); }

.img-holder {
  background-color: var(--light-gray);
  aspect-ratio: var(--width) / var(--height);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-subtitle {
  color: var(--dark-orange);
  text-transform: uppercase;
  font-size: var(--fs-6);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-600);
  letter-spacing: 3px;
  margin-block-end: 10px;
}

.section-text { line-height: 1.4; }

.btn {
  position: relative;
  color: var(--white);
  background-color: var(--dark-orange);
  max-width: max-content;
  font-size: var(--fs-9);
  letter-spacing: 1px;
  padding-block: 10px;
  padding-inline: 15px 50px;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  transition: var(--transition);
}

.btn::before {
  top: 50%;
  right: 15px;
  width: 25px;
  height: 1px;
  background-color: var(--white);
}

.btn::after {
  top: -6px;
  right: -6px;
  bottom: -6px;
  width: 20px;
  border: 2px solid var(--dark-orange);
  z-index: -1;
}

.btn:is(:hover, :focus)::before { width: 33px; }

.btn:is(:hover, :focus)::after { width: 40px; }

.grid-list {
  display: grid;
  gap: 30px;
}

.btn-link {
  color: var(--dark-orange);
  font-size: var(--fs-7);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.btn-link > * {
  transform: translateX(-22px);
  transition: var(--transition);
}

.btn-link:is(:hover, :focus) > * { transform: translateX(0); }

.w-100 { width: 100%; }





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-contact { display: none; }
.header-signin { display: none; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 15px;
  z-index: 4;
  transition: var(--transition);
}

.header.active { background-color: var(--brand-green); }

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-oswald);
  font-size: 3rem;
  width: max-content;
}

.logo-icon {
  height: 38px;
  width: auto;
  display: block;
}

.logo-name {
  display: flex;
  line-height: 1;
}

.logo-name .logo-name-primary { color: var(--brand-navy); }

.logo-name .logo-name-accent { color: var(--brand-green); }

/* Sticky header logo sits directly over the hero photo, so it gets the
   white-lettered icon plus a soft shadow instead of a background plate. */
.header .logo-icon { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }

.header .logo-name .logo-name-primary {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.header .logo-name .logo-name-accent { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }

/* Once the header picks up its solid green background on scroll, the green
   accent letters/icon would vanish into it, so everything goes solid white. */
.header.active .logo-icon {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.header.active .logo-name .logo-name-accent { color: var(--white); }

.nav-open-btn {
  color: var(--white);
  font-size: 35px;
}

.nav-open-btn ion-icon { --ionicon-stroke-width: 40px; }

.navbar {
  position: fixed;
  top: 0;
  left: -300px;
  max-width: 300px;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-1);
  z-index: 3;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  visibility: visible;
  transform: translateX(300px);
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-block-end: 1px solid var(--plutinum);
  padding: 30px 20px;
}

.navbar-top .logo {
  font-size: 3rem;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

.nav-close-btn { font-size: 25px; }

.nav-close-btn ion-icon { --ionicon-stroke-width: 40px; }

.navbar-item:not(:last-child) { border-block-end: 1px solid var(--plutinum); }

.navbar-link {
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  transition: var(--transition);
}

.navbar-link:is(:hover, :focus) {
  background-color: var(--cultured-1);
  color: var(--dark-orange);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_60);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
  place-content: center;
  padding-block-start: calc(var(--section-padding) + 85px);
  z-index: 1;
}

.hero-content {
  background-color: var(--black_60);
  color: var(--white);
  text-align: center;
  padding: 30px;
}

.hero-title .span {
  color: var(--dark-orange);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
}

.hero-text { margin-block: 20px 15px; }

.btn-outline {
  max-width: max-content;
  margin-inline: auto;
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  border: 1px solid var(--white);
  padding: 8px 20px;
  transition: var(--transition);
}

.btn-outline:is(:hover, :focus) {
  background-color: var(--dark-orange);
  border-color: var(--dark-orange);
}

.hero-corner {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  pointer-events: none;
  opacity: 0.6;
}

.hero .corner-tl {
  top: 100px;
  left: 30px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.hero .corner-br {
  bottom: 80px;
  right: 30px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.corner-dot {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-green);
  box-shadow: 0 0 0 0 hsla(92, 75%, 45%, 0.6);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 hsla(92, 75%, 45%, 0.55); }
  70% { box-shadow: 0 0 0 10px hsla(92, 75%, 45%, 0); }
  100% { box-shadow: 0 0 0 0 hsla(92, 75%, 45%, 0); }
}

@keyframes move {
  0% { transform: translateY(0); }
  100% { transform: translateY(20px); }
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about-banner {
  position: relative;
  box-shadow: var(--shadow-2);
  max-width: 300px;
  margin-block-end: 60px;
}

.about .abs-img-2 { display: none; }

.about .abs-img-1 {
  position: absolute;
  bottom: 40px;
  right: 0;
  animation: move 2s ease-in-out infinite alternate;
}

.about :is(.section-title, .section-text) { margin-block-end: 20px; }

.about-list { margin-block-end: 40px; }

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-text { font-size: var(--fs-8); }

.about-icon {
  min-width: max-content;
  color: var(--dark-orange);
  margin-block-start: 8px;
}

.about-item:not(:last-child) { margin-block-end: 10px; }




/*-----------------------------------*\
  #WHY
\*-----------------------------------*/

.why-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.why-content :is(.section-title, .section-text) { margin-block-end: 20px; }

.why .section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: hsl(92, 60%, 94%);
}

.why .section-subtitle::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-green);
}

.why-list { margin-block: 30px 0; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-item:not(:last-child) { margin-block-end: 14px; }

.why-check {
  display: grid;
  place-items: center;
  min-width: 22px;
  width: 22px;
  height: 22px;
  margin-block-start: 2px;
  border-radius: 50%;
  background-color: var(--brand-green);
  color: var(--white);
  font-size: 14px;
}

.why-text {
  font-size: var(--fs-8);
  color: hsl(0, 0%, 30%);
}

.why-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px hsla(0, 0%, 12%, 0.22);
  margin-block-start: 40px;
}

.why-banner svg {
  display: block;
  width: 100%;
  height: auto;
}


/*-----------------------------------*\
  #PARTNER NETWORK
\*-----------------------------------*/

.partner-network {
  padding-block: 42px;
  background: var(--white);
  border-block: 1px solid hsl(92, 20%, 91%);
}

.partner-network .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.partner-network-label {
  color: hsl(0, 0%, 38%);
  font-size: 1.2rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-network-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.partner-network-logos img {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(38vw, 178px);
}

.partner-network-logos .partner-logo-sga {
  height: 42px;
  max-width: min(30vw, 155px);
  object-fit: contain;
}

.partner-network-divider {
  width: 1px;
  height: 42px;
  background: hsl(92, 20%, 84%);
}

@media (max-width: 767px) {
  .partner-network .container {
    flex-direction: column;
    gap: 22px;
  }

  .partner-network-logos {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .partner-network-logos img {
    height: 46px;
    max-width: 30vw;
  }

  .partner-network-logos .partner-logo-sga { height: 36px; }

  .partner-network-divider { display: none; }
}






/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  background: hsl(0, 0%, 96%);
}

.service :is(.section-subtitle, .section-title, .section-text) {
  text-align: center;
}

.service {
  background-color: hsl(0, 0%, 97%);
}

.service .section-subtitle {
  color: var(--brand-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--fw-700);
  margin-block-end: 14px;
}

.service .section-title {
  margin-block-end: 20px;
  max-width: 16ch;
  margin-inline: auto;
  color: var(--prussian-blue);
}

.service .section-text {
  max-width: 74ch;
  margin-inline: auto;
  margin-block-end: 50px;
  color: hsl(0, 0%, 38%);
}

.service-list {
  align-items: stretch;
  gap: 28px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 38px 36px 32px;
  background-color: var(--white);
  border: 1px solid hsl(0, 0%, 90%);
  border-radius: 4px;
  box-shadow: 0 4px 16px hsla(0, 0%, 20%, 0.05);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background-color: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:is(:hover, :focus-within) {
  border-color: hsla(92, 75%, 36%, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px hsla(0, 0%, 20%, 0.09);
}

.service-card:is(:hover, :focus-within)::before {
  transform: scaleX(1);
}

.service-card .card-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-block-end: 24px;
  background: var(--white);
  transition: background-color 0.3s ease;
}

.service-card:is(:hover, :focus-within) .card-icon {
  background: var(--brand-green);
}

.service-card .card-icon img {
  max-width: 46px;
  width: auto;
  height: auto;
}

.service-card .card-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1.3;
  margin-block-end: 14px;
  color: var(--prussian-blue);
}

.service-card .card-title .span {
  color: var(--brand-green);
  font-size: 2.6rem;
  font-weight: var(--fw-700);
  line-height: 1;
  opacity: 0.55;
}

.service-card .card-heading-text {
  flex: 1;
  min-width: 0;
  font-size: 2rem;
}

.service-card .card-text {
  margin-block: 0 24px;
  color: hsl(0, 0%, 38%);
  flex-grow: 1;
  line-height: 1.6;
}

.service-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  color: var(--brand-green);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-card .btn-link .span {
  text-underline-offset: 4px;
}

.service-card .btn-link ion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card .btn-link:is(:hover, :focus) {
  color: hsl(92, 62%, 30%);
}

.service-card .btn-link:is(:hover, :focus) ion-icon {
  transform: translateX(4px);
}

/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.feature .title-wrapper { margin-block-end: 30px; }

.feature .section-text { margin-block: 20px 40px; }

.feature-card {
  position: relative;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--alice-blue);
  transition: var(--transition);
}

.feature-card:is(:hover, :focus-within) { box-shadow: var(--shadow-3); }

.feature-card::before {
  content: var(--card-number);
  display: block;
  color: var(--card-number-color);
  font-family: var(--ff-oswald);
  font-size: var(--fs-1);
  font-weight: var(--fw-700);
  line-height: 1;
  margin-block-end: -0.35em;
  transition: var(--transition);
}

.feature-card:is(:hover, :focus-within)::before { color: var(--dark-orange); }

.feature-card .card-icon {
  background-color: var(--alice-blue);
  width: 170px;
  height: 170px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  margin-inline: auto;
  margin-block-end: 30px;
}

.feature-card .card-text { margin-block: 20px 40px; }

.feature-card .card-btn {
  color: var(--prussian-blue);
  font-size: 24px;
  border: 2px solid var(--prussian-blue);
  margin-inline: auto;
  padding: 10px 18px;
}





/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project { background-color: var(--alice-blue); }

.project :is(.section-subtitle, .section-title, .section-text) { text-align: center; }

.project .section-subtitle {
  color: var(--brand-green);
}

.project .section-title {
  color: var(--prussian-blue);
}

.project .section-text {
  margin-block: 20px 50px;
  max-width: 68ch;
  margin-inline: auto;
}

.project-card {
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card .action-btn {
  background-color: var(--brand-green);
  color: var(--white);
  font-size: 28px;
  padding: 16px;
  position: absolute;
  top: 30px;
  left: 30px;
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 10px 24px hsla(92, 70%, 28%, 0.24);
}

.project-card:is(:hover, :focus-within) {
  transform: translateY(-4px);
}

.project-card:is(:hover, :focus-within) .action-btn { opacity: 1; }

.project-card .card-tag {
  color: var(--brand-green);
  font-size: var(--fs-9);
}

.project-card .card-content {
  position: relative;
  background-color: var(--white);
  padding: 20px 30px;
  margin-block-start: -50px;
  margin-inline-start: 30px;
  box-shadow: 0 12px 28px hsla(0, 0%, 22%, 0.07);
}

.project-card .h3 { font-size: var(--fs-7); }

.project-card .card-title { transition: var(--transition); }

.project-card :is(.card-title, .card-link):is(:hover, :focus) { color: var(--brand-green); }

.project-card .card-link {
  color: var(--prussian-blue);
  font-size: var(--fs-10);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  margin-block-start: 5px;
  transition: var(--transition);
}

.project-list {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-block-end: 40px;
  scroll-snap-type: inline mandatory;
}

.project-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.project .slider-scrollbar {
  background-color: hsl(0, 0%, 88%);
}

.project .slider-scrollbar .scrollbar-thumb {
  background-color: var(--brand-green);
}



/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project { background-color: var(--alice-blue); }

.project :is(.section-subtitle, .section-title, .section-text) { text-align: center; }

.project .section-text { margin-block: 20px 50px; }

.project-card { position: relative; }

.project-card .action-btn {
  background-color: var(--dark-orange);
  color: var(--white);
  font-size: 28px;
  padding: 16px;
  position: absolute;
  top: 30px;
  left: 30px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:is(:hover, :focus-within) .action-btn { opacity: 1; }

.project-card .card-tag {
  color: var(--dark-orange);
  font-size: var(--fs-9);
}

.project-card .card-content {
  position: relative;
  background-color: var(--white);
  padding: 20px 30px;
  margin-block-start: -50px;
  margin-inline-start: 30px;
}

.project-card .h3 { font-size: var(--fs-7); }

.project-card .card-title { transition: var(--transition); }

.project-card :is(.card-title, .card-link):is(:hover, :focus) { color: var(--dark-orange); }

.project-card .card-link {
  color: var(--prussian-blue);
  font-size: var(--fs-10);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  margin-block-start: 5px;
  transition: var(--transition);
}

.project-list {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-block-end: 40px;
  scroll-snap-type: inline mandatory;
}

.project-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.project-list::-webkit-scrollbar { height: 15px; }

.project-list::-webkit-scrollbar-track { outline: 2px solid var(--prussian-blue); }

.project-list::-webkit-scrollbar-thumb {
  border: 3px solid var(--cultured-1);
  background-color: var(--prussian-blue);
}

.project-list::-webkit-scrollbar-button { width: calc(25% - 40px); }





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog :is(.section-subtitle, .section-title, .section-text) { text-align: center; }

.blog .section-text { margin-block: 20px 50px; }

.blog-card .card-content { position: relative; }

.blog-card .card-meta {
  background-color: var(--prussian-blue);
  color: var(--white);
  text-align: center;
  font-size: var(--fs-5);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-600);
  line-height: 1.5;
  max-width: max-content;
  margin-inline: auto 20px;
  margin-block: -80px 20px;
  padding: 20px 25px;
  box-shadow: -8px 8px 0 var(--dark-orange);
}

.blog-card .card-meta .span {
  color: var(--dark-orange);
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
  line-height: 0.75;
}

.blog-card .card-text { margin-block: 15px; }





/*-----------------------------------*\
  #NEWSLETTER
\*-----------------------------------*/

.newsletter {
  position: relative;
  background-color: var(--dark-orange);
  overflow: visible;
}

.newsletter .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.newsletter .img-holder {
  background-color: transparent;
}

.newsletter-banner {
  width: 190px;
  flex-shrink: 0;
  margin-block-start: -46px;
}

.newsletter-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.newsletter-content { max-width: 420px; }

.newsletter .section-title {
  margin-block-end: 10px;
  font-size: 2.6rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.email-field {
  background-color: var(--white);
  color: var(--eerie-black);
  font-size: var(--fs-9);
  height: 56px;
  width: 100%;
  padding-inline: 18px;
  border-radius: 2px;
  outline: none;
  transition: var(--transition);
}

.email-field:focus { box-shadow: 0 2px 2px hsla(0, 0%, 0%, 0.4); }

.newsletter-btn {
  background-color: var(--prussian-blue);
  color: var(--white);
  font-family: var(--ff-oswald);
  font-weight: var(--fw-700);
  padding: 15px 20px;
  border-radius: 2px;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.footer .footer-text,
.footer .footer-list-title,
.footer .footer-link,
.footer .footer-bottom,
.footer .copyright-link {
  color: #000000 !important;
}

.footer .logo-name-primary {
  color: #000000 !important;
}

.footer .logo-name-accent,
.footer .footer-list-title {
  color: #4f8f18 !important;
}

.footer-top {
  display: grid;
  gap: 40px;
}

.footer .logo {
  font-weight: var(--fw-800);
  font-size: 3.2rem;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

.footer .logo-icon { height: 40px; }

.footer-text { margin-block: 10px 30px; }

.social-list {
  display: flex;
  gap: 10px;
}

.social-link {
  background-color: var(--brand-green);
  color: var(--white);
  font-size: 20px;
  padding: 12px;
  transition: var(--transition);
}

.social-link:is(:hover, :focus) { background-color: var(--black); }

.footer-list-title {
  font-size: var(--fs-6);
  max-width: max-content;
  padding-block-end: 10px;
  border-block-end: 3px solid var(--dark-orange);
  margin-block-end: 20px;
}

.footer-link { padding-block: 6px; }

.footer-bottom {
  padding-block: 40px;
  border-block-start: 1px solid var(--brand-green);
  font-size: var(--fs-9);
  color: var(--black);
}

.copyright-link { display: inline-block; }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--eerie-black);
  color: var(--white);
  font-size: 20px;
  padding: 10px;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}





/*-----------------------------------*\
  #MEDIA QUERISE
\*-----------------------------------*/

/**
 * responsive for larger than 540px screen
 */

@media (min-width: 540px) {

  /**
   * REUSED STYLE
   */

  .btn {
    font-size: var(--fs-7);
    padding-inline: 30px 60px;
  }



  /**
   * HEADER
   */

  .header-contact {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    line-height: 1.2;
    margin-inline-start: auto;
  }

  .header .contact-label {
    text-transform: uppercase;
    font-size: var(--fs-9);
  }

  .header .contact-number {
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    letter-spacing: 1px;
  }

  .header .contact-icon {
    font-size: 35px;
    opacity: 0.6;
  }



  /**
   * ABOUT
   */

  .about .abs-img-2 {
    display: block;
    position: absolute;
    width: 400px;
    bottom: 0;
    left: 50px;
    z-index: -1;
  }

  .about .abs-img-1 { right: -200px; }

}





/**
 * responsive for larger than 640px screen
 */

@media (min-width: 640px) {

  /**
   * REUSED STYLE
   */

  .h1 { --fs-3: 5rem; }

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .container { max-width: unset; }

  .header .logo { font-size: 3.5rem; }



  /**
   * HERO
   */

  .hero { justify-content: flex-start; }

  .hero .corner-tl { left: 45px; }

  .hero-content {
    background-color: transparent;
    text-align: left;
  }

  .hero-title .span { --fs-2: 6rem; }

  .hero-text { max-width: 30ch; }

  .btn-outline { margin-inline: 0; }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .h1 { --fs-3: 6rem; }

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



  /**
   * HERO
   */

  .hero-title .span { --fs-2: 7rem; }

  .hero-text {
    font-size: var(--fs-7);
    max-width: 40ch;
    margin-block-end: 40px;
  }

  .btn-outline {
    font-size: var(--fs-7);
    padding: 12px 30px;
  }



  /**
   * FEATURES
   */

  .feature-card::before { --fs-1: 10rem; }



  /**
   * PROJECT
   */

  .project-list { gap: 80px; }

  .project-item { min-width: calc(50% - 40px); }



  /**
   * NEWSLETTER
   */

  .newsletter .container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 32px;
  }

  .newsletter-banner {
    width: 210px;
    margin-block-start: -30px;
    align-self: flex-end;
  }

  .newsletter-content { max-width: 320px; }

  .newsletter-form {
    width: 280px;
    max-width: 280px;
    margin-inline-start: auto;
  }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-4: 4.5rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }



  /**
   * REUSED STYLE
   */
  
  .container { max-width: 960px; }

  .h1 { --fs-3: 10rem; }

  .section-subtitle { --fs-6: 3rem; }

  .section-text {
    max-width: 70ch;
    margin-inline: auto;
  }

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



  /**
   * HEADER
   */
  
  .nav-open-btn,
  .navbar-top,
  .navbar-link > ion-icon { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-list {
    display: flex;
    gap: 5px;
  }

  .navbar-item:not(:last-child) { border-block-end: none; }

  .navbar-link { color: var(--white); }

  .navbar-link:is(:hover, :focus) { background-color: transparent; }

  .header-contact { margin-inline-start: 0; }



  /**
   * HERO
   */
  
  .hero { grid-template-columns: 1fr; }

  .hero-content { padding: 0; }

  .hero-title .span { --fs-2: 12rem; }



  /**
   * ABOUT
   */

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

  .about-banner { margin-block-end: 0; }

  .about .abs-img-1 { right: -100px; }

  .about :is(.section-title, .section-text) { margin-block-end: 35px; }

  .why .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
  }

  .why-banner { margin-block-start: 0; align-self: center; }



  /**
   * FEATURE
   */

  .feature .title-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: self-end;
  }

  .feature .section-text { margin-block-end: 0; }

  .feature-list { margin-block-start: 120px; }

  .feature-card::before { --fs-1: 10rem; }



  /**
   * PROJECT
   */

  .project-item { min-width: calc(33.33% - 53.33px); }



  /**
   * BLOG
   */

  .blog-list { grid-template-columns: 1fr 1fr; }



  /**
   * NEWSLETTER
   */

  .newsletter-banner { width: 230px; }

  .newsletter-content { max-width: 360px; }

  .newsletter .section-title { font-size: 3rem; }

  .newsletter-form { width: 300px; max-width: 300px; }



  /**
   * FOOTER
   */

  .footer-top {
    grid-template-columns: repeat(4, 1fr);
    justify-items: self-end;
  }

  .copyright { text-align: center; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }

  .h1 { --fs-3: 12rem; }



  /**
   * HEADER
   */

  .header .contact-number { --fs-6: 3rem; }



  /**
   * HERO
   */

  .hero {
    padding-block-start: 150px;
    background-position: left;
  }

  .hero-title .span { --fs-2: 14rem; }

  .hero-text { --fs-7: 2.4rem; }



  /**
   * ABOUT
   */

  .about-banner { max-width: 370px; }

  .about .abs-img-2 { width: max-content; }



  /**
   * NEWSLETTER
   */

  .newsletter-banner { width: 250px; }

  .newsletter-content { max-width: 400px; }

  .newsletter .container { gap: 48px; }



  /**
   * FOOTER
   */

  .footer-top { padding-block: 60px; }

}
/*-----------------------------------*\
  #ENVIAR HEADER REFINEMENT
\*-----------------------------------*/

/* Keep the original Transportio header architecture, but give the Enviar
   branding a quieter, more enterprise presentation. */
.header {
  min-height: 76px;
  padding-block: 12px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.42) 0%, rgba(12, 12, 12, 0.16) 68%, rgba(12, 12, 12, 0) 100%);
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease, padding 220ms ease;
}

.header.active {
  background: rgba(29, 29, 29, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header .container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 20px;
  gap: 24px;
}

.header .logo {
  flex: 0 0 auto;
  gap: 10px;
  font-size: 2.3rem;
  font-weight: var(--fw-600);
  letter-spacing: -0.02em;
}

.header .logo-icon {
  width: auto;
  height: 34px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
}

.header .logo-name {
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
  line-height: 1;
}

.header .logo-name .logo-name-primary,
.header .logo-name .logo-name-accent {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
}

.header.active .logo-icon {
  filter: brightness(0) invert(1);
}

.header.active .logo-name .logo-name-primary,
.header.active .logo-name .logo-name-accent {
  color: var(--white);
  text-shadow: none;
}

.nav-open-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-inline-start: auto;
  color: var(--white);
  font-size: 31px;
  border-radius: 4px;
  transition: background-color var(--transition);
}

.nav-open-btn:is(:hover, :focus-visible) {
  background-color: rgba(255, 255, 255, 0.10);
}

/* The slide-out navigation remains Transportio's mobile treatment, with the
   Enviar mark given dark-on-white colors inside the drawer. */
.navbar-top .logo {
  gap: 9px;
  font-size: 2.2rem;
}

.navbar-top .logo-icon {
  height: 32px;
  filter: none;
}

.header .navbar-top .logo-name .logo-name-primary {
  color: var(--brand-navy);
  text-shadow: none;
}

.header .navbar-top .logo-name .logo-name-accent {
  color: var(--brand-green);
  text-shadow: none;
}

.navbar-link {
  font-weight: var(--fw-500);
}

.navbar-link:is(:hover, :focus-visible) {
  color: var(--brand-green);
}

.header-contact {
  display: none;
}

/* Tablet widths stay intentionally simple: logo + hamburger.  This avoids
   crowding the navigation with a long operations email. */
@media (min-width: 640px) {
  .header .logo {
    font-size: 2.4rem;
  }

  .header .logo-icon {
    height: 36px;
  }
}

@media (min-width: 992px) {
  .nav-open-btn { display: none; }

  .header {
    min-height: 84px;
    padding-block: 15px;
  }

  .header.active {
    padding-block: 11px;
  }

  .header .container {
    padding-inline: 28px;
    gap: clamp(24px, 3vw, 52px);
  }

  .header .logo {
    font-size: 2.45rem;
    gap: 11px;
  }

  .header .logo-icon {
    height: 38px;
  }

  .navbar {
    margin-inline: auto;
  }

  .navbar-list {
    align-items: center;
    gap: clamp(20px, 2.2vw, 38px);
  }

  .navbar-link {
    position: relative;
    padding: 12px 0;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: var(--fw-500);
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
  }

  .navbar-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 72%;
    height: 2px;
    background-color: hsl(92, 70%, 74%);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
  }

  .navbar-link:is(:hover, :focus-visible) {
    color: var(--white);
    background-color: transparent;
    border-radius: 0;
    padding-inline: 0;
  }

  .navbar-link:is(:hover, :focus-visible)::after {
    transform: translateX(-50%) scaleX(1);
  }

  .header.active .navbar-link {
    text-shadow: none;
  }

  .header-contact {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    margin-inline-start: 0;
    padding-inline-start: 24px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    text-align: right;
    line-height: 1.12;
  }

  .header .contact-label {
    margin-block-end: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
    font-weight: var(--fw-600);
    letter-spacing: 0.16em;
  }

  .header .contact-number {
    position: relative;
    color: var(--white);
    font-size: 1.55rem;
    font-weight: var(--fw-600);
    letter-spacing: 0;
    white-space: nowrap;
    transition: color var(--transition);
  }

  .header .contact-number:is(:hover, :focus-visible) {
    color: hsl(92, 78%, 60%);
  }

  .header .contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    font-size: 20px;
    opacity: 0.92;
  }
}

/* The long email needs a little more breathing room before the full desktop
   contact treatment is shown. */
@media (min-width: 992px) and (max-width: 1179px) {
  .header .container {
    gap: 20px;
    padding-inline: 22px;
  }

  .navbar-list {
    gap: 18px;
  }

  .navbar-link {
    font-size: 1.4rem;
  }

  .header-contact {
    padding-inline-start: 18px;
    gap: 10px;
  }

  .header .contact-number {
    font-size: 1.35rem;
  }

  .header .contact-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .header .logo {
    font-size: 2.6rem;
  }

  .navbar-link {
    font-size: 1.55rem;
  }

  .header .contact-number {
    font-size: 1.7rem;
  }
}

@media (max-width: 539px) {
  .header {
    min-height: 70px;
    padding-block: 11px;
  }

  .header .container {
    padding-inline: 16px;
    gap: 16px;
  }

  .header .logo {
    gap: 8px;
    font-size: 2rem;
  }

  .header .logo-icon {
    height: 30px;
  }

  .nav-open-btn {
    width: 42px;
    height: 42px;
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header,
  .navbar-link::after,
  .contact-number,
  .nav-open-btn {
    transition: none;
  }
}

/*-----------------------------------*\
  #ENVIAR LOGO — CONSISTENT TRANSPARENT BRAND MARK
\*-----------------------------------*/

/* Use the same reversed Enviar ES mark (white E + green S) over both the
   hero and the solid-green sticky header. This matches the approved visual,
   keeps the artwork transparent, and avoids any white card/background. */
.header > .container > h1 .logo-mark {
  position: relative;
  width: 47px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.header > .container > h1 .logo-mark .logo-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep the approved white-E / green-S artwork visible in both header states. */
.header > .container > h1 .logo-icon-on-hero,
.header.active > .container > h1 .logo-icon-on-hero {
  opacity: 1;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
}

/* The alternate dark-E logo remains available for the white mobile drawer,
   but is not shown in the desktop/top header. */
.header > .container > h1 .logo-icon-on-solid,
.header.active > .container > h1 .logo-icon-on-solid {
  opacity: 0;
  filter: none;
}

@media (min-width: 640px) {
  .header > .container > h1 .logo-mark {
    width: 50px;
    height: 38px;
  }
}

@media (min-width: 992px) {
  .header > .container > h1 .logo-mark {
    width: 52px;
    height: 40px;
  }
}

@media (max-width: 539px) {
  .header > .container > h1 .logo-mark {
    width: 42px;
    height: 32px;
  }
}

/*-----------------------------------*\
  #ENVIAR HERO CAROUSEL
\*-----------------------------------*/

/* Carousel mechanics: slides stack and cross-fade */
.hero-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-carousel .hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Legible dark-to-light overlay: strong on the left where the text sits,
   fading away on the right so the photo reads clearly — same composition
   as the Transportio reference banner */
.hero-carousel .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsla(0, 0%, 4%, 0.78) 0%, hsla(0, 0%, 4%, 0.6) 32%, hsla(0, 0%, 4%, 0.28) 58%, hsla(0, 0%, 4%, 0) 82%);
  z-index: 0;
}

.hero-carousel .hero-slide .container {
  position: relative;
  z-index: 1;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background-color: transparent;
  opacity: 0.9;
  transition: var(--transition);
}

.hero-dot.active,
.hero-dot:is(:hover, :focus-visible) {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-slide,
  .hero-dot {
    transition: none;
  }
}

/* ---- Hero content: big, bold, left-aligned — Transportio reference style ---- */

.hero-carousel .hero-content {
  max-width: 34rem;
  margin-inline: 0;
  padding-inline: 0;
  background-color: transparent;
  text-align: left;
}

.hero-carousel .hero-title {
  max-width: none;
  margin-inline: 0;
  margin-block-end: 1.6rem;
  font-size: clamp(2.8rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.hero-carousel .hero-title .span {
  display: block;
  color: var(--brand-green);
  font-size: inherit;
  line-height: inherit;
  font-weight: var(--fw-700);
}

.hero-carousel .hero-text {
  max-width: 38ch;
  margin-inline: 0;
  margin-block: 0 2.4rem;
  font-size: clamp(1.4rem, 1.6vw, 1.6rem);
  line-height: 1.6;
}

.hero-carousel .btn-outline {
  margin-inline: 0;
  padding: 12px 28px;
  font-size: 1.5rem;
}

.hero-carousel .btn-outline:is(:hover, :focus) {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}

@media (min-width: 768px) {
  .hero-carousel .hero-content {
    max-width: 46rem;
  }

  .hero-carousel .hero-title {
    font-size: 6rem;
  }

  .hero-carousel .hero-text {
    max-width: 42ch;
    font-size: 1.8rem;
  }
}

@media (min-width: 1200px) {
  .hero-carousel .hero-content {
    max-width: 56rem;
  }

  .hero-carousel .hero-title {
    font-size: 8rem;
  }

  .hero-carousel .hero-text {
    max-width: 44ch;
  }
}

@media (min-width: 1600px) {
  .hero-carousel .hero-content {
    max-width: 62rem;
  }

  .hero-carousel .hero-title {
    font-size: 9.4rem;
  }
}

/* Slide-specific backgrounds — the shared ::before overlay above handles
   contrast, so every slide's image can show through cleanly */
.hero-carousel .hero-slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide--tuma,
.hero-slide--consulting {
  background-position: center center;
}


/* Header green polish + cleaner hero alignment
   Transparent at rest; solid only once the JS scroll listener adds
   .active (scrollY >= 100) — matching Transportio's header, which never
   changes on hover, only on scroll. */
.header {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.header.active {
  background: linear-gradient(90deg, hsla(92, 62%, 30%, 0.96), hsla(92, 58%, 27%, 0.96));
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header .logo-name .logo-name-accent,
.header .navbar-top .logo-name .logo-name-accent {
  color: var(--brand-green);
}


/* Enviar-themed about section */
.about .section-subtitle { color: var(--brand-green); }
.about .section-title { color: var(--prussian-blue); }
.why .section-subtitle { color: var(--brand-green); }
.why .section-title { color: var(--prussian-blue); }
.about .section-text,
.about .about-text { color: hsl(0, 0%, 28%); }
.about .about-icon { color: var(--brand-green); }
.about .btn { background-color: var(--brand-green); }
.about .btn::after { border-color: var(--brand-green); }
.about-banner { box-shadow: 0px 28px 54px hsla(92, 75%, 36%, 0.18); }
.about .abs-img-1 { filter: none; }
.about .abs-img-2 { filter: none; }

/* Tuma by Enviar introduction */
.about {
  padding-block: 110px;
  background: linear-gradient(180deg, var(--white) 0%, hsl(92, 24%, 98%) 100%);
}

.about .container { gap: clamp(54px, 8vw, 116px); }

.about-banner {
  max-width: 360px;
  overflow: visible;
  box-shadow: none;
}

.about-banner .img-cover {
  filter: grayscale(1) sepia(0.22) hue-rotate(40deg) saturate(0.72);
}

.about-platform-mark {
  position: absolute;
  inset-inline-end: -54px;
  inset-block-end: 32px;
  display: grid;
  gap: 2px;
  min-width: 178px;
  padding: 19px 22px;
  border-left: 4px solid var(--brand-green);
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-oswald);
  line-height: 1;
}

.about-platform-mark span { font-size: 3.2rem; font-weight: var(--fw-600); letter-spacing: 0.04em; }
.about-platform-mark small { color: hsl(92, 80%, 55%); font-family: var(--ff-rubik); font-size: 1.15rem; font-weight: var(--fw-600); letter-spacing: 0.08em; text-transform: uppercase; }

.about .section-subtitle { margin-block-end: 12px; letter-spacing: 0.14em; }
.about .section-title { color: var(--black); font-size: clamp(4rem, 4.7vw, 6.2rem); line-height: 1.04; }
.about .section-text { max-width: 52ch; font-size: 1.7rem; line-height: 1.65; }
.about-list { display: grid; gap: 12px; margin-block: 30px 36px; }
.about-item { gap: 11px; }
.about-item:not(:last-child) { margin: 0; }
.about-text { font-size: 1.55rem; }
.about-icon { margin-block-start: 4px; }

@media (max-width: 991px) {
  .about { padding-block: 80px; }
  .about-banner { margin-inline: auto; }
  .about-platform-mark { inset-inline-end: -24px; }
}

@media (max-width: 575px) {
  .about-banner { max-width: min(100% - 26px, 320px); }
  .about-platform-mark { inset-inline-end: -14px; inset-block-end: 18px; min-width: 146px; padding: 15px 17px; }
  .about-platform-mark span { font-size: 2.7rem; }
}

/* Light sticky header: preserve the hero overlay, then switch to a clean page surface. */
.header.active {
  background: rgba(255, 255, 255, 0.97);
  border-block-end: 1px solid hsl(92, 23%, 84%);
  box-shadow: 0 8px 26px rgba(15, 20, 12, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header.active > .container > h1 .logo-icon-on-hero { opacity: 0; }
.header.active > .container > h1 .logo-icon-on-solid { opacity: 1; }

.header.active .logo-name .logo-name-primary {
  color: var(--brand-navy);
  text-shadow: none;
}

.header.active .logo-name .logo-name-accent {
  color: var(--brand-green);
  text-shadow: none;
}

.header.active .nav-open-btn { color: var(--brand-navy); }

@media (min-width: 992px) {
  .header.active .navbar-link,
  .header.active .navbar-link:is(:hover, :focus-visible) {
    color: var(--brand-navy);
    text-shadow: none;
  }

  .header.active .navbar-link:is(:hover, :focus-visible) { color: var(--brand-green); }

  .header.active .header-contact {
    border-inline-start-color: hsl(92, 18%, 80%);
    color: var(--brand-navy);
  }

  .header.active .contact-label { color: hsl(212, 14%, 42%); }
  .header.active .contact-number { color: var(--brand-navy); }
  .header.active .contact-number:is(:hover, :focus-visible) { color: var(--brand-green); }
  .header.active .contact-icon { color: var(--brand-green); opacity: 1; }
}

/* Tuma dashboard: retain the complete laptop frame and dashboard view. */
.about-banner {
  max-width: 680px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-banner .about-dashboard-image {
  filter: none;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(13, 20, 10, 0.18));
}

.about-platform-mark { display: none; }

@media (max-width: 991px) {
  .about-banner { max-width: min(100%, 680px); }
}

@media (min-width: 992px) {
  .about .container {
    width: min(calc(100% - 80px), 1520px);
    grid-template-columns: minmax(0, 1.35fr) minmax(440px, 0.65fr);
    align-items: center;
    gap: clamp(44px, 4vw, 70px);
  }

  .about-content {
    order: initial;
    width: auto;
    margin-inline: 0;
    text-align: left;
  }

  .about .section-text { margin-inline: 0; }

  .about-list {
    width: auto;
    margin-inline: 0;
    text-align: left;
  }

  .about-banner {
    width: 100%;
    max-width: 940px;
    margin-inline: 0;
  }
}

@media (min-width: 1200px) {
  .about-banner .about-dashboard-image {
    transform: scale(1.15);
    transform-origin: center;
  }
}

.service-card .btn-link:is(:hover, :focus) { color: hsl(92, 62%, 30%); }
.service-card .btn-link ion-icon { font-size: 1.5rem; }


/* Final Enviar project section color cleanup — no orange */
.project {
  background: linear-gradient(180deg, hsl(0, 0%, 97%) 0%, hsl(92, 28%, 97%) 100%);
}
.project .section-subtitle {
  color: var(--brand-green) !important;
}
.project .section-title {
  color: var(--prussian-blue);
}
.project .section-text {
  color: hsl(0, 0%, 34%);
}
.project-card .action-btn {
  background-color: var(--brand-green) !important;
  color: var(--white);
  box-shadow: 0 10px 24px hsla(92, 62%, 30%, 0.24);
}
.project-card .card-tag {
  color: var(--brand-green) !important;
}
.project-card .card-title {
  color: var(--prussian-blue);
}
.project-card .card-link {
  color: var(--brand-green) !important;
}
.project-card :is(.card-title, .card-link):is(:hover, :focus) {
  color: hsl(92, 70%, 24%) !important;
}
.project-card .card-content {
  box-shadow: 0 14px 30px hsla(0, 0%, 20%, 0.07);
  border-bottom: 3px solid hsla(92, 62%, 30%, 0.18);
}
.project-card:is(:hover, :focus-within) .card-content {
  border-bottom-color: var(--brand-green);
}
.project .slider-scrollbar {
  border-color: hsl(92, 20%, 72%);
}
.project .slider-scrollbar .scrollbar-thumb {
  background-color: var(--brand-green) !important;
}


/* Enviar-themed blog/news section cleanup */
.blog {
  background: linear-gradient(180deg, hsl(0, 0%, 98%) 0%, hsl(92, 30%, 98%) 100%);
}
.blog .section-subtitle {
  color: var(--brand-green) !important;
}
.blog .section-title {
  color: var(--prussian-blue);
}
.blog .section-text {
  color: hsl(0, 0%, 34%);
  max-width: 78rem;
  margin-inline: auto;
}
.blog-list {
  gap: 40px;
}
.blog-card .card-banner {
  overflow: hidden;
}
.blog-card .img-cover {
  transition: transform 0.4s ease;
}
.blog-card:is(:hover, :focus-within) .img-cover {
  transform: scale(1.03);
}
.blog-card .card-meta {
  background-color: var(--prussian-blue);
  box-shadow: -8px 8px 0 var(--brand-green);
}
.blog-card .card-meta .span {
  color: var(--brand-green);
}
.blog-card .card-title {
  color: var(--prussian-blue);
  transition: var(--transition);
}
.blog-card .card-title:is(:hover, :focus),
.blog-card .card-title a:is(:hover, :focus) {
  color: hsl(92, 62%, 30%);
}
.blog-card .card-text {
  color: hsl(0, 0%, 34%);
}
.blog .btn-link {
  color: var(--brand-green);
}
.blog .btn-link:is(:hover, :focus) {
  color: hsl(92, 62%, 28%);
}


/* =====================================================
   FINAL ENVIAR SITEWIDE BRAND SYSTEM
   Keeps Transportio composition while unifying Enviar colors/content
   ===================================================== */
:root {
  --brand-green: #4f8f18;
  --brand-green-deep: hsl(92, 70%, 22%);
  --brand-green-soft: hsl(92, 30%, 96%);
  --brand-green-pale: hsl(92, 26%, 92%);
  --dark-orange: var(--brand-green);
}

.section-subtitle,
.btn-link {
  color: var(--brand-green);
}

.btn {
  background-color: var(--brand-green);
}

.btn::after {
  border-color: var(--brand-green);
}

.btn:is(:hover, :focus) {
  background-color: var(--brand-green-deep);
}

/* Feature / consulting */
.feature .section-subtitle { color: var(--brand-green); }
.feature .section-text { color: hsl(0, 0%, 34%); max-width: 62ch; }
.feature .btn { background-color: var(--brand-green); }
.feature .btn::after { border-color: var(--brand-green); }
.feature-card {
  background-color: var(--white);
  border-color: hsl(92, 24%, 88%);
}
.feature-card:is(:hover, :focus-within)::before { color: var(--brand-green); }
.feature-card .card-icon {
  background: linear-gradient(180deg, var(--brand-green-soft), hsl(92, 45%, 91%));
}
.feature-card .card-icon img {
}
.feature-card .card-btn {
  color: var(--brand-green);
  border-color: var(--brand-green);
}
.feature-card .card-btn:is(:hover, :focus) {
  background-color: var(--brand-green);
  color: var(--white);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(110deg, var(--brand-green-deep), var(--brand-green));
}
.newsletter .section-title { color: var(--white); }
.newsletter-text {
  color: hsla(0, 0%, 100%, 0.84);
  max-width: 52ch;
  margin-block-end: 4px;
}
.newsletter-btn {
  background-color: var(--prussian-blue);
  color: var(--white);
  transition: var(--transition);
}
.newsletter-btn:is(:hover, :focus) {
  background-color: hsl(0, 0%, 11%);
}

/* Footer */
.footer-list-title {
  border-block-end-color: var(--brand-green);
}
.footer-link,
.social-link {
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-link:is(:hover, :focus),
.social-link:is(:hover, :focus) {
  color: hsl(92, 70%, 56%);
}
.social-link:is(:hover, :focus) { transform: translateY(-2px); }

/* Footer stays light and uses only the approved black, green, and white palette. */
footer.footer,
footer.footer .footer-top,
footer.footer .footer-bottom {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  color-scheme: light;
}

footer.footer .footer-text,
footer.footer .footer-list-title,
footer.footer .footer-link,
footer.footer .copyright,
footer.footer .copyright-link,
footer.footer .logo-name-primary {
  color: #000000 !important;
}

footer.footer .logo-name-accent,
footer.footer .footer-list-title {
  color: #4f8f18 !important;
}

/* Header navigation hover: visible but restrained on both transparent and green states */
@media (min-width: 992px) {
  .navbar-link:is(:hover, :focus-visible) {
    color: hsl(92, 88%, 82%);
    background-color: hsla(0, 0%, 100%, 0.09);
    border-radius: 999px;
    padding-inline: 12px;
  }
  .navbar-link::after {
    background-color: hsl(92, 82%, 72%);
  }
  .header:not(.active) .navbar-link:is(:hover, :focus-visible) {
    color: hsl(92, 88%, 84%);
  }
}

/* Back-to-top and interactive accents */
.back-top-btn {
  background-color: var(--brand-green);
}
.back-top-btn:is(:hover, :focus) {
  background-color: var(--brand-green-deep);
}

/* =====================================================
   CONSULTING SECTION — matches the original Transportio
   "Estimation" layout: offset frame behind the CTA button
   and oversized "01/02/03" watermark numbers spilling
   above each card, recolored to the Enviar green palette.
   ===================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  background-color: var(--brand-green);
  max-width: max-content;
  font-size: var(--fs-9);
  font-weight: var(--fw-600);
  letter-spacing: 0.3px;
  padding-block: 15px;
  padding-inline: 26px 52px;
  border-radius: 2px;
  box-shadow: 0 10px 24px hsla(92, 62%, 30%, 0.18);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn::before {
  top: 50%;
  right: 24px;
  width: 22px;
  height: 1px;
  background-color: var(--white);
}

.btn:is(:hover, :focus) {
  background-color: var(--brand-green-deep);
  box-shadow: 0 14px 30px hsla(92, 62%, 24%, 0.24);
}

.btn:is(:hover, :focus)::before { width: 30px; }

.feature .title-wrapper {
  gap: 24px;
}

.feature-card .card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  max-width: none;
  padding: 0;
  border-width: 1.5px;
  border-radius: 2px;
  font-size: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.feature-card .card-btn:is(:hover, :focus) {
  background-color: var(--brand-green);
  color: var(--white);
  transform: translateX(3px);
}


/*-----------------------------------*\
  #UI POLISH — FINAL PASS
  Single consolidated block. Everything here is black / #4f8f18 / white.
\*-----------------------------------*/

/**
 * 1. ICONS
 * The source artwork is now genuinely brand-green, so the old hue-rotate
 * correction is gone. Icons only ever invert to white when they sit on a
 * solid green plate.
 */

.service-card .card-icon,
.feature-card .card-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  border-radius: 14px;
  background: hsl(92, 30%, 96%);
  border: 1px solid hsl(92, 26%, 88%);
  box-shadow: none;
  transition: background-color 260ms ease, border-color 260ms ease;
}

.service-card .card-icon img,
.feature-card .card-icon img {
  width: 38px;
  max-width: 38px;
  height: 38px;
  object-fit: contain;
  filter: none;
  transition: filter 260ms ease;
}

.service-card:is(:hover, :focus-within) .card-icon,
.feature-card:is(:hover, :focus-within) .card-icon {
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.service-card:is(:hover, :focus-within) .card-icon img,
.feature-card:is(:hover, :focus-within) .card-icon img {
  filter: brightness(0) invert(1);
}

/**
 * 2. STICKY HEADER
 * The bright green slab swallowed the green half of the ES mark and fought
 * with the page for attention. Scrolled state is now near-black with a green
 * hairline, so the logo reads cleanly and green stays an accent.
 */

.header.active {
  background: rgba(10, 10, 10, 0.94);
  border-block-end: 1px solid hsla(92, 62%, 42%, 0.55);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header.active > .container > h1 .logo-icon-on-hero {
  filter: none;
}

@media (min-width: 992px) {
  .header.active .navbar-link {
    color: rgba(255, 255, 255, 0.88);
  }

  .header.active .navbar-link:is(:hover, :focus-visible) {
    color: var(--white);
    background-color: transparent;
    padding-inline: 0;
  }

  .navbar-link::after {
    background-color: var(--brand-green);
    height: 2px;
    bottom: 2px;
  }

  .header-contact {
    gap: 12px;
    padding-inline-start: 22px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
  }

  .header-signin {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid var(--brand-green);
    background: var(--brand-green);
    color: var(--white);
    font-family: var(--ff-rubik);
    font-size: 1.35rem;
    font-weight: var(--fw-600);
    line-height: 1;
    box-shadow: 0 8px 18px hsla(92, 62%, 22%, 0.22);
    transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  }

  .header-signin span { font-size: 1.55rem; line-height: 1; }

  .header-signin:is(:hover, :focus-visible) {
    border-color: var(--brand-green-deep);
    background: var(--brand-green-deep);
    color: var(--white);
    box-shadow: 0 12px 22px hsla(92, 62%, 18%, 0.3);
    transform: translateY(-2px);
  }

  .header .contact-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .header .contact-number {
    font-size: 1.5rem;
    font-weight: var(--fw-500);
  }

  .header .contact-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-color: rgba(255, 255, 255, 0.22);
    font-size: 18px;
  }
}

/**
 * 3. CARD SYSTEM
 * One radius, one border, one shadow scale across service / feature /
 * project / blog cards so the page stops looking assembled from parts.
 */

.service-card,
.feature-card,
.project-card,
.blog-card {
  border-radius: 12px;
  border: 1px solid hsl(0, 0%, 91%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

.service-card:is(:hover, :focus-within),
.feature-card:is(:hover, :focus-within),
.project-card:is(:hover, :focus-within),
.blog-card:is(:hover, :focus-within) {
  border-color: hsla(92, 62%, 34%, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.service-card {
  /* Reserve a dedicated lane for the step number above the icon. */
  padding: 130px 32px 30px;
}

.service-card::before {
  content: var(--card-number);
  position: absolute;
  inset-block-start: 26px;
  inset-inline: 0;
  z-index: 0;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--card-number-color);
  font-family: var(--ff-oswald);
  font-size: 10rem;
  font-weight: var(--fw-700);
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform: none;
  transition: color 260ms ease;
}

/* The numeral is a wayfinding device, not a headline — quiet but legible. */
.service-card .card-title .span {
  opacity: 1;
  color: hsl(92, 40%, 58%);
  font-size: 2.2rem;
  font-weight: var(--fw-600);
  font-variant-numeric: tabular-nums;
}

.service-card .card-heading-text {
  font-size: 1.95rem;
  letter-spacing: 0.005em;
}

.service-card .card-text {
  font-size: 1.5rem;
  line-height: 1.65;
  color: hsl(0, 0%, 36%);
  margin-block: 0 22px;
}

.service-card .btn-link {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.service-card .btn-link:is(:hover, :focus) {
  color: hsl(92, 70%, 26%);
}

/* Match the consulting-card treatment: a soft number behind the icon. */
.service-card:is(:hover, :focus-within)::before {
  color: hsl(92, 45%, 88%);
  transform: none;
}

.service-card .card-icon,
.service-card .card-title,
.service-card .card-text,
.service-card .btn-link {
  position: relative;
  z-index: 1;
}

.service-card .card-icon {
  margin-inline: auto;
  margin-block-end: 24px;
}

.service-card .card-title {
  justify-content: center;
  font-size: 1.95rem;
  letter-spacing: 0.005em;
  text-align: center;
}

/**
 * 4. SECTION RHYTHM
 * Consistent eyebrow treatment and a calmer measure for intro copy.
 */

.section-subtitle {
  color: var(--brand-green);
  font-size: 1.25rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-block-end: 14px;
}

.section-title {
  letter-spacing: -0.01em;
  margin-block-end: 18px;
}

.service .section-text,
.project .section-text,
.blog .section-text {
  max-width: 62ch;
  margin-inline: auto;
  color: hsl(0, 0%, 36%);
  line-height: 1.65;
}

.service .grid-list,
.feature .grid-list {
  gap: 24px;
}

/* Request a demo */
.demo-section {
  padding-block: 92px;
  background: linear-gradient(180deg, hsl(0, 0%, 99%) 0%, hsl(92, 24%, 97%) 100%);
}

.demo-card {
  display: grid;
  overflow: hidden;
  max-width: 1184px;
  margin-inline: auto;
  border: 1px solid hsl(92, 20%, 85%);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 54px hsla(0, 0%, 13%, 0.10);
}

.demo-intro {
  padding: 48px 34px;
  background: hsl(92, 35%, 94%);
}

.demo-eyebrow {
  margin-block-end: 18px;
  color: hsl(92, 78%, 30%);
  font-size: 1.2rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-title {
  color: var(--prussian-blue);
  font-size: clamp(3rem, 4.6vw, 5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.demo-copy {
  max-width: 38ch;
  margin-block: 22px 30px;
  color: hsl(212, 20%, 35%);
  font-size: 1.7rem;
  line-height: 1.65;
}

.demo-benefits { display: grid; gap: 15px; }

.demo-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--prussian-blue);
  font-size: 1.55rem;
  font-weight: var(--fw-600);
}

.demo-benefits ion-icon {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: hsl(82, 100%, 48%);
  color: hsl(212, 62%, 15%);
}

.demo-form { padding: 42px 34px 32px; }

.demo-form label {
  display: grid;
  gap: 8px;
  margin-block-end: 18px;
  color: var(--prussian-blue);
  font-size: 1.35rem;
  font-weight: var(--fw-700);
}

.demo-form-row { display: grid; gap: 18px; }

.demo-form :is(input, select) {
  width: 100%;
  min-height: 50px;
  padding-inline: 15px;
  border: 1px solid hsl(210, 24%, 82%);
  border-radius: 11px;
  outline: none;
  background: hsl(210, 25%, 98%);
  color: var(--prussian-blue);
  font: inherit;
  font-size: 1.5rem;
  font-weight: var(--fw-400);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.demo-form select { cursor: pointer; }

.demo-form :is(input, select):focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px hsla(92, 62%, 30%, 0.16);
}

.demo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: hsl(82, 100%, 48%);
  color: hsl(212, 62%, 14%);
  font: inherit;
  font-size: 1.55rem;
  font-weight: var(--fw-700);
  cursor: pointer;
  box-shadow: 0 12px 24px hsla(82, 100%, 48%, 0.26);
  transition: transform 180ms ease, background-color 180ms ease;
}

.demo-submit:is(:hover, :focus-visible) {
  background: hsl(82, 100%, 43%);
  transform: translateY(-2px);
}

.demo-consent,
.demo-success {
  margin-block-start: 14px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.45;
}

.demo-consent { color: hsl(212, 14%, 48%); }
.demo-success { color: hsl(92, 70%, 25%); font-weight: var(--fw-700); }

@media (min-width: 575px) {
  .demo-intro,
  .demo-form { padding-inline: 50px; }

  .demo-form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .demo-card { grid-template-columns: 0.94fr 1.06fr; }
  .demo-intro { padding: 70px 52px; }
  .demo-form { padding: 52px 50px 36px; }
}

/* Refined Enviar demo form: Oswald display type, Rubik interface type. */
.demo-section {
  padding-block: 80px;
  background: hsl(0, 0%, 98%);
}

.demo-card {
  max-width: 1120px;
  border-color: hsl(92, 17%, 84%);
  border-radius: 16px;
  box-shadow: 0 18px 40px hsla(0, 0%, 10%, 0.07);
}

.demo-intro {
  display: flex;
  flex-direction: column;
  padding: 44px 38px;
  background: linear-gradient(145deg, hsl(92, 32%, 95%), hsl(0, 0%, 100%));
  border-inline-end: 1px solid hsl(92, 17%, 88%);
}

.demo-eyebrow {
  margin-block-end: 12px;
  color: var(--brand-green);
  font-family: var(--ff-rubik);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
}

.demo-title {
  max-width: 11ch;
  color: var(--black);
  font-family: var(--ff-oswald);
  font-size: clamp(3.4rem, 3.9vw, 4.6rem);
  font-weight: var(--fw-600);
  line-height: 1.12;
  letter-spacing: 0;
}

.demo-copy {
  margin-block: 18px 28px;
  color: hsl(0, 0%, 34%);
  font-family: var(--ff-rubik);
  font-size: 1.55rem;
  line-height: 1.6;
}

.demo-benefits {
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.demo-benefits li {
  gap: 10px;
  color: hsl(0, 0%, 18%);
  font-family: var(--ff-rubik);
  font-size: 1.4rem;
  font-weight: var(--fw-500);
}

.demo-benefits ion-icon {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
  padding: 3px;
  background: var(--brand-green);
  color: var(--white);
}

.demo-form {
  padding: 40px 38px 28px;
  font-family: var(--ff-rubik);
}

.demo-form label {
  gap: 7px;
  margin-block-end: 14px;
  color: hsl(0, 0%, 16%);
  font-family: var(--ff-rubik);
  font-size: 1.2rem;
  font-weight: var(--fw-600);
  letter-spacing: 0.01em;
}

.demo-form-row { gap: 14px; }

.demo-form :is(input, select) {
  min-height: 46px;
  border-color: hsl(0, 0%, 84%);
  border-radius: 6px;
  background: var(--white);
  color: hsl(0, 0%, 18%);
  font-family: var(--ff-rubik);
  font-size: 1.35rem;
}

.demo-form :is(input, select):focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px hsla(92, 62%, 30%, 0.12);
}

.demo-submit {
  min-height: 48px;
  border-radius: 4px;
  background: var(--brand-green);
  color: var(--white);
  font-family: var(--ff-rubik);
  font-size: 1.35rem;
  font-weight: var(--fw-600);
  box-shadow: none;
}

.demo-submit:is(:hover, :focus-visible) {
  background: var(--brand-green-deep);
  transform: translateY(-1px);
}

.demo-consent,
.demo-success {
  font-family: var(--ff-rubik);
  font-size: 1.05rem;
}

@media (min-width: 575px) {
  .demo-intro,
  .demo-form { padding-inline: 42px; }
}

@media (min-width: 992px) {
  .demo-card { grid-template-columns: 0.9fr 1.1fr; }
  .demo-intro { padding: 48px 46px; }
  .demo-form { padding: 42px 46px 28px; }
}

/* Demo context and partner logos */
.demo-title { max-width: 14ch; }

.demo-context {
  margin-block: 2px 22px;
  padding: 15px 16px;
  border-inline-start: 3px solid var(--brand-green);
  background: hsla(92, 30%, 92%, 0.62);
}

.demo-context-title {
  margin-block-end: 5px;
  color: var(--black);
  font-family: var(--ff-rubik);
  font-size: 1.2rem;
  font-weight: var(--fw-700);
}

.demo-context p:last-child {
  color: hsl(0, 0%, 32%);
  font-family: var(--ff-rubik);
  font-size: 1.25rem;
  line-height: 1.55;
}

.demo-benefits {
  margin-top: 0;
  padding-top: 0;
}

.partner-network {
  padding-block: 30px;
  background: hsl(92, 24%, 97%);
  border-block-color: hsl(92, 20%, 88%);
}

.partner-network .container { gap: 28px; }

.partner-network-logos {
  gap: 12px;
}

.partner-logo-tile {
  display: grid;
  place-items: center;
  width: 148px;
  height: 68px;
  padding: 10px 14px;
  border: 1px solid hsl(92, 18%, 86%);
  border-radius: 8px;
  background: var(--white);
}

.partner-logo-tile img,
.partner-network-logos .partner-logo-sga {
  width: 100%;
  max-width: 118px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .partner-network .container {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .partner-network-logos {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .partner-logo-tile {
    width: calc((100vw - 56px) / 3);
    height: 58px;
    padding-inline: 8px;
  }

  .partner-logo-tile img,
  .partner-network-logos .partner-logo-sga {
    max-width: 100%;
    height: 32px;
  }
}

/* Editorial demo layout */
.demo-section {
  padding-block: 104px;
  background: var(--white);
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  max-width: 1080px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.demo-intro {
  display: block;
  padding: 0 76px 56px 0;
  border: 0;
  background: transparent;
}

.demo-eyebrow {
  margin-block-end: 16px;
  color: var(--brand-green);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.demo-title {
  max-width: 10ch;
  color: var(--black);
  font-family: var(--ff-oswald);
  font-size: clamp(4rem, 5vw, 6.2rem);
  font-weight: var(--fw-600);
  line-height: 1.02;
}

.demo-copy {
  max-width: 52ch;
  margin: 24px 0 0;
  color: hsl(0, 0%, 36%);
  font-size: 1.6rem;
  line-height: 1.7;
}

.demo-context {
  align-self: end;
  margin: 0 0 56px;
  padding: 26px 0 0 28px;
  border-top: 1px solid hsl(92, 17%, 78%);
  border-inline-start: 2px solid var(--brand-green);
  background: transparent;
}

.demo-context-title {
  margin-block-end: 18px;
  color: var(--black);
  font-family: var(--ff-rubik);
  font-size: 1.2rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.demo-benefits li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: hsl(0, 0%, 22%);
  font-size: 1.32rem;
  line-height: 1.45;
}

.demo-benefits li span {
  color: var(--brand-green);
  font-family: var(--ff-oswald);
  font-size: 1.6rem;
  font-weight: var(--fw-600);
  line-height: 1.1;
}

.demo-benefits li strong { font-weight: var(--fw-500); }

.demo-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  padding: 34px 0 0;
  border-top: 1px solid hsl(0, 0%, 82%);
  background: transparent;
}

.demo-form-heading,
.demo-submit,
.demo-consent,
.demo-success { grid-column: 1 / -1; }

.demo-form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-block-end: 22px;
}

.demo-form-heading p {
  color: var(--black);
  font-family: var(--ff-oswald);
  font-size: 2.4rem;
  font-weight: var(--fw-600);
}

.demo-form-heading span,
.demo-consent {
  color: hsl(0, 0%, 46%);
  font-size: 1.15rem;
}

.demo-form-row { display: contents; }

.demo-form label { margin-block-end: 20px; }

.demo-form > label:nth-of-type(1),
.demo-form > label:nth-of-type(2) { grid-column: span 1; }

.demo-form :is(input, select) {
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid hsl(0, 0%, 69%);
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}

.demo-form :is(input, select):focus {
  border-color: var(--brand-green);
  box-shadow: 0 2px 0 var(--brand-green);
}

.demo-submit {
  justify-self: start;
  width: auto;
  min-width: 210px;
  margin-top: 6px;
  padding: 0 26px;
  border-radius: 0;
  background: var(--black);
  color: var(--white);
}

.demo-submit:is(:hover, :focus-visible) { background: var(--brand-green); }

.demo-consent,
.demo-success {
  margin: 14px 0 0;
  text-align: left;
}

@media (max-width: 767px) {
  .demo-section { padding-block: 72px; }
  .demo-card { grid-template-columns: 1fr; }
  .demo-intro { padding: 0 0 40px; }
  .demo-context { margin: 0 0 42px; }
  .demo-form { grid-template-columns: 1fr; }
  .demo-form > label:nth-of-type(1),
  .demo-form > label:nth-of-type(2) { grid-column: auto; }
}

@media (max-width: 575px) {
  .demo-title { font-size: 4.4rem; }
  .demo-form-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .demo-submit { width: 100%; }
}

/* Final rhythm and browser autofill polish for the demo. */
@media (min-width: 768px) {
  .demo-card {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.86fr);
    column-gap: 68px;
  }

  .demo-title { max-width: 14ch; }

  .demo-context {
    align-self: center;
    margin: 22px 0 56px;
  }
}

.demo-form input:-webkit-autofill,
.demo-form input:-webkit-autofill:hover,
.demo-form input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset;
  -webkit-text-fill-color: hsl(0, 0%, 18%);
  caret-color: hsl(0, 0%, 18%);
}

/* Courier partners: keep the logos visible without competing card containers. */
.partner-network {
  padding-block: 34px;
  background: hsl(92, 24%, 97%);
}

.partner-network .container { gap: 48px; }

.partner-network-logos {
  align-items: center;
  gap: 0;
}

.partner-logo-tile {
  position: relative;
  width: 164px;
  height: 58px;
  padding: 4px 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.partner-logo-tile + .partner-logo-tile::before {
  position: absolute;
  inset-block: 10px;
  inset-inline-start: 0;
  width: 1px;
  background: hsl(92, 17%, 76%);
  content: "";
}

.partner-logo-tile img,
.partner-network-logos .partner-logo-sga {
  max-width: 138px;
  height: 46px;
}

.partner-logo-tile .partner-logo-36ty {
  transform: scale(2.2);
}

@media (max-width: 575px) {
  .partner-network .container { gap: 18px; }
  .partner-network-logos { justify-content: center; width: 100%; }
  .partner-logo-tile { width: calc(100% / 3); padding-inline: 9px; }
  .partner-logo-tile img,
  .partner-network-logos .partner-logo-sga { height: 38px; }

  .partner-logo-tile .partner-logo-36ty { transform: scale(1.75); }
}

/* Final sticky-header surface overrides. */
.header.active {
  background: rgba(255, 255, 255, 0.97);
  border-block-end: 1px solid hsl(92, 23%, 84%);
  box-shadow: 0 8px 26px rgba(15, 20, 12, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header.active > .container > h1 .logo-icon-on-hero { opacity: 0; }
.header.active > .container > h1 .logo-icon-on-solid { opacity: 1; }
.header.active .logo-name .logo-name-primary { color: var(--brand-navy); text-shadow: none; }
.header.active .logo-name .logo-name-accent { color: var(--brand-green); text-shadow: none; }
.header.active .nav-open-btn { color: var(--brand-navy); }

@media (min-width: 992px) {
  .header.active .navbar-link,
  .header.active .navbar-link:is(:hover, :focus-visible) { color: var(--brand-navy); text-shadow: none; }
  .header.active .navbar-link:is(:hover, :focus-visible) { color: var(--brand-green); }
  .header.active .header-contact { border-inline-start-color: hsl(92, 18%, 80%); color: var(--brand-navy); }
  .header.active .contact-label { color: hsl(212, 14%, 42%); }
  .header.active .contact-number { color: var(--brand-navy); }
  .header.active .contact-number:is(:hover, :focus-visible) { color: var(--brand-green); }
  .header.active .contact-icon { color: var(--brand-green); opacity: 1; }
}
