/* ===============================
   ROOT
================================ */

:root {
  --ink: #2b2652;
  --primary: #423781;
  --primary-dark: #322969;

  --pink: #f8dde1;
  --yellow: #fff1bf;
  --lavender: #efefff;

  --body: #5f5b69;
  --line: #dddbe2;
  --white: #ffffff;

  --container: 1280px;
  --section-space: clamp(70px, 8vw, 118px);
  --shadow: 0 24px 65px rgba(43, 38, 82, .1);
}

/* ===============================
   RESET
================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--body);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.045em;
}

h1 {
  max-width: 590px;
  margin-bottom: 40px;
  color: #201c44;
  font-size: 54px;
  line-height: 62px;
}

h2 {
  max-width: 520px;
  margin-bottom: 0;
  padding-bottom: 40px;
  font-size: clamp(36px, 3.45vw, 56px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(20px, 1.65vw, 27px);
  line-height: 1.15;
}

p { margin-top: 0; }

/* ===============================
   CONTAINER
================================ */

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

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

/* ===============================
   ANNOUNCEMENT
================================ */

.announcement-wrapper { background: #06041d; }

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  background: var(--primary);
  border-radius: 16px 16px 0 0;
  color: white;
  font-size: 11px;
  text-align: center;
}

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

.site-header { background: #fff; position: relative; z-index: 50; }

.header-inner {
  height: 94px;
  display: grid;
  grid-template-columns: 115px 1fr 150px;
  align-items: center;
  gap: 35px;
}

.brand { display: flex; width: 90px; }
.brand img { width: 100%; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(34px, 4vw, 66px);
  margin-left: 40px;
}

.main-nav a {
  color: var(--ink);
  font-size: .77rem;
  font-weight: 700;
}

.main-nav a:hover { color: var(--primary); }

/* Mobile / tablet dropdown nav */
.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: var(--pink);
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }

  .menu-toggle { display: grid; }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 15px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: .25s ease;
    z-index: 999;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child { border-bottom: none; }

  .header-cta { display: none; }
}

/* ===============================
   BUTTONS
================================ */

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 25px;
  border-radius: 5px;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.button:hover { transform: translateY(-2px); }

.button--soft { background: var(--pink); color: var(--ink); }
.button--soft:hover { background: var(--primary); color: white; }

.button--small { min-height: 41px; padding-inline: 21px; }
.button--full { width: 100%; }

.text-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.text-link__icon {
  width: 48px;
  height: 50px;
  display: grid;
  place-items: center;
  border: .5px solid var(--line);
  border-radius: 5px;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===============================
   GLOBAL TWO COLUMN
================================ */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.split--hero {}
.split---media { 
  gap: clamp(50px, 8vw, 110px);
}

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

.hero { padding: 45px 0 90px; }

.hero-copy > p {
  max-width: 590px;
  margin-bottom: 40px;
  font-size: 14px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.rating__icon {
  width: 48px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--pink);
  border-radius: 5px;
}

.rating__icon img { width: 18px; }

.media-panel { position: relative; min-width: 0; }
.media-panel--hero { width: min(100%, 530px); justify-self: end; }

/* HERO — 4 layered images: bg shape, photo, stat card, decorative arrow.
   Desktop values below are exact, as provided. Tablet/mobile scale the
   whole panel down with `zoom` (see breakpoints) instead of recalculating
   every child position by hand — keeps every layer perfectly in sync with
   the desktop layout at any screen size. */
.hero-bg {  
  inset: 0;
  width: 568px;
  height: 590px;
  object-fit: cover;
  border-radius: 5px;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  top: -19px;
  right: 98px;
  z-index: 2;
  width: 590px;
  height: 608px;
}

.hero-badge {
  position: absolute;
  top: 145px;
  left: -148px;
  width: 300px;
  height: 166.38px;
  border-radius: 5px;
  z-index: 4;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50px;
  right: -45px;
  width: 136px;
  height: auto;
  z-index: 4;
}

/* CONTACT — 4 layered images: photo, squiggle, droplet, stat card.
   Same zoom-scaling approach as the hero panel for tablet/mobile. */
.decorated-media { position: relative; width: 500px; justify-self: end; }

.bg-shapes {
  position: absolute;
  inset: 0;
  width: 475px;
  height: 528px;
  object-fit: cover;
  border-radius: 5px;
  z-index: 1;
}

.contact-photo {
  position: relative;
  top: -26px;
  right: -55px;
  z-index: 2;
  width: 379px;
  height: 553px;
}

.contact-squiggle {
  position: absolute;
  left: -76px;
  top: 24%;
  width: 158px;
  height: 97px;
  z-index: 1;
}

.contact-droplet {
  position: absolute;
  top: 94px;
  right: -6px;
  width: 63px;
  height: 80px;
  z-index: 3;
}

.contact-badge {
  position: absolute;
  left: 274px;
  bottom: -15px;
  width: 325px;
  height: 400px;
  border-radius: 5px;
  object-fit: cover;
  z-index: 4;
}

/* ===============================
   TRUSTED SECTION
================================ */

.trusted { padding-bottom: 88px; }

.trusted-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 90px;
  padding: 28px 36px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.trusted h2 { font-size: 15px; line-height: 1.5; margin: 0; padding: 0; }

.partner-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 90px;
}

