﻿:root{
  --navy:#082f4c;
  --navy-deep:#05263d;
  --blue:#0d5a96;
  --blue-soft:#eaf2f8;
  --green:#5f9f48;
  --green-dark:#447d32;
  --green-soft:#eef7ea;
  --ink:#10283a;
  --muted:#6d7c86;
  --line:#dfe7eb;
  --surface:#ffffff;
  --surface-soft:#f5f8fa;
  --shadow:0 18px 48px rgba(11,47,73,.09);
  --shadow-sm:0 10px 28px rgba(11,47,73,.07);
  --radius:18px;
  --content:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}

.container{
  width:min(var(--content),calc(100% - 48px));
  margin:0 auto;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(16,40,58,.07);
}

.nav-wrap{
  width:min(var(--content),calc(100% - 48px));
  min-height:94px;
  margin:0 auto;
  display:grid;
  grid-template-columns:250px 1fr 190px;
  align-items:center;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  min-width:0;
}

.brand img{
  width:190px;
  height:78px;
  object-fit:contain;
  object-position:left center;
  background:transparent;
}

nav{
  display:flex;
  justify-content:center;
  gap:34px;
  font-size:14px;
  font-weight:750;
}

nav a{
  position:relative;
  padding:36px 2px 31px;
  color:#263d4d;
}

nav a::after{
  content:"";
  position:absolute;
  left:50%;
  right:50%;
  bottom:22px;
  height:2px;
  background:var(--blue);
  transition:.18s ease;
}

nav a:hover::after,
nav a.active::after{
  left:0;
  right:0;
}

.menu-toggle{
  display:none;
  border:0;
  background:none;
  font-size:26px;
  color:var(--navy);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 24px;
  border-radius:12px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}

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

.btn-green{
  background:linear-gradient(135deg,#5f9f48,#78b45e);
  color:#fff;
  box-shadow:0 10px 24px rgba(95,159,72,.22);
}

.btn-green:hover{
  background:linear-gradient(135deg,#548f3e,#69a751);
  box-shadow:0 14px 30px rgba(95,159,72,.28);
}

.btn-blue{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 24px rgba(13,90,150,.18);
}

.btn-outline{
  color:#fff;
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.52);
  backdrop-filter:blur(6px);
}

.nav-quote{
  justify-self:end;
  min-height:46px;
  padding:0 20px;
  font-size:13px;
}

/* HERO */
.hero{
  position:relative;
  min-height:650px;
  overflow:hidden;
  background:var(--navy-deep);
}

.hero-image{
  position:absolute;
  inset:0;
  background-image:url("assets/huddig-hero-wide.jpg");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  transform:scale(1.005);
}

.hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(4,29,47,.97) 0%,
      rgba(4,29,47,.90) 25%,
      rgba(4,29,47,.67) 43%,
      rgba(4,29,47,.29) 62%,
      rgba(4,29,47,.07) 79%,
      rgba(4,29,47,0) 100%
    );
}

.hero-content{
  position:relative;
  z-index:2;
  padding:96px 0 72px;
  color:#fff;
}

.eyebrow{
  margin-bottom:10px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  color:#667b8b;
}

.eyebrow.light{color:#d5e2ea}

.hero h1{
  max-width:640px;
  margin:0 0 22px;
  font-size:64px;
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:850;
}

.hero h1 span,
.section h2 span{
  color:#82bd66;
}

.hero p{
  max-width:560px;
  margin:0 0 28px;
  color:#e4edf2;
  font-size:17px;
  line-height:1.65;
}

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

.hero-points{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  margin-top:34px;
  color:#f2f7f9;
  font-size:13px;
  font-weight:750;
}

.hero-points span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.hero-note{
  position:absolute;
  right:7%;
  bottom:46px;
  z-index:3;
  color:#fff;
  font-size:24px;
  font-family:"Segoe Script","Bradley Hand",cursive;
  line-height:1.12;
  text-align:center;
  transform:rotate(-4deg);
  text-shadow:0 5px 16px rgba(0,0,0,.38);
}

.hero-note::after{
  content:"";
  display:block;
  width:92px;
  height:3px;
  margin:12px auto 0;
  background:#b8d97f;
  border-radius:99px;
  transform:rotate(-5deg);
}

/* SECTIONS */
.section{
  padding:84px 0;
}

.section-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}

