/* =========================
   contact.css (CLEANED) — PART 1/2
   ========================= */

/* Root Variables */
:root{
  --bg:#ffffff;
  --surface:#f8fafc;
  --border:#e5e7eb;
  --borderf:#9b9a9a36;
  --text:#0f141b;
  --muted:#313339;

  --primary:#130bb6;
  --title:#276295;
  --primary-soft:#e9f4fc;

  --radius:14px;
  --nav-h:100px;
  --shadow:0 14px 30px rgba(0,0,0,.15);

  --slogan-blue:#0716ea;
  --slogan-green:#028f00;
  --slogan-bg:#100e1c;
}

/* Base / reset */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Inter",sans-serif;
  background:#fff;
  color:#1f2937;
  line-height:1.6;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
button{font-family:inherit;}
main{padding:0;}
[hidden]{display:none !important;}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* Layout */
.container{
  width:min(1100px,92%);
  margin:0 auto;
  text-align:center;
}
.section{padding:64px 0;}
.section-soft{background:var(--primary-soft);}
.section-inner{
  width:min(1100px,92%);
  margin:auto;
}
@media (max-width:767px){
  .section{padding:48px 0;}
}

/* Typography */
h1,h2,h3,h4,h5,h6{
  margin:0 0 .75em;
  font-weight:600;
  line-height:1.2;
  color:var(--text);
}
h1{font-size:2.5rem;letter-spacing:-.02em;font-weight:680; text-align: center;}
h2{font-size:2rem;}
h3{font-size:1.4rem;}
h4{font-size:1.25rem;font-weight:600;}
h5{font-size:2rem;text-align:center;font-weight:600;color:var(--text);}
@media (max-width:767px){
  h1{font-size:2rem;}
  h2{font-size:1.9rem;}
  h3{font-size:1.1rem;}
}

/* A11y helpers */
.skip-link{
  position:absolute;
  top:-40px;
  left:0;
  background:#000;
  color:#fff;
  padding:8px 12px;
  z-index:1000;
  text-decoration:none;
  border-radius:4px;
}
.skip-link:focus{top:10px;}

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

/* Header / Navigation */
.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  height:var(--nav-h);
  background:rgba(255,255,255,.95);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--border);
}
.lefts-cluster{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:-18px;
}