.partner-logos img { width: 45px; height: 45px; object-fit: contain; }

/* ===============================
   CONTENT SECTIONS
================================ */

.content-section { padding-bottom: 93px; }

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

.section-copy { width: min(100%, 530px); }
.section-copy > p { max-width: 343px; font-size: 14px; }

/* Man gray / man blue decorative image blocks share one format.
   Same zoom-scaling approach for tablet/mobile as the hero/contact panels. */
.about-image, .man-gray,
.results-container, .man-blue {
  position: relative;
  width: 475px;
  height: 528px;
}

.bg-shape, .rectangle-21 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 6px 6px;
  z-index: 1;
}

.man-img {
  position: absolute;
  width: 415px;
  height: auto;
  left: 30px;
  bottom: 0;
  z-index: 3;
}

.graph-card {
  position: absolute;
  top: 137px;
  width: 450px;
  height: 393px;
  right: -179px;
  z-index: 4;
  object-fit: cover;
}

.logo-one {
  position: absolute;
  width: 159px;
  height: 98px;
  right: -55px;
  top: 65px;
  z-index: 5;
}

/* Sparkle decoration — 5th and final image in the about-section composition */
.logo-two {
  position: absolute;
  width: 80px;
  height: 76px;
  left: 40px;
  top: -35px;
  z-index: 5;
}

/* ===============================
   FEATURES
================================ */

.eyebrow-copy {
  font-size: 13px !important;
  font-weight: 700;
  color: var(--ink);
}

.feature-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 25px 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink);
}

.feature-list span {
  width: 47px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--pink);
  border-radius: 5px;
}

/* ===============================
   BENEFITS
================================ */

.benefit-section { padding-bottom: var(--section-space); }

.benefit-strip {
    width: 1282px;;
    min-height:237px;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 40px;
  padding: 30px 70px;
  background: var(--primary);
  border-radius: 5px;
}

.benefit {
  display: grid;
  grid-template-columns: 41px 1fr;
  align-items: center;
  gap: 17px;
}

.benefit p { margin: 0; color: white; font-size: 16px; }

..metric span_icon {
  width: 48px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 5px;
}

.benefit__icon--pink { background: var(--pink); padding: 10px; border-radius: 5px;}
.benefit__icon--yellow { background: var(--yellow); padding: 10px; border-radius: 5px;}
.benefit__icon--lavender { background: var(--lavender);padding: 10px; border-radius: 5px; }

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

.contact-form { display: grid; gap: 16px; margin-top: 40px; width: 343px; }
.contact-form label { position: relative; }

.contact-form input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding-left: 45px;
  outline: none;
}

.contact-form input:focus {
  border-color: var(--primary);
}

.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--body);
}

/* ===============================
   RESULTS / MAN BLUE
================================ */

