/* =========================================================
   PURE PANEL PROS — COMPLETE SITE STYLESHEET
   Replace your current assets/css/styles.css with this file.
   ========================================================= */

:root{
  --navy:#10233f;
  --navy-2:#17385f;
  --blue:#1d6fb8;
  --blue-dark:#14558f;
  --sky:#eaf5fc;
  --gold:#f4b942;
  --green:#2f855a;
  --white:#ffffff;
  --off-white:#f8fafc;
  --light:#eef3f7;
  --text:#243447;
  --muted:#5f6f7f;
  --border:#dbe4ec;
  --shadow:0 12px 30px rgba(16,35,63,.10);
  --radius:16px;
  --container:1180px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

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

/* =========================
   HEADER
   ========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 12px rgba(16,35,63,.06);
  backdrop-filter:blur(8px);
}

.header-inner{
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 330px;
  width:330px;
  max-width:330px;
}

.brand img{
  display:block;
  width:330px !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
  object-position:left center;
}

.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  font-size:.96rem;
  font-weight:700;
  color:var(--navy);
}

.main-nav a{
  position:relative;
  white-space:nowrap;
}

.main-nav a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-7px;
  height:2px;
  background:var(--blue);
  transition:right .2s ease;
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after{
  right:0;
}

.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  color:var(--white);
  background:var(--blue);
  border-radius:999px;
  box-shadow:0 8px 18px rgba(29,111,184,.20);
}

.nav-cta:hover{
  background:var(--blue-dark);
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--white);
  cursor:pointer;
}

.menu-toggle span{
  display:block;
  width:100%;
  height:3px;
  margin:5px 0;
  border-radius:99px;
  background:var(--navy);
}

/* =========================
   HERO
   ========================= */

.hero{
  min-height:590px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  color:var(--white);
  background:
    linear-gradient(90deg, rgba(9,29,52,.94) 0%, rgba(9,29,52,.78) 48%, rgba(9,29,52,.40) 100%),
    url("../images/after.webp") center/cover no-repeat;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto -120px -170px auto;
  width:480px;
  height:480px;
  border-radius:50%;
  background:rgba(244,185,66,.12);
}

.hero-content{
  position:relative;
  z-index:1;
  padding-block:95px;
}

.hero-content > *{
  max-width:720px;
}

.eyebrow{
  margin-bottom:12px;
  color:var(--blue);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero .eyebrow{
  color:#a8d8ff;
}

.hero h1{
  margin:0 0 20px;
  max-width:820px;
  font-size:clamp(2.6rem, 6vw, 5rem);
  line-height:1.02;
  letter-spacing:-.04em;
}

.hero p{
  margin:0 0 30px;
  max-width:690px;
  font-size:1.2rem;
  color:rgba(255,255,255,.90);
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border:2px solid transparent;
  border-radius:999px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  color:var(--white);
  background:var(--blue);
}

.btn-primary:hover{
  background:var(--blue-dark);
}

.btn-secondary{
  color:var(--navy);
  background:var(--white);
  border-color:var(--border);
}

.hero .btn-secondary,
.quote-band .btn-secondary{
  color:var(--white);
  background:transparent;
  border-color:rgba(255,255,255,.55);
}

.hero .btn-secondary:hover,
.quote-band .btn-secondary:hover{
  background:rgba(255,255,255,.10);
}

/* =========================
   TRUST STRIP
   ========================= */

.trust-strip{
  position:relative;
  z-index:3;
  background:var(--white);
  border-bottom:1px solid var(--border);
  box-shadow:0 10px 24px rgba(16,35,63,.05);
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.trust-item{
  min-height:102px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:20px 16px;
  text-align:center;
  font-weight:800;
  color:var(--navy);
  border-right:1px solid var(--border);
}

.trust-item:last-child{
  border-right:0;
}

.icon-circle{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--sky);
}

.icon-circle img{
  width:23px;
  height:23px;
  object-fit:contain;
}

/* =========================
   GENERAL SECTIONS
   ========================= */

.section{
  padding:92px 0;
}

.section-light{
  background:var(--off-white);
}

.section-head{
  max-width:760px;
  margin:0 auto 42px;
  text-align:center;
}

.section-head h2,
.split h2,
.quote-band h2{
  margin:0 0 16px;
  color:var(--navy);
  font-size:clamp(2rem, 4vw, 3.25rem);
  line-height:1.12;
  letter-spacing:-.03em;
}

.section-head p,
.split p{
  margin:0;
  color:var(--muted);
  font-size:1.06rem;
}

/* =========================
   CARDS
   ========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.card-media{
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--light);
}

.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.card:hover .card-media img{
  transform:scale(1.035);
}

.card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:26px;
}

.card h3{
  margin:0 0 10px;
  color:var(--navy);
  font-size:1.45rem;
}

.card p{
  margin:0 0 24px;
  color:var(--muted);
}

.card .btn{
  margin-top:auto;
}

/* =========================
   SPLIT SECTIONS
   ========================= */

.split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:58px;
}

.split.reverse > :first-child{
  order:2;
}

.split.reverse > :last-child{
  order:1;
}

.checklist{
  list-style:none;
  margin:26px 0 0;
  padding:0;
}

.checklist li{
  display:flex;
  align-items:center;
  gap:11px;
  margin:12px 0;
  color:var(--navy);
  font-weight:700;
}

.checklist img{
  width:22px;
  height:22px;
  object-fit:contain;
}

.before-after{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.ba-item{
  position:relative;
  overflow:hidden;
  min-height:360px;
  border-radius:var(--radius);
  background:var(--light);
  box-shadow:var(--shadow);
}

.ba-item img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}

.tag{
  position:absolute;
  z-index:2;
  top:14px;
  left:14px;
  padding:7px 13px;
  color:var(--white);
  background:rgba(16,35,63,.88);
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.photo-frame{
  overflow:hidden;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:var(--light);
}

.photo-frame img{
  width:100%;
  min-height:440px;
  object-fit:cover;
}

/* =========================
   QUOTE BAND
   ========================= */

.quote-band{
  padding:64px 0;
  color:var(--white);
  background:linear-gradient(135deg,var(--navy),var(--navy-2));
}

.quote-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.quote-band h2{
  color:var(--white);
  margin-bottom:8px;
}

.quote-band p{
  margin:0;
  color:rgba(255,255,255,.80);
}

/* =========================
   CITY GRID
   ========================= */

.city-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:900px;
  margin:0 auto;
}

.city-grid a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:12px 16px;
  color:var(--navy);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:12px;
  font-weight:800;
  text-align:center;
  box-shadow:0 7px 18px rgba(16,35,63,.05);
}

