/* DT Windows Ltd  |  site styles
   One file, no build step. Edit colours and fonts in :root below. */

:root {
  --navy: #0e1c2e;
  --navy-2: #16304d;
  --blue: #2f8fe0;
  --blue-dark: #1f6fc0;
  --blue-soft: #e8f2fc;
  --ink: #1c2733;
  --muted: #5b6b7b;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 28, 46, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 28, 46, 0.16);
  --font-head: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.9rem;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d9e3ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand span { font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--ink); padding: 8px 0; position: relative; }
.nav a:hover { text-decoration: none; color: var(--blue-dark); }
.nav a[aria-current="page"] { color: var(--blue-dark); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav .btn { margin-left: 8px; padding: 11px 18px; color: #fff; }
.nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .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); }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: 78vh; display: flex; align-items: center;
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,38,0.88) 0%, rgba(10,22,38,0.72) 45%, rgba(10,22,38,0.35) 100%);
}
.hero__inner { position: relative; padding: 110px 0 90px; max-width: 680px; }
.hero .eyebrow { color: #9fd0ff; }
.hero h1 { color: #fff; margin-bottom: 0.6em; }
.hero p { font-size: 1.15rem; color: #d6e2ef; max-width: 56ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero--page { min-height: 0; }
.hero--page .hero__inner { padding: 90px 0 70px; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 26px 20px; display: flex; gap: 14px; align-items: center; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { width: 28px; height: 28px; flex: none; color: var(--blue); }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy); }
.trust__item span { font-size: 0.85rem; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.card--img { padding: 0; overflow: hidden; }
.card--img img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card--img .card__body { padding: 22px 24px 26px; }

/* Feature split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split--rev .split__media { order: 2; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.checklist strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.checklist span { color: var(--muted); font-size: 0.97rem; }

/* Work preview */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mosaic a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--bg-soft); aspect-ratio: 1 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic a span {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px;
  background: rgba(14,28,46,0.78); color: #fff; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
}
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.mosaic a:nth-child(1) img { position: absolute; inset: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 26px;
  position: relative;
}
.quote::before {
  content: "\201C"; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--blue); opacity: 0.35;
  position: absolute; top: 14px; right: 24px;
}
.quote h3 { font-size: 1.1rem; margin: 16px 0 6px; }
.quote p { font-size: 1.02rem; color: var(--muted); margin: 0 0 16px; }
.quote footer { font-family: var(--font-head); font-size: 0.85rem; color: var(--muted); }
.stars { color: #f4b400; letter-spacing: 2px; font-size: 0.95rem; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: #e3f0fc; margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--ghost { border-color: rgba(255,255,255,0.7); }

/* Certified strip */
.certified { display: flex; align-items: center; gap: 28px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.certified img { width: 110px; flex: none; }
.certified p { margin: 0; color: var(--muted); }
.certified strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; }

/* Services list */
.svc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.svc-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.svc-group h3 svg { width: 22px; height: 22px; color: var(--blue); }
.svc-group ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.svc-group li { padding: 6px 0 6px 18px; position: relative; break-inside: avoid; color: var(--ink); font-size: 0.97rem; }
.svc-group li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* Director */
.director { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.director img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-sm); }
.director h3 { font-size: 1.5rem; margin-bottom: 4px; }
.director .role { color: var(--blue-dark); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }

/* Gallery */
.project { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.project:first-of-type { border-top: 0; }
.project__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.project__head h2 { margin: 0; font-size: 1.6rem; }
.project__head span { color: var(--muted); font-size: 0.9rem; font-family: var(--font-head); }
.gallery { columns: 4; column-gap: 12px; }
.gallery a { display: block; break-inside: avoid; margin: 0 0 12px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.gallery img { width: 100%; height: auto; display: block; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.03); }

.project-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.project-nav a { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; }
.project-nav a:hover { background: rgba(255,255,255,0.22); text-decoration: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,16,28,0.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cfd9e5; font-family: var(--font-head); font-size: 0.85rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.contact-list a { font-size: 1.05rem; color: var(--navy); font-weight: 600; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }
.form__status { margin-top: 14px; font-weight: 600; display: none; }
.form__status.is-ok { display: block; color: #1a7f4b; }
.form__status.is-err { display: block; color: #b42318; }
.honey { position: absolute; left: -9999px; }

/* Socials */
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; }
.socials a:hover { background: var(--blue); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }
.socials--light a { background: var(--blue-soft); color: var(--blue-dark); }
.socials--light a:hover { background: var(--blue); color: #fff; }

/* Footer */
.footer { background: var(--navy); color: #b7c5d4; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand { color: #fff; }
.footer .brand small { color: #9fb0c2; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #d3dde8; }
.footer a:hover { color: #fff; }
.footer p { font-size: 0.95rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 0.85rem; color: #8fa1b5; }

/* Misc */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.tel { white-space: nowrap; }

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

/* Responsive */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-left: 0; padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 36px; }
  .director { grid-template-columns: 260px 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; }
  .nav-toggle { display: block; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: 0; }
  .quotes { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .svc-groups { grid-template-columns: 1fr; }
  .svc-group ul { columns: 1; }
  .director { grid-template-columns: 1fr; padding: 22px; }
  .director img { max-width: 320px; }
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .hero__inner { padding: 80px 0 64px; }
  .hero { min-height: 0; }
  .certified { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .brand span { font-size: 0.95rem; }
  .brand small { display: none; }
}

/* Home hero: text plus photo collage (photos shown near their natural size) */
.hero--home { min-height: 0; }
.hero--home .hero__media::after {
  background: linear-gradient(100deg, rgba(10,22,38,0.96) 0%, rgba(10,22,38,0.9) 55%, rgba(10,22,38,0.8) 100%);
}
.hero__split { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero--home .hero__inner { padding: 96px 0 96px; max-width: none; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 40px 0; }
.collage__item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-2); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item:nth-child(1) { grid-row: span 2; }
.collage__item:nth-child(1) img { min-height: 420px; }
.collage__item:nth-child(2) img, .collage__item:nth-child(3) img { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
  .hero__split { grid-template-columns: 1fr; gap: 0; }
  .hero--home .hero__inner { padding: 72px 0 24px; }
  .collage { padding: 8px 0 56px; }
  .collage__item:nth-child(1) img { min-height: 320px; }
}
@media (max-width: 480px) {
  .collage { grid-template-columns: 1fr 1fr; gap: 10px; }
  .collage__item:nth-child(1) img { min-height: 260px; }
}
