:root {
  --navy: #17324d;
  --navy-deep: #0e2235;
  --blue: #167dc1;
  --blue-dark: #0d639e;
  --orange: #f47a1f;
  --sand: #fff5e8;
  --pale: #f3f8fc;
  --ink: #1d2b38;
  --muted: #5a6875;
  --line: #d8e2ea;
  --white: #fff;
  --shadow: 0 18px 48px rgba(14, 34, 53, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--orange); }
h1, h2, h3 { margin: 0 0 .7rem; color: var(--navy); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1rem; }
ul { padding-left: 1.2rem; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  border-radius: .4rem;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { transform: none; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(800px, 100%); }
.section { padding: clamp(3.75rem, 7vw, 6.5rem) 0; }
.section--soft { background: var(--pale); }
.section--sand { background: var(--sand); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--blue-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { color: #405160; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.muted { color: var(--muted); }

.topbar { padding: .48rem 0; color: #dbe9f4; background: var(--navy-deep); font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { color: var(--white); font-weight: 750; text-decoration: none; }
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(23, 50, 77, .1);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 6px 24px rgba(14, 34, 53, .06);
  backdrop-filter: blur(10px);
}
.nav-wrap { display: flex; min-height: 92px; align-items: center; gap: 1.5rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 310px; max-height: 80px; object-fit: contain; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: .45rem;
  color: var(--navy);
  background: var(--white);
  font-size: 1.45rem;
  cursor: pointer;
}
.site-nav { display: flex; margin-left: auto; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--navy); font-size: .92rem; font-weight: 800; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--blue-dark); }
.site-nav .button { color: var(--white); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.15rem;
  border: 2px solid var(--orange);
  border-radius: .42rem;
  color: var(--white);
  background: var(--orange);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(244, 122, 31, .23);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { color: var(--white); background: #dd6610; transform: translateY(-2px); }
.button--ghost { border-color: rgba(255,255,255,.75); color: var(--white); background: rgba(14,34,53,.45); box-shadow: none; }
.button--ghost:hover { background: var(--navy-deep); }
.button--blue { border-color: var(--blue); background: var(--blue); box-shadow: 0 8px 24px rgba(22,125,193,.2); }
.button--blue:hover { background: var(--blue-dark); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 27, 44, .93) 0%, rgba(14, 47, 73, .82) 48%, rgba(14, 47, 73, .22) 100%),
    url('/images/screen-room.jpg') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--orange), #ffbb44, var(--blue));
}
.hero__content { position: relative; z-index: 1; max-width: 790px; padding: 5rem 0 5.5rem; }
.hero h1, .hero p { color: var(--white); text-shadow: 0 3px 18px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.9); }
.hero .eyebrow { color: #ffd09f; }
.hero .lead { max-width: 700px; }

.inner-hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,27,44,.94), rgba(14,47,73,.72)),
    var(--hero-image, url('/images/Screenroom3.jpg')) center/cover no-repeat;
}
.inner-hero h1, .inner-hero p { color: var(--white); text-shadow: 0 3px 16px rgba(0,0,0,.7); }
.inner-hero__content { max-width: 850px; }
.breadcrumbs { margin-bottom: 1rem; color: #d9e8f3; font-size: .9rem; }
.breadcrumbs a { color: var(--white); }

.trust-strip { position: relative; z-index: 2; margin-top: -36px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: .7rem; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 1.15rem; font-weight: 900; }
.trust-item strong { display: block; color: var(--navy); }
.trust-item small { color: var(--muted); }

.grid { display: grid; gap: 1.35rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(14, 34, 53, .07);
}
.card--link { transition: transform .18s ease, box-shadow .18s ease; }
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__number { display: grid; width: 42px; height: 42px; margin-bottom: 1rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); font-weight: 900; }
.card__link { font-weight: 850; }
.service-card { overflow: hidden; padding: 0; }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-card__body { padding: 1.45rem; }
.check-list { margin: 1.25rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: .65rem 0; padding-left: 1.65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-dark); font-weight: 900; }

