/* ============================================================
   EverydayMeds — Weight Management Consultation PPC Landing Page
   (weight-management-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 ---- */
.site-header__help {
  font-size: 13px;
  color: var(--em-text-muted);
}

@media (max-width: 640px) {
  .site-header__help { display: none; }
}

/* ---- Hero: copy left, photo + BMI card right ---- */
.hero {
  background: #F2F7F4;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--em-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px 7px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero__badge svg { flex-shrink: 0; }
.hero__badge-sep { color: #A9B8B1; }
.hero__badge-reg { font-weight: 400; color: var(--em-text-muted); }

.hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--em-dark);
  margin-bottom: 20px;
  max-width: 560px;
  text-wrap: balance;
}
.hero__title-accent { color: #90B74C; }

.hero__text {
  font-size: 16px;
  color: var(--em-text-muted);
  line-height: 1.65;
  max-width: 520px;
  text-wrap: pretty;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 24px;
  max-width: 560px;
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.35;
}
.hero__features-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.hero__cta { margin-top: 30px; }

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--em-text-muted);
}
.hero__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__team {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #E1EAE4;
  margin-top: 28px;
  padding-top: 20px;
  max-width: 560px;
}
.hero__team img { width: 84px; height: auto; flex-shrink: 0; }
.hero__team p {
  font-size: 12.5px;
  color: var(--em-text-muted);
  line-height: 1.5;
}
.hero__team strong {
  display: block;
  text-wrap: balance;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--em-dark);
}

/* photo card */
.hero__card {
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 18px 40px -18px rgba(11, 65, 49, .25), 0 1px 3px rgba(11, 65, 49, .06);
}
.hero__photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 16px;
}

/* ---- Quick BMI Check ---- */
.bmi { padding: 20px 14px 10px; }
.bmi__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.bmi__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--em-dark);
  line-height: 1.3;
}
.bmi__sub {
  font-size: 12.5px;
  color: var(--em-text-muted);
  margin-top: 2px;
}
.bmi__units {
  flex-shrink: 0;
  display: inline-flex;
  background: #EFF5F0;
  border-radius: var(--radius-pill);
  padding: 3px;
}
.bmi__unit {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--em-text-muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  cursor: pointer;
}
.bmi__unit.is-active {
  background: #fff;
  color: var(--em-dark);
  box-shadow: 0 1px 2px rgba(11, 65, 49, .12);
}
.bmi__unit:focus-visible { outline: 2px solid var(--em-dark); outline-offset: 1px; }