.section h2{
  margin:0;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.text-link{
  color:var(--blue);
  font-size:14px;
  font-weight:850;
}

/* SERVICES */
.services{
  background:#fff;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.service-card{
  position:relative;
  overflow:hidden;
  border:1px solid #e5ebee;
  border-radius:16px;
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.service-card:hover{
  transform:translateY(-5px);
  border-color:#d6e2e8;
  box-shadow:var(--shadow);
}

.service-card>img{
  width:100%;
  height:170px;
  object-fit:cover;
}

.service-icon{
  position:absolute;
  left:20px;
  top:143px;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:1px solid #e3e9ed;
  border-radius:50%;
  background:#fff;
  color:var(--blue);
  font-size:22px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(16,40,58,.13);
}

.service-body{
  padding:42px 22px 24px;
}

.service-body h3{
  margin:0 0 9px;
  font-size:19px;
  line-height:1.2;
}

.service-body p{
  min-height:68px;
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
}

.service-body a{
  color:var(--blue);
  font-size:21px;
  font-weight:900;
}

/* ABOUT */
.about{
  background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%);
  border-top:1px solid #edf1f3;
  border-bottom:1px solid #edf1f3;
}

.about-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:center;
}

.about-copy p{
  color:#536673;
  font-size:16px;
}

.about-copy .btn{margin-top:8px}

.about-visual{
  position:relative;
  min-height:370px;
  overflow:hidden;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.about-visual img{
  width:100%;
  height:370px;
  object-fit:cover;
  object-position:center 50%;
}

.quote-card{
  position:absolute;
  left:26px;
  top:26px;
  max-width:230px;
  padding:24px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(7,48,76,.84);
  color:#fff;
  font-size:18px;
  font-weight:800;
  line-height:1.42;
  backdrop-filter:blur(8px);
}

.quote-card::after{
  content:"";
  display:block;
  width:48px;
  height:3px;
  margin-top:16px;
  border-radius:99px;
  background:#a4ca70;
}

/* WHY */
.why{
  background:linear-gradient(180deg,#f4f8fa 0%,#eef4f7 100%);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:28px;
}

.why article{
  padding:25px;
  border:1px solid rgba(16,40,58,.06);
  border-radius:16px;
  background:#fff;
  box-shadow:0 12px 34px rgba(16,40,58,.055);
}

.why-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:22px;
}

.why h3{
  margin:15px 0 7px;
  font-size:17px;
}

.why p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* CONTACT */
.contact-section{
  position:relative;
  overflow:hidden;
  padding:86px 0;
  color:#fff;
  background:
    linear-gradient(100deg,#062f50 0%,#0b4a75 72%,#0a4369 100%);
}

.contact-backdrop{
  position:absolute;
  right:-4%;
  bottom:-14%;
  width:58%;
  height:125%;
  background:url("assets/huddig-work.jpg") center/cover no-repeat;
  opacity:.14;
  filter:grayscale(.7);
}

.contact-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:76px;
  align-items:center;
}

.contact-copy h2{
  margin:0 0 14px;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.03em;
}

.contact-copy>p{
  max-width:540px;
  color:#d9e6ed;
}

.contact-info{
  display:grid;
  gap:16px;
  margin-top:30px;
}

.contact-info>div{
  display:flex;
  align-items:center;
  gap:14px;
}

.contact-info p{margin:0}

.round-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#5f9f48,#74b25a);
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.13);
}

.quote-form{
  padding:28px;
  border-radius:18px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 24px 60px rgba(0,0,0,.22);
}

.quote-form h3{
  margin:0 0 20px;
  font-size:21px;
}

