:root{
  --cloud:#F7FAFC;
  --ink:#1E2A38;
  --azure:#3E7CB1;
  --mist:#D6E4F0;
  --navy:#1E3A5F;
  --white:#FFFFFF;
}

*{
  box-sizing:border-box;
}

html{
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background-color:var(--cloud);
  color:var(--ink);
  font-family:"Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:16px;
  line-height:1.7;
}

img{
  max-width:100%;
}

a{
  color:var(--azure);
}

h1,h2,h3,h4{
  color:var(--navy);
  line-height:1.25;
  margin:0 0 12px;
}

/* ============ PIN NAVIGATION ============ */
.pin-nav{
  position:sticky;
  top:0;
  z-index:100;
  background-color:var(--cloud);
  border-bottom:1px solid var(--azure);
}

.pin-nav.scrolled{
  border-bottom-width:3px;
}

.pin-nav-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.pin-brand{
  font-size:22px;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--navy);
  text-decoration:none;
}

.pin-links{
  display:flex;
  align-items:center;
  gap:26px;
}

.pin-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  padding:4px 0;
  border-bottom:2px solid transparent;
  transition:color .2s ease, border-color .2s ease;
}

.pin-link:hover{
  color:var(--azure);
}

.pin-link.active{
  border-bottom-color:var(--azure);
}

.pin-dot{
  display:inline-block;
  width:11px;
  height:11px;
  background-color:var(--azure);
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px 4px;
}

.nav-toggle span{
  display:block;
  width:24px;
  height:3px;
  background-color:var(--navy);
  border-radius:2px;
}

/* ============ HORIZON HERO ============ */
.horizon-hero{
  background-color:var(--mist);
}

.horizon-hero-inner{
  max-width:1200px;
  margin:0 auto;
  padding:84px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:56px;
}

.horizon-hero-copy{
  flex:1 1 62%;
}

.horizon-hero-art{
  flex:1 1 38%;
  display:flex;
  justify-content:center;
  align-items:center;
}

.eyebrow{
  display:inline-block;
  background-color:var(--azure);
  color:var(--white);
  font-weight:700;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
}

.hero-title{
  font-size:48px;
  font-weight:800;
  color:var(--navy);
  margin:22px 0 18px;
}

.hero-sub{
  font-size:18px;
  color:var(--ink);
  max-width:620px;
  margin:0 0 26px;
}

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

.horizon-graphic{
  position:relative;
  width:220px;
  height:150px;
}

.horizon-bar{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:20px;
  width:130px;
  height:14px;
  background-color:var(--azure);
  border-radius:999px;
}

.horizon-sun{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:34px;
  width:40px;
  height:40px;
  background-color:var(--azure);
  border-radius:50%;
}

.horizon-bird{
  position:absolute;
  width:0;
  height:0;
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  border-bottom:12px solid var(--white);
}

.bird-a{
  right:26px;
  bottom:80px;
  transform:rotate(-14deg);
}

.bird-b{
  left:14px;
  bottom:96px;
  transform:rotate(10deg);
}

/* ============ BUTTONS ============ */
.btn-primary{
  display:inline-block;
  background-color:var(--azure);
  color:var(--white);
  font-weight:700;
  font-size:16px;
  padding:14px 28px;
  border-radius:8px;
  border:2px solid var(--azure);
  text-decoration:none;
  transition:background-color .2s ease, border-color .2s ease;
}

.btn-primary:hover{
  background-color:var(--navy);
  border-color:var(--navy);
}

.btn-outline{
  display:inline-block;
  background-color:transparent;
  color:var(--navy);
  font-weight:700;
  font-size:16px;
  padding:14px 28px;
  border-radius:8px;
  border:2px solid var(--navy);
  text-decoration:none;
  transition:background-color .2s ease, color .2s ease;
}

.btn-outline:hover{
  background-color:var(--navy);
  color:var(--white);
}

.btn-navy{
  display:inline-block;
  background-color:var(--navy);
  color:var(--white);
  font-weight:700;
  font-size:16px;
  padding:14px 30px;
  border-radius:8px;
  border:2px solid var(--navy);
  text-decoration:none;
  transition:background-color .2s ease, border-color .2s ease;
}

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

/* ============ GENERIC SECTIONS ============ */
.section{
  padding:84px 24px;
}

.container{
  max-width:1200px;
  margin:0 auto;
}

