/* /styles.css */

:root{
  /* replace with colors from your attached image if needed */
  --brand:#0b2a5b;
  --accent:#f5b400;
  --accent2:#2c79b9;

  --bg:#ffffff;
  --text:#111827;
  --muted:#374151;
  --border:#e5e7eb;
  --panel:#f9fafb;
  --shadow:0 10px 30px rgba(0,0,0,.10);
  --r:14px;
  --max:1200px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-size:18px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
  overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:var(--brand)}
a:hover{text-decoration:underline}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);border:0;
}

/* floating phone */
.floating-phone{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:9999;
}
.floating-phone__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-weight:900;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.18);
}
.floating-phone__link:hover{opacity:.95;text-decoration:none;color:#fff}

/* header */
.site-header{
  border-bottom:1px solid var(--border);
  background:#fff;
}

.header-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:14px;
  display:grid;
  grid-template-columns:250px 1fr;
  gap:16px;
  align-items:start;
}

.brand__logo{
  width:250px;
  height:250px;
  object-fit:contain;
}

.header-right{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}

/* top row: burger + nav */
.header-top{
  width:100%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
}

/* burger */
.burger{
  display:none;
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.burger__bars{
  display:block;
  width:22px;height:2px;
  background:#111;
  position:relative;
}
.burger__bars:before,
.burger__bars:after{
  content:"";
  position:absolute;
  left:0;
  width:22px;height:2px;
  background:#111;
}
.burger__bars:before{top:-7px}
.burger__bars:after{top:7px}

/* nav + menu */
.nav{min-width:0}
.menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.item{position:relative}

.link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:#111;
  font-weight:800;
  background:transparent;
  white-space:nowrap;
}
.link:hover{
  background:var(--panel);
  border-color:var(--border);
  text-decoration:none;
}

/* dropdown */
.submenu{
  display:none;
  position:absolute;
  right:0;
  top:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px;
  min-width:240px;
  box-shadow:var(--shadow);
  z-index:50;
  max-width:min(92vw, 980px);
}

.sub-link{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  color:#111;
  font-weight:650;
}
.sub-link:hover{
  background:var(--panel);
  text-decoration:none;
}

/* desktop hover opens */
@media (min-width:901px){
  .item.has-sub:hover > .submenu{display:block}
}

/* chips panel */
.submenu-panel{padding:10px}
.subhead{
  font-weight:950;
  color:var(--muted);
  margin:6px 8px 10px;
  font-size:14px;
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0 6px 6px;
}
.chip{
  display:inline-flex;
  padding:7px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--panel);
  font-size:14px;
  font-weight:650;
  color:#111;
}
.chip:hover{background:#fff;text-decoration:none}

/* under row: social under menu, horizontal */
.header-under{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

.social{
  display:flex;
  flex-direction:row;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.social-btn{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--panel);
}
.social-btn:hover{background:#fff;text-decoration:none}
.social-btn svg{width:22px;height:22px;fill:var(--brand)}

/* click-to-call image on right */
.cta{
  display:flex;
  justify-content:flex-end;
  min-width:0;
}
.cta img{
  width:350px;
  height:120px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--panel);
  max-width:100%;
}

/* page layout */
.page{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 14px;
}

.layout{
  display:grid;
  grid-template-columns:1fr 25%;
  gap:16px;
  align-items:start;
}

.main{
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:16px;
  background:#fff;
  box-shadow:0 2px 14px rgba(0,0,0,.04);
  min-width:0;
}
.main h1{
  margin:0 0 12px;
  font-size:clamp(22px, 2.2vw, 34px);
  line-height:1.15;
  color:var(--brand);
}

.placeholder{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
  color:var(--muted);
}

.sidebar{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
}

.card{
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:14px;
  background:#fff;
  box-shadow:0 2px 14px rgba(0,0,0,.04);
}

.card__title{
  margin:0 0 10px;
  font-size:16px;
  font-weight:950;
  color:var(--brand);
}

.card__img{
  width:100%;
  height:auto;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--panel);
  margin:0 0 10px;
}

.search{
  display:flex;
  gap:8px;
}
.search input{
  flex:1;
  min-width:0;
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
}
.search button{
  padding:10px 12px;
  background:var(--brand);
  color:#fff;
  border-radius:10px;
  border:0;
  font-weight:900;
  cursor:pointer;
}
.search button:hover{opacity:.95}

.map{
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:var(--panel);
}
.map iframe{
  width:100%;
  height:220px;
  border:0;
  display:block;
}

.form{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:800;color:var(--muted);font-size:14px}
.form input,
.form textarea{
  padding:10px;
  border:1px solid var(--border);
  border-radius:10px;
}
.btn{
  padding:11px;
  background:var(--accent);
  border-radius:10px;
  border:0;
  font-weight:950;
  cursor:pointer;
}
.btn:hover{opacity:.95}

/* footer */
.site-footer{
  border-top:1px solid var(--border);
  background:#fff;
  margin-top:26px;
}
.footer-wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 14px;
  display:grid;
  gap:14px;
}
.footer-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r);
  padding:14px;
}
.footer-title{font-weight:950;margin-bottom:6px;color:var(--brand)}
.footer-text{color:var(--muted)}

.footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links a{
  display:inline-flex;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  color:#111;
  font-weight:850;
}
.footer-links a:hover{background:var(--panel);text-decoration:none}

.footer-bottom{
  padding-top:10px;
  border-top:1px solid var(--border);
  color:var(--muted);
}
.footer-bottom p{margin:0}

/* MOBILE */
@media (max-width:900px){

  /* center header on mobile */
  .header-wrap{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }

  .brand{justify-self:center}
  .brand__logo{width:min(180px, 60vw);height:auto}

  .header-right{
    width:100%;
    align-items:center;
  }

  .header-top{
    width:100%;
    justify-content:center;
  }

  .burger{
    display:block;
    margin:0 auto;
  }

  .nav{width:100%}

  .menu{
    display:none;
    flex-direction:column;
    width:100%;
    gap:8px;
    border:1px solid var(--border);
    border-radius:var(--r);
    padding:10px;
    background:#fff;
    box-shadow:0 2px 14px rgba(0,0,0,.04);
    text-align:left;
  }
  .nav.open .menu{display:flex}

  .link{
    width:100%;
    background:var(--panel);
    border-radius:10px;
    white-space:normal;
  }

  .submenu{
    position:static;
    box-shadow:none;
    margin-top:6px;
    width:100%;
    max-width:100%;
  }
  .item.open > .submenu{display:block}
  .submenu .submenu{margin-top:8px;border-left:3px solid var(--border)}

  /* social under menu, centered, horizontal */
  .header-under{
    align-items:center;
  }
  .social{
    justify-content:center;
  }

  .cta{
    justify-content:center;
    width:100%;
  }

  /* page becomes 1 column */
  .layout{
    grid-template-columns:1fr;
  }

  .cta img{
    width:100%;
    height:auto;
  }
}
