@font-face {
    font-family: 'FranklinGothicStd-ExtraCond';
    src: url('fonts/FranklinGothicStd-ExtraCond.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root{
  /*--font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;*/
     --font: 'FranklinGothicStd-ExtraCond';
  /* Replace with Hourglass brand codes */
  --accent: #a0466b;
  --text: #111;
  --muted: #666;
  --line: rgba(0,0,0,.15);
  --bg: #fff;
  --card: #fff;
  --shadow: 0 12px 30px rgba(0,0,0,.12);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  /*font-family: var(--font);*/
  font-family: Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.4;
}

a{color:inherit}
img{max-width:100%;display:block}

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

.site-header{
  position:absolute;
  top:0; left:0; right:0;
  z-index:50;
  padding: 14px 0;
  color:#111;
  font-family: Arial;
}
.site-header--solid{
  position:sticky;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner{
  width:min(1200px, calc(100% - 32px));
  margin-inline:auto;
  display:flex;
  align-items:center;
  gap:16px;
}

.brand{flex:1; display:flex; justify-content:center}
.brand-logo{height:46px; width:auto}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 12px;
  white-space: nowrap;
}
.header-actions .donate{
  font-weight:700;
  letter-spacing:.02em;
  text-transform: uppercase;
  text-decoration:none;
}
.header-actions .helpline{
  text-decoration:none;
  font-weight: bold;
  color: #AD3963;
}
.divider{opacity:.4}

.menu-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  background:transparent;
  border:0;
  cursor:pointer;
  font-family: Arial;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.03em;
  padding: 8px 4px;
  color:#000;
  
}
.burger{
  width:18px;
  height:14px;
  position:relative;
  display:inline-block;
  border:0;
}

.burger::before,
.burger::after,
.burger span{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#222;
  border-radius:2px;
}

.burger::before{
  top:0;
}

.burger span{
  top:6px;
}

.burger::after{
  bottom:0;
}
/*.burger{
  width:18px;height:12px;
  position:relative;
  display:inline-block;
}
.burger::before,.burger::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#222;
  border-radius:2px;
}
.burger::before{top:0}
.burger::after{bottom:0}*/
/*.burger{border-top:2px solid #222}*/

.quick-menu{
  position:absolute;
  top:56px;
  left: max(16px, calc((100vw - 1200px)/2 + 16px));
  background:#fff;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 6px;
  padding: 8px;
  min-width: 220px;
  display:none;
}
.quick-menu.is-open{display:block}
.quick-menu a,
.quick-menu .linklike{
  display:block;
  padding: 10px 10px;
  font-size: 13px;
  text-decoration:none;
  border-radius: 6px;
}
.quick-menu a:hover,
.quick-menu .linklike:hover{background: rgba(0,0,0,.04)}
.quick-menu .linklike{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  cursor:pointer;
  font-family: var(--font);
}

