/* Header / nav */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,243,238,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74,79,85,.08);
  padding-block: -10px;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 6px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}
.brand img{ width: 52px; height:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-family:"Playfair Display", serif; font-weight:600; font-size:18px; }
.brand-text em{ font-style:normal; font-size:12px; color: var(--text-2); letter-spacing:.35px; }

.nav{
  display:flex;
  align-items:center;
  gap: 6px;
}
.nav a, .nav button{
  border:0;
  background:transparent;
  font: inherit;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 600;
  transition: background .18s ease, transform .18s ease;
}
.nav a:hover, .nav button:hover{
  background: rgba(183,176,217,.22);
  transform: translateY(-1px);
}
.nav a.is-active, .nav button.is-active{
  background: rgba(183,176,217,.28);
}

.nav-dropdown{ position:relative; }
.dropdown-panel{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 320px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display:none;
}
.nav-dropdown.open .dropdown-panel{ display:block; }
.dropdown-panel a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
}
.dropdown-panel a:hover{ background: rgba(183,176,217,.18); }
.dropdown-panel small{ color: var(--text-2); font-weight: 500; }

.chev{ opacity:.8; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 36px rgba(183,176,217,.35);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 18px 46px rgba(183,176,217,.45); }

/* Mobile nav */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(74,79,85,.10);
  background: rgba(255,255,255,.55);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height: 2px;
  width: 18px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
  opacity:.9;
}