/* Menu button */
.menu-btn{
  min-width:48px;
  min-height:48px;
  width:48px;
  height:48px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--border);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:box-shadow .2s ease,transform .05s ease,background .2s ease;
}
.menu-btn:hover{box-shadow:0 6px 14px rgba(0,0,0,.12);background:#f9fafb;}
.menu-btn:active{transform:scale(.97);}
.menu-btn:focus-visible{outline:3px solid rgba(30,136,229,.5);outline-offset:2px;}

.menu-icon{width:18px;height:12px;position:relative;display:block;}
.menu-icon span{
  position:absolute;
  left:0;right:0;
  height:2px;
  background:var(--text);
  border-radius:999px;
}
.menu-icon span:nth-child(1){top:0;}
.menu-icon span:nth-child(2){top:5px;}
.menu-icon span:nth-child(3){top:10px;}

/* Company */
.company{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  text-decoration:none;
}
.site-logo{width:auto;height:70px;object-fit:contain;}
.site-title{width:auto;height:100px;padding:0;object-fit:contain;}

/* Right actions */
.topbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Buttons */
.btn{
  min-height:44px;
  padding:.55rem .9rem;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease,border-color .2s ease;
}
.btn:hover{background:#f9fafb;}
.btn:focus-visible{outline:3px solid rgba(30,136,229,.35);outline-offset:2px;}

.btn-primary{
  background:var(--primary);
  color:#fff;
  border-color:rgba(30,136,229,.4);
}
.btn-primary:hover{background:#1976d2;}
.btn-primary:focus-visible{outline:3px solid rgba(255,255,255,.5);outline-offset:2px;}

/* Slogan */
.slogan{display:inline-flex;align-items:center;}
.slogan-pill{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  background:#e3e7ed99;
  color:var(--text);
  border:1px solid var(--border);
  border-radius:11px;
  padding:4px 8px;
  font-weight:700;
  font-size:.95rem;
  margin-left:3px;
  margin-bottom:12px;
  white-space:nowrap;
}
.slogan-part-blue{color:#18108c;font-weight:700;}
.slogan-part-green{color:#117d18;font-weight:700;}
.slogan-part-blue1{color:#13a7f1;font-weight:700;}
.slogan-part-green1{color:#3aed29;font-weight:700;}
.slogan-mobile-text{display:inline;font-size:.85rem;font-weight:650;}
.slogan-desktop-text{display:none;font-size:.95rem;font-weight:650;}

/* =========================
   contact.css (CLEANED) — PART 2/2
   ========================= */

/* Drawer */
.drawer-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:999;
}
.drawer{
  position:fixed;
  top:0;left:0;
  width:min(320px,86vw);
  height:100%;
  background:#fff;
  border-right:1px solid var(--border);
  box-shadow:var(--shadow);
  transform:translateX(-103%);
  transition:transform .25s ease;
  z-index:1000;
  display:flex;
  flex-direction:column;
  visibility:hidden; /* keep your behavior */
}
.drawer-header{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  border-bottom:1px solid var(--border);
}
.drawer-title{font-size:1rem;font-weight:800;}
.drawer-close{
  width:40px;height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.drawer-close:focus-visible{outline:3px solid rgba(30,136,229,.35);outline-offset:2px;}
.drawer-body{padding:14px;overflow-y:auto;}
.drawer-nav{display:grid;gap:8px;}
.drawer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:44px;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:650;
  text-decoration:none;
  color:inherit;
  transition:background .2s ease,border-color .2s ease;
}
.drawer-link:hover{background:#f4f9ff;border-color:rgba(30,136,229,.4);}
.drawer-link:focus-visible{outline:3px solid rgba(30,136,229,.35);outline-offset:2px;}
.drawer-link.active{background:var(--primary-soft);border-color:rgba(30,136,229,.6);}

.drawer-cta{
  margin-top:16px;
  padding:14px;
  border-radius:var(--radius);
  background:var(--surface);
  border:1px solid var(--border);
}
.drawer-cta p{margin:0 0 10px;font-size:.95rem;color:var(--muted);}

/* Open state */
html.drawer-open,
html.drawer-open body{overflow:hidden;}
html.drawer-open .drawer-overlay{opacity:1;pointer-events:auto;}
html.drawer-open .drawer{transform:translateX(0);visibility:visible;}

/* Mobile slogan section */
.slogan-mobile-section{
  display:none;
  text-align:center;
  background:#24242a;
  font-weight:700;
  font-size:.95rem;
  max-height:fit-content;
}
@media (max-width:499px){
  .slogan{display:none;}
  .slogan-mobile-section{
    display:block;
    padding:6px;
    text-align:center;
  }
  .slogan-mobile-section .slogan-pill{
    display:inline;
    background:transparent;
    color:#fff;
    border:0;
    border-radius:0;
    padding:12px;
    justify-content:center;
  }
  /* FIXED invalid var(#hex) */
  .slogan-mobile-section .slogan-part-blue1{color:#13a7f1;}
  .slogan-mobile-section .slogan-part-green1{color:#1ffc1b;}
}

/* Small header tweaks */
@media (min-width:350px) and (max-width:499px){
  .topbar-actions .btn{
    min-height:30px;
    padding:.3rem .6rem;
    font-size:.7rem;
    border-radius:10px;
    max-width:125px;
    max-height:45px;
  }
}
@media (min-width:500px) and (max-width:554px){
  .topbar-actions .btn{
    min-height:30px;
    padding:.3rem .6rem;
    font-size:.7rem;
    border-radius:10px;
    max-width:65px;
    max-height:45px;
  }
}
@media (min-width:555px) and (max-width:767px){
  .topbar-actions .btn{
    min-height:30px;
    padding:.3rem .6rem;
    font-size:.7rem;
    border-radius:10px;
    max-width:125px;
    max-height:45px;
  }
}
@media (min-width:768px) and (max-width:782px){
  .topbar-actions .btn{
    min-height:30px;
    padding:.3rem .6rem;
    font-size:.9rem;
    border-radius:10px;
    max-width:125px;
    max-height:45px;
  }
}
@media (min-width:768px){
  .slogan-mobile-text{display:none;}
  .slogan-desktop-text{display:inline;}
}
@media (min-width:500px) and (max-width:767px){
  .site-logo{height:65px;}
  .slogan-mobile-text{display:none;}
  .slogan-desktop-text{display:inline;font-size:.75rem;font-weight:660;}
}
@media (min-width:350px) and (max-width:767px){
  .topbar{height:70px;backdrop-filter:blur(12px);}
  .topbar-inner{height:70px;}
  .menu-btn{min-width:20px;min-height:20px;width:38px;height:48px;border-radius:12px;}
  .menu-icon{width:16px;height:12px;}
  .company{gap:0;margin:auto;}
  .topbar-actions{gap:0;}
  .lefts-cluster{gap:6px;margin-left:0;}
  .site-title{height:60px;width:auto;padding:0;}
  .site-logo{height:50px;width:auto;padding:0;}
}
@media (max-width:349px){
  .topbar{height:70px;backdrop-filter:blur(12px);}
  .topbar-inner{height:70px;}
  .menu-btn{min-width:20px;min-height:20px;width:28px;height:48px;border-radius:12px;}
  .menu-icon{width:12px;height:10px;}
  .company{gap:0;margin:auto;}
  .topbar-actions{gap:0;}
  .topbar-actions .btn{
    min-height:30px;
    min-width:50px;
    padding:.3rem .6rem;
    font-size:.7rem;
    border-radius:10px;
    max-width:65px;
    max-height:45px;
  }
  .lefts-cluster{gap:3px;margin-left:0;}
  .site-title{height:50px;width:auto;padding:0;}
  .site-logo{height:40px;width:auto;padding:0;}
}

/* Contact form section */
.feature-section-inner,
.feature-sectioninner{
  position:relative;
  margin-top:0;
}
.form-subtitle{
  font-size:1.05rem;
  text-align:center;
  font-weight:600;
  color:var(--text);
  margin:.25rem 0 0;
}

/* GoHighLevel embed + skeleton */
.ghl-form-wrapper{
  width:100%;
  max-width:720px;
  margin:2.5rem auto 0;
  padding:0;
  background:transparent;
  border-radius:12px;
  contain:layout size;
  min-height:656px;
  aspect-ratio:720/656;
  position:relative;
}
.ghl-form-wrapper.loading{background:#f5f7fa;}
.ghl-form-wrapper iframe{
  width:100%;
  height:656px;
  border:none;
  display:block;
  background:transparent;
  will-change:contents;
}

.form-skeleton{
  position:absolute;
  top:0;left:0;
  width:100%;
  height:100%;
  background:#f5f7fa;
  border-radius:12px;
  padding:2rem;
  pointer-events:none;
}
.form-skeleton::before,
.form-skeleton::after{
  content:"";
  position:absolute;
  left:2rem;
  right:2rem;
  height:16px;
  background:linear-gradient(90deg,#e0e4e8 0%,#f0f2f5 50%,#e0e4e8 100%);
  background-size:200% 100%;
  border-radius:8px;
  animation:skeleton-shimmer 1.5s ease-in-out infinite;
}
.form-skeleton::before{top:2rem;width:60%;}
.form-skeleton::after{top:5rem;width:100%;height:48px;}

@keyframes skeleton-shimmer{
  0%{background-position:-200% 0;}
  100%{background-position:200% 0;}
}

.form-skeleton .skeleton-field{
  position:absolute;
  left:2rem;
  right:2rem;
  height:48px;
  background:linear-gradient(90deg,#e0e4e8 0%,#f0f2f5 50%,#e0e4e8 100%);
  background-size:200% 100%;
  border-radius:8px;
  animation:skeleton-shimmer 1.5s ease-in-out infinite;
}
.form-skeleton .skeleton-field:nth-child(1){top:9rem;}
.form-skeleton .skeleton-field:nth-child(2){top:13rem;}
.form-skeleton .skeleton-field:nth-child(3){top:17rem;width:48%;}
.form-skeleton .skeleton-field:nth-child(4){top:17rem;right:2rem;left:auto;width:48%;}
.form-skeleton .skeleton-field:nth-child(5){top:21rem;height:120px;}

@media (max-width:768px){
  .ghl-form-wrapper{
    max-width:100%;
    margin-top:2rem;
    min-height:720px;
    aspect-ratio:auto;
  }
  .ghl-form-wrapper iframe{height:720px;}
}
@media (max-width:480px){
  .ghl-form-wrapper{min-height:800px;}
  .ghl-form-wrapper iframe{height:800px;}
}

/* Footer */
.footer{
  position:relative;
  padding:40px 0 60px;
  background:#fff;
  border-top:1px solid var(--borderf);
}
.footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:center;
  justify-items:center;
}
.footer__center{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-align:center;
  height:auto;
}
.footer__nav{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(auto, 1fr)); /* FIXED */
  gap:16px;
  align-items:center;
  justify-content:center;
}
.footer__brand .brand__mark{
  width:auto;
  height:50px;
  align-items:center;
  color:#000;
}
.footer__links{
  display:inline-flex;
  gap:22px;
  flex-wrap:wrap;
  color:#0c2a54;
  font-size:18px;
  font-weight:600;
}
.footer__note{
  text-align:center;
  margin-bottom:18px;
  color:#040510;
  font-size:16px;
  font-weight:550;
}
@media (min-width:768px){
  .footer__links{margin-bottom:30px;}
}
@media (max-width:767px){
  .footer__brand .brand__mark{height:25px;}
  .footer__links{font-size:12px;gap:8px;}
  .footer__note{font-size:14px;}
}