.content-section--results .media-panel { justify-self: end; }

/* 5 layered images: bg rectangle, purple blob, beige blob, photo, stat card */
.shape-purple {
  position: absolute;
  width: 80px;
  height: 76px;
  left: 40px;
  top: -35px;
  z-index: 5;
}

.shape-beige {
  position: absolute;
  width: 159px;
  height: 98px;
  right: 0px;
  top: 65px;
  z-index: 5;
}

.results-image {
  position: absolute;
  width: 340px;
  height: auto;
  left: 55px;
  bottom: 0;
  z-index: 3;
}

.results-badge {
        position: absolute;
    left: 315px;
    bottom: -78px;
    width: 325px;
    height: 400px;
    border-radius: 5px;
    object-fit: cover;
    z-index: 4;  
}

/* ===============================
   BLOG
================================ */

.blog-section { padding-bottom: var(--section-space); }

.section-heading { margin-bottom: 42px; }
.section-heading--center { text-align: center; }
.section-heading h2 { max-width: none; margin: auto; padding-bottom: 12px; }
.section-heading p { font-size: 12px; }

.section-mark {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 28px;
}

.blog-slider { overflow: hidden; }

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

.blog-card img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  border-radius: 5px;
}

.blog-card__category { margin: 17px 0 8px; font-size: 11px; color: #7a7683; }

.blog-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card > a {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 20px;
}

.mobile-controls { display: none; }

/* Tablet + mobile: one card in view at a time, paged with the prev/next
   arrows below (see script.js). Prevents cards from overflowing the
   container on narrower screens. */
@media (max-width: 1024px) {

  .blog-slider { overflow: hidden; }

  .blog-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .blog-grid::-webkit-scrollbar { display: none; }

  .blog-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
  }

  .blog-card > a { display: none; }

  .mobile-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
  }

  .blog-arrow {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #ead9dc;
    border-radius: 5px;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
    transition: background .15s ease;
  }

  .blog-arrow:hover { background: var(--pink); }
}

/* ===============================
   METRICS
================================ */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.metric {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
}

.metric span {
  grid-row: 1 / span 2;
  width: 48px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--pink);
  color: var(--primary);
  border-radius: 8px;
}

.metric strong { font-size: 20px; color: var(--ink); line-height: 1; padding-left: 20px; }
.metric small { font-size: 11px; color: var(--ink); padding-left: 20px; }

/* ===============================
   FAQ
================================ */

.faq-section { padding-bottom: 70px; }
.faq-container { max-width: 1064px; }
.accordion { display: grid; gap: 13px; }

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.accordion-item[open] { border-color: var(--primary); }

.accordion-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  transition: background .2s ease, color .2s ease;
}

.accordion-item[open] summary {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
}

.accordion-item summary::-webkit-details-marker { display: none; }

.accordion-symbol { width: 18px; height: 18px; position: relative; flex: none; }

.accordion-symbol::before,
.accordion-symbol::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .2s ease, background .2s ease;
}

.accordion-symbol::before { width: 12px; height: 2px; top: 8px; left: 3px; }
.accordion-symbol::after { height: 12px; width: 2px; left: 8px; top: 3px; }

.accordion-item[open] .accordion-symbol::after { transform: scaleY(0); }

.accordion-item[open] .accordion-symbol::before,
.accordion-item[open] .accordion-symbol::after {
  background: #fff;
}

