/* ==================================================================
   DESIGN TOKENS / BRAND COLORS
   ================================================================== */

:root {
  --ink: #111b20;
  --ink2: #18252c;
  --blue: #16bce8;
  --blue2: #0ba8d4;
  --paper: #f7f8f6;
  --muted: #617078;
  --line: #dae1e3;
  --white: #fff;
}

/* ==================================================================
   GLOBAL RESET
   ================================================================== */

* {
  box-sizing: border-box;
}

/* ==================================================================
   BASE TYPOGRAPHY AND PAGE
   ================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans',sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* ==================================================================
   LINKS AND MEDIA
   ================================================================== */

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

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

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

/* ==================================================================
   LAYOUT CONTAINER
   ================================================================== */

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

/* ==================================================================
   TOP ANNOUNCEMENT BAR
   ================================================================== */

.topbar {
  background: #10191e;
  color: #d6e5eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 12px;
}

.topbar a {
  color: var(--blue);
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-right: 9px;
}

/* ==================================================================
   HEADER AND NAVIGATION
   ================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 3px 18px #0e171b13;
}

.nav-inner {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: .8;
  min-width: 165px;
}

.wordmark .mark-icon {
  font-family: Arial,sans-serif;
  font-size: 54px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.wordmark strong {
  display: block;
  font: 900 36px/.8 'Barlow Condensed',sans-serif;
  font-style: italic;
  letter-spacing: -.045em;
}

.wordmark em {
  display: block;
  color: #087ca7;
  font: 700 26px/.85 'Barlow Condensed',sans-serif;
  text-align: right;
  letter-spacing: .01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav>a {
  font-size: 12px;
  font-weight: 700;
  transition: color .2s;
}

.nav>a:hover {
  color: #048cb3;
}

.nav .nav-cta {
  background: var(--ink);
  color: white;
  padding: 17px 21px;
  letter-spacing: .04em;
}

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

.nav-cta span {
  margin-left: 14px;
}

.menu-toggle {
  display: none;
}

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

.hero {
  height: min(760px,75vw);
  min-height: 620px;
  position: relative;
  background: #16242a;
  overflow: hidden;
  color: white;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/neal-truck.png');
  background-size: cover;
  background-position: center 49%;
  filter: saturate(.91);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(6,18,24,.95) 0%,rgba(6,18,24,.82) 29%,rgba(6,18,24,.36) 65%,rgba(6,18,24,.08) 100%),linear-gradient(0deg,rgba(6,18,24,.38),transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(115px,13vw,175px);
}

/* ==================================================================
   SECTION EYEBROWS AND BUTTONS
   ================================================================== */

.eyebrow {
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #058eb5;
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 800;
}

.eyebrow.light {
  color: #78e4ff;
}

.dash {
  width: 31px;
  height: 2px;
  background: currentColor;
  display: inline-block;
  flex: none;
}

.hero h1,h2,h3 {
  font-family: 'Barlow Condensed',sans-serif;
}

.hero h1 {
  font-size: clamp(72px,8.5vw,132px);
  line-height: .84;
  letter-spacing: -.02em;
  font-weight: 900;
  margin: 0 0 36px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.75;
  max-width: 480px;
  color: #e2e8eb;
  margin: 0 0 32px;
}

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

.btn {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: 19px 24px;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s,background .2s;
}

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

.btn-blue {
  background: var(--blue);
  color: #0a1a22;
}

.btn-blue:hover {
  background: #6ee2ff;
}

.btn-outline {
  border-color: #b6c4c899;
  color: white;
  background: #ffffff0b;
}

.btn-outline:hover {
  background: #ffffff20;
}

.btn-dark {
  background: var(--ink);
  color: white;
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  border-top: 1px solid #ffffff42;
}