.hero{
  position:relative;
  min-height: 900px;
  padding-top: 90px;
}
.hero-media{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.hero-video,
.hero-fallback{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-video{opacity:0}
.hero-video.has-source{opacity:1}
.hero-fallback{background-size:cover; background-position:center; filter: grayscale(1);}

.hero-content{
  position:relative;
  padding: 520px 0 70px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 420px, rgba(255,255,255,.96) 560px, #fff 100%);
}
.hero h1{
  margin:0;
  text-align:left;
  font-weight: 600;
  /* letter-spacing: .01em; */
  line-height: 1.05;
  /* width:min(980px, 100%); */
  margin-inline:auto;
  padding: 0 16px;
}
.kicker{
  display:block;
  font-size: clamp(26px, 3.2vw, 26px);
  padding-bottom: 12px;
  letter-spacing:-2px;
}
.headline{
  display:block;
  font-size: clamp(30px, 4.2vw, 38px);
  /*letter-spacing:-2px;
  padding-bottom: 2rem;*/
}
.subhead{
  /*width:min(980px, 100%);*/
  margin: 10px auto 0;
  padding: 0 16px;
  font-weight: 700;
  /*letter-spacing:-2px;*/
  font-size: clamp(14px, 2vw, 20px);
}

.cta-row{
  width:min(980px, 100%);
  margin: 22px auto 0;
  padding: 0 16px;
  display:flex;
  justify-content:center;
}
.cta-row--bottom{margin-top:18px}
.cta-row--signatures{margin-top:28px}

.btn{
  border-radius: 0;
  border:1px solid var(--line);
  padding: 12px 22px;
  font-weight: 700;
  font-family: Arial;
  text-transform: none;
  cursor:pointer;
  font-size: 14px;
  
  
}
.btn-primary{
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  
}
.btn-primary:hover{filter: brightness(.96)}
.btn-ghost{
  background: transparent;
}
.btn-ghost:hover{background: rgba(0,0,0,.04)}

.card-row{
  width:min(980px, 100%);
  margin: 26px auto 0;
  padding: 0 0px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card{
  background: var(--card);
  border: 1px solid #cfd3d6;
  text-decoration:none;
}
.info-card img{width:100%; aspect-ratio: 1 / 1;}
.info-card__text{
  padding: 14px 14px 16px;
  font-size: 20px;
  color:#000; /*#4b4b4b*/
  font-family: Arial;
}
.info-card__text strong{color:#000}

.signatures{
  padding: 56px 0 70px;
  background: #fff;
}
.sig-title{
  margin: 0 auto 26px;
  text-align:left;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  color: #000;
  letter-spacing:.01em;
}

.sig-title .accent{
  color: var(--accent);
}
.sig-grid{
  /*display:grid; */
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sig-card{
  border: 1px solid var(--line);
  background:#fff;
  padding: 12px;
  display:flex;
  align-items:center;
  gap: 12px;
}
.sig-avatar{
  width:44px;height:44px;
  border-radius: 50%;
  object-fit: cover;
  background:#f2f2f2;
}
.sig-name{
  font-weight: 600;
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color:#333;
  background:#fafafa;
  
}
.footer-cols{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 12px;
}
.footer-col h3{
  font-size: 12px;
  margin: 0 0 8px;
  /*color: var(--accent);*/
  text-transform: none;
}
.footer-bottom{
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.footer-links{
 /* display:flex; */
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-links a{color:#333}
.smallprint{
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.page{padding: 160px 0 60px}
.lead{color: var(--muted); /*max-width: 70ch*/}

.page-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top: 18px}

.menu-back{
  text-decoration:none;
  font-weight:700;
  font-size: 13px;
  padding: 8px 10px;
}

/* Modal */
.modal{
    position:fixed;
    inset:0;
    display:none;
    z-index:99999;
    padding:20px;
}

.modal.is-open{
    display:block;
}

.modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);
}

.modal__dialog{
    position:relative;
    width:min(620px, calc(100% - 32px));
    max-height:90vh;
    overflow-y:auto;
    margin:5vh auto;
    background:#fff;
    border-radius:14px;
    padding:34px 28px;
    box-shadow:var(--shadow);
    z-index:2;
}

.modal__close{
    position:absolute;
    top:12px;
    right:16px;
    border:0;
    background:transparent;
    font-size:30px;
    line-height:1;
    cursor:pointer;
    color:#111;
}

.modal__dialog h2{
    font-size:28px;
    line-height:1.2;
    margin:0 35px 12px 0;
    color:#111;
}

.modal__sub{
    color:var(--muted);
    margin:0 0 18px;
    font-size:16px;
    line-height:1.5;
}

.form{
    margin-top:18px;
    display:grid;
    gap:15px;
}

.form label{
    display:block;
}

.form label span{
    display:block;
    font-size:13px;
    color:var(--muted);
    margin-bottom:7px;
}

.form input,
.form select,
.form textarea{
    width:100%;
    padding:13px 14px;
    border:1px solid var(--line);
    border-radius:9px;
    font-family:Arial;
    font-size:15px;
    line-height:1.4;
    background:#fff;
    color:#111;
    box-sizing:border-box;
}

.form textarea{
    min-height:110px;
    resize:vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus{
    outline:none;
    border-color:#AD3963;
    box-shadow:0 0 0 3px rgba(173,57,99,.15);
}

.form__actions{
    display:flex;
    gap:12px;
    margin-top:8px;
    flex-wrap:wrap;
}

.form__actions .btn{
    min-width:120px;
    justify-content:center;
}

.form__note{
    font-size:13px;
    color:var(--muted);
    line-height:1.5;
    margin:2px 0 0;
}

/* Scrollbar */
.modal__dialog::-webkit-scrollbar{
    width:8px;
}

.modal__dialog::-webkit-scrollbar-track{
    background:#f1f1f1;
    border-radius:10px;
}

.modal__dialog::-webkit-scrollbar-thumb{
    background:#AD3963;
    border-radius:10px;
}

/* Responsive */
@media(max-width:768px){

    .modal{
        padding:10px;
    }

    .modal__dialog{
        width:calc(100% - 20px);
        max-height:94vh;
        margin:3vh auto;
        padding:28px 20px;
        border-radius:12px;
    }

    .modal__dialog h2{
        font-size:24px;
        margin-right:35px;
    }

    .modal__sub{
        font-size:15px;
    }

    .form{
        gap:13px;
    }

    .form input,
    .form select,
    .form textarea{
        padding:12px;
        font-size:15px;
    }

    .form__actions{
        flex-direction:column;
    }

    .form__actions .btn{
        width:100%;
    }
}

@media(max-width:480px){

    .modal{
        padding:6px;
    }

    .modal__dialog{
        width:100%;
        max-height:96vh;
        margin:2vh auto;
        padding:24px 16px;
        border-radius:10px;
    }

    .modal__close{
        top:10px;
        right:12px;
        font-size:28px;
    }

    .modal__dialog h2{
        font-size:22px;
    }
}
/*---------------------------------------------*/
/* Responsive */
@media (max-width: 980px){
  .card-row{/*grid-template-columns: 1fr; max-width: 520px*/}
  .sig-grid{grid-template-columns: 1fr; /*max-width: 520px*/}
  .footer-cols{grid-template-columns: 1fr 1fr}
 /* .brand{justify-content:flex-start}*/
}
@media (max-width: 640px){
  .header-inner{gap:10px}
  .header-actions{display:none}
  .hero-content{padding-top: 470px}
  .footer-cols{grid-template-columns: 1fr}
}


.footer {
    padding: 60px 20px 30px;
    background: #e9e9e9;
    margin-top: 30px;
    font-family: Arial;
}

/* ===== TOP CONTACT GRID ===== */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-col p span img {
    width: 12px;
    margin-right: 8px;
    position: relative;
    top: 2px;
        float: left;
}

.england {
    color: #723a80;
}

.cymru {
    color: #ad3963;
}

.scotland {
    color: #c87d1a;
}

.ni {
    color: #2c90b7;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 13px;
}

/* ===== LOGO GRID ===== */
.footer-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-bottom: 40px;
}

.footer-logos img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

/* ===== BOTTOM TEXT ===== */
.footer-bottom {
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links a:first-child {
    margin-left: 0;
}

.no-bg {
    background: transparent;
}

@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: 1fr;
        padding-left: 0;
        justify-items: center;
    }

    .footer-logos {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    

    .footer {
        padding: 40px 20px;
    }
    .footer-links {
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 0;
    font-size: 12px;
}
.footer-links a {
    margin: 0 4px;
}
}
@media (min-width: 768px) and (max-width: 992px) {

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 10px;
        justify-items: center;
    }

    .footer-logos {
        grid-template-columns: repeat(2, 1fr);
        
    }

}

/* ===== BANNER VIDEO FULL RESPONSIVE FIX ===== */

.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 0;
    background: #fff;
}

.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1 !important;
    object-fit: contain;
    object-position: top center;
    background: #fff;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Desktop default */
.hero {
    min-height: 900px;
}

.hero-media {
    height: 520px;
}

.hero-content {
    padding-top: 520px;
}

/* ===== ABOVE 2000PX DESKTOP / LARGE SCREEN FIX ===== */
@media (min-width: 2000px) {

    .site-header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 50 !important;
        padding-top: 28px !important;
         font-family: Arial;
    }

    .header-inner {
        width: min(1200px, 100%) !important;
        margin: 0 auto !important;
    }

    .hero {
        min-height: auto !important;
        padding-top: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
    }

    .hero-media {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        background: #e9e9e9 !important;
        z-index: 1 !important;
    }

    .hero-video {
        position: relative !important;
        width: 1200px !important;
        max-width: 1200px !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
        object-position: top center !important;
        opacity: 1 !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 2 !important;
        padding-top: 45px !important;
        padding-bottom: 60px !important;
        background: #fff !important;
        width: 1200px !important;
        max-width: 1100px !important;
        margin: 0 auto !important;
    }

    .hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .kicker {
        font-size: 54px !important;
        padding-bottom: 8px !important;
    }

    .headline {
        font-size: 54px !important;
        /*line-height: 1.1 !important;
        padding-bottom: 24px !important;*/
    }

    .subhead {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        /*text-align: center !important;*/
        font-size: 39px !important;
    }

    .cta-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 22px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .card-row {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-top: 30px !important;
    }

     .brand-logo{
        height: 80px !important;
        width: auto !important;
        
    }

    .menu-toggle{
        padding-left: 60px;
    }

    .header-actions{
        padding-right: 50px;
    }

    .lead p{
    font-size: 1rem;
    line-height: 1.25;
    color: #555;
    /*font-weight: bold; max-width: 70ch*/ 
}
    
    .signatur{
    font-family: FranklinGothicStd-ExtraCond;
    font-size: 54px;
    line-height: 1.1;
    font-weight: bold;
    letter-spacing: 0px;
    text-transform: none;
    }
}

/* ===== FIX iPad Portrait + Landscape Banner Spacing ===== */

/* iPad Landscape */
@media (min-width: 992px) and (max-width: 1366px) and (orientation: landscape) {

    .hero {
        min-height: auto !important;
        padding-top: 70px !important;
    }

    .hero-media {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        background: #fff !important;
    }

    .hero-video {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        opacity: 1 !important;
    }

    .hero-content {
        padding-top: 35px !important;
        padding-bottom: 60px !important;
        background: #fff !important;
    }
   
}

/* iPad Portrait */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {

    .hero {
        min-height: auto !important;
        padding-top: 70px !important;
    }

    .hero-media {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        background: #fff !important;
    }

    .hero-video {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
        display: block !important;
        opacity: 1 !important;
    }

    .hero-content {
        padding-top: 35px !important;
        padding-bottom: 55px !important;
        background: #fff !important;
    }

    .hero h1 {
        padding: 0 24px !important;
    }

    .subhead {
        padding: 0 24px !important;
        letter-spacing: 0px !important;
    }

    .brand-logo{
        padding-left:0px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-media {
        position: relative;
        height: auto;
        width: 100%;
    }

    .hero-video {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: top center;
    }

    .hero-content {
        padding-top: 30px;
        padding-bottom: 50px;
        background: #fff;
    }

    
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-content {
        padding-top: 25px;
    }
}

/* ===== HEADER VIDEO BACKGROUND PATCH ONLY ===== */

.site-header {
    background: #e9e9e9 !important;
}

/* Desktop default */
.hero {
    padding-top: 0 !important;
}

.hero-media {
    padding-top: 70px !important;
    box-sizing: content-box !important;
}

.hero-video {
    margin-top: -70px !important;
}

/* Above 2000px */
@media (min-width: 2000px) {
    .hero-media {
        padding-top: 70px !important;
    }

    .hero-video {
        margin-top: -70px !important;
    }
}

/* iPad landscape */
@media (min-width: 992px) and (max-width: 1366px) and (orientation: landscape) {
    .hero {
        padding-top: 0 !important;
    }

    .hero-media {
        padding-top: 70px !important;
    }

    .hero-video {
        margin-top: -70px !important;
    }

    .kicker{
        padding-left: 100px !important;
    }
    .headline {
        padding-left: 100px !important;
    }

    .subhead{
        letter-spacing: 0px !important;
        padding-left: 110px !important;
       
    }
}

/* iPad portrait */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
    .hero {
        padding-top: 0 !important;
    }

    .hero-media {
        padding-top: 70px !important;
    }

    .hero-video {
        margin-top: -70px !important;
    }

    .subhead{
        letter-spacing: 0px !important;;
    }

    
    
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        padding-top: 0 !important;
    }

    .hero-media {
        padding-top: 70px !important;
    }

    .hero-video {
        margin-top: -70px !important;
    }
}

/* Button with horizontal line */
.cta-row {
    position: relative;
    align-items: center;
}

.cta-row::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    height: 1px;
    background: #999;
    transform: translateY(-50%);
    z-index: 0;
}

.cta-row .btn {
    position: relative;
    z-index: 1;
    background: var(--accent);
}

.sig-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sig-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    grid-template-rows: repeat(3, auto);
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    font-family: Arial;
}

