/* ============================================================
   EverydayMeds — PE Consultation PPC Landing Page
   (pe-consultation.everydaymeds.co.uk)
   Base + Header + Banner styles. Section styles get appended as built.
   ============================================================ */

/* ---- Sofia Pro (self-hosted option) ----
   To self-host instead of using fonts.cdnfonts.com: put the files in
   assets/fonts/ and uncomment. Then remove the cdnfonts <link> in partials/head.php.

@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sofia Pro';
  src: url('../fonts/SofiaPro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
*/

:root {
  --em-dark: #0B4131;        /* brand dark green */
  --em-green: #4CAF50;       /* mid green accent */
  --em-lime: #BFDF72;        /* brand lime */
  --em-lime-soft: #C5E86C;
  --em-mint: #EAF3EC;        /* pale section background */
  --em-text: #1E2A24;
  --em-text-muted: #4A5A52;
  --em-border: #E3EAE5;
  --font: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius-pill: 999px;
  --radius-card: 14px;
  --container: 1200px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--em-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn--dark {
  background: var(--em-dark);
  color: #fff;
}
.btn--dark:hover { background: #0e5340; }
.btn--dark .btn__arrow { color: var(--em-lime); }
.btn--sm { font-size: 14px; padding: 10px 20px; }
.btn--lg { font-size: 16px; padding: 15px 28px; }
.btn:active { transform: scale(.98); }

/* ---- Header ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--em-border);
  position: relative;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header__logo img { width: 200px; height: auto; }
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--em-dark);
}
.site-header__phone:hover { text-decoration: underline; }


/* ---- Header help text (append to end of style.css) ---- */
.site-header__help {
  font-size: 13px;
  color: var(--em-text-muted);
}

@media (max-width: 900px) {
  /* eligibility button removed, so the number fits on mobile again */
  .site-header__phone span { display: inline; }
}
@media (max-width: 640px) {
  .site-header__help { display: none; }
}

/* ---- Hero / Banner ---- */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__media picture { height: 100%; } /* lets object-position crop the photo */
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero__content { max-width: 600px; }

.pill-badge {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--em-border);
  color: var(--em-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--em-dark);
  margin-bottom: 18px;
}
.hero__title-accent { color: var(--em-green); }

.hero__text {
  font-size: 16px;
  color: var(--em-text-muted);
  margin-bottom: 26px;
  max-width: 440px;
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--em-text-muted);
}
.hero__ticks li {
  position: relative;
  padding-left: 16px;
}
.hero__ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--em-lime);
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--em-mint);
  border: 1px solid #DCEADF;
  border-radius: var(--radius-card);
  padding: 14px 18px;
  margin-top: 26px;
  max-width: 460px;
}
.hero__note-icon { flex-shrink: 0; margin-top: 2px; }
.hero__note p { font-size: 13px; color: var(--em-text-muted); line-height: 1.55; }
.hero__note strong { color: var(--em-dark); font-weight: 600; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  /* Header */
  .site-header__logo img { width: 160px; }
  .site-header__actions { gap: 12px; }

  /* Hero: image moves below content */
  .hero__media {
    position: static;
    order: 2;
    height: 240px;
  }
  .hero__media img { object-position: 45% 42%; } /* keeps both faces centred */
  .hero { display: flex; flex-direction: column; }
  .hero__inner {
    order: 1;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .hero__content { max-width: 100%; }
  .hero__text { max-width: 100%; }
  .hero__note { max-width: 100%; }
}

@media (max-width: 480px) {
  .btn--lg { width: 100%; justify-content: center; font-size: 15px; }
  .btn--sm { padding: 8px 12px; font-size: 12px; gap: 6px; }
  .site-header__logo img { width: 128px; }
  .site-header__actions { gap: 10px; }
  .hero__title { font-size: 30px; }
  .hero__media { height: 210px; }
}


/* ---- PE banner: icon point list (replaces the ED tick row) ---- */
.hero__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--em-text-muted);
  line-height: 1.4;
}
.hero__points strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--em-dark);
}
.hero__points-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--em-mint);
}