.city-grid a:hover{
  border-color:var(--blue);
  color:var(--blue);
}

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

.site-footer{
  padding:64px 0 0;
  color:rgba(255,255,255,.82);
  background:#0a182b;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr .75fr .85fr;
  gap:54px;
  padding-bottom:48px;
}

.footer-logo{
  width:260px;
  height:auto;
  margin-bottom:20px;
}

.site-footer p{
  max-width:520px;
  margin:0;
}

.site-footer h3{
  margin:0 0 14px;
  color:var(--white);
  font-size:1.05rem;
}

.site-footer a,
.site-footer span{
  display:block;
  margin:8px 0;
}

.site-footer a:hover{
  color:var(--white);
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-block:22px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.9rem;
}

.footer-bottom span,
.footer-bottom a{
  margin:0;
}

.mobile-call{
  display:none;
}

/* =========================
   COMMON INNER-PAGE ELEMENTS
   ========================= */

.page-hero{
  padding:92px 0;
  color:var(--white);
  background:linear-gradient(135deg,var(--navy),var(--navy-2));
}

.page-hero h1{
  margin:0 0 16px;
  font-size:clamp(2.4rem,5vw,4.5rem);
  line-height:1.05;
}

.page-hero p{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.84);
  font-size:1.15rem;
}

.content-wrap{
  max-width:850px;
  margin-inline:auto;
}

.content-wrap h2,
.content-wrap h3{
  color:var(--navy);
  line-height:1.2;
}