.sig-card {
    background: #f6f6f6;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 70px;
}

.sig-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sig-name {
    font-size: 14px;
    color: #000;
    line-height: 1.3;
}

.sig-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 24px;
    height: 24px;
    border: 1px solid #111;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 22px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sig-prev {
    left: -34px;
}

.sig-next {
    right: -34px;
}

@media (max-width: 991px) {
    .sig-slider {
       grid-auto-columns: calc((100% - 49px) / 3);
        grid-template-rows: repeat(3, auto);
        padding-left: 10px;
        width: 100%;
    }

    .sig-prev {
        left: -22px;
    }

    .sig-next {
        right: -22px;
    }
}

@media (max-width: 767px) {
    .sig-slider {
        grid-auto-columns: 100%;
        grid-template-rows: repeat(3, auto);
    }

    .sig-arrow {
        width: 22px;
        height: 22px;
        font-size: 20px;
    }

    .sig-prev {
        left: -10px;
    }

    .sig-next {
        right: -10px;
    }
}

.form__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.form__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.oath-check-inline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}

.oath-check-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #b23b70;
}

@media (max-width: 600px) {
    .form__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   FINAL RESPONSIVE ALIGNMENT FIX - ADD LAST / OVERRIDES
   Keeps content margins straight on desktop, tablet and mobile
   ========================================================= */
html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:Arial, sans-serif;
}