.kicker{
  display:block;
  color:var(--navy);
  font-weight:800;
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.section-title{
  color:var(--navy);
  font-size:34px;
  font-weight:800;
  margin:0 0 14px;
}

.section-lead{
  color:var(--ink);
  font-size:18px;
  max-width:760px;
  margin:0;
}

/* ============ SERVICE COLUMNS ============ */
.service-columns{
  background-color:var(--cloud);
}

.columns-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
  margin-top:44px;
}

.service-card{
  background-color:var(--white);
  border-top:5px solid var(--azure);
  border-radius:10px;
  border-left:1px solid var(--mist);
  border-right:1px solid var(--mist);
  border-bottom:1px solid var(--mist);
  padding:34px 30px;
  display:flex;
  flex-direction:column;
}

.service-card-number{
  color:var(--azure);
  font-weight:800;
  font-size:18px;
  letter-spacing:.1em;
}

.service-card-title{
  color:var(--navy);
  font-size:22px;
  font-weight:800;
  margin:10px 0 12px;
}

.service-card p{
  margin:0;
  color:var(--ink);
}

/* ============ METRIC STRIP ============ */
.metric-strip{
  background-color:var(--cloud);
  border-top:1px solid var(--mist);
  border-bottom:1px solid var(--mist);
}

.metrics-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  margin-top:40px;
}

.metric{
  text-align:center;
  padding:26px 20px;
}

.metric + .metric{
  border-left:1px solid var(--mist);
}

.metric-num{
  color:var(--azure);
  font-size:46px;
  font-weight:800;
  line-height:1.1;
}

.metric-label{
  color:var(--navy);
  font-weight:700;
  font-size:15px;
  margin-top:6px;
}

/* ============ QUOTE PANEL ============ */
.quote-panel{
  background-color:var(--cloud);
}

.quote-inner{
  border:1px solid var(--azure);
  border-radius:12px;
  background-color:var(--white);
  padding:60px 40px;
  text-align:center;
  margin:0;
}

.quote-text{
  font-size:36px;
  line-height:1.3;
  font-weight:700;
  color:var(--navy);
  margin:0;
}

/* ============ CTA BAND ============ */
.cta-band{
  background-color:var(--azure);
}

.cta-inner{
  max-width:1200px;
  margin:0 auto;
  padding:84px 24px;
  text-align:center;
}

.cta-title{
  color:var(--navy);
  font-size:36px;
  font-weight:800;
  margin:0 0 14px;
}

.cta-sub{
  color:var(--navy);
  font-size:18px;
  max-width:640px;
  margin:0 auto 28px;
}

/* ============ BREAKWATER FOOTER ============ */
.breakwater-footer{
  background-color:var(--mist);
}

.footer-row1{
  max-width:1200px;
  margin:0 auto;
  padding:26px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
  border-bottom:1px solid var(--azure);
}

.footer-brand-block{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.footer-brand{
  font-size:20px;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--navy);
}

.footer-company{
  color:var(--navy);
  font-size:14px;
}

.footer-links{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.footer-link{
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
  font-size:15px;
}

.footer-link:hover{
  text-decoration:underline;
}

.footer-row2{
  max-width:1200px;
  margin:0 auto;
  padding:18px 24px 20px;
  text-align:center;
  color:var(--navy);
  font-size:14px;
}

.footer-row2 a{
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
}

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

/* ============ SECONDARY PAGE BANNER ============ */
.page-banner{
  background-color:var(--mist);
}

.page-banner-inner{
  max-width:1200px;
  margin:0 auto;
  padding:68px 24px;
}

.page-title{
  color:var(--navy);
  font-size:42px;
  font-weight:800;
  margin:16px 0 12px;
}

.page-sub{
  color:var(--ink);
  font-size:18px;
  max-width:760px;
  margin:0;
}

/* ============ SERVICES PAGE ============ */
.service-blocks{
  padding:72px 24px;
  background-color:var(--cloud);
}

.service-block{
  display:flex;
  gap:24px;
  align-items:flex-start;
  padding:34px 0;
  border-bottom:1px solid var(--mist);
}

.service-block:first-child{
  border-top:1px solid var(--mist);
}

.service-num{
  flex:0 0 64px;
  color:var(--azure);
  font-weight:800;
  font-size:20px;
  letter-spacing:.1em;
}

.service-body h2{
  color:var(--navy);
  font-size:26px;
  font-weight:800;
  margin:0 0 10px;
}

.service-body p{
  margin:0 0 12px;
  color:var(--ink);
}

.service-body p:last-child{
  margin-bottom:0;
}

.process-section{
  padding:72px 24px;
  background-color:var(--white);
  border-top:1px solid var(--mist);
}

.process-steps{
  list-style:none;
  margin:36px 0 0;
  padding:0;
  border-top:1px solid var(--mist);
}

.process-step{
  display:flex;
  gap:24px;
  align-items:flex-start;
  padding:22px 0;
  border-bottom:1px solid var(--mist);
}

.process-num{
  flex:0 0 48px;
  color:var(--azure);
  font-weight:800;
  font-size:18px;
  letter-spacing:.08em;
}

.process-body h3{
  color:var(--navy);
  font-size:20px;
  font-weight:800;
  margin:0 0 6px;
}

.process-body p{
  margin:0;
  color:var(--ink);
}

/* ============ CONTACT PAGE ============ */
.contact-section{
  padding:72px 24px;
  background-color:var(--cloud);
}

.contact-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:40px;
  align-items:start;
}

