/* Cedar Park Construction — homepage modeled on the Avada "Construction" demo layout.
   Palette is taken from the CPC logo: navy #3a468b and light blue #0996d7. */

:root {
  /* Only two blues, both straight from the CPC logo. Everything else is black, white, or gray. */
  --navy: #3a468b;            /* logo dark blue */
  --blue: #0996d7;            /* logo light blue */
  --black: #141414;           /* darkest backgrounds */
  --charcoal: #222222;        /* dark sections */
  --ink: #222222;             /* headings */
  --text: #6b6b6b;            /* body copy */
  --light: #f5f5f5;           /* alternating section background */
  --line: #e5e5e5;
  --font: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 2; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.3; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: 700 14px/1.2 var(--font); letter-spacing: 2px; text-transform: uppercase; padding: 15px 30px; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 16px; padding: 17px 34px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--charcoal); color: #cccccc; font-size: 13px; letter-spacing: .4px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; fill: var(--blue); vertical-align: -2px; margin-right: 7px; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 18px rgba(0,0,0,.08); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 96px; gap: 24px; }

/* Logo badge: a white card that hangs below the header into the hero, then tucks into the bar on scroll */
.logo { position: absolute; top: 0; left: 30px; z-index: 2; display: block; background: #fff; padding: 18px 22px 16px;
  border-bottom: 4px solid var(--blue); box-shadow: 0 14px 34px rgba(0,0,0,.28);
  transition: padding .3s, box-shadow .3s, top .3s, border-width .3s; }
