/* ===========================================================
   Tokens
=========================================================== */
:root{
  --primary: #002846;
  --primary-2: #0e3d60;
  --accent: #5eb2f2;
  --muted: #567790;
  --light-blue: #baddef;
  --bg-light: #e5f4ff;
  --gray: #636a70;
  --gray-light: #ccd4da;
  --white: #fff;

  --font-serif: 'PT Serif', serif;
  --font-sans: 'General Sans', sans-serif;

  --ease: cubic-bezier(.44,0,.56,1);
  --container: 1300px;
}

/* ===========================================================
   Reset / base
=========================================================== */
*{ box-sizing: border-box; }
html{
  /* overflow-x:clip on html breaks position:sticky for direct body children (e.g. the header) —
     keep the root unclipped and contain overflow locally instead (.page-clip, .brand-carousel, etc.) */
  scroll-behavior: smooth;
}
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-serif); font-weight: 400; color: var(--primary); }
p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

.page-clip{ overflow-x: clip; }

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.text-link{
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease);
}
.text-link:hover{ color: var(--accent); }

/* ===========================================================
   Buttons
=========================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: none;
  border-radius: 0 20px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn--primary{ background: var(--primary); color: var(--white); }
.btn--primary:hover{ background: var(--primary-2); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,40,70,.18); }
.btn--white{ background: var(--white); color: var(--primary); }
.btn--white:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.btn--light{ background: var(--bg-light); color: var(--primary); border: 1.5px solid var(--primary); }
.btn--light:hover{ background: var(--light-blue); transform: translateY(-2px); }
.btn--block{ width: 100%; }

/* ===========================================================
   Reveal-on-scroll animation
=========================================================== */
.reveal{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal--right{ transform: translateX(40px); }
.reveal--right.is-visible{ transform: translateX(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ===========================================================
   Brand mark
=========================================================== */
.header__brand,
.footer__logo{
  display: flex;
  align-items: center;
}
.brand-logo{
  height: 62px;
  width: auto;
}
.footer__logo{
  display: inline-flex;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
}
.footer__logo .brand-logo{ height: 38px; }

/* ===========================================================
   Header
=========================================================== */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,40,70,.06);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 103px;
  gap: 20px;
}

.header__nav{ display: flex; align-items: center; gap: 40px; }
.nav-link{
  position: relative;
  font-weight: 500;
  font-size: 18px;
  padding-bottom: 6px;
}
.nav-link::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after{ transform: scaleX(1); }

.header__right{ display: flex; align-items: center; gap: 24px; }

.burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.burger span{
  display: block;
  width: 100%; height: 2px;
  background: var(--primary);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ===========================================================
   Hero
=========================================================== */
.hero{ padding: 40px 0 0; }
.hero__inner{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 25px;
}
.hero__content{
  background: var(--bg-light);
  border-radius: 0 100px 0 100px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero__title{ font-size: 50px; line-height: 1.15; }
.hero__title--sm{ font-size: 42px; }
.hero__subtitle{ color: var(--gray); font-size: 17px; line-height: 1.6; }
.hero__ctas{ display: flex; gap: 16px; flex-wrap: wrap; }

.eyebrow{ font-weight: 600; font-size: 18px; color: var(--accent); }
.eyebrow--white{ color: var(--light-blue); }

.hero__image{ min-height: 100%; }
.hero__image img{
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 24px;
}

@media (max-width: 900px){
  .hero__inner{ grid-template-columns: 1fr; align-items: center; }
  .hero__image{ order: -1; }
  .hero__content{ border-radius: 0 60px 0 60px; padding: 36px; }
  .hero__title,
  .hero__title--sm{ font-size: 32px; }
  .hero__image img{ min-height: 0; aspect-ratio: 4/3; }
}

/* ===========================================================
   Quem Somos
=========================================================== */
.about{ padding: 120px 0; }
.about__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.about__images{ position: relative; }
.about__img-main{ border-radius: 16px; width: 100%; aspect-ratio: 1.4/1; object-fit: cover; }
.about__img-float{
  position: absolute;
  width: 45%;
  bottom: -40px;
  right: -30px;
  border-radius: 16px;
  border: 8px solid var(--white);
  box-shadow: 0 20px 40px rgba(0,40,70,.15);
}
.about__content{ display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section-title{ font-size: 36px; line-height: 1.18; }
.section-text{ color: var(--gray); font-size: 17px; line-height: 1.6; }

@media (max-width: 900px){
  .about__inner{ grid-template-columns: 1fr; }
  .about__images{ margin-bottom: 40px; }
}
@media (max-width: 600px){
  .about__img-float{ width: 50%; right: 0; bottom: -28px; border-width: 6px; }
  .about__images{ margin-bottom: 28px; }
}

/* ===========================================================
   Destaques (features)
=========================================================== */
.features{ padding: 0 0 120px; }
.features__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card{
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--bg-light);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-card:hover{ transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,40,70,.12); }
.feature-card__icon{ width: 48px; height: 48px; margin-bottom: 8px; }
.feature-card h3{ font-size: 19px; }
.feature-card p{ color: var(--gray); font-size: 15px; line-height: 1.6; }

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

/* ===========================================================
   Sobre o AVC (context band)
=========================================================== */
.context{ padding: 0 0 120px; }
.context .context__inner{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 60px 0 60px;
  padding: 90px 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.context .context__inner .section-title,
.context .context__inner .section-text{ color: var(--white); }
.context .context__inner .section-text{ color: var(--light-blue); }

@media (max-width: 700px){
  .context .context__inner{ padding: 56px 30px; border-radius: 0 40px 0 40px; gap: 22px; }
}

/* ===========================================================
   Serviços
=========================================================== */
.services{ padding: 0 0 120px; }
.services__title{ max-width: 640px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  position: relative;
  aspect-ratio: 1/1.1;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
}
.service-card__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.service-card__gradient{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(180deg, rgba(0,40,70,.05) 0%, rgba(0,40,70,.85) 100%);
}
.service-card h3,
.service-card p{ color: var(--white); position: relative; z-index: 1; }
.service-card p{ font-size: 14px; opacity: .85; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s var(--ease); }
.service-card:hover p{ max-height: 100px; opacity: .95; }
.service-card__icon{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--white);
  border-radius: 50%;
  padding: 14px;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.service-card__icon img{ width: 100%; height: 100%; display: block; }
.service-card:hover .service-card__icon{ transform: rotate(-12deg) scale(1.08); }
.service-card__badge{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.service-cta{
  grid-column: span 3;
  background: var(--primary);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.service-cta h3{ color: var(--white); font-size: 24px; max-width: 480px; }

@media (max-width: 900px){
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .service-cta{ grid-column: span 2; }
}
@media (max-width: 560px){
  .services__grid{ grid-template-columns: 1fr; }
  .service-cta{ grid-column: span 1; }
}

/* ===========================================================
   Produtos
=========================================================== */
.products{ padding: 0 0 120px; }
.products__inner{ display: flex; flex-direction: column; gap: 16px; }
.products__inner .section-title{ max-width: none; }
.products__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.product-card{
  background: var(--bg-light);
  border-radius: 0 32px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,40,70,.12); }
.product-card img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-card__body{ padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card h3{ font-family: var(--font-sans); font-weight: 600; font-size: 19px; color: var(--primary); }
.product-card__badge{
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}
.product-card__desc{ color: var(--gray); font-size: 14px; line-height: 1.55; flex: 1; }
.product-card .text-link{ border-bottom: none; }

.products__pharma{
  margin-top: 72px;
  margin-bottom: 28px;
}
.products__pharma .eyebrow{ margin-bottom: 10px; }
.products__pharma-title{
  font-size: 26px;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--primary);
  margin-top: 8px;
}
.products__pharma-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.products__alt{
  margin-top: 56px;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.products__alt p{ font-weight: 500; max-width: 500px; }

@media (max-width: 900px){
  .products__grid{ grid-template-columns: repeat(2, 1fr); }
  .products__pharma-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .products__grid{ grid-template-columns: 1fr; }
  .products__pharma-grid{ grid-template-columns: 1fr; }
  .products__pharma{ margin-top: 48px; }
  .products__pharma-title{ font-size: 21px; }
}

/* ===========================================================
   Parceiros
=========================================================== */
.partners{ padding: 0 0 120px; }

.brand-carousel{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brand-carousel__track{
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: brand-scroll 28s linear infinite;
  will-change: transform;
}
.brand-carousel:hover .brand-carousel__track{ animation-play-state: paused; }
.brand-carousel__track img{
  height: 90px;
  width: 90px;
  object-fit: contain;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 14px;
  flex-shrink: 0;
}
@keyframes brand-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .brand-carousel__track{ animation: none; }
}

.partners__cta{
  display: flex;
  justify-content: center;
  margin: 40px 0 70px;
}



/* ===========================================================
   Contactos
=========================================================== */
.contact{
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.contact__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.contact__overlay{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,40,70,.88), rgba(0,40,70,.94));
}
.contact__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact__intro{ color: var(--white); display: flex; flex-direction: column; gap: 18px; }
.contact__intro h2{ color: var(--white); font-size: 34px; }
.contact__intro p{ color: var(--light-blue); line-height: 1.6; }

.contact__info-list{ display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.contact__info-list li{ display: flex; gap: 14px; align-items: flex-start; }
.contact__info-list img{ width: 22px; height: 22px; margin-top: 2px; }
.contact__info-list span{ display: block; font-size: 13px; color: var(--light-blue); opacity: .8; }
.contact__info-list em{ font-style: normal; font-weight: 500; color: var(--white); }
.contact__info-list em a{ color: var(--white); transition: color .3s var(--ease); }
.contact__info-list em a:hover{ color: var(--accent); }
.contact__info-list small{ display: block; font-size: 12px; color: var(--light-blue); opacity: .75; margin-top: 2px; }

.contact__map{
  margin-top: 10px;
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--light-blue);
  font-size: 14px;
}

.contact__form-wrap{
  background: rgba(255,255,255,.97);
  color: var(--primary);
  border-radius: 24px;
  padding: 48px;
}
.contact__form-wrap h2{ font-size: 28px; margin-bottom: 30px; }
.contact-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}
.contact-form label{ display: flex; flex-direction: column; gap: 10px; font-weight: 500; font-size: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea{
  border: none;
  border-bottom: 1px solid var(--gray-light);
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--primary);
  background: transparent;
  transition: border-color .3s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{ outline: none; border-color: var(--accent); }
.contact-form__message{ grid-column: span 2; }
.contact-form textarea{ resize: vertical; min-height: 100px; }
.contact-form__submit{ grid-column: span 2; justify-self: start; margin-top: 6px; }
.contact-form__status{
  grid-column: span 2;
  font-size: 14px;
  font-weight: 500;
  min-height: 1.2em;
}
.contact-form__status.is-success{ color: #1f8a4c; }
.contact-form__status.is-error{ color: #c0392b; }

@media (max-width: 900px){
  .contact__inner{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .contact-form{ grid-template-columns: 1fr; }
  .contact-form__message,
  .contact-form__submit,
  .contact-form__status{ grid-column: span 1; }
  .contact__form-wrap{ padding: 28px; }
}

/* ===========================================================
   Footer
=========================================================== */
.footer{ background: var(--primary); color: var(--bg-light); padding: 80px 0 0; }
.footer__top{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.footer > .footer__top{
  padding-bottom: 72px;
}
.footer__tagline{ margin-top: 16px; color: var(--light-blue); font-size: 15px; max-width: 280px; }
.footer__col-title{ font-size: 18px; font-family: var(--font-serif); color: var(--white); margin-bottom: 20px; font-weight: 400; }
.footer__link-col{ display: flex; flex-direction: column; gap: 14px; }
.footer__link-col a{ transition: color .3s var(--ease); }
.footer__link-col a:hover{ color: var(--accent); }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--light-blue);
}
.footer > .footer__bottom{
  padding-top: 48px;
  padding-bottom: 48px;
}
.footer__bottom-links{ display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__bottom-links a{ transition: color .3s var(--ease); }
.footer__bottom-links a:hover{ color: var(--accent); }

.footer__info .footer__contact-list{ margin-top: 24px; }
.footer__contact-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--light-blue);
  line-height: 1.5;
}
.footer__contact-list a{
  color: var(--light-blue);
  transition: color .3s var(--ease);
}
.footer__contact-list a:hover{ color: var(--accent); }

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

/* ===========================================================
   Back to top
=========================================================== */
.back-to-top{
  position: fixed;
  bottom: 28px;
  left: calc(100vw - 76px);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) translateZ(0);
  -webkit-transform: translateY(10px) translateZ(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  z-index: 90;
}
.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateZ(0);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear 0s;
}

/* ===========================================================
   Legal pages
=========================================================== */
.legal{ padding: 70px 0 120px; }
.legal__header{ max-width: 760px; margin-bottom: 50px; }
.legal__updated{ color: var(--gray); font-size: 14px; margin-top: 10px; }
.legal__content{ max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.legal__content h2{ font-size: 24px; margin-bottom: 14px; }
.legal__content p,
.legal__content li{ color: var(--gray); font-size: 16px; line-height: 1.65; }
.legal__content ul{ display: flex; flex-direction: column; gap: 10px; padding-left: 22px; list-style: disc; }
.legal__content a{ color: var(--primary); font-weight: 600; border-bottom: 1px solid currentColor; }
.legal__content a:hover{ color: var(--accent); }
.legal__block{ display: flex; flex-direction: column; gap: 14px; }

/* ===========================================================
   Cookie banner
=========================================================== */
.cookie-banner{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--primary);
  z-index: 200;
  padding: 22px 30px;
  transform: translateY(100%) translateZ(0);
  -webkit-transform: translateY(100%) translateZ(0);
  transition: transform .4s var(--ease);
}
.cookie-banner.is-visible{
  transform: translateY(0) translateZ(0);
  -webkit-transform: translateY(0) translateZ(0);
}
.cookie-banner__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p{
  font-size: 14px;
  line-height: 1.5;
  color: var(--light-blue);
  max-width: 700px;
  margin: 0;
}
.cookie-banner a{ color: var(--accent); text-decoration: underline; }
.cookie-banner__actions{ display: flex; gap: 12px; flex-shrink: 0; }

@media (max-width: 560px){
  .cookie-banner{ padding: 18px 20px; }
  .cookie-banner__actions{ width: 100%; }
  .cookie-banner__actions .btn{ flex: 1; padding: 14px 16px; }
}

/* ===========================================================
   Mobile nav
=========================================================== */
@media (max-width: 900px){
  .burger{ display: flex; }
  .header__right .btn{ display: none; }

  .header__nav{
    position: fixed;
    inset: 103px 0 0 0;
    height: calc(100vh - 103px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 30px;
    gap: 28px;

    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .header__nav.is-open{
    opacity: 1;
    visibility: visible;
    transition: opacity .35s var(--ease), visibility 0s linear 0s;
  }
  .nav-link{ font-size: 22px; }
}

/* ===========================================================
   Mobile spacing (tighter rhythm on small screens)
=========================================================== */
@media (max-width: 700px){
  .container{ padding: 0 20px; }

  .hero{ padding-top: 24px; }
  .hero__content{ gap: 18px; }
  .hero__ctas{ gap: 12px; }

  .about{ padding: 56px 0; }
  .about__inner{ gap: 0; }

  .features{ padding: 0 0 56px; }
  .features__grid{ gap: 16px; }
  .feature-card{ padding: 26px 22px; gap: 10px; }

  .context{ padding: 0 0 56px; }

  .services{ padding: 0 0 56px; }
  .services__title{ margin-bottom: 32px; gap: 10px; }
  .services__grid{ gap: 16px; }
  .service-cta{ padding: 32px; }

  .products{ padding: 0 0 56px; }
  .products__grid{ margin-top: 28px; gap: 16px; }
  .products__alt{ padding: 26px 24px; margin-top: 22px; }

  .partners{ padding: 0 0 56px; }
  .brand-carousel{ margin-bottom: 28px; }
  .partners__cta{ margin: 0 0 40px; }

  .contact{ padding: 56px 0; }
  .contact__inner{ gap: 30px; }
  .contact__intro{ gap: 14px; }

  .legal{ padding: 40px 0 56px; }
  .legal__header{ margin-bottom: 32px; }
  .legal__content{ gap: 26px; }

  .footer{ padding-top: 56px; }
  .footer__top{ gap: 32px; }
  .footer > .footer__top{ padding-bottom: 48px; }
  .footer__bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer > .footer__bottom{
    padding-top: 32px;
    padding-bottom: 90px;
  }
  .footer__bottom-links{ flex-direction: column; gap: 12px; }
}
