/* ============================================================
   Will&Liam Consulting — style.css
   Design: modernized from the original WP site
   Palette: navy #005C99 / orange #E17A00 / light #EDF1F7
   Fonts: Montserrat (headings) + Open Sans (body)
   ============================================================ */

:root {
  --navy: #005C99;
  --navy-dark: #00406b;
  --navy-deep: #001B41;
  --orange: #E17A00;
  --orange-dark: #c96b00;
  --orange-light: #FF9D5A;
  --light: #EDF1F7;
  --dark: #383838;
  --white: #ffffff;
  --text: #2c3e50;
  --muted: #5b6b7f;
  --shadow: 0 10px 30px rgba(0, 27, 65, 0.10);
  --shadow-lg: 0 18px 45px rgba(0, 27, 65, 0.16);
  --radius: 14px;
  --font-head: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .9em 1.9em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(225,122,0,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,92,153,.35); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, var(--orange) 0%, #f08a1d 55%, var(--orange-light) 130%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0 1.4rem;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.main-nav ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: .55em 1em;
  border-radius: 999px;
  transition: background .18s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(0, 27, 65, .18); }

.lang-switch { display: flex; gap: .3rem; margin-left: .4rem; }
.lang-switch button {
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  padding: .45em .8em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.lang-switch button:hover { background: rgba(255,255,255,.32); }
.lang-switch button.active { background: var(--navy-deep); color: #fff; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: .45em .7em;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(0, 92, 153, .88) 0%, rgba(0, 45, 92, .82) 55%, rgba(0, 27, 65, .90) 100%),
    url("../assets/bg_hero.jpg") center/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  padding: 6.5rem 0 9.5rem;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-light);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,157,90,.45);
  padding: .45em 1.1em;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  max-width: 17em;
  margin-bottom: .6em;
}
.hero .lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--orange-light);
  margin-bottom: .9em;
}
.hero p.body { max-width: 52em; font-size: 1.02rem; color: rgba(255,255,255,.92); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- "&" bridge section ---------- */
.bridge {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(225, 122, 0, .88), rgba(198, 102, 0, .92)),
    url("../assets/bg_orange.jpg") center/cover no-repeat;
  clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%);
  margin-top: -56px;
  padding: 8rem 0 9rem;
  text-align: center;
}
.bridge .amp {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 1;
  color: rgba(255, 255, 255, .35);
  margin-bottom: .2em;
}
.bridge h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; max-width: 20em; margin-inline: auto; }
.bridge p { max-width: 44em; margin: 1em auto 0; color: rgba(255,255,255,.95); font-size: 1.02rem; }

/* ---------- Stats ---------- */
.stats {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 3.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.4rem;
  text-align: center;
  border-top: 5px solid var(--orange);
  transition: transform .2s ease;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--navy); line-height: 1.1; }
.stat-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4em;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-light { background: var(--light); }
.section-navy { background: linear-gradient(150deg, var(--navy-deep), var(--navy)); color: #fff; }

.section-head { text-align: center; max-width: 42em; margin: 0 auto 3rem; }
.section-head .kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card .card-body { padding: 1.8rem 1.8rem 2.2rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .2em; }
.service-card .card-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1em;
}
.service-card ul { list-style: none; margin: 0; padding: 0; }
.service-card li {
  position: relative;
  padding: .42em 0 .42em 1.6em;
  color: var(--text);
  font-size: .96rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .92em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 0 3px rgba(225, 122, 0, .15);
}

/* ---------- Contact ---------- */
.section-navy .section-head h2 { color: #fff; }
.section-navy .kicker { color: var(--orange-light); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
  display: block;
}
.contact-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.contact-card .ico {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--orange);
  border-radius: 50%;
  color: #fff;
}
.contact-card .c-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .45em;
}
.contact-card .c-value { font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.contact-note { text-align: center; color: rgba(255,255,255,.7); font-size: .92rem; margin-top: 1.8rem; }
.contact-note a { color: var(--orange-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 2.6rem 0 2rem;
  font-size: .9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-inner img { height: 38px; width: auto; opacity: .92; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-nav a:hover { color: var(--orange-light); }
.footer-meta { margin-top: 1.2rem; font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; }

/* ---------- Inner pages ---------- */
.page-hero {
  background:
    linear-gradient(115deg, rgba(0, 92, 153, .9), rgba(0, 27, 65, .94)),
    url("../assets/bg_hero.jpg") center/cover no-repeat;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding: 4.5rem 0 6.5rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .3em; }
.page-hero .crumb { color: rgba(255,255,255,.7); font-size: .9rem; }

.prose { max-width: 46em; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.legal-dl { margin: 0 0 .5em; display: grid; grid-template-columns: minmax(9em, 15em) 1fr; gap: .55em 1.4em; }
.legal-dl dt { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.legal-dl dd { margin: 0; font-size: .98rem; }
@media (max-width: 640px) { .legal-dl { grid-template-columns: 1fr; gap: .2em 0; } .legal-dl dd { margin-bottom: .7em; } }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-points { list-style: none; padding: 0; margin: 1.6em 0; }
.about-points li {
  display: flex; gap: .9em; align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2em 1.4em;
  margin-bottom: .9em;
}
.about-points .dot {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
}
.about-points strong { display: block; color: var(--navy-deep); font-family: var(--font-head); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--orange-dark);
    padding: 1rem 4%;
    box-shadow: 0 14px 24px rgba(0,0,0,.18);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .lang-switch { margin-left: 0; margin-top: .6rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 4rem 0 7.5rem; }
  .bridge { padding: 6.5rem 0 7.5rem; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-deep); color: #fff;
  padding: .8em 1.4em; border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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