.content-wrap h2{
  margin-top:42px;
  font-size:2rem;
}

.content-wrap h3{
  margin-top:28px;
  font-size:1.35rem;
}

.content-wrap p,
.content-wrap li{
  color:var(--muted);
}

form{
  display:grid;
  gap:18px;
}

input,
textarea,
select{
  width:100%;
  padding:14px 16px;
  color:var(--text);
  background:var(--white);
  border:1px solid var(--border);
  border-radius:10px;
  outline:none;
}

textarea{
  min-height:150px;
  resize:vertical;
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(29,111,184,.13);
}

/* =========================
   TABLET
   ========================= */

@media (max-width:1050px){
  .header-inner{
    gap:18px;
  }

  .brand{
    flex-basis:280px;
    width:280px;
    max-width:280px;
  }

  .brand img{
    width:280px !important;
  }

  .main-nav{
    gap:14px;
    font-size:.9rem;
  }

  .cards{
    gap:18px;
  }

  .split{
    gap:38px;
  }
}

/* =========================
   MOBILE NAVIGATION
   ========================= */

@media (max-width:850px){
  body{
    padding-bottom:68px;
  }

  .header-inner{
    min-height:88px;
    position:relative;
  }

  .brand{
    flex:0 0 250px;
    width:250px;
    max-width:250px;
  }

  .brand img{
    width:250px !important;
    height:auto !important;
  }

  .menu-toggle{
    display:block;
    flex:0 0 46px;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:12px 20px 20px;
    background:var(--white);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    box-shadow:0 15px 30px rgba(16,35,63,.12);
  }

  .main-nav.open,
  .main-nav.active,
  .main-nav[data-open="true"]{
    display:flex;
  }

  .main-nav a{
    padding:14px 4px;
    border-bottom:1px solid var(--border);
  }

  .main-nav a:last-child{
    border-bottom:0;
  }

  .main-nav a::after{
    display:none;
  }

  .main-nav .nav-cta{
    margin-top:10px;
    padding:12px 18px;
    border:0;
  }

  .hero{
    min-height:560px;
    background-position:60% center;
  }

  .hero-content{
    padding-block:82px;
  }

  .trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .trust-item{
    border-bottom:1px solid var(--border);
  }

  .trust-item:nth-child(2){
    border-right:0;
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4){
    border-bottom:0;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .split,
  .split.reverse{
    grid-template-columns:1fr;
    gap:34px;
  }

  .split.reverse > :first-child,
  .split.reverse > :last-child{
    order:initial;
  }

  .quote-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .city-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-grid > div:first-child{
    grid-column:1/-1;
  }

  .mobile-call{
    display:flex;
    position:fixed;
    z-index:1200;
    left:12px;
    right:12px;
    bottom:10px;
    min-height:52px;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    color:var(--white);
    background:var(--blue);
    border-radius:999px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(16,35,63,.25);
  }
}

/* =========================
   SMALL PHONES
   ========================= */

@media (max-width:560px){
  .container{
    width:min(calc(100% - 28px), var(--container));
  }

  .section{
    padding:68px 0;
  }

  .header-inner{
    min-height:78px;
    gap:10px;
  }

  .brand{
    flex:0 1 215px;
    width:215px;
    max-width:215px;
  }

  .brand img{
    width:215px !important;
  }

  .hero{
    min-height:520px;
  }

  .hero h1{
    font-size:2.55rem;
  }

  .hero p{
    font-size:1.05rem;
  }

  .actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .trust-grid{
    grid-template-columns:1fr;
  }

  .trust-item{
    justify-content:flex-start;
    min-height:76px;
    border-right:0;
    border-bottom:1px solid var(--border) !important;
  }

  .trust-item:last-child{
    border-bottom:0 !important;
  }

  .before-after{
    grid-template-columns:1fr;
  }

  .ba-item,
  .ba-item img{
    min-height:300px;
  }

  .photo-frame img{
    min-height:320px;
  }

  .city-grid{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:34px;
  }

  .footer-grid > div:first-child{
    grid-column:auto;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-logo{
    width:230px;
  }
}