.page,
.hero,
.signatures,
.footer{
    width:100%;
    overflow-x:hidden;
}

.container,
.hero-content,
.card-row,
.cta-row,
.sig-title,
.sig-slider-wrap,
.testimonial-section{
    max-width:980px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box;
}

.container{
    padding-left:24px !important;
    padding-right:24px !important;
}

.hero-content{
    padding-left:24px !important;
    padding-right:24px !important;
}

.hero h1,
.kicker,
.headline,
.subhead{
    padding-left:0 !important;
    padding-right:0 !important;
}

.cta-row{
    padding-left:0 !important;
    padding-right:0 !important;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
}

.card-row{
    padding-left:0 !important;
    padding-right:0 !important;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.info-card{
    min-width:0;
    width:100%;
    overflow:hidden;
}

.info-card img{
    width:100% !important;
    aspect-ratio:1 / 0 !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
}

.info-card__text{
    font-size:16px !important;
    line-height:1.3 !important;
    padding:10px 12px !important;
}

.cms-content,
.lead{
    line-height:1.8;
    overflow-wrap:break-word;
    word-wrap:break-word;
}

.cms-content img,
.cms-content iframe,
.cms-content table,
.lead img,
.lead iframe,
.lead table{
    max-width:100% !important;
    height:auto !important;
}

.modal__dialog{
    max-width:620px;
    width:calc(100% - 32px) !important;
    max-height:90vh;
    overflow-y:auto;
}

/* Tablet */
@media(max-width:991px){
    .container,
    .hero-content,
    .card-row,
    .cta-row,
    .sig-title,
    .sig-slider-wrap,
    .testimonial-section{
        max-width:100% !important;
    }

    .container,
    .hero-content{
        padding-left:22px !important;
        padding-right:22px !important;
    }

    .card-row{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:16px;
    }

    .info-card__text{
        font-size:14px !important;
    }
}

/* Mobile portrait */
@media(max-width:767px){
    .container,
    .hero-content{
        padding-left:16px !important;
        padding-right:16px !important;
    }

    .card-row{
        grid-template-columns:1fr;
        gap:16px;
    }

    .info-card__text{
        font-size:16px !important;
    }

    .footer-top,
    .footer-logos{
        grid-template-columns:1fr !important;
    }
}

/* Mobile landscape */
@media(max-width:950px) and (orientation:landscape){
    .container,
    .hero-content{
        width:100% !important;
        max-width:100% !important;
        padding-left:18px !important;
        padding-right:18px !important;
    }

    .card-row{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:14px;
    }

    .info-card__text{
        font-size:13px !important;
        padding:8px 10px !important;
    }

    .quick-menu{
        left:12px !important;
        right:12px !important;
        width:auto !important;
        min-width:0 !important;
    }
}

@media(max-width:600px) and (orientation:landscape){
    .card-row{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
FORM_C COPY STYLE
========================================= */

.form_c{
    margin-top:18px;
    display:grid;
    gap:15px;
}

.form_c label{
    display:block;
}

.form_c label span{
    display:block;
    font-size:13px;
    color:var(--muted);
    margin-bottom:7px;
    color: #7a2c7d
}

.form_c input,
.form_c select,
.form_c textarea{
    width:100%;
    padding:13px 14px;
    border:1px solid var(--line);
    border-radius:9px;
    font-family:Arial;
    font-size:15px;
    line-height:1.4;
    background:#fff;
    color:#111;
    box-sizing:border-box;
}

.form_c textarea{
    min-height:110px;
    resize:vertical;
}

.form_c input:focus,
.form_c select:focus,
.form_c textarea:focus{
    outline:none;
    border-color:#7a2c7d;
    box-shadow:0 0 0 3px rgba(173,57,99,.15);
}

.form_c__actions{
    display:flex;
    gap:12px;
    margin-top:8px;
    flex-wrap:wrap;
}

.form_c__actions .btn{
    min-width:120px;
    justify-content:center;
}

.form_c__note{
    font-size:13px;
    color:var(--muted);
    line-height:1.5;
    margin:2px 0 0;
}

/* Scrollbar */
.modal__dialog::-webkit-scrollbar{
    width:8px;
}

.modal__dialog::-webkit-scrollbar-track{
    background:#f1f1f1;
    border-radius:10px;
}

.modal__dialog::-webkit-scrollbar-thumb{
    background:#7a2c7d;
    border-radius:10px;
}

/* Responsive */
@media(max-width:768px){

    .modal{
        padding:10px;
    }

    .modal__dialog{
        width:calc(100% - 20px);
        max-height:94vh;
        margin:3vh auto;
        padding:28px 20px;
        border-radius:12px;
    }

    .modal__dialog h2{
        font-size:24px;
        margin-right:35px;
    }

    .modal__sub{
        font-size:15px;
    }

    .form_c{
        gap:13px;
    }

    .form_c input,
    .form_c select,
    .form_c textarea{
        padding:12px;
        font-size:15px;
    }

    .form_c__actions{
        flex-direction:column;
    }

    .form_c__actions .btn{
        width:100%;
    }
}

@media(max-width:480px){

    .modal{
        padding:6px;
    }

    .modal__dialog{
        width:100%;
        max-height:96vh;
        margin:2vh auto;
        padding:24px 16px;
        border-radius:10px;
    }

    .modal__close{
        top:10px;
        right:12px;
        font-size:28px;
    }

    .modal__dialog h2{
        font-size:22px;
    }
}

.share-btn{
    background:#c5d1d3;
    color:#000;
    padding:10px 14px;
    border-radius:8px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s ease;
}

.share-btn:hover{
    background:#a0466b;
    color:#fff;
}
@media(max-width:767px){

    .lead img{
        float:none !important;
        display:block !important;
        margin:0 auto 20px auto !important;
        width:100% !important;
        max-width:220px !important;
        height:auto !important;
    }

    .lead p,
    .lead span,
    .lead div{
        width:100% !important;
        display:block !important;
    }

    .lead{
        overflow:hidden;
    }

}