/* ---- Shared section elements ---- */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--em-green);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--em-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-intro {
  font-size: 15px;
  color: var(--em-text-muted);
  max-width: 520px;
}

/* ---- How it works ---- */
.hiw {
  background: var(--em-mint);
  padding: 72px 0;
}
.hiw__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}
.hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hiw__step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
}
.hiw__step-num {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
  position: relative;
  padding-bottom: 6px;
}
.hiw__step-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--em-lime);
}
.hiw__step-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 4px;
}
.hiw__step-body p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.55;
}
.hiw__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--em-dark);
}
.hiw__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hiw__ticks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%234CAF50'/%3E%3Cpath d='m4.6 8.2 2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hiw__media { margin: 0; }
.hiw__media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.hiw__media figcaption {
  font-size: 12.5px;
  color: var(--em-text-muted);
  margin-top: 12px;
}

@media (max-width: 900px) {
  .hiw { padding: 48px 0; }
  .hiw__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 28px;
  }
  .hiw__media {
    position: static;
    max-width: 440px;
    margin: 0 auto;
  }
  .hiw__media figcaption { text-align: center; }
}

@media (max-width: 480px) {
  .hiw__step { padding: 16px 18px; gap: 16px; }
  .hiw__step-num { font-size: 20px; }
}

/* intro sits on one line on desktop, as in the design */
.hiw .section-intro { max-width: 640px; }

/* ---- Why choose EverydayMeds ---- */
.why {
  background: #fff;
  padding: 72px 0;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.why__intro .section-intro { margin-top: 4px; }

.why__gphc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--em-mint);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-top: 30px;
}
.why__gphc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
}
.why__gphc-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 4px;
}
.why__gphc-body p {
  font-size: 13.5px;
  color: var(--em-text-muted);
}
.why__gphc-body p strong { color: var(--em-dark); font-weight: 600; }
.why__gphc-body a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--em-dark);
  margin-top: 12px;
}
.why__gphc-body a:hover { text-decoration: underline; }

.why__list { display: flex; flex-direction: column; border-top: 1px solid var(--em-border); }
.why__item {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--em-border);
}
.why__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%234CAF50'/%3E%3Cpath d='m4.6 8.2 2.2 2.2 4.6-4.8' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.why__item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 4px;
}
.why__item p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .why { padding: 48px 0; }
  .why__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* line the heading up with the top of the checklist */
.why__grid { align-items: start; }
.why__gphc-body h3 { line-height: 1.35; }
/* register link: arrow stays at the end of the text if it wraps */
.why__gphc-body a { display: inline-block; }
.why__gphc-body a svg { display: inline-block; vertical-align: -1px; margin-left: 6px; }
.nowrap { white-space: nowrap; }
/* ---- About premature ejaculation ---- */
.about {
  background: #F2EFE6; /* warm cream */
  padding: 72px 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__copy p {
  font-size: 15px;
  color: var(--em-text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 600px;
}
.about__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
}
.about__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--em-mint);
  border-radius: 50%;
  margin-bottom: 16px;
}
.about__card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 6px;
}
.about__card p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about { padding: 48px 0; }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__copy p { max-width: 100%; }
}
/* ---- After your consultation ---- */
.btn--md { font-size: 14px; padding: 12px 22px; }