.quote-form label{
  display:grid;
  gap:6px;
  margin-bottom:13px;
  font-size:12px;
  font-weight:800;
}

.form-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.quote-form input,
.quote-form textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #d8e1e6;
  border-radius:9px;
  outline:none;
  color:var(--ink);
  background:#fbfcfd;
  transition:border .16s ease,box-shadow .16s ease;
}

.quote-form input:focus,
.quote-form textarea:focus{
  border-color:#8cb8d5;
  box-shadow:0 0 0 3px rgba(13,90,150,.09);
}

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

.form-submit{
  width:100%;
  margin-top:3px;
}

.form-submit:disabled{
  opacity:.65;
  cursor:wait;
  transform:none;
}

.form-status{
  min-height:20px;
  margin:10px 0 0;
  color:#3f7b35;
  font-size:13px;
  font-weight:700;
}

/* FOOTER */
footer{
  padding:42px 0;
  background:#032640;
  color:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns:230px 1fr 1fr;
  gap:48px;
  align-items:start;
}

.footer-brand img{
  width:190px;
  height:105px;
  object-fit:contain;
  object-position:left center;
  background:transparent;
}

footer p{
  color:#c8d7e0;
  font-size:13px;
}

.footer-nav{
  display:grid;
  grid-template-columns:repeat(4,auto);
  justify-content:end;
  gap:14px 24px;
  font-size:13px;
}

.footer-nav small{
  grid-column:1/-1;
  margin-top:7px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.14);
  color:#91a8b7;
}

.hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* TABLET */
@media(max-width:1000px){
  .nav-wrap{
    grid-template-columns:210px 1fr 170px;
  }
  .brand img{
    width:165px;
    height:72px;
  }
  nav{gap:22px}
  .hero h1{font-size:54px}
  .service-grid,
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .about-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }
  .about-visual{order:-1}
  .contact-grid{gap:38px}
}

/* MOBILE */
@media(max-width:700px){
  .container,
  .nav-wrap{
    width:min(100% - 28px,var(--content));
  }

  .nav-wrap{
    min-height:76px;
    grid-template-columns:1fr auto;
  }

  .brand img{
    width:142px;
    height:62px;
  }

  .menu-toggle{
    display:block;
    justify-self:end;
  }

  nav{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    flex-direction:column;
    gap:0;
    padding:14px 20px 20px;
    background:#fff;
    box-shadow:0 16px 30px rgba(16,40,58,.12);
  }

  nav.open{display:flex}
  nav a{padding:12px 0}
  nav a::after{bottom:6px}

  .nav-quote{display:none}

  .hero{
    min-height:620px;
  }

  .hero-image{
    background-size:auto 100%;
    background-position:62% center;
    background-color:var(--navy-deep);
  }

  .hero-shade{
    background:linear-gradient(
      90deg,
      rgba(4,29,47,.96) 0%,
      rgba(4,29,47,.82) 58%,
      rgba(4,29,47,.36) 100%
    );
  }

  .hero-content{
    padding:68px 0 48px;
  }

  .hero h1{
    max-width:480px;
    font-size:43px;
  }

  .hero p{
    max-width:95%;
    font-size:15px;
  }

  .hero-note{display:none}

  .hero-points{
    gap:12px 18px;
  }

  .section{
    padding:56px 0;
  }

  .section-top{
    align-items:flex-start;
  }

  .section h2,
  .contact-copy h2{
    font-size:31px;
  }

  .service-grid,
  .why-grid{
    grid-template-columns:1fr;
  }

  .service-card>img{
    height:190px;
  }

  .service-icon{
    top:163px;
  }

  .service-body p{min-height:0}

  .about-grid{gap:28px}

  .about-visual,
  .about-visual img{
    min-height:300px;
    height:300px;
  }

  .quote-card{
    max-width:190px;
    padding:18px;
    font-size:15px;
  }

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

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

  .footer-nav{
    justify-content:start;
    grid-template-columns:repeat(2,auto);
  }
}