.logo img { width: 150px; height: auto; transition: width .3s; }
.site-header.is-scrolled .logo { top: 8px; padding: 6px 10px; border-bottom-width: 0; box-shadow: none; }
.site-header.is-scrolled .logo img { width: 80px; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav li { position: relative; }
.nav > ul > li > a { position: relative; display: block; padding: 36px 0; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); }
.nav > ul > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { color: var(--navy); }
.nav > ul > li > a:hover::before, .nav > ul > li > a[aria-current="page"]::before { transform: scaleX(1); }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.subnav { display: block !important; position: absolute; top: 100%; left: -22px; min-width: 300px; padding: 10px 0; background: var(--charcoal); border-top: 3px solid var(--blue); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 8px 22px; font-size: 13px; font-weight: 500; letter-spacing: .4px; color: #dddddd; line-height: 1.6; }
.subnav a:hover { color: #fff; background: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 700px; padding: 130px 0 80px; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--black) url("https://web.archive.org/web/2025id_/https://cedarparkbuilds.com/wp-content/uploads/2024/12/IMG_1026.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.2) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 35%, var(--navy) 35% 100%); }
.hero .wrap { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: #ffffff; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--blue); }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; line-height: 1.1; max-width: 920px; margin-bottom: 22px; }
.hero h1 span { color: var(--blue); }
.hero .sub { color: #e6e6e6; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: .3px; line-height: 1.6; max-width: 600px; margin-bottom: 40px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Call-to-action strip ---------- */
.strip { background: var(--navy); padding: 44px 0; position: relative; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip h2 { color: #fff; font-size: clamp(21px, 2.3vw, 26px); font-weight: 500; letter-spacing: .5px; }
.strip h2 span { color: #fff; font-weight: 700; }

/* ---------- Section titles ---------- */
.section { padding: 100px 0; }
.section-gray { background: var(--light); }
.title { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.title h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: .5px; }
.sep { display: block; width: 60px; height: 3px; background: var(--blue); margin: 20px auto 22px; }
.title p { margin: 0; font-size: 16px; }
.title-light h2 { color: #fff; }
.title-light p { color: #cccccc; }

/* ---------- Flip boxes ---------- */
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flip { perspective: 1200px; height: 340px; cursor: pointer; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 26px; }
.flip-front { background: var(--black) center / cover no-repeat; color: #fff; }
.flip-front::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.82)); }
.flip-front::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--blue); }
.flip-front > * { position: relative; }
.flip-front svg { width: 58px; height: 58px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.flip-front h3 { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: 1px; }
.flip-front .hint { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-top: 10px; }
.flip-back { background: var(--navy); color: #ffffff; transform: rotateY(180deg); border-bottom: 4px solid var(--blue); }
.flip-back h4 { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: .5px; margin-bottom: 12px; }
.flip-back p { font-size: 15px; line-height: 1.75; margin-bottom: 22px; }

/* ---------- Recent work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.work { display: block; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.06); transition: box-shadow .3s, transform .3s; }
.work:hover { box-shadow: 0 16px 36px rgba(0,0,0,.14); transform: translateY(-4px); }
.work-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #dddddd; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work-img::after { content: "View Project →"; position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; opacity: 0; transition: opacity .3s; }
.work:hover .work-img::after, .work:focus-visible .work-img::after { opacity: 1; }
.work:hover img { transform: scale(1.06); }
.work-body { padding: 22px 24px 24px; border-bottom: 3px solid transparent; transition: border-color .3s; }
.work:hover .work-body { border-bottom-color: var(--blue); }
.work .cat { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.work h4 { font-size: 18px; font-weight: 700; letter-spacing: .5px; margin-top: 4px; }
.divider-btn { display: flex; align-items: center; gap: 24px; margin-top: 60px; }
.divider-btn::before, .divider-btn::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; padding: 100px 0;
  background: var(--black) url("https://web.archive.org/web/2026id_/https://cedarparkbuilds.com/wp-content/uploads/2026/01/Panda5.jpg") center / cover fixed; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.9); }
.testimonials .wrap { position: relative; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.quotes-single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.quotes-single .quote { padding: 54px 60px 46px; }
.quotes-single .quote blockquote { font-size: 20px; }
.quote { display: flex; flex-direction: column; margin: 0; padding: 64px 40px 38px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--blue); position: relative; }
.quote::before { content: "“"; position: absolute; top: 2px; left: 36px; font-size: 90px; line-height: 1; color: var(--blue); opacity: 1; font-family: Georgia, serif; }
.quote blockquote { margin: 0 0 26px; color: #fff; font-size: 18px; line-height: 1.8; font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.quote cite { font-style: normal; line-height: 1.5; }
.quote cite strong { display: block; color: #fff; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.quote cite span { color: #bbbbbb; font-size: 14px; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.partner { aspect-ratio: 188 / 115; display: grid; place-items: center; border: 1px solid var(--line); color: #aaaaaa; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-align: center; padding: 10px; filter: grayscale(1); opacity: .85; transition: .3s; }
.partner:hover { filter: none; opacity: 1; border-color: var(--blue); }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); padding: 90px 0; position: relative; overflow: hidden; }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.cta .big { color: #fff; font-size: clamp(28px, 3vw, 34px); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.25; margin: 0; }
.cta .sep { margin: 22px 0; }
.cta h3 { color: #ffffff; font-size: 18px; font-weight: 500; line-height: 1.7; }
.cta-action { text-align: center; }
.cta-action p { color: #ffffff; margin: 16px 0 0; }
.cta-action .phone { display: block; margin-top: 6px; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.cta-action .phone:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #aaaaaa; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.1fr; gap: 46px; padding-block: 80px 70px; }
.footer-logo { display: inline-block; padding: 10px; margin-bottom: 20px; }
.footer-logo img { width: 150px; }
.site-footer h5 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 14px; position: relative; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; background: var(--blue); }
.site-footer p { line-height: 1.9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.site-footer a:hover { color: var(--blue); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(.6) contrast(1.05); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--blue); }
.social svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { background: var(--black); font-size: 13px; letter-spacing: .5px; color: #888888; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) and (min-width: 1101px) {
  .nav, .nav ul { gap: 22px; }
  .nav > ul > li > a { font-size: 13px; letter-spacing: 1px; }
}
@media (max-width: 1100px) {
  .nav-toggle { margin-left: auto; }
  .logo img { width: 120px; }
  .logo { padding: 14px 16px 12px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 0 30px 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 14px 24px rgba(0,0,0,.15); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a::before { display: none; }
  .nav > ul > li > a[aria-current="page"] { color: var(--blue); }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; display: none !important; min-width: 0; border-top: 0; box-shadow: none; background: var(--light); }
  .subnav a { color: var(--ink); }
  .subnav a:hover { color: var(--navy); }
  .has-sub.open .subnav { display: block !important; }
  .nav .btn { margin-top: 18px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .flips { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cta-action { text-align: left; }
  .testimonials { background-attachment: scroll; }
}
@media (max-width: 600px) {
  .flips, .work-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .topbar .email, .topbar .social-link { display: none; }
  .nav { padding: 0 16px 20px; }
  .site-header .wrap { min-height: 76px; }
  .logo, .site-header.is-scrolled .logo { left: 16px; top: 6px; padding: 4px 6px; border-bottom-width: 0; box-shadow: none; }
  .logo img, .site-header.is-scrolled .logo img { width: 66px; }
  .hero { padding-top: 70px; }
  .hero { min-height: 580px; }
  .hero .actions .btn { width: 100%; text-align: center; }
  .btn-lg { font-size: 15px; padding: 16px 24px; }
  .section { padding: 70px 0; }
  .flip { height: 290px; }
  .quote, .quotes-single .quote { padding: 58px 24px 30px; }
  .quote::before { left: 20px; }
  .quotes-single .quote blockquote { font-size: 17px; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 40px; }
  .strip .btn { width: 100%; text-align: center; }
  .footer-bottom .wrap { justify-content: center; text-align: center; }
}
/* =====================================================================
   INNER PAGES (service pages, etc.)
   ===================================================================== */

/* ---------- Page banner ---------- */
.page-hero { position: relative; min-height: 440px; padding: 150px 0 70px; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--black) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.25) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--blue) 0 35%, var(--navy) 35% 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.1; max-width: 860px; margin-bottom: 18px; }
.page-hero .sub { color: #e6e6e6; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; max-width: 640px; margin: 0; }
.breadcrumb { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #cccccc; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--blue); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Two-column content ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split-reverse .split-media { order: -1; }
.title-left { text-align: left; margin: 0 0 26px; max-width: none; }
.title-left .sep { margin: 20px 0 0; }
.lead { font-size: 17px; line-height: 1.9; }
.checklist { list-style: none; margin: 26px 0 34px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.split-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Framed photo with offset accent block */
.frame { position: relative; margin: 0 22px 22px 0; }
.frame::before { content: ""; position: absolute; right: -22px; bottom: -22px; width: 70%; height: 70%; background: var(--navy); }
.frame::after { content: ""; position: absolute; left: -12px; top: -12px; width: 90px; height: 90px; border-top: 4px solid var(--blue); border-left: 4px solid var(--blue); }
.frame img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.frame figcaption { position: relative; margin-top: 10px; font-size: 13px; color: var(--text); }

/* ---------- Feature tiles ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { background: #fff; padding: 40px 32px 34px; border-top: 3px solid var(--blue); box-shadow: 0 6px 24px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.feature-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--navy); margin-bottom: 22px; }
.feature-icon svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { margin: 0; }

/* ---------- Related services ---------- */
.svc-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-link { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 32px 16px 28px; background: var(--charcoal); color: #fff; border-bottom: 4px solid var(--blue); transition: background-color .25s, transform .25s; }
.svc-link:hover { background: var(--navy); transform: translateY(-4px); }
.svc-link svg { width: 44px; height: 44px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.svc-link:hover svg { stroke: #fff; }
.svc-link strong { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.svc-link span { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); transition: color .25s; }
.svc-link:hover span { color: #fff; }

/* ---------- Services overview ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); transition: border-color .2s, color .2s, background-color .2s; }
.jump a:hover { border-color: var(--blue); color: var(--navy); }
.jump svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-block { scroll-margin-top: 20px; }
.svc-num { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 3px; color: var(--blue); margin-bottom: 10px; }
.svc-num::after { content: ""; display: inline-block; width: 30px; height: 2px; background: var(--blue); vertical-align: middle; margin-left: 12px; }
.service-block h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: .5px; }
.tagline { font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--navy); margin: 10px 0 0; }
.service-block .sep { margin: 20px 0 22px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--blue); padding-bottom: 4px; transition: gap .2s, color .2s; }
.text-link:hover { gap: 16px; color: var(--blue); }

@media (max-width: 1100px) {
  .svc-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split-reverse .split-media { order: 0; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { min-height: 360px; padding: 90px 0 50px; }
  .checklist { grid-template-columns: 1fr; }
  .split-actions .btn { width: 100%; text-align: center; }
  .svc-links { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-link { padding: 24px 10px 20px; }
  .frame { margin: 0 14px 14px 0; }
  .frame::before { right: -14px; bottom: -14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Careers: numbered application steps ===== */
.steps { list-style: none; counter-reset: step; margin: 26px 0 28px; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.steps strong { display: block; color: var(--navy); }
.careers-copy a:not(.btn) { color: var(--blue); font-weight: 600; }
.careers-copy .split-actions { margin: 8px 0 26px; }

/* ===== About: team grid ===== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.member { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.05); text-align: center; }
.member-photo { aspect-ratio: 1 / 1; background: #e6e8ef; border-bottom: 4px solid var(--blue); display: grid; place-items: center; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo svg { width: 34%; fill: #b9bfd0; }
.member-body { padding: 22px 20px 26px; }
.member h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.member p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* ===== Get A Quote: contact details + form ===== */
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.contact-list svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 10px; background: var(--navy); stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list span { padding-top: 9px; line-height: 1.5; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--blue); }
.quote-form { background: #fff; padding: 40px 36px; border-top: 3px solid var(--blue); box-shadow: 0 10px 34px rgba(0,0,0,.08); align-self: start; }
.quote-form h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.quote-form .form-note { margin: 0 0 24px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field textarea { width: 100%; font: 500 15px/1.5 var(--font); color: var(--ink); background: var(--light); border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.quote-form .btn { width: 100%; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } .quote-form { padding: 30px 20px; } }
.split-top { align-items: start; }