.contact-form{
  background-color:var(--white);
  border:1px solid var(--mist);
  border-top:4px solid var(--azure);
  border-radius:10px;
  padding:32px;
}

.form-field{
  margin-bottom:18px;
}

.form-label{
  display:block;
  color:var(--navy);
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
}

.form-input,
.form-textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--mist);
  border-radius:8px;
  background-color:var(--cloud);
  color:var(--ink);
  font-family:inherit;
  font-size:16px;
}

.form-input:focus,
.form-textarea:focus{
  border-color:var(--azure);
  outline:none;
  background-color:var(--white);
}

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

.form-status{
  margin-top:14px;
  font-weight:600;
  font-size:15px;
  min-height:24px;
}

.form-status.ok{
  color:#1B7A3D;
}

.form-status.err{
  color:#B3261E;
}

.contact-info{
  background-color:var(--mist);
  border-radius:10px;
  padding:30px;
}

.info-item{
  padding:16px 0;
  border-bottom:1px solid var(--azure);
}

.info-item:first-child{
  padding-top:0;
}

.info-item:last-child{
  border-bottom:none;
}

.info-label{
  display:block;
  color:var(--navy);
  font-weight:800;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  margin-bottom:4px;
}

.info-value{
  color:var(--ink);
  font-weight:600;
  font-size:16px;
}

.info-value a{
  color:var(--navy);
  text-decoration:none;
}

.info-value a:hover{
  text-decoration:underline;
}

.faq-section{
  padding:72px 24px;
  background-color:var(--white);
  border-top:1px solid var(--mist);
}

.faq-list{
  max-width:820px;
  margin:32px 0 0;
}

.faq-item{
  background-color:var(--cloud);
  border:1px solid var(--mist);
  border-radius:8px;
  margin-bottom:14px;
}

.faq-q{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:16px 20px;
  cursor:pointer;
  color:var(--navy);
  font-weight:800;
  font-size:17px;
}

.faq-q::after{
  content:"+";
  color:var(--azure);
  font-size:24px;
  line-height:1;
  flex:0 0 auto;
}

.faq-item.open .faq-q::after{
  content:"\2212";
}

.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  padding:0 20px;
  color:var(--ink);
}

.faq-item.open .faq-a{
  max-height:220px;
  padding:0 20px 16px;
}

/* ============ SCROLL REVEAL ============ */
.fade-up{
  opacity:1;
  transform:none;
}

html.js .fade-up{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s ease, transform .7s ease;
}

html.js .fade-up.visible{
  opacity:1;
  transform:none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px){

  .nav-toggle{
    display:flex;
  }

  .pin-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    background-color:var(--cloud);
    border-bottom:3px solid var(--azure);
    padding:8px 24px 14px;
  }

  .pin-links.open{
    display:flex;
  }

  .pin-link{
    padding:12px 0;
    width:100%;
    border-bottom:1px solid var(--mist);
    border-bottom-color:var(--mist);
    border-bottom-width:1px;
  }

  .pin-link.active{
    border-bottom-color:var(--azure);
    border-bottom-width:2px;
  }

  .horizon-hero-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:64px 24px;
  }

  .horizon-hero-art{
    justify-content:flex-start;
    width:100%;
    margin-top:8px;
  }

  .hero-title{
    font-size:38px;
  }

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

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

  .metric:nth-child(3){
    border-left:none;
  }

  .quote-text{
    font-size:28px;
  }

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

  .service-block{
    flex-direction:column;
    gap:10px;
  }

  .process-step{
    flex-direction:column;
    gap:8px;
  }

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

  .footer-links{
    gap:16px;
  }
}

@media (max-width: 560px){
  .metrics-grid{
    grid-template-columns:1fr;
  }

  .metric + .metric{
    border-left:none;
    border-top:1px solid var(--mist);
  }
}
