@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root{
  --green:#174c3b;
  --green2:#246b52;
  --deep:#10372b;
  --mint:#e3efe8;
  --mint2:#f0f6f2;
  --cream:#f8f7f1;
  --paper:#fffefa;
  --ink:#17211d;
  --muted:#68756f;
  --gold:#bd9455;
  --line:#dfe5df;
  --shadow:0 24px 70px rgba(22,55,43,.13);
  --serif:"Playfair Display",Georgia,serif;
  --sans:"DM Sans",Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);overflow-x:hidden}
body:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    radial-gradient(circle at 5% 15%,rgba(75,151,113,.08),transparent 22%),
    radial-gradient(circle at 94% 20%,rgba(189,148,85,.08),transparent 20%);
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
.wrap{width:min(1180px,92%);margin:auto}

/* NAV */
.nav{
  height:78px;display:flex;align-items:center;justify-content:space-between;
  position:relative;z-index:20;
}
.brand{display:flex;align-items:center;gap:11px;font-weight:700;letter-spacing:.08em;font-size:15px}
.mark{
  width:34px;height:34px;border:1.5px solid var(--green);border-radius:50%;
  display:grid;place-items:center;color:var(--green);position:relative
}
.mark:before,.mark:after{
  content:"";position:absolute;border:1px solid var(--gold);border-radius:50% 50% 50% 0;
  width:9px;height:14px;transform:rotate(-35deg)
}
.mark:before{left:9px;top:7px}
.mark:after{right:7px;bottom:6px;transform:rotate(145deg)}
.navlinks{display:flex;align-items:center;gap:30px;font-size:12px;color:#4f5c56}
.navlinks a:hover{color:var(--green)}
.navbtn{
  background:var(--green);color:white;padding:12px 18px;border-radius:999px;
  font-size:12px;font-weight:700;box-shadow:0 8px 22px rgba(23,76,59,.15)
}

/* HERO */
.hero{padding:42px 0 76px}
.hero-grid{display:grid;grid-template-columns:48% 52%;align-items:center;gap:18px}
.kicker{font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--green2)}
h1{
  font-family:var(--serif);font-weight:600;font-size:clamp(54px,6.7vw,88px);
  line-height:.94;letter-spacing:-.055em;margin:17px 0 24px
}
h1 span{color:var(--green2)}
.hero-copy{font-size:16px;line-height:1.75;color:var(--muted);max-width:535px}
.ctas{display:flex;gap:11px;align-items:center;margin-top:28px;flex-wrap:wrap}
.btn{
  border:0;cursor:pointer;border-radius:999px;padding:15px 22px;
  font-weight:700;font-size:13px;transition:.25s
}
.primary{background:var(--green);color:#fff;box-shadow:0 14px 30px rgba(23,76,59,.18)}
.primary:hover{transform:translateY(-3px);background:#0e3e30}
.secondary{background:transparent;color:var(--green);border:1px solid #cbd8d0}
.secondary:hover{background:#fff}
.micro{font-size:11px;color:#84908b;margin-top:14px}
.hero-trust{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.hero-trust span{
  padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);
  font-size:10px;color:#53635c
}

/* HERO ART */
.hero-art{height:590px;position:relative}
.hero-photo{
  position:absolute;right:0;top:15px;width:82%;height:540px;
  border-radius:42% 42% 28px 28px;overflow:hidden;background:#d5e2da;
  box-shadow:var(--shadow)
}
.hero-photo img{
  width:100%;height:100%;object-fit:cover;object-position:center top;filter:saturate(.86)
}
.hero-photo:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(12,49,37,.28))
}
.badge{
  position:absolute;left:0;top:72px;width:142px;height:142px;border-radius:50%;
  background:#fff;box-shadow:0 15px 40px rgba(22,55,43,.13);
  display:grid;place-items:center;text-align:center;padding:20px;font-size:11px;
  color:var(--green);font-weight:700;line-height:1.4;animation:float 5s ease-in-out infinite
}
.badge strong{display:block;font-family:var(--serif);font-size:28px}
.hero-card{
  position:absolute;left:22px;bottom:15px;background:rgba(255,254,250,.94);
  backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.8);
  padding:20px 23px;border-radius:18px;box-shadow:0 18px 50px rgba(22,55,43,.14);
  width:280px
}
.hero-card small{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--green2);font-weight:800}
.hero-card p{font-family:var(--serif);font-size:20px;line-height:1.2;margin:8px 0 0}

/* QUICK BAR */
.strip{background:var(--green);color:#fff;padding:19px 0}
.strip-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}
.strip-item{display:flex;align-items:center;gap:12px;font-size:12px}
.strip-item b{font-family:var(--serif);font-size:22px;color:#d6eadf}
.sep{width:1px;height:27px;background:rgba(255,255,255,.18)}

/* GENERAL */
.section{padding:105px 0}
.section-head{max-width:720px;margin-bottom:45px}
h2{
  font-family:var(--serif);font-size:clamp(39px,4.5vw,62px);line-height:1.02;
  letter-spacing:-.045em;font-weight:600;margin:13px 0 17px
}
.lead{font-size:16px;line-height:1.75;color:var(--muted)}

/* PAIN */
.pain-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}
.pain-main{
  background:#e6f0e9;border-radius:28px;padding:38px;min-height:420px;
  position:relative;overflow:hidden
}
.pain-main:after{
  content:"";position:absolute;width:300px;height:300px;border-radius:50%;
  border:1px solid rgba(23,76,59,.12);right:-130px;bottom:-130px;
  box-shadow:0 0 0 55px rgba(23,76,59,.03),0 0 0 110px rgba(23,76,59,.025)
}
.pain-main h3{font-family:var(--serif);font-size:36px;max-width:500px;margin:10px 0 25px}
.pain-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:570px}
.pain-list div{
  background:rgba(255,255,255,.68);padding:13px 14px;border-radius:13px;
  font-size:12px;color:#38534a
}
.pain-side{
  background:#fff;border:1px solid var(--line);border-radius:28px;padding:35px;
  display:flex;flex-direction:column;justify-content:space-between
}
.pain-side .big{font-family:var(--serif);font-size:68px;line-height:1;color:var(--green)}
.pain-side p{color:var(--muted);line-height:1.7;font-size:14px}

