:root {
  --navy: #00377a;
  --red: #ff3131;
  --pale: #dae1e7;
  --page: #eef3f9;
  --ink: #020713;
  --muted: #314766;
  --soft-muted: #8a9bb7;
  --header: #2e3342;
  --night: #030819;
  --line: #d8e0ea;
  --white: #ffffff;
  --green: #d8fadc;
  --shadow: 0 2px 8px rgba(2, 7, 19, 0.08), 0 18px 42px rgba(26, 42, 66, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  color: var(--white);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.template-brand {
  min-width: 420px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
}

.brand-icon img {
  width: 38px;
}

.brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.brand > img {
  width: 170px;
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  font-size: 24px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.nav-cta,
.btn.light {
  background: var(--white);
  color: var(--ink);
}

.btn.ghost-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn.secondary,
.btn.dark {
  background: var(--night);
  color: var(--white);
}

section {
  padding: 72px 0;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(46px, 6vw, 76px);
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
}

h3,
p {
  margin-top: 0;
}

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 14px;
  background: var(--white);
  color: #7386a3;
  box-shadow: 0 2px 6px rgba(2, 7, 19, 0.1);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.pill-glass {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  box-shadow: none;
}

.pill-glass.wide {
  margin-left: auto;
}

.section-head {
  max-width: 820px;
  margin: 18px 0 46px;
}

.section-head p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero {
  padding: 54px 0 0;
}

.hero-panel {
  min-height: 620px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 21, 38, 0.88), rgba(9, 28, 46, 0.72), rgba(31, 25, 16, 0.62)),
    url("/assets/photos/meeting-1.jpg") center / cover no-repeat;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.hero-panel p {
  max-width: 720px;
  margin: 30px 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.stat {
  min-height: 94px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat.glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.23);
  color: var(--white);
  box-shadow: none;
}

.stat strong,
.stat-strip strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.stat span,
.stat-strip span {
  display: block;
  margin-top: 10px;
  color: var(--soft-muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.stat.glass span {
  color: rgba(255, 255, 255, 0.66);
}

.stat-strip {
  padding: 76px 0 18px;
}

.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
  border-radius: 32px;
  background: rgba(218, 225, 231, 0.55);
}

.stat-strip-inner div {
  min-height: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.soft-card,
.gallery-card,
.upload-panel,
.contact-panel,
.admin-list-item,
.process-card,
.quote-card,
.news-card,
details {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 218px;
  padding: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--green);
  color: var(--red);
  font-weight: 900;
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 28px;
  color: #c7d2e2;
  font-size: 22px;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
}

.service-card p,
.soft-card p,
.process-card p,
.news-card p,
.quote-card p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.soft-card {
  padding: 28px;
}

.lead-card {
  margin-bottom: 20px;
  font-size: 18px;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-card-grid h3,
.team-stack span,
.team-feature span,
.enquiry-card > span,
.contact-info > span,
.footer-cta span,
.news-card span {
  display: block;
  margin-bottom: 12px;
  color: #8da0bd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.image-feature {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(2, 7, 19, 0.22);
}

.image-feature img {
  width: 100%;
  height: 545px;
  object-fit: cover;
}

.image-feature figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
}

.industries-panel {
  padding: 34px;
  border-radius: 32px;
  background: rgba(218, 225, 231, 0.55);
}

.industries-panel h2 {
  margin: 22px 0 20px;
}

.industries-panel p,
.faq-wrap > p {
  color: var(--muted);
  font-size: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.tag-row span {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.process-card {
  min-height: 118px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.process-card > span {
  width: 56px;
  height: 56px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 15px;
  background: var(--red);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.team-feature {
  display: grid;
  grid-template-columns: 44% 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-feature img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.team-feature div {
  padding: 34px;
}

.team-feature h3,
.team-stack h3 {
  margin: 0 0 14px;
  font-size: 30px;
}

.team-stack {
  display: grid;
  gap: 20px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

.large-quote {
  grid-row: span 2;
  min-height: 340px;
  border-color: #09142a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0 68%, rgba(0, 55, 122, 0.98) 69%, #f3a000 100%);
}

.quote-card {
  padding: 28px;
}

.quote-mark,
.stars {
  color: #08ce48;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.quote-card strong {
  display: block;
  margin-top: 22px;
}

.quote-card span {
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  overflow: hidden;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card div {
  padding: 24px;
}

.news-card h3 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.22;
}

.faq-wrap {
  text-align: center;
}

.faq-list {
  width: min(860px, 100%);
  margin: 44px auto 0;
  display: grid;
  gap: 16px;
  text-align: left;
}

details {
  padding: 20px 24px;
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--night);
  border-radius: 32px 32px 0 0;
  background: var(--white);
}

.enquiry-card {
  margin: 34px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: 58px 50px;
  background: var(--night);
  color: var(--white);
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p,
.contact-info dd {
  color: rgba(255, 255, 255, 0.82);
}

.contact-info dl {
  margin: 34px 0 0;
}

.contact-info dt {
  margin-top: 24px;
  color: #8795b0;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.contact-info dd {
  margin: 4px 0 0;
}

.final-cta {
  padding-top: 40px;
  padding-bottom: 0;
}

.footer-cta {
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(100deg, var(--night), #07323e 46%, #f29a00);
  color: var(--white);
}

.footer-cta h2 {
  margin-top: 8px;
}

.site-footer {
  padding: 34px 0 24px;
  background: var(--night);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 48px;
}

.site-footer strong {
  display: block;
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 18px;
  color: #8d9ab6;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.48);
}

.page-hero {
  padding: 86px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 8, 25, 0.9), rgba(0, 55, 122, 0.62)),
    url("/assets/photos/office-front.jpg") center / cover no-repeat;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.detail-grid,
.gallery-grid,
.contact-layout,
.admin-wrap {
  display: grid;
  gap: 20px;
}

.detail-grid,
.contact-layout {
  grid-template-columns: 1fr 1fr;
}

.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-card h2,
.contact-panel h2 {
  color: var(--ink);
}

.detail-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 18px 20px;
  font-weight: 900;
}

.contact-panel,
.upload-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--page);
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.admin-wrap {
  grid-template-columns: 410px 1fr;
  align-items: start;
}

.upload-panel {
  position: sticky;
  top: 96px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px;
}

.admin-list-item img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.status {
  min-height: 28px;
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 1020px) {
  .brand,
  .template-brand {
    min-width: 0;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 24px;
    right: 24px;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    background: var(--header);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-stats,
  .stat-strip-inner,
  .services-grid,
  .about-grid,
  .process-grid,
  .team-grid,
  .testimonial-grid,
  .news-grid,
  .detail-grid,
  .gallery-grid,
  .contact-layout,
  .contact-shell,
  .admin-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pill-glass.wide {
    margin-left: 0;
  }

  .team-feature {
    grid-template-columns: 1fr;
  }

  .upload-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    letter-spacing: 2px;
  }

  .hero-panel {
    min-height: 610px;
    padding: 28px;
    border-radius: 24px;
  }

  .field-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta,
  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-info,
  .enquiry-card {
    margin: 0;
    padding: 26px;
  }
}