.accordion-panel { padding: 20px 25px; font-size: 12px; background: #fff; }
.accordion-panel p { margin-bottom: 15px; font-size: 14px;}
.accordion-panel p:last-child { margin-bottom: 0; }

.faq-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

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

.site-footer { padding: 37px 0 20px; background: var(--white); }

.footer-top {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 50px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(30px, 4vw, 62px);
}

.footer-nav a {
  color: var(--ink);
  font-size: .77rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-nav a:hover { color: var(--primary); }

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 21px;
  border-top: 1px solid #8f8b98;
}

.footer-bottom p {
    margin: 0;
    color: #131126;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
}

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

.social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-size: .57rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover { transform: translateY(-2px); background: var(--primary); }



@media (max-width: 1024px) and (min-width: 768px) {

  .container { width: min(calc(100% - 42px), 1140px); }

  /* header */
  .header-inner { grid-template-columns: 100px 1fr 130px; gap: 20px; }
  .main-nav { gap: 30px; }

  /* type */
  h1 { font-size: 46px; line-height: 1.1; }
  h2 { font-size: 40px; width: 343px; }


  /* hero */
  .split--hero, .split--media { gap: 35px; }
  .hero-arrow {position: absolute; right: -20px;}

  .media-panel--hero {
    width: 568px;
    height: 590px;
    zoom: .7;
    justify-self: end;
  }

  .hero-copy > p { font-size: 13px; }

  /* trusted */
  .trusted-inner { grid-template-columns: 180px 1fr; padding: 25px; gap: 30px; }
  .partner-logos { gap: 20px; }
  .partner-logos img { width: 38px; height: 38px; }

  /* about */
  .about-inner { gap: 40px; }

  .about-image, .man-gray,
  .results-container, .man-blue {
    width: 475px;
    height: 528px;
    zoom: .8;
  }

  /* contact */
  .contact-badge {transform: translateX(-351px);}
  .decorated-media {
    width: 500px;
    zoom: .76;
    justify-self: end;
  }

  .results-badge {transform: translateX(-351px);
  }

  

  /* benefits */
  .benefit-strip { padding: 28px 35px; gap: 20px; width:96%;justify-content: center; }
  .benefit { grid-template-columns: 35px 1fr; }
  .benefit__icon { width: 35px; height: 35px; }
  .benefit p { font-size: 11px; }


  /* blog */
  .blog-grid { gap: 18px; }

  /* footer */
  .footer-nav { gap: 30px; }
}

/* Narrower tablets: collapse to single column, drop the zoomed panels
   to fit a single column comfortably */
@media (max-width: 850px) and (min-width: 768px) {

  .split, .about-inner { grid-template-columns: 1fr 1fr; }

  .about-image, .man-gray,
  .results-container, .man-blue {
    zoom: .68;
  }

  .media-panel--hero { zoom: .58; }
  .decorated-media { zoom: .64; }
}

/* ================================================
   MOBILE (max 767px)
================================================= */

@media (max-width: 767px) {

  :root { --section-space: 65px; }

  .container { width: calc(100% - 28px); }


  .content-section { padding-bottom: 70px; }
  .about-inner .section-copy { order: 1; }
  .about-inner .about-image { order: 2; }

 
.section-copy {
  max-width: 342px;
}

.contact-badge {
  left: -90px;
  bottom: -58px;
}
.contact-form {
  max-width: 342px;
}

  /* header */
  .header-inner { height: 60px; grid-template-columns: 1fr auto; }
  .brand { width: 70px; }

  /* hero */
  .hero { padding: 20px 0 60px; }
.hero-arrow {
    position: absolute;
    top: 50px;
    right: -13px;
    width: 102px;
    height: auto;
    z-index: 4;
}
.split---media { display:none;}
  .split, .split--hero, .split--media, .about-inner {
    grid-template-columns: 1fr;
    gap: 35px;

    
  }
  .hero-badge {
    display:none;
  }
  .split--media {
    
  }
.button--small {display: none;}
  h1 { font-size: 38px; line-height: 1.05; }
  h2 { font-size: 34px; padding-bottom: 20px; }
  .hero-copy > p { font-size: 13px; margin-bottom: 25px; }

  .media-panel--hero {
    width: 568px;
    height: 590px;
    zoom: .58;
    justify-self: unset;
    margin-inline: auto;
  }
  .logo-one {    position: absolute;
    width: 109px;
    height: 98px;
    right: -15px;
    top: 65px;
    z-index: 5;
}

  /* trusted */
  .trusted-inner { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .partner-logos { display: flex; overflow: auto; justify-content:space-between; gap: 25px; }
  .partner-logos img { flex: 0 0 38px; }

  /* about / man gray */
  .content-section { padding-bottom: 70px; }
  .graph-card {    transform: translateX(-351px);}

  .about-image, .man-gray,
  .results-container, .man-blue {
    width: 475px;
    height: 528px;
    zoom: .7;
    margin-inline: auto;
  }

  /* contact */
  .decorated-media {
    width: 500px;
    zoom: .62;
    justify-self: unset;
    margin-inline: auto;
  }

  .contact-form input { height: 44px; }

  /* benefits */

  .benefit-strip { grid-template-columns: 1fr; width: 95%; height: auto; padding: 25px; gap: 20px; }

  .benefit p { font-size: 12px; }

  /* results */
  .content-section--results { display: block; }

  /* metrics */
  .metric-grid { grid-template-columns: 1fr; }

  /* faq */
  ..accordion-panel p {font-size: 11 !important;}
  .faq-container { width: calc(100% - 28px); }
  .accordion-item summary { font-size: 14px !important; padding: 14px; }
  .faq-actions { justify-content: flex-start; flex-wrap: wrap; }

  /* footer */
  .site-footer { padding: 20px 0 14px; }

  .footer-top {
        grid-template-columns: revert-rule;
            justify-items: start;
    gap: 20px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-nav a { font-size: .68rem; }

  .footer-bottom {
    min-height: 0;
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
    padding-top: 17px;
    text-align: center;
  }

  .footer-bottom p { max-width: 220px; font-size: .58rem; }

  .social-links { justify-content: center; gap: 10px; flex-direction: column;}
  .social-links a { width: 26px; height: 26px; font-size: .55rem; }
  }

  .social-links a { width: 32px; height: 32px; font-size: .44rem; }


/* ==================================================
   TABLET FOOTER ONLY
================================================== */

@media (min-width: 429px) and (max-width: 900px) {
  .site-footer {
    padding: 32px 0 20px;
  }

  .footer-top {
    min-height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 30px;
  }

  .footer-top .brand {
    width: 84px;
    flex-shrink: 0;
  }

  .footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px 28px;
  }

  .footer-nav a {
    font-size: 0.78rem;
  }

  .footer-bottom {
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 0.66rem;
  }

  .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
  }

  .social-links a {
    width: 24px;
    height: 24px;
  }

  .social-links img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}


/* ==================================================
   MOBILE FOOTER ONLY — 428PX AND BELOW
================================================== */

@media (max-width: 428px) {
  .site-footer {
    width: 100%;
    max-width: 428px;
    margin-inline: auto;
    padding: 22px 17px 14px;

    display: grid;
    grid-template-columns:
      minmax(0, 0.9fr)
      minmax(0, 1fr)
      auto;

    grid-template-areas:
      "footer-logo footer-menu footer-social"
      "footer-copy footer-copy footer-copy";

    align-items: start;
    column-gap: 18px;
    row-gap: 20px;
  }

  .footer-top,
  .footer-bottom {
    display: contents;
  }

  /* Logo column */
  .footer-top .brand {
    grid-area: footer-logo;
    width: 70px;
    margin: 0;
    align-self: start;
  }

  .footer-top .brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Navigation column */
  .footer-nav {
    grid-area: footer-menu;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-nav a {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  /* Social icons column */
  .social-links {
    grid-area: footer-social;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .social-links img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  /* Copyright separate sa pinakailalom */
  .footer-bottom p {
    grid-area: footer-copy;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: 17px;
    border-top: none;
    font-size: 0.58rem;
    line-height: 1.5;
    text-align: center;
  }
}


/* ==================================================
   SMALL PHONES
================================================== */

@media (max-width: 390px) {
  .site-footer {
    column-gap: 14px;
  }

  .footer-top .brand {
    width: 135px;
    height: auto;
  }

  .footer-nav {
    gap: 40px;
    align-items: center;
  }

  .footer-nav a {
    font-size: 14px;
    color: #131126;
    font-weight: bold;
    line-height: 100%;
  }

  .social-links {
    gap: 20px;
  }

  .social-links a {
    width: 32px;
    height: 32px;
  }

  .footer-bottom p {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
  }
}