.hero-bottom-inner {
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e6ecee;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.down-arrow {
  font-size: 20px;
  margin-left: 12px;
}

/* ==================================================================
   SECTION LAYOUT
   ================================================================== */

.section-pad {
  padding: 112px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2,.about h2,.area h2,.contact h2 {
  font-size: clamp(54px,6vw,84px);
  line-height: .9;
  letter-spacing: -.01em;
  font-weight: 800;
  margin: 0;
}

.section-head h2 em,.about h2 em,.area h2 em,.contact h2 em {
  color: #079ac4;
  font-weight: 600;
  font-style: normal;
}

.section-summary {
  font-size: 15px;
  color: #64727a;
  line-height: 1.85;
  max-width: 425px;
  margin: 0 0 5px;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
}

.service-card {
  background: white;
  padding: 32px 33px 37px;
  min-height: 394px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.service-card:last-child {
  border: 0;
}

.service-card.featured {
  background: #eaf8fc;
}

.service-card:hover {
  background: #e3f6fc;
}

.service-no {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  color: #68818a;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 42px 0 16px;
}

.service-icon svg {
  width: 64px;
  height: 64px;
  stroke: #069fcc;
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.service-card h3 {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .01em;
  margin: 0 0 8px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #5c6c73;
  margin: 0 0 27px;
}

.service-card a {
  font-size: 10px;
  letter-spacing: .1em;
  color: #087e9d;
  font-weight: 900;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #b9d3da;
  padding-top: 18px;
}

.service-note {
  font-size: 11px;
  color: #71818b;
  margin-top: 16px;
}

/* ==================================================================
   BLUE STATEMENT BANNER
   ================================================================== */

.statement {
  background: var(--blue);
  padding: 52px 0;
}

.statement-inner {
  display: flex;
  align-items: center;
  gap: 45px;
}

.statement-kicker {
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .13em;
  width: 160px;
  flex: none;
}

.statement p {
  font-family: 'Barlow Condensed',sans-serif;
  font-weight: 800;
  font-size: clamp(28px,4vw,58px);
  line-height: .96;
  margin: 0;
  flex: 1;
}

.statement p strong {
  color: white;
}

.statement-flash {
  font-size: 100px;
  font-weight: 900;
  line-height: .7;
  opacity: .35;
}

/* ==================================================================
   ABOUT THE OWNER
   ================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px,8vw,130px);
  align-items: center;
}

.about-image {
  height: 630px;
  position: relative;
  background: #cbd6dc;
  overflow: hidden;
}

.about-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--blue);
  padding: 21px 36px;
  min-width: 240px;
}

.photo-label span {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 800;
  margin-bottom: 4px;
}

.photo-label strong {
  font: 800 37px/1 'Barlow Condensed',sans-serif;
}

.about-copy>p:not(.eyebrow) {
  font-size: 15px;
  color: #607077;
  line-height: 1.9;
  margin-top: 28px;
}

.about-copy>p+p:not(.eyebrow) {
  margin-top: 16px;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 32px 0;
}

.detail-bolt {
  font-size: 48px;
  line-height: 1;
  color: #06a6d0;
}

.about-detail strong {
  display: block;
  font-size: 13px;
  letter-spacing: .07em;
}

.about-detail span:last-child {
  display: block;
  font-size: 12px;
  color: #6b7c84;
  margin-top: 6px;
}

.text-link {
  font-size: 11px;
  font-weight: 800;
  color: #068fb8;
  letter-spacing: .1em;
}

.text-link span {
  margin-left: 25px;
}

/* ==================================================================
   FULL-WIDTH PHOTO BREAK
   ================================================================== */

.photo-break {
  position: relative;
  height: 500px;
  background: #142128;
  overflow: hidden;
}

.photo-break>img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(.75);
}

.photo-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#0d202cdd,transparent 85%);
  display: flex;
  align-items: center;
  color: white;
}

.photo-break-overlay .container {
  width: min(1240px,calc(100% - 80px));
}

.photo-break h2 {
  font-size: clamp(64px,8vw,110px);
  line-height: .88;
  margin: 0;
}

.photo-break h2 span {
  color: var(--blue);
}

/* ==================================================================
   SERVICE AREA
   ================================================================== */

.area {
  background: #eaf0f1;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 13%;
  align-items: center;
}

.area p:not(.eyebrow) {
  color: #607077;
  max-width: 470px;
  line-height: 1.9;
  font-size: 15px;
  margin: 28px 0 35px;
}

.area-panel {
  background: #13252e;
  min-height: 370px;
  padding: 34px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.area-graphic {
  position: absolute;
  font: 900 250px/.8 'Barlow Condensed',sans-serif;
  right: -10px;
  top: 13px;
  color: #ffffff0c;
}

.area-label {
  position: relative;
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 15px;
}

.area-panel strong {
  position: relative;
  font: 800 clamp(44px,5vw,69px)/.9 'Barlow Condensed',sans-serif;
}

.area-footer {
  position: relative;
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid #ffffff47;
  font-size: 10px;
  letter-spacing: .1em;
  display: flex;
  justify-content: space-between;
}

/* ==================================================================
   CONTACT AND ESTIMATE FORM
   ================================================================== */

.contact {
  background: #0f1b22;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: .86fr 1fr;
  gap: 10%;
}

.contact h2 {
  font-size: clamp(66px,7vw,100px);
}

.contact h2 em {
  color: var(--blue);
}

.contact-info>p:not(.eyebrow) {
  font-size: 15px;
  color: #a8bac1;
  line-height: 1.9;
  max-width: 370px;
  margin: 28px 0 50px;
}

.contact-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 23px;
  border-bottom: 1px solid #59737b;
}

.contact-phone span {
  font-size: 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .17em;
}

.contact-phone strong {
  font: 700 36px 'Barlow Condensed',sans-serif;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
  font-size: 10px;
  color: #91a6ae;
  font-weight: 800;
  letter-spacing: .15em;
}

.form-panel {
  background: white;
  color: var(--ink);
  padding: 42px;
}

.form-panel h3 {
  font-size: 38px;
  line-height: 1;
  margin: 0 0 8px;
}

.form-panel>p {
  color: #65747b;
  font-size: 13px;
  margin: 0 0 26px;
  line-height: 1.7;
}

.form-panel form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-panel label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.form-panel input,.form-panel select,.form-panel textarea {
  border: 1px solid #dce3e5;
  background: #f8fafb;
  border-radius: 0;
  padding: 15px;
  font-size: 13px;
  letter-spacing: 0;
  width: 100%;
  color: #17252a;
  outline-offset: 2px;
}

.form-panel textarea {
  resize: vertical;
}

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

.form-small {
  font-size: 10px;
  line-height: 1.6;
  color: #88969c;
  margin: 0;
}

.form-feedback {
  font-size: 12px;
  color: #b24337;
  margin: 0;
}

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

.site-footer {
  background: #0a141a;
  color: #c3d0d4;
  padding: 48px 0 25px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 47px;
}

.footer-brand strong {
  color: white;
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 11px;
  font-weight: 700;
}

.footer-call {
  font: 700 23px 'Barlow Condensed',sans-serif;
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid #26353d;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #85979f;
}

.footer-bottom a {
  color: var(--blue);
}

/* ==================================================================
   MOBILE CALL BUTTON
   ================================================================== */

.mobile-call {
  display: none;
}

/* ==================================================================
   TABLET RESPONSIVE STYLES
   ================================================================== */

@media(max-width:980px) {
  .container {
    width:min(100% - 44px,1240px)
  }

  .nav {
    gap:18px
  }

  .hero {
    min-height:600px;
    height:700px
  }

  .hero-photo {
    background-position:62% center
  }

  .section-pad {
    padding:80px 0
  }

  .service-card {
    padding:27px 22px;
    min-height:410px
  }

  .service-card h3 {
    font-size:29px
  }

  .about-grid {
    gap:45px
  }

  .about-image {
    height:540px
  }

  .area-grid {
    gap:6%
  }

  .contact-grid {
    gap:5%
  }

}

/* ==================================================================
   MOBILE RESPONSIVE STYLES
   ================================================================== */

@media(max-width:720px) {
  html {
    scroll-padding-top:70px
  }

  .container,.photo-break-overlay .container {
    width:calc(100% - 40px)
  }

  .topbar-inner {
    justify-content:center
  }

  .topbar-inner>span {
    display:none
  }

  .nav-inner {
    height:68px
  }

  .wordmark strong {
    font-size:31px
  }

  .wordmark em {
    font-size:22px
  }

  .wordmark .mark-icon {
    font-size:43px
  }

  .menu-toggle {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    align-items:center;
    background:transparent;
    border:0;
    width:44px;
    height:44px;
    cursor:pointer
  }

  .menu-toggle span {
    width:23px;
    height:2px;
    background:#142026
  }

  .nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:white;
    padding:18px 20px 25px;
    box-shadow:0 20px 20px #11111126;
    flex-direction:column;
    align-items:stretch;
    gap:0
  }

  .nav.is-open {
    display:flex
  }

  .nav a {
    padding:13px 5px
  }

  .nav .nav-cta {
    padding:16px;
    margin-top:8px
  }

  .hero {
    min-height:680px;
    height:calc(100svh - 102px);
    max-height:810px
  }

  .hero-photo {
    background-position:64% center
  }

  .hero-shade {
    background:linear-gradient(90deg,#061218d9,#06121877 65%,#06121833),linear-gradient(0deg,#061218dd,transparent 65%)
  }

  .hero-content {
    padding-top:clamp(105px,17vh,195px)
  }

  .hero h1 {
    font-size:clamp(64px,12.5vw,94px);
    margin-bottom:26px
  }

  .hero-lead {
    font-size:15px;
    line-height:1.7;
    max-width:330px
  }

  .hero-actions {
    flex-direction:column;
    align-items:stretch;
    max-width:310px
  }

  .hero-bottom-inner {
    height:52px
  }

  .hero-bottom-inner span:last-child {
    display:none
  }

  .section-pad {
    padding:72px 0
  }

  .section-head {
    grid-template-columns:1fr;
    gap:22px
  }

  .section-head h2,.about h2,.area h2,.contact h2 {
    font-size:clamp(53px,11vw,70px)
  }

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

  .service-card {
    min-height:310px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }

  .service-card:last-child {
    border-bottom:0
  }

  .service-icon {
    margin:20px 0 7px
  }

  .statement-inner {
    gap:20px
  }

  .statement-kicker {
    display:none
  }

  .statement-flash {
    font-size:50px
  }

  .about-grid,.area-grid,.contact-grid {
    grid-template-columns:1fr;
    gap:45px
  }

  .about-image {
    height:500px
  }

  .photo-break {
    height:390px
  }

  .photo-break h2 {
    font-size:65px
  }

  .area-panel {
    min-height:295px
  }

  .area-graphic {
    font-size:210px
  }

  .contact-info>p:not(.eyebrow) {
    margin-bottom:24px
  }

  .contact-meta {
    margin-top:28px
  }

  .form-panel {
    padding:28px 23px
  }

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

  .footer-links {
    flex-wrap:wrap
  }

  .footer-bottom {
    flex-direction:column
  }

  .mobile-call {
    display:block;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:35;
    background:var(--blue);
    padding:12px 20px max(12px,env(safe-area-inset-bottom));
    box-shadow:0 -3px 15px #0003
  }

  .mobile-call a {
    display:flex;
    justify-content:space-between;
    font-size:12px;
    font-weight:900;
    letter-spacing:.11em
  }

  .site-footer {
    padding-bottom:95px
  }

}

/* ==================================================================
   SMALL PHONE STYLES
   ================================================================== */

@media(max-width:420px) {
  .hero h1 {
    font-size:58px
  }

  .form-row {
    grid-template-columns:1fr
  }

  .photo-break h2 {
    font-size:55px
  }

  .about-image {
    height:430px
  }

  .topbar {
    font-size:9px
  }

  .contact-phone strong {
    font-size:30px
  }

}

/* ==================================================================
   ACCESSIBILITY / REDUCED MOTION
   ================================================================== */

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*:before,*:after {
    transition:none!important
  }

}


/* ==============================
   NEAL ELECTRIC - HEADER LOGO
================================ */

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* Mobile Logo */
@media (max-width: 720px) {
  .logo-img {
    width: 100px;
  }
}

/* ==================================================================
   CENTERED FOOTER / LAUNCH REDDING DESIGNER CREDIT
   Edit these values to adjust alignment and spacing.
   ================================================================== */

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  border-top: 1px solid #26353d;
  padding-top: 24px;
}

.copyright {
  margin: 0;
  color: #85979f;
  font-size: 11px;
}

.designer-credit {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 0;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.designer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.designer-credit .designer-mark {
  color: #00c2f3;
  font-size: 15px;
}

.designer-credit a:hover {
  color: #09b5cf;
}

@media (max-width: 720px) {
  .footer-bottom {
    align-items: center;
    text-align: center;
  }
  .designer-credit {
    justify-content: center;
  }
}

/* Continuous Star Animation */

.designer-mark {
  display: inline-block;
  color: #16bce8;
  font-size: 15px;
  animation: designer-spin 6s linear infinite;
}

@keyframes designer-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .designer-mark {
    animation: none;
  }
}