.bmi__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}
.bmi__field[hidden] { display: none; }
.bmi__field label,
.bmi__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--em-text-muted);
  margin-bottom: 6px;
}
.bmi__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bmi input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--em-dark);
  background: #fff;
  border: 1px solid #DCE5DF;
  border-radius: 10px;
  padding: 11px 12px;
  min-width: 0;
}
.bmi input::placeholder { color: #A3B1AA; }
.bmi input:focus { outline: none; border-color: var(--em-dark); box-shadow: 0 0 0 3px rgba(11, 65, 49, .12); }
.bmi input[aria-invalid="true"] { border-color: #C0473A; }
.bmi__btn {
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  justify-content: center;
}

.bmi__result {
  margin-top: 14px;
  background: #F2F7F4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--em-text-muted);
  line-height: 1.55;
}
.bmi__result[hidden] { display: none; }
.bmi__result strong { color: var(--em-dark); font-size: 15px; }
.bmi__result.is-error { background: #FBEDEB; color: #9A3428; }

.bmi__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--em-text-muted);
  margin-top: 12px;
}
.bmi__note svg { flex-shrink: 0; margin-top: 2px; }

/* ---- Responsive ---- */
@media (max-width: 1020px) {
  .hero__grid { gap: 36px; }
  .bmi__row { grid-template-columns: 1fr 1fr; }
  .bmi__btn { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .site-header__logo img { width: 160px; }
  .site-header__actions { gap: 12px; }
  .hero { padding: 36px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title, .hero__text, .hero__features, .hero__team { max-width: 100%; }
  .hero__card { max-width: 560px; width: 100%; margin: 0 auto; }
  .bmi__row { grid-template-columns: 1fr 1fr auto; }
  .bmi__btn { grid-column: auto; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 31px; }
  .hero__features { grid-template-columns: 1fr; gap: 10px; }
  .hero__cta { width: 100%; justify-content: center; }
  .hero__photo img { height: 240px; }
  .bmi { padding: 18px 8px 6px; }
  .bmi__head { flex-direction: column; gap: 12px; }
  .bmi__row { grid-template-columns: 1fr 1fr; }
  .bmi__btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-header__logo img { width: 128px; }
  .site-header__actions { gap: 10px; }
}
/* ---- 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: #fff;
  padding: 72px 0;
}
.hiw__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}
.hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hiw__step {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F2F7F4;
  border-radius: var(--radius-card);
  padding: 20px 24px;
}
.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;
  text-wrap: pretty;
}
.hiw__media { margin: 0; }
.hiw__media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

@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;
  }
  }

@media (max-width: 480px) {
  .hiw__step { padding: 16px 18px; gap: 16px; }
  .hiw__step-num { font-size: 20px; }
}
.hiw__media img { max-width: 520px; margin-left: auto; }
@media (max-width: 900px) { .hiw__media img { max-width: 100%; margin: 0 auto; } }

/* ---- Why choose EverydayMeds ---- */
.why {
  background: #F2F7F4;
  padding: 72px 0;
}
.why__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.why__pill {
  display: inline-block;
  background: #E6F5ED;
  color: var(--em-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 14px;
}
.why__sub {
  font-size: 15px;
  color: var(--em-text-muted);
  max-width: 560px;
}
.why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.why__card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 26px 30px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .04);
}
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 22px;
}
.why__icon--mint  { background: #E6F5ED; }
.why__icon--lime  { background: #F0FDD4; }
.why__icon--cream { background: #F6F2EA; }
.why__card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  text-wrap: balance;
}
.why__card p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}

/* tablet + phone: one column, icon beside the text */
@media (max-width: 900px) {
  .why { padding: 48px 0; }
  .why__cards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .why__card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 20px;
  }
  .why__icon { margin-bottom: 0; }
}
@media (max-width: 480px) {
  .why__card { grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 16px; }
  .why__icon { width: 40px; height: 40px; }
}
/* ---- Clinically supervised weight care ---- */
.clinical {
  background: #fff;
  padding: 80px 0;
}
.clinical__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.clinical__pill {
  display: inline-block;
  background: #E6F5ED;
  color: var(--em-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 16px;
}
.clinical .section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  max-width: 520px;
  text-wrap: balance;
}
.clinical__text {
  font-size: 15px;
  color: var(--em-text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-top: 8px;
  text-wrap: pretty;
}
.clinical__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  max-width: 560px;
}
.clinical__list li {
  position: relative;
  background: #F2F7F4;
  border-radius: 12px;
  padding: 16px 18px 16px 46px;
}
.clinical__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 17px;
  width: 18px;
  height: 18px;
  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='%23B6DA71'/%3E%3Cpath d='m4.6 8.2 2.2 2.2 4.6-4.8' stroke='%230B4131' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.clinical__list p {
  font-size: 13.5px;
  color: var(--em-text-muted);
  line-height: 1.6;
  text-wrap: pretty;
}
.clinical__list strong { color: var(--em-dark); font-weight: 600; }

/* photo + CTA card */
.clinical__card {
  background: var(--em-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(11, 65, 49, .45);
}
.clinical__photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 45% 30%;
}
.clinical__card-body { padding: 24px 26px 28px; color: #fff; }
.clinical__card-body h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.clinical__card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #B6DA71;
}
.clinical__card-body p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-top: 10px;
}
.btn--lime {
  background: #B6DA71;
  color: var(--em-dark);
}
.btn--lime:hover { background: #C5E86C; }
.btn--lime .btn__arrow { color: var(--em-dark); }
.clinical__btn {
  font-size: 15px;
  padding: 14px 26px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .clinical { padding: 52px 0; }
  .clinical__grid { grid-template-columns: 1fr; gap: 36px; }
  .clinical .section-title, .clinical__text, .clinical__list { max-width: 100%; }
  .clinical__card { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .clinical__photo img { height: 220px; }
  .clinical__card-body { padding: 22px 20px 24px; }
  .clinical__btn { width: 100%; justify-content: center; }
}
/* ---- FAQ (static cards) ---- */
.faq {
  background: #F2F7F4;
  padding: 72px 0;
}
.faq__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.faq__pill {
  display: inline-block;
  background: #E6F5ED;
  color: var(--em-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 14px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  margin: 28px auto 0;
}
.faq__card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 26px 24px;
  box-shadow: 0 1px 2px rgba(11, 65, 49, .04);
}
.faq__card h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--em-dark);
  line-height: 1.4;
  margin-bottom: 6px;
  text-wrap: balance;
}
.faq__card p {
  font-size: 14px;
  color: var(--em-text-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .faq { padding: 48px 0; }
}
@media (max-width: 480px) {
  .faq__list { gap: 12px; margin-top: 22px; }
  .faq__card { padding: 18px 18px 20px; }
}
/* ---- Closing CTA band ---- */
.cta-band {
  background: #0A6047;
  color: #fff;
  padding: 64px 0;
}
.cta-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 500px;
  text-wrap: balance;
}
.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.65;
  max-width: 470px;
  margin-top: 14px;
  text-wrap: pretty;
}
.cta-band__btn {
  font-size: 15px;
  padding: 14px 26px;
  margin-top: 26px;
}
.cta-band__photo { justify-self: end; width: 100%; max-width: 520px; }
.cta-band__photo img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .cta-band { padding: 48px 0; }
  .cta-band__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band h2, .cta-band p { max-width: 100%; }
  .cta-band__photo { justify-self: start; max-width: 560px; }
}
@media (max-width: 480px) {
  .cta-band__btn { width: 100%; justify-content: center; }
}
/* ---- 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;
  max-width: 280px;
}
.footer__tagline {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 22px 0 4px;
}

.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);
}

.nowrap { white-space: nowrap; }

/* ---- Emergency notice ---- */
.footer__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 36px;
}
.footer__notice-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #B6DA71;
}
.footer__notice p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
}
.footer__notice strong { color: #fff; font-weight: 600; }

/* ---- 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__notice { align-items: flex-start; margin-bottom: 28px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
}
@media (max-width: 380px) {
  .footer__grid { grid-template-columns: 1fr; }
}