.after {
  background: var(--em-mint);
  padding: 72px 0 80px;
}
.after__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}
.after__top .section-title { margin-bottom: 0; }
.after__note h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--em-dark);
  margin-bottom: 8px;
}
.after__note p {
  font-size: 14px;
  color: var(--em-text-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 22px;
}

.after__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.after__card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .05);
}
.after__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAF6EF;
  margin-bottom: 16px;
}
.after__card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  margin-bottom: 8px;
}
.after__card p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .after { padding: 48px 0 56px; }
  .after__top { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .after__note p { max-width: 100%; }
  .after__cards { grid-template-columns: 1fr; gap: 14px; }
  .after__card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    padding: 20px;
  }
  .after__icon { margin-bottom: 0; grid-row: span 2; }
  .after__card h3 { margin-top: 2px; margin-bottom: 4px; }
}
@media (max-width: 480px) {
  .after__note .btn { width: 100%; justify-content: center; }
}
/* ---- FAQ accordion + CTA card ---- */
.faq {
  background: #fff;
  padding: 72px 0;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: start;
}
.faq__list {
  margin-top: 24px;
  border-top: 1px solid var(--em-border);
}
.faq__item { border-bottom: 1px solid var(--em-border); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--em-dark);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { text-decoration: underline; text-underline-offset: 3px; }
.faq__q:focus-visible { outline: 2px solid var(--em-dark); outline-offset: 2px; border-radius: 4px; }
.faq__chev {
  flex-shrink: 0;
  color: var(--em-dark);
  transition: transform .25s ease;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 32px 18px 0; }
.faq__a p {
  font-size: 14px;
  color: var(--em-text-muted);
  line-height: 1.65;
}
.faq__a a {
  color: var(--em-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* dark CTA card, stays in view while reading the FAQ on desktop */
.faq__cta {
  background: var(--em-dark);
  border-radius: 18px;
  padding: 32px 32px 34px;
  position: sticky;
  top: 24px;
}
.faq__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--em-lime);
  border-radius: 50%;
  margin-bottom: 18px;
}
.faq__cta h2 {
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}
.faq__cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.65;
  margin-bottom: 24px;
}
.btn--lime {
  background: var(--em-lime);
  color: var(--em-dark);
  width: 100%;
  justify-content: center;
}
.btn--lime:hover { background: var(--em-lime-soft); }
.btn--lime .btn__arrow { color: var(--em-dark); }

@media (max-width: 900px) {
  .faq { padding: 48px 0; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__cta { position: static; padding: 26px 22px 28px; }
}
@media (max-width: 480px) {
  .faq__q { font-size: 14.5px; }
  .faq__a { padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__chev { transition: none; }
}
/* ---- Pre-footer trust bar + legal ---- */
.prefooter {
  background: #fff;
  border-top: 1px solid var(--em-border);
  padding: 26px 0 30px;
}
.prefooter__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}
.prefooter__trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--em-dark);
}
.prefooter__legal {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--em-text-muted);
  line-height: 1.7;
}
.prefooter__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prefooter__legal a:hover { color: var(--em-dark); }

@media (max-width: 900px) {
  .prefooter__trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prefooter__legal { text-align: left; }
}

/* ---- Dark footer ---- */
.footer {
  background: var(--em-dark);
  color: #fff;
  padding: 56px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr 1.1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.footer__brand img { width: 185px; height: auto; }
.footer__brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.65;
  margin-top: 20px;
  max-width: 280px;
}

.footer__company h3,
.footer__col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 14px;
}
.footer__company p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer__company strong { color: #fff; font-weight: 600; }
.footer__company p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__company p a:hover { color: var(--em-lime); }
.footer__support-title { margin-top: 20px; margin-bottom: 10px !important; }
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  transition: color .15s ease;
}
.footer__contact a:hover { color: var(--em-lime); }
.footer__contact svg { color: var(--em-lime); flex-shrink: 0; }

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  transition: color .15s ease, transform .15s ease;
}
.footer__col a:hover { color: var(--em-lime); transform: translateX(3px); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 24px;
}
.footer__bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.footer__social a:hover {
  background: var(--em-lime);
  border-color: var(--em-lime);
  color: var(--em-dark);
}

/* ---- Footer responsive ---- */
@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}
@media (max-width: 640px) {
  .footer { padding-top: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 32px; }
  .footer__brand, .footer__company { grid-column: 1 / -1; }
  .footer__brand p { max-width: 100%; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
}
@media (max-width: 380px) {
  .footer__grid { grid-template-columns: 1fr; }
}