/* SHIFT */
.shift{padding:0 0 105px}
.shiftbox{
  background:var(--paper);border:1px solid var(--line);border-radius:30px;
  padding:35px;box-shadow:0 10px 40px rgba(22,55,43,.05)
}
.shift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.shift-item{padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.shift-item:nth-child(3n){border-right:0}
.shift-item:nth-child(n+4){border-bottom:0}
.num{font-size:10px;font-weight:800;color:var(--gold);letter-spacing:.15em}
.shift-item h3{font-family:var(--serif);font-size:24px;margin:10px 0 8px}
.shift-item p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}

/* ABOUT */
.about{background:#f0f4ef}
.about-grid{display:grid;grid-template-columns:44% 56%;gap:70px;align-items:center}
.about-photo{height:620px;border-radius:34px;overflow:hidden;position:relative}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.about-photo .photo-tag{
  position:absolute;bottom:22px;left:22px;background:rgba(255,255,255,.9);
  padding:14px 17px;border-radius:14px;font-size:11px;font-weight:700;color:var(--green)
}
.about-copy p{color:var(--muted);line-height:1.85;font-size:15px}
.quote{font-family:var(--serif);font-size:26px;line-height:1.35;color:var(--green);margin:28px 0}
.credentials{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}
.credential{
  border:1px solid #cbd9d1;padding:9px 12px;border-radius:999px;font-size:11px;
  color:var(--green);background:rgba(255,255,255,.45)
}

/* APPLICATION */
.apply{padding:110px 0;background:#fff}
.apply-top{
  display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:end;margin-bottom:40px
}
.apply-note{
  background:#e8f1eb;padding:22px;border-radius:20px;color:#456056;
  font-size:13px;line-height:1.7
}
.form-layout{
  display:grid;grid-template-columns:.7fr 1.3fr;gap:0;background:var(--green);
  border-radius:34px;overflow:hidden;box-shadow:var(--shadow)
}
.form-left{padding:43px;color:white}
.form-left h3{font-family:var(--serif);font-size:38px;line-height:1.05;margin:12px 0 18px}
.form-left p{color:#cbdcd5;line-height:1.7;font-size:13px}
.steps{margin-top:30px;display:grid;gap:15px}
.step{display:flex;gap:12px;font-size:12px;line-height:1.5;color:#d9e8e1}
.step i{
  font-style:normal;width:24px;height:24px;border-radius:50%;background:#2c6b55;
  display:grid;place-items:center;color:#fff;font-weight:800;flex:none
}
.form{background:#fff;padding:38px}
.form h3{font-family:var(--serif);font-size:30px;margin:0 0 6px}
.form .sub{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:24px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.field{margin-bottom:13px}
label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;margin:0 0 7px;color:#3d4a45}
input,select,textarea{
  width:100%;border:1px solid #dfe6e1;background:#fbfcfa;border-radius:12px;
  padding:13px 13px;outline:none;color:var(--ink);font-size:13px
}
input:focus,select:focus,textarea:focus{
  border-color:var(--green);box-shadow:0 0 0 4px rgba(23,76,59,.08)
}
textarea{min-height:90px;resize:vertical}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.choice{
  display:flex;gap:8px;align-items:flex-start;border:1px solid #e2e8e3;
  border-radius:11px;padding:10px;font-size:11px;color:#50605a;cursor:pointer
}
.choice:hover{background:#f1f7f3}
.choice input{width:auto;margin-top:2px;accent-color:var(--green)}
.consent{display:flex;gap:8px;color:var(--muted);font-size:10px;line-height:1.5;margin:13px 0}
.consent input{width:auto;margin-top:2px;accent-color:var(--green)}
.submit{width:100%;border:0}
.form-foot{text-align:center;color:#8a9691;font-size:9px;margin-top:9px}

/* MOBILE CTA */
.mobile-cta{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:100;
  padding:9px 12px calc(9px + env(safe-area-inset-bottom));
  background:rgba(255,254,250,.94);backdrop-filter:blur(14px);
  border-top:1px solid rgba(23,42,37,.1)
}
.mobile-cta a{
  display:flex;align-items:center;justify-content:center;width:100%;height:48px;
  border-radius:999px;background:var(--green);color:#fff;font-size:13px;font-weight:800;
  box-shadow:0 10px 25px rgba(23,76,59,.2)
}

/* FOOTER */
.footer{padding:38px 0;background:#f0f1eb;border-top:1px solid var(--line)}
.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}
.footer small{color:var(--muted);line-height:1.7}

/* SUCCESS */
.success{
  display:none;position:fixed;inset:0;z-index:200;background:rgba(16,55,43,.5);
  backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:20px
}
.success-box{
  width:min(520px,100%);background:#fff;border-radius:28px;padding:40px;text-align:center;
  box-shadow:0 30px 90px rgba(0,0,0,.2)
}
.success-box .circle{
  width:60px;height:60px;border-radius:50%;display:grid;place-items:center;
  background:var(--mint);color:var(--green);font-size:27px;margin:0 auto 18px
}
.success-box h3{font-family:var(--serif);font-size:35px;margin:0 0 10px}
.success-box p{color:var(--muted);font-size:14px;line-height:1.7}

/* ANIMATION */
.reveal{opacity:0;transform:translateY(25px);transition:.8s ease}
.reveal.show{opacity:1;transform:none}
@keyframes float{
  0%,100%{transform:translateY(0) rotate(0)}
  50%{transform:translateY(-9px) rotate(2deg)}
}

/* TABLET */
@media(max-width:900px){
  .navlinks{display:none}
  .hero-grid,.pain-grid,.about-grid,.apply-top,.form-layout{grid-template-columns:1fr}
  .hero-art{height:540px}
  .hero-photo{width:88%;right:3%}
  .about-photo{height:520px}
  .shift-grid{grid-template-columns:1fr 1fr}
  .shift-item:nth-child(3n){border-right:1px solid var(--line)}
  .shift-item:nth-child(2n){border-right:0}
  .shift-item:nth-child(n+5){border-bottom:0}
  .shift-item:nth-child(3),.shift-item:nth-child(4){border-bottom:1px solid var(--line)}
}

/* MOBILE */
@media(max-width:600px){
  body{padding-bottom:67px}
  .wrap{width:90%}
  .nav{height:70px}
  .navbtn{padding:10px 13px}
  .hero{padding:30px 0 50px}
  h1{font-size:53px}
  .hero-copy{font-size:15px}
  .hero-art{height:465px;margin-top:20px}
  .hero-photo{height:420px;width:91%;border-radius:130px 130px 22px 22px}
  .badge{width:105px;height:105px;font-size:9px;top:45px}
  .badge strong{font-size:22px}
  .hero-card{left:0;bottom:8px;width:255px}
  .strip-inner{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .sep{display:none}
  .section{padding:75px 0}
  .pain-main{min-height:auto;padding:28px}
  .pain-list,.choice-grid,.row{grid-template-columns:1fr}
  .pain-side{min-height:220px}
  .shift{padding-bottom:75px}
  .shiftbox{padding:20px}
  .shift-grid{grid-template-columns:1fr}
  .shift-item,.shift-item:nth-child(3n),.shift-item:nth-child(2n){
    border-right:0;border-bottom:1px solid var(--line)!important
  }
  .shift-item:last-child{border-bottom:0!important}
  .about-photo{height:440px}
  .form-left,.form{padding:28px 23px}
  .mobile-cta{display:block}
  .footer{padding-bottom:90px}
}

/* Actual Energy Catalyst logo in the header */
.nav .brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  text-decoration: none;
}
.nav .brand-logo {
  display: block;
  width: 190px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 600px) {
  .nav .brand-logo {
    width: 142px;
    height: 60px;
  }
}


/* Footer logo uses the same Energy Catalyst image as the header */
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-logo {
  display: block;
  width: 150px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 600px) {
  .footer-brand-logo {
    width: 125px;
    height: 64px;
  }
}

/* HEADER LAYOUT */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 0;
}

/* Center the menu independently */
.nav .navlinks {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

/* Keep both buttons together on the right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav .navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(23, 76, 59, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav .navbtn:hover {
  background: var(--deep);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav .navlinks {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav .brand-logo {
    width: 110px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav .navbtn {
    padding: 10px 11px;
    font-size: 10px;
  }
}

/* Mobile header fix */
@media (max-width: 600px) {
  .nav {
    height: 76px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .nav .brand {
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .nav .brand-logo {
    width: 105px;
    height: 60px;
    object-fit: contain;
  }

  .nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav .navbtn {
    padding: 10px 12px;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav .navbtn + .navbtn {
    margin-left: 0 !important;
  }
}


/* FOOTER ONLY — isolated styles */
footer.left-footer {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  clear: both;
  text-align: center;
  padding: 28px 20px;
  margin: 0;
  background: #f5f3ed;
  color: #174c3b;
  font-size: 12px;
  line-height: 1.7;
}

footer.left-footer .footer-brand {
  display: block;
  font-weight: 800;
  letter-spacing: 2px;
}

footer.left-footer p {
  margin: 4px 0 14px;
}

footer.left-footer nav.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0;
}

footer.left-footer nav.footer-legal a {
  color: #174c3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer.left-footer nav.footer-legal a:hover {
  color: #6530b5;
}

footer.left-footer small {
  display: block;
  margin-top: 12px;
  opacity: 0.75;
}

@media (max-width: 600px) {
  footer.left-footer {
    padding: 24px 14px;
  }
}



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

.footer {
  width: 100%;
  padding: 28px 0;
  background: #f0f1eb;
  border-top: 1px solid #e1e3dc;
}

.footer .footer-inner {
  width: 92%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 150px minmax(250px, 1fr) auto 90px;
  align-items: center;
  gap: 24px;
}

/* Logo */
.footer .footer-brand {
  display: flex;
  align-items: center;
}

.footer .footer-brand-logo {
  display: block;
  width: 100px;
  height: auto;
  object-fit: contain;
}

/* Business details */
.footer .footer-info {
  min-width: 0;
}

.footer .footer-info p {
  margin: 6px 0;
  color: #454b45;
  font-size: 13px;
  line-height: 1.6;
}

.footer .footer-info a {
  color: inherit;
  overflow-wrap: anywhere;
}

/* Privacy and terms */
.footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.footer .footer-legal a {
  color: #252925;
  font-size: 12px;
  white-space: nowrap;
}

/* Social links */
.footer .footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Instagram icon — fixed size */
.footer .footer-social > a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  flex: 0 0 24px;
}

.footer .footer-social > a:first-child svg {
  display: block;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.footer .footer-social a {
  color: #174c3b;
  text-decoration: none;
}

.footer .trustpilot-star {
  font-size: 16px;
  line-height: 1;
}

.footer .trustpilot-label {
  font-size: 12px;
  color: #252925;
}

.footer .footer-social > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Tablet */
@media (max-width: 1050px) {
  .footer .footer-inner {
    grid-template-columns: 90px minmax(180px, 1fr) auto 80px;
    gap: 16px;
  }

  .footer .footer-brand-logo {
    width: 80px;
  }

  .footer .footer-info p {
    font-size: 12px;
  }

  .footer .footer-legal {
    gap: 8px;
  }

  .footer .footer-legal a {
    font-size: 11px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .footer {
    padding: 24px 0;
  }

  .footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }

  .footer .footer-brand {
    flex: 0 0 65px;
  }

  .footer .footer-brand-logo {
    width: 65px;
  }

  .footer .footer-info {
    flex: 1 1 200px;
    min-width: 0;
  }

  .footer .footer-info p {
    font-size: 12px;
  }

  .footer .footer-legal {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  .footer .footer-social {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
  }

  .footer .footer-social > a:first-child,
  .footer .footer-social > a:first-child svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
}
.footer .footer-social .instagram-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  white-space: nowrap;
  text-decoration: none;
  color: #174c3b;
}

.footer .footer-social .instagram-link svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex-shrink: 0;
}

.footer .footer-social .instagram-link span {
  font-size: 14px;
  line-height: 1;
}

/* Footer social spacing */
.footer .footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 24px !important;
  white-space: nowrap;
}

.footer .footer-social .instagram-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.footer .footer-social > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

/* FIX: Align all footer sections vertically */
.footer .footer-inner {
  display: grid !important;
  grid-template-columns: 150px minmax(250px, 1fr) auto 190px;
  align-items: center !important;
  column-gap: 24px;
}

/* Logo */
.footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}

/* Business details */
.footer .footer-info {
  align-self: center;
  margin: 0;
}

/* Legal links */
.footer .footer-legal {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Instagram and Trustpilot */
.footer .footer-social {
  align-self: center;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center;
  gap: 12px !important;
  margin: 0;
}

/* Instagram icon + text on one line */
.footer .footer-social .instagram-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px;
  margin: 0;
}

/* Trustpilot on its own line */
.footer .footer-social > a:last-child {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

/* Mobile layout */
@media (max-width: 700px) {
  .footer .footer-inner {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 18px;
  }

  .footer .footer-social {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 18px !important;
  }
}

/* FIX HEADER ALIGNMENT */
header .wrap,
.header .wrap,
.site-header .wrap,
.navbar .wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

header .nav-inner,
.header .nav-inner,
.site-header .nav-inner,
.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* Keep logo at the left */
header .brand,
.header .brand,
.site-header .brand,
.navbar .brand {
  flex-shrink: 0;
  margin: 0;
}

/* Keep navigation and buttons in line */
header nav,
.header nav,
.site-header nav,
.navbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-left: auto;
}

/* Prevent buttons from shrinking */
header nav a,
.header nav a,
.site-header nav a,
.navbar nav a {
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 700px) {
  header .nav-inner,
  .header .nav-inner,
  .site-header .nav-inner,
  .navbar .nav-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  header nav,
  .header nav,
  .site-header nav,
  .navbar nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}