/* =========================================================
   Fixxpert Building Solutions
   ========================================================= */
:root {
  /* Brand palette */
  --primary: #0F3B5A;
  --secondary: #5E91B1;
  --accent: #245778;
  --bg: #FFFFFF;
  --neutral: #F7F4F0;

  /* Bright highlight taken from the design (buttons, underlines, active nav) */
  --highlight: #079FDA;
  --highlight-hover: #0689BD;
  --highlight-soft: #E3F5FC;
  /* Gold detail from the footer design */
  --gold: #E0B05B;

  --ink: #0F3B5A;
  --text: #2C3E4E;
  --muted: #5A6B7A;
  --line: #E3E8EC;
  --footer-deep: #0A2740;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius: 8px;
  --container: 1200px;
  --shadow: 0 6px 20px rgba(15, 59, 90, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 17px;
  padding: 14px 24px; border-radius: 6px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .i-arrow { width: 20px; height: 20px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--highlight); color: #fff; box-shadow: 0 6px 16px rgba(7, 159, 218, .28); }
.btn-primary:hover { background: var(--highlight-hover); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 16px; }

/* ---------- Brand lockup ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 92px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--primary); letter-spacing: -0.01em; }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--highlight); margin-top: 2px; letter-spacing: -0.01em; }
.brand-legal {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 12px; font-weight: 600; color: var(--primary);
}
.brand-legal::before, .brand-legal::after { content: ""; height: 1.5px; width: 26px; background: var(--primary); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list a, .dropdown-toggle {
  font-family: var(--font-body); font-weight: 500; font-size: 16.5px; color: var(--ink);
  position: relative; padding: 8px 0; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px; border-radius: 2px;
  background: var(--highlight); transform: scaleX(0); transition: transform .2s;
}
.nav-list > li > a:hover::after, .nav-list > li > a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--highlight); }
.nav-list a:hover, .dropdown-toggle:hover { color: var(--highlight); }
.chev { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .2s; }
.nav-divider { width: 1.5px; height: 38px; background: var(--line); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: -18px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 15.5px; }
.dropdown a:hover { background: var(--highlight-soft); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #F4F5F6 0%, #FBFBFB 45%, #fff 100%); }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 56%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.hero-inner { position: relative; min-height: 540px; display: flex; align-items: center; }
.hero-copy { max-width: 520px; padding: 64px 0; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.025em; }
.lead { margin-top: 26px; font-size: 20px; line-height: 1.5; color: var(--text); max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.swoosh-word { position: relative; display: inline-block; white-space: nowrap; }
.swoosh-word svg {
  position: absolute; left: 0; width: 100%; height: .28em; bottom: -.26em;
  stroke: var(--highlight); stroke-width: 4; overflow: visible;
}

/* ---------- Tagline ---------- */
.tagline {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 26px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 20px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
}
.tagline::before, .tagline::after { content: ""; flex: 1; height: 2px; background: var(--highlight); max-width: 240px; }
.tagline::before { margin-right: 10px; }
.tagline::after { margin-left: 10px; }
.tagline i, .footer-values i { width: 7px; height: 7px; border-radius: 50%; background: var(--highlight); display: inline-block; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; position: relative; padding-bottom: 20px; }
.section-title::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 64px; height: 4px; border-radius: 2px; background: var(--highlight);
}
.section-title.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* ---------- Services ---------- */
.services { padding-top: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 59, 90, .05); transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card img { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }
.service-body {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center;
  padding: 18px 22px 22px; background: linear-gradient(180deg, #F8F9FA, #fff 60%);
}
.svc-icon { width: 48px; height: 48px; color: var(--accent); stroke-width: 1.6; padding-right: 0; }
.service-body > div { border-left: 1.5px solid var(--line); padding-left: 20px; }
.service-card h3 { font-size: 23px; font-weight: 700; line-height: 1.05; }
.service-card p { margin-top: 8px; font-size: 15px; color: var(--text); line-height: 1.45; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.about-media img { width: 100%; aspect-ratio: 2.85 / 1; object-fit: cover; object-position: 50% 62%; }
.about-copy .section-title { font-size: clamp(30px, 3.3vw, 40px); }
.about-copy p { margin-top: 22px; font-size: 18px; max-width: 470px; }

/* ---------- Process ---------- */
.process { padding-top: 16px; padding-bottom: 40px; }
.steps { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 30px; }
.step { display: flex; align-items: center; gap: 22px; }
.step-icon {
  flex: none; width: 82px; height: 82px; border-radius: 50%; background: var(--highlight-soft);
  display: grid; place-items: center; color: var(--accent);
}
.step-icon svg { width: 38px; height: 38px; stroke-width: 1.6; }
.step-text { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); max-width: 160px; line-height: 1.15; }
.step-arrow { color: var(--muted); }
.step-arrow svg { width: 28px; height: 28px; stroke-width: 1.6; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); color: #fff; padding: 22px 0; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 36px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 700; white-space: nowrap; }
.cta-divider { width: 1.5px; align-self: stretch; min-height: 44px; background: rgba(255,255,255,.4); }
.cta-band p { flex: 1; font-size: 17px; max-width: 300px; color: rgba(255,255,255,.92); }
.cta-band .btn { margin-left: auto; }
.cta-swoosh { position: absolute; right: 0; bottom: 0; width: 200px; height: 80px; color: var(--highlight); }

/* ---------- Footer ---------- */
.footer-top {
  background:
    radial-gradient(1200px 400px at 80% 0%, rgba(94,145,177,.18), transparent 60%),
    linear-gradient(180deg, #12497A 0%, #0F3F6C 100%);
  color: #fff; padding: 56px 0 60px;
}
.footer-top-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: flex; align-items: center; gap: 18px; font-family: var(--font-head); font-weight: 500;
  font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: #fff;
}
.eyebrow-line { width: 40px; height: 2px; background: var(--gold); }
.footer-top h2 { color: #fff; font-size: clamp(40px, 5vw, 64px); font-weight: 700; margin-top: 22px; letter-spacing: -0.02em; }
.footer-top h2 .swoosh-word svg { stroke: #19C3F5; stroke-width: 5; }

.contact-rows li + li { border-top: 1.5px solid rgba(255,255,255,.35); }
.contact-row { display: flex; align-items: center; gap: 30px; padding: 20px 0; }
.contact-rows li:first-child .contact-row { padding-top: 0; }
.contact-rows li:last-child .contact-row { padding-bottom: 0; }
.contact-icon { flex: none; width: 72px; height: 70px; background: #fff; color: var(--primary); display: grid; place-items: center; }
.contact-icon svg { width: 32px; height: 32px; stroke-width: 1.7; }
.contact-text { flex: 1; display: flex; flex-direction: column; }
.contact-label { font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.contact-title { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; margin-top: 4px; line-height: 1.15; }
.contact-detail { font-size: 15px; color: rgba(255,255,255,.75); margin-top: 4px; word-break: break-word; }
.contact-arrow { flex: none; width: 30px; height: 30px; color: var(--gold); stroke-width: 2; transition: transform .2s; }
.contact-row:hover .contact-arrow { transform: translateX(5px); }
.contact-row:hover .contact-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.footer-bottom { background: var(--footer-deep); color: #fff; padding: 36px 0 28px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 32px; border-bottom: 1.5px solid rgba(94,145,177,.45); }
.brand-footer .brand-mark { width: 104px; }
.brand-footer .brand-name { color: #fff; font-size: 40px; }
.brand-footer .brand-sub { color: #19C3F5; font-size: 22px; }
.footer-divider { width: 1.5px; height: 64px; background: rgba(255,255,255,.35); }
.footer-legal { font-size: 19px; font-weight: 500; line-height: 1.7; }
.footer-values { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 22px; font-weight: 500; white-space: nowrap; }
.footer-values i { background: #19C3F5; }
.copyright { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,.9); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-list { gap: 24px; }
  .site-nav { gap: 20px; }
  .footer-bottom-inner { flex-wrap: wrap; justify-content: flex-start; }
  .footer-bottom-inner .footer-divider:last-of-type { display: none; }
  .footer-values { width: 100%; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 76px; }
  .brand-mark { width: 70px; }
  .brand-name { font-size: 28px; }
  .brand-sub { font-size: 16px; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--primary); border-radius: 2px; transition: .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 24px; box-shadow: 0 12px 24px rgba(15,59,90,.12);
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .dropdown-toggle { width: 100%; padding: 14px 0; justify-content: space-between; }
  .nav-list > li > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; display: none; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .chev { transform: none; }
  .has-dropdown.open .chev { transform: rotate(180deg); }
  .nav-divider { display: none; }
  .site-nav .btn { margin-top: 18px; justify-content: center; }

  .hero-media { position: relative; width: 100%; height: 320px; }
  .hero-media img { -webkit-mask-image: none; mask-image: none; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 36px 0 44px; max-width: none; }

  .tagline { font-size: 15px; gap: 12px; letter-spacing: .16em; }
  .tagline::before, .tagline::after { display: none; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: flex-start; gap: 18px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .step-text { max-width: none; }
  .step-arrow { transform: rotate(90deg); margin-left: 27px; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 30px; }
  .cta-divider { display: none; }
  .cta-band p { max-width: none; }
  .cta-band .btn { margin-left: 0; }
  .cta-band h2 { white-space: normal; }

  .footer-top-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-legal { display: none; }
  .brand-mark { width: 58px; }
  .brand-name { font-size: 25px; }
  .brand-sub { font-size: 14px; }
  .hero-media { height: 250px; }
  .lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-row { gap: 18px; }
  .contact-icon { width: 56px; height: 56px; }
  .contact-icon svg { width: 26px; height: 26px; }
  .contact-detail { font-size: 14px; }
  .footer-divider { display: none; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .brand-footer .brand-name { font-size: 32px; }
  .brand-footer .brand-sub { font-size: 18px; }
  .footer-legal { font-size: 16px; }
  .footer-values { font-size: 18px; }
}

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