@media (max-width: 920px){
  .nav-toggle{ display:block; }
  .nav{
    z-index: 1000; /* add this */
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(74,79,85,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  .nav.open{ display:flex; }
  .nav a, .nav button{ justify-content:space-between; }
  .dropdown-panel{
    position: static;
    width: auto;
    box-shadow:none;
    border: 0;
    background: transparent;
    padding: 6px;
  }
}

/* Footer */
.site-footer{
  background: var(--bg-secondary);
  border-top: 1px solid rgba(74,79,85,.08);
  padding: 42px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.footer-grid h4{ margin: 0 0 10px 0; }
.footer-grid a{ display:block; padding: 6px 0; color: var(--text); opacity:.9; }
.footer-grid a:hover{ opacity: 1; }
.footer-brand{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.footer-brand img{ width: 400px; opacity:.95; }
.fine{ font-size: 12px; color: var(--text-2); margin-top: 10px; }

@media (max-width: 920px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* Homepage layout — MOBILE FIRST */
.hero{
  padding: 26px 0 10px;
  background: linear-gradient(135deg,
    rgba(241,230,235,.75) 0%,
    rgba(246,243,238,1) 55%,
    rgba(183,206,194,.18) 100%
  );
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr;   /* mobile default */
  gap: 18px;
  align-items: center;
}


.hero-photo .photo-frame img{
  width: 100%;
  object-fit: cover;
  object-position: center 90%;
}


.kicker{
  display:inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(74,79,85,.10);
  padding: 8px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.hero h1{
  font-size: clamp(1.9rem, 6.2vw, 3.1rem); /* mobile readable */
  line-height: 1.12;
  margin-bottom: 10px;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn-ghost{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(74,79,85,.10);
}
.btn-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.78);
}

.cred-strip{
  margin-top: 14px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
}

.photo-frame{
  border-radius: 22px;        /* match your glass panel */
  overflow: visible;           /* THIS is the key */
  padding: 12px;
  background: linear-gradient(
    135deg,
    rgba(183,176,217,.45),
    rgba(241,230,235,.55)
  );
  box-shadow: var(--shadow);
  border: 1px solid rgba(74,79,85,.10);
}

.photo-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  border-radius: 0 0 16px 16px; /* important */
}

/* Grids — MOBILE FIRST */
.card-grid{
  display:grid;
  grid-template-columns: 1fr; /* mobile default */
  gap: 12px;
  margin-top: 16px;
}

.card{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}
.card h3{
  font-size: 1.08rem;
  margin-bottom: .35rem;
}
.card p{
  margin: 0;
  color: var(--text-2);
}

/* Two-column sections — MOBILE FIRST */
.two-col{
  display:grid;
  grid-template-columns: 1fr; /* mobile default */
  gap: 14px;
  align-items: start;
}

.inline-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.soft-panel{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(74,79,85,.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}

.link-list{
  list-style:none;
  padding: 0;
  margin: 10px 0 0;
}
.link-list a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 10px;
  border-radius: 12px;
}
.link-list a:hover{ background: rgba(183,176,217,.18); }
.link-list span{ color: var(--text-2); }

/* Testimonials — MOBILE FIRST */
.quote-grid{
  display:grid;
  grid-template-columns: 1fr; /* mobile default */
  gap: 12px;
  margin-top: 16px;
}
.quote{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}
.quote blockquote{
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  line-height: 1.45;
}
.quote figcaption{
  color: var(--text-2);
  font-weight: 600;
  font-size: 13px;
}

.center-actions{
  margin-top: 16px;
  display:flex;
  justify-content:center;
}

.cta-panel{
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(74,79,85,.10);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}

/* BREAKPOINTS (enhance layout as screen grows) */
@media (min-width: 700px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .quote-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px){
  .hero{ padding: 38px 0 10px; }
  .hero-grid{ grid-template-columns: 1.1fr .9fr; gap: 26px; }
  .two-col{ grid-template-columns: 1.1fr .9fr; gap: 18px; }
  .card-grid{ grid-template-columns: repeat(3, 1fr); }
  .quote-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Ensure hero order: text first, photo second (mobile + desktop) */
.hero-copy { order: 1; }
.hero-photo { order: 2; }

@media (max-width: 699px){
  .photo-frame img{ max-height: 520px; object-fit: cover; }
}

/* About pages */
.page-hero{
  display:grid;
  grid-template-columns: 1fr; /* mobile first */
  gap: 18px;
  align-items:start;
}
.page-hero__media{ margin-top: 6px; }

.tick-list{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tick-list li{
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
}
.tick-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: #fff;
  background: var(--accent-2);
}

@media (min-width: 980px){
  .page-hero{
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items:center;
  }
}

/* NMP timeline */
.timeline{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.t-item{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}

.t-badge{
  display:inline-block;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(183,176,217,.20);
  border: 1px solid rgba(74,79,85,.10);
  padding: 7px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.t-item h3{ margin: 0 0 6px; font-size: 1.05rem; }
.t-item p{ margin: 0; color: var(--text-2); }

@media (min-width: 980px){
  .timeline{ grid-template-columns: repeat(2, 1fr); }
}

/* Pricing */
.pricing-grid{
  display:grid;
  grid-template-columns: 1fr; /* mobile first */
  gap: 14px;
  margin-top: 16px;
}

.price-card{
  position: relative;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}

.price-card.featured{
  border-color: rgba(183,176,217,.55);
  box-shadow: 0 18px 46px rgba(74,79,85,.10);
}

.ribbon{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(183,176,217,.22);
  border: 1px solid rgba(74,79,85,.10);
  color: var(--text-2);
}

.price-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.price-top h3{ margin: 0 0 4px; }
.muted{ margin:0; color: var(--text-2); font-weight: 600; }

.price .amount{
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.mini-list{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.mini-list li{
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-2);
}
.mini-list li::before{
  content: "•";
  position:absolute;
  left: 10px;
  top: 7px;
  font-weight: 900;
  color: var(--accent);
}

.price-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 700px){
  .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px){
  .pricing-grid{ grid-template-columns: repeat(3, 1fr); }
  .price-card.featured{ grid-column: span 1; }
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr; /* mobile first */
  gap: 14px;
}

.tabs{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tab{
  border: 1px solid rgba(74,79,85,.12);
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}

.tab.active{
  background: rgba(183,176,217,.22);
  border-color: rgba(183,176,217,.40);
}

.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

.form .field{ margin-top: 12px; }
.field label{
  display:block;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(74,79,85,.14);
  background: rgba(255,255,255,.78);
  color: var(--text);
  font: inherit;
  outline: none;
}
.field textarea{ resize: vertical; }

.field input:focus, .field textarea:focus, .field select:focus{
  border-color: rgba(183,176,217,.65);
  box-shadow: 0 0 0 4px rgba(183,176,217,.18);
}

.field-row{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hint{
  margin: 8px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.alert{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(74,79,85,.12);
  background: rgba(255,255,255,.75);
  margin-top: 14px;
  font-weight: 700;
}
.alert.success{
  border-color: rgba(183,206,194,.75);
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}
.alert.error{
  border-color: rgba(241,100,120,.30);
}

.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

@media (min-width: 980px){
  .contact-grid{
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
    align-items: start;
  }
  .field-row{ grid-template-columns: 1fr 1fr; }
}

/* Testimonials filters */
.filters{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74,79,85,.12);
  background: rgba(255,255,255,.55);
  font-weight: 800;
  font-size: 13px;
}

.chip.active{
  background: rgba(183,176,217,.22);
  border-color: rgba(183,176,217,.40);
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-left: 8px;
  background: rgba(183,206,194,.24);
  border: 1px solid rgba(74,79,85,.10);
  color: var(--text-2);
}

/* FAQ */
.faq{ display:grid; gap: 10px; margin-top: 14px; }
.faq-item{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(74,79,85,.12);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 12px 34px rgba(74,79,85,.06);
}
.faq-item summary{
  cursor:pointer;
  font-weight: 900;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item p{ margin: 10px 0 0; color: var(--text-2); }

/* Contact info block */
.contact-info{
  background: rgba(255,255,255,.75);
  border-top: 1px solid rgba(74,79,85,.12);
}

.contact-info-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 0;
  font-size: 14px;
}

.contact-info strong{
  display:block;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-info a{
  font-weight: 600;
}

.social-links{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a{
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(183,176,217,.22);
  border: 1px solid rgba(74,79,85,.12);
}

@media (min-width: 900px){
  .contact-info-grid{
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }
}

/* Accessible screen-reader only */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Social icons (no libraries) */
.social-icons{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 6px;
}

.social-icon{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(183,176,217,.18); /* lavender tint */
  border: 1px solid rgba(74,79,85,.12);
  box-shadow: 0 10px 26px rgba(74,79,85,.06);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.social-icon svg{
  width: 18px;
  height: 18px;
  fill: var(--text);
  opacity: .9;
}

.social-icon:hover{
  transform: translateY(-1px);
  background: rgba(183,206,194,.22); /* eucalyptus tint */
  border-color: rgba(183,206,194,.55);
  box-shadow: 0 14px 34px rgba(74,79,85,.10);
}

.social-icon:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(183,176,217,.20), 0 14px 34px rgba(74,79,85,.10);
}

/* Header logo – logo only */
.brand-logo-only{
  display:flex;
  align-items:center;
}

/* Larger, calmer logo */
.brand-logo-only img{
  height: 100px;        /* desktop */
  width: auto;
  max-width: 220px;
}

/* Tablet */
@media (max-width: 980px){
  .brand-logo-only img{
    height: 46px;
  }
}

/* Mobile */
@media (max-width: 700px){
  .brand-logo-only img{
    height: 60px;
  }
}

/* OUTER glass panel */
.photo-frame{
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(183,176,217,.45), rgba(241,230,235,.55));
  box-shadow: var(--shadow);
  border: 1px solid rgba(74,79,85,.10);
}

/* INNER clipper (new) */
.photo-frame .photo-clip{
  border-radius: 16px;   /* slightly smaller than outer looks best */
  overflow: hidden;
  height: 520px;         /* the crop height */
}

/* IMAGE */
.photo-frame .photo-clip img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%; /* adjust this */
  display: block;
}

/* --- HERO PHOTO: glass panel + perfectly clipped image --- */
.hero-photo .photo-frame{
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(183,176,217,.45), rgba(241,230,235,.55));
  box-shadow: var(--shadow);
  border: 1px solid rgba(74,79,85,.10);
}

/* the inner clipper is what actually crops the image */
.hero-photo .photo-frame .photo-clip{
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

/* force the image to fill the clipper and crop */
.hero-photo .photo-frame .photo-clip img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 90%; /* move crop up/down (try 50%, 70%, 90%) */
  border-radius: 0;
}

/* iPad/tablet: show top of the image, not the bottom */
@media (max-width: 980px){
  .hero-photo .photo-frame .photo-clip img{
    object-position: center top !important;  /* or: center 20% */
  }
}

.footer-contact{ margin-top: 12px; display: grid; gap: 10px; }
.footer-contact__row{ display:grid; gap:4px; }
.footer-contact__row .label{ font-size: .82rem; opacity: .75; }

.footer-social{ display:flex; gap:10px; margin-top: 10px; }
.icon-btn{
  width:38px; height:38px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  color: inherit;
  text-decoration: none;
}
.icon-btn:hover{ transform: translateY(-1px); }

.footer-trust{ margin-top: 12px; display:grid; gap: 10px; }
.trust-row{
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}
.trust-row img{
  max-height: 52px;
  width:auto; height:auto;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.6);
}

/* Footer layout */
.site-footer{
  padding: 46px 0 26px;
}

.site-footer .container{
  max-width: 1200px;
}

.footer-top{
  display: grid;
  grid-template-columns: 1.35fr .95fr .75fr;
  gap: 46px;
  align-items: start;
}

@media (max-width: 980px){
  .footer-top{ grid-template-columns: 1fr; gap: 30px; }
}

/* Brand */
.footer-brand img{
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

/* Contact meta */
.footer-meta{
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.meta-label{
  font-size: .86rem;
  opacity: .68;
  margin-bottom: 4px;
}

.meta-value{
  font-size: 1.02rem;
  line-height: 1.4;
}

.footer-fine{
  font-size: .86rem;
  opacity: .75;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 520px;
}

/* Titles + links */
.footer-title{
  margin: 0 0 12px;
  font-size: .95rem;
  letter-spacing: .02em;
}

.footer-links{
  display: grid;
  gap: 10px;
}

.footer-links a{
  text-decoration: none;
  opacity: .86;
}

.footer-links a:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-sub{
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Copyright */
.footer-copy{
  margin-top: 18px;
  font-size: .86rem;
  opacity: .75;
}

/* Social */
.footer-social{
  display: flex;
  gap: 10px;
  margin: 10px 0 0;
  flex-wrap: wrap;
}

.social-btn{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.social-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.75);
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Trust strip */
.footer-trust{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

@media (max-width: 980px){
  .trust-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.trust-grid img{
  width: 100%;
  height: 62px;
  object-fit: contain;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.6);
}

/* Major Life Reset - full width hero (no right media frame) */
.page-hero--single{
  display: block;              /* stops any grid/2-col layout */
}

.page-hero--single .page-hero__copy{
  max-width: 860px;            /* keeps it professional (not too wide) */
}

@media (min-width: 900px){
  .page-hero--single .page-hero__copy{
    max-width: 980px;          /* a touch wider on desktop */
  }
}

/* MOBILE: prevent hero image causing horizontal scroll */
@media (max-width: 768px) {

  /* Ensure hero grid never exceeds viewport */
  .hero-grid {
    max-width: 100%;
    overflow: hidden;
  }

  .hero-photo {
    width: 100%;
    max-width: 100%;
  }

  .hero-photo .photo-frame,
  .hero-photo .photo-clip {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-photo .photo-clip {
    aspect-ratio: 4 / 5;   /* mobile-friendly */
    overflow: hidden;
  }

  .hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

}

/* MOBILE: show the full hero image (no crop) + prevent sideways scroll */
@media (max-width: 768px){

  /* Safety: nothing in the hero can exceed the viewport */
  .hero, .hero * { box-sizing: border-box; }
  .hero-grid, .hero-photo, .hero-photo .photo-frame, .hero-photo .photo-clip {
    max-width: 100%;
    width: 100%;
  }

  /* IMPORTANT: stop the clip from forcing a crop box */
  .hero-photo .photo-clip{
    aspect-ratio: auto !important;   /* overrides any aspect-ratio */
    height: auto !important;         /* overrides any fixed height */
    overflow: hidden;                /* keeps rounded corners tidy */
  }

  /* Fit entire image inside the frame */
  .hero-photo img{
    display: block;
    width: 100%;
    height: auto !important;         /* let it keep natural ratio */
    object-fit: contain !important;  /* key: NO cropping */
    max-width: 100%;
  }

  /* If anything still tries to push wider, clip x-scroll */
  body{ overflow-x: clip; }
}

.footer-trust{
  padding: 1.5rem 0;
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* force single row */
  gap: 1.25rem;
  align-items: center;
}

/* Trust strip logo cards */
.trust-grid img{
  background: rgba(0,0,0,.06);   /* darker than before */
  border-radius: 14px;
  padding: 12px 18px;
  max-height: 60px;
  width: 100%;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 900px){
  .trust-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 520px){
  .trust-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}