.split { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split__image { overflow: hidden; border-radius: .8rem; box-shadow: var(--shadow); }
.split__image img { width: 100%; min-height: 420px; object-fit: cover; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.stat { min-width: 155px; padding: 1rem; border-left: 4px solid var(--orange); background: var(--pale); }
.stat strong { display: block; color: var(--navy); font-size: 1.35rem; }

.gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: .8rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: .55rem; }
.gallery img { width: 100%; height: 300px; object-fit: cover; transition: transform .25s ease; }
.gallery figure:first-child img { height: 616px; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img:hover { transform: scale(1.025); }

.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.area-card { padding: 1.6rem; border-radius: .7rem; background: var(--white); box-shadow: 0 8px 30px rgba(14,34,53,.07); }
.area-links { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; }
.area-links a { display: inline-block; padding: .42rem .72rem; border: 1px solid #b9cedf; border-radius: 999px; background: var(--pale); font-size: .92rem; font-weight: 750; text-decoration: none; }

.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--line); border-radius: .55rem; background: var(--white); }
.faq summary { cursor: pointer; padding: 1.1rem 1.25rem; color: var(--navy); font-weight: 850; }
.faq details p { padding: 0 1.25rem 1.15rem; color: var(--muted); }

.contact-panel { display: grid; grid-template-columns: .76fr 1.24fr; overflow: hidden; border-radius: .85rem; background: var(--white); box-shadow: var(--shadow); }
.contact-copy { padding: clamp(2rem, 5vw, 3.5rem); color: var(--white); background: linear-gradient(145deg, var(--navy-deep), var(--blue-dark)); }
.contact-copy h2, .contact-copy h3, .contact-copy a { color: var(--white); }
.contact-form { padding: clamp(2rem, 5vw, 3.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .35rem; color: var(--navy); font-size: .9rem; font-weight: 800; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid #b9c9d6;
  border-radius: .42rem;
  padding: .8rem .9rem;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field textarea:focus { outline: 3px solid rgba(22,125,193,.2); border-color: var(--blue); }
.field textarea { min-height: 145px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.form-status { min-height: 1.5rem; margin: .75rem 0 0; font-weight: 750; }
.form-status.is-success { color: #157347; }
.form-status.is-error { color: #b42318; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.content-copy h2 { margin-top: 2.4rem; }
.content-copy h2:first-child { margin-top: 0; }
.sidebar { position: sticky; top: 125px; }
.cta-card { padding: 1.6rem; border-radius: .7rem; color: var(--white); background: linear-gradient(150deg, var(--navy), var(--blue-dark)); box-shadow: var(--shadow); }
.cta-card h2, .cta-card h3, .cta-card a:not(.button) { color: var(--white); }
.link-list { padding: 0; list-style: none; }
.link-list li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.link-list a { color: var(--white); }

.site-footer {
  position: relative;
  padding: 4.5rem 0 1.5rem;
  color: #f5f8fb;
  background:
    linear-gradient(rgba(8,25,40,.92), rgba(8,25,40,.95)),
    url('/images/screen-room.jpg') center/cover no-repeat;
  text-shadow: 0 2px 5px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.65);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2, .site-footer h3, .site-footer a { color: var(--white); }
.site-footer h2 { font-size: 1.55rem; }
.site-footer h3 { font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .42rem 0; }
.site-footer a { font-weight: 720; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.3); font-size: .9rem; }
.back-to-top {
  position: fixed;
  z-index: 900;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .18s ease;
  cursor: pointer;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 980px) {
  .nav-wrap { min-height: 78px; }
  .brand img { width: 245px; max-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    display: none;
    margin: 0;
    padding: 1rem max(1rem, calc((100vw - 1160px)/2));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 16px 30px rgba(14,34,53,.14);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 1rem; }
  .site-nav .button { margin-top: .5rem; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-panel, .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery figure:first-child img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar__inner { justify-content: center; }
  .topbar__inner span:first-child { display: none; }
  .brand img { width: 205px; }
  .hero { min-height: 590px; background-position: 56% center; }
  .hero__content { padding-top: 4rem; }
  .trust-grid, .grid--2, .grid--3, .area-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .gallery img, .gallery figure:first-child img { height: 260px; }
  .field--wide { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
