@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&display=swap");

: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:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.94), rgba(238, 243, 249, 0) 26rem),
    linear-gradient(180deg, #f6f8fb 0%, var(--page) 38%, #eaf0f7 100%);
  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: rgba(46, 51, 66, 0.96);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px rgba(2, 7, 19, 0.14);
  backdrop-filter: blur(18px);
}

.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;
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
}

.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: 184px;
  max-height: 54px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
}

.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;
  box-shadow: 0 10px 24px rgba(255, 49, 49, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 49, 49, 0.26);
}

.btn.nav-cta,
.btn.light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(2, 7, 19, 0.14);
}

.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;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 18px;
  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: 0;
}

.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;
  box-shadow: 0 30px 80px rgba(2, 7, 19, 0.18);
}

.hero-panel.has-dynamic-bg {
  background:
    linear-gradient(90deg, rgba(9, 21, 38, 0.88), rgba(9, 28, 46, 0.72), rgba(31, 25, 16, 0.62)),
    var(--dynamic-bg) 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,
.detail-card,
.news-card,
.gallery-card,
.value-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover,
.detail-card:hover,
.news-card:hover,
.gallery-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 55, 122, 0.22);
  box-shadow: 0 16px 38px rgba(2, 7, 19, 0.12);
}

.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;
}

.service-icon img {
  width: 28px;
  height: 28px;
  display: block;
}

.service-card:nth-child(even) .service-icon {
  background: #eef3ff;
}

.service-card:nth-child(3n) .service-icon {
  background: #fff1f1;
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 999px;
  background: #f4f7fb;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.service-card:hover .card-arrow {
  transform: translateX(2px);
  background: var(--red);
  color: var(--white);
}

.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;
}

.choose-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.choose-list {
  display: grid;
  gap: 18px;
}

.choose-list .soft-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 18px;
  align-items: start;
}

.choose-list .soft-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.choose-list .soft-card p {
  grid-column: 2;
}

.choose-icon {
  width: 52px;
  height: 52px;
  display: grid;
  grid-row: span 2;
  place-items: center;
  border-radius: 16px;
  background: #fff1f1;
  color: var(--red);
  font-weight: 900;
}

.credentials-panel {
  padding: 34px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(3, 8, 25, 0.96), rgba(0, 55, 122, 0.86)),
    url("/assets/photos/office-front.jpg") center / cover no-repeat;
  color: var(--white);
  box-shadow: 0 24px 54px rgba(2, 7, 19, 0.2);
}

.credentials-panel .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.credential-grid a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.credential-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
}

.credential-grid span,
.credential-grid em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.credential-grid strong {
  display: block;
  color: var(--white);
  font-size: 26px;
  line-height: 1.18;
}

.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-grid-single {
  grid-template-columns: 1fr;
}

.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-feature p + p {
  margin-top: 16px;
}

.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;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links span,
.social-links a {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.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);
}

.site-footer a.btn {
  width: fit-content;
  min-width: 0;
  display: inline-flex;
  margin-top: 12px;
  margin-bottom: 0;
  padding: 0 22px;
  white-space: nowrap;
}

.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);
}

.quick-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(216, 224, 234, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(2, 7, 19, 0.18);
  backdrop-filter: blur(14px);
}

.quick-contact a {
  min-width: 72px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--night);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.quick-contact a:first-child {
  background: var(--red);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 8, 25, 0.92), rgba(0, 55, 122, 0.72), rgba(255, 49, 49, 0.28)),
    url("/assets/photos/office-front.jpg") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(238, 243, 249, 0), var(--page));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.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 {
  font-size: clamp(28px, 3vw, 38px);
}

.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-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 48, 53, 0.06), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(0, 55, 122, 0.08), transparent 30%),
    var(--bg);
}

.gallery-intro {
  padding: 82px 0 34px;
}

.gallery-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) auto;
  gap: 32px;
  align-items: end;
}

.gallery-intro h1 {
  max-width: 920px;
  margin-top: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.gallery-intro p {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.gallery-admin-link {
  white-space: nowrap;
}

.gallery-showcase {
  padding-top: 22px;
}

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

.modern-gallery {
  align-items: stretch;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: #081020;
  border-radius: 28px;
}

.gallery-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 620px;
}

.gallery-card:nth-child(5n) {
  grid-column: span 2;
}

.gallery-open {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 18px 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(5, 12, 25, 0.72);
  color: var(--white);
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.gallery-card figcaption span {
  line-height: 1.25;
}

.gallery-card figcaption em {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-card:hover img,
.gallery-open:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

.gallery-open:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -6px;
}

.gallery-viewer[hidden] {
  display: none;
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 34px 86px;
  background: rgba(2, 7, 19, 0.9);
  backdrop-filter: blur(18px);
}

.is-viewing-gallery {
  overflow: hidden;
}

.gallery-viewer figure {
  width: min(1120px, 100%);
  margin: 0;
}

.gallery-viewer img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.gallery-viewer figcaption {
  margin-top: 16px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.gallery-viewer button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.gallery-viewer-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
}

.gallery-viewer-nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 72px;
  border-radius: 999px;
  transform: translateY(-50%);
  font-size: 46px;
  line-height: 1;
}

.gallery-viewer-nav.prev {
  left: 22px;
}

.gallery-viewer-nav.next {
  right: 22px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.split-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.split-copy h2 {
  margin-bottom: 22px;
}

.split-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-band {
  background:
    linear-gradient(180deg, rgba(218, 225, 231, 0.52), rgba(238, 243, 249, 0.72));
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.value-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.value-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(100deg, rgba(3, 8, 25, 0.96), rgba(0, 55, 122, 0.9) 58%, rgba(255, 49, 49, 0.86)),
    url("/assets/photos/team-meeting.jpg") center / cover no-repeat;
  color: var(--white);
  box-shadow: 0 22px 46px rgba(2, 7, 19, 0.18);
}

.cta-strip h2 {
  margin-bottom: 10px;
}

.cta-strip p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-logo {
  width: 190px;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.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;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 22px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-main {
  display: grid;
  gap: 24px;
}

.admin-photo-panel {
  display: grid;
  gap: 22px;
  align-items: start;
}

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

.sidebar-upload-panel {
  position: static;
  margin-top: 8px;
  width: 100%;
}

.upload-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.content-form-grid {
  display: grid;
  gap: 18px;
}

.content-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.content-fieldset legend {
  padding: 0 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.content-fieldset label:has(textarea),
.content-fieldset label:has(input[name$=".image"]) {
  grid-column: 1 / -1;
}

.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;
}

.admin-list-item code {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 12px;
  padding: 7px 9px;
  overflow-wrap: anywhere;
  border-radius: 10px;
  background: var(--page);
  color: var(--navy);
  font-size: 13px;
}

.small-btn {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

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

/* Visual website editor */
.admin-page { min-width: 320px; background: #eef2f7; color: var(--ink); }
.admin-header { position: sticky; z-index: 100; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 12px clamp(18px, 3vw, 44px); border-bottom: 1px solid rgba(255,255,255,.12); background: #303647; box-shadow: 0 14px 35px rgba(13,23,42,.16); }
.admin-header .brand { color: #fff; }
.admin-header .brand small { color: #b8c1d4; }
.admin-header-actions { display: flex; gap: 10px; }
.admin-studio { display: grid; grid-template-columns: 280px minmax(0,1fr); min-height: calc(100vh - 78px); padding: 0; }
.editor-sidebar { position: sticky; top: 78px; align-self: start; height: calc(100vh - 78px); padding: 28px 18px; overflow-y: auto; border-right: 1px solid #d9e0eb; background: #fff; }
.editor-sidebar-intro { padding: 0 8px 20px; }
.admin-kicker { display: block; margin-bottom: 7px; color: #6f7d98; font-size: 11px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; }
.editor-sidebar h1,.editor-toolbar h2,.media-dialog h2,.editor-subhead h3 { margin: 0; font-family: Poppins,Inter,"Segoe UI",Arial,sans-serif; letter-spacing: 0; }
.editor-sidebar h1 { font-size: 25px; }
.editor-sidebar p,.editor-toolbar p,.media-dialog p { margin: 8px 0 0; color: #64708a; font-size: 14px; line-height: 1.6; }
.editor-section-nav { display: grid; gap: 5px; }
.editor-nav-item { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #263149; cursor: pointer; font: inherit; font-weight: 800; text-align: left; }
.editor-nav-item small { color: #96a0b3; font-size: 10px; font-weight: 800; text-transform: capitalize; }
.editor-nav-item:hover { background: #f1f4f9; }
.editor-nav-item.is-active { border-color: #ffd0d0; background: #fff0f0; color: #d5222a; }
.editor-nav-item.is-active small { color: #d5222a; }
.editor-security-note { margin-top: 22px; padding: 15px; border: 1px solid #d9e0eb; border-radius: 7px; background: #f7f9fc; }
.editor-security-note strong { font-size: 13px; }
.editor-security-note p { margin: 5px 0 0; font-size: 12px; }
.editor-workspace { min-width: 0; padding: clamp(18px,3vw,34px); }
.editor-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; max-width: 1600px; margin: 0 auto 20px; padding: 20px 22px; border: 1px solid #d9e0eb; border-radius: 8px; background: #fff; box-shadow: 0 9px 28px rgba(28,42,68,.06); }
.editor-toolbar h2 { font-size: 25px; }
.editor-toolbar-actions { display: flex; flex-shrink: 0; gap: 10px; }
.editor-stage { display: grid; grid-template-columns: minmax(390px,.78fr) minmax(510px,1.22fr); gap: 20px; max-width: 1600px; margin: 0 auto; align-items: start; }
.editor-form,.live-preview-panel { min-width: 0; border: 1px solid #d9e0eb; border-radius: 8px; background: #fff; box-shadow: 0 12px 35px rgba(28,42,68,.08); }
.editor-form { padding: 22px; }
.editor-fields-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.editor-field { display: grid; gap: 7px; min-width: 0; font-weight: 800; }
.editor-field-wide { grid-column: 1/-1; }
.editor-field>span { color: #29344d; font-size: 13px; }
.editor-field input,.editor-field textarea,.media-upload-form input,.gallery-inline-upload input { width: 100%; border: 1px solid #d5ddea; border-radius: 7px; background: #fbfcfe; color: #101827; font: inherit; }
.editor-field input { min-height: 46px; padding: 0 13px; }
.editor-field textarea { min-height: 116px; padding: 12px 13px; resize: vertical; line-height: 1.55; }
.editor-field input:focus,.editor-field textarea:focus { outline: 3px solid rgba(255,47,53,.12); border-color: #ff4549; background: #fff; }
.editor-image-field { display: grid; grid-template-columns: 110px 1fr; grid-column: 1/-1; gap: 14px 16px; padding: 15px; border: 1px solid #d9e0eb; border-radius: 8px; background: #f8fafc; }
.editor-image-copy { grid-column: 1/-1; display: flex; align-items: baseline; justify-content: space-between; }
.editor-image-copy small { color: #8490a6; }
.editor-image-preview img { display: block; width: 110px; height: 82px; object-fit: cover; border-radius: 6px; background: #e4e9f1; }
.editor-image-actions { display: flex; flex-wrap: wrap; align-content: center; gap: 8px; }
.editor-image-actions .btn { min-height: 40px; padding: 0 13px; font-size: 12px; }
.editor-save-bar { position: sticky; z-index: 5; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; padding: 13px; border: 1px solid #d9e0eb; border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 10px 32px rgba(21,33,56,.12); }
.live-preview-panel { position: sticky; top: 98px; overflow: hidden; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 9px 13px; border-bottom: 1px solid #d9e0eb; background: #fff; }
.preview-toolbar>div { display: flex; align-items: center; gap: 8px; }
.preview-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #20b779; box-shadow: 0 0 0 5px rgba(32,183,121,.12); }
.preview-size-controls { padding: 3px; border-radius: 6px; background: #edf1f6; }
.preview-size-controls button { min-height: 30px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; color: #68748a; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.preview-size-controls button.is-active { background: #fff; color: #182238; box-shadow: 0 2px 8px rgba(23,36,60,.1); }
.preview-frame-wrap { display: flex; justify-content: center; height: calc(100vh - 190px); min-height: 590px; overflow: auto; background: #dfe5ee; transition: padding .2s ease; }
.preview-frame-wrap iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width .2s ease; }
.preview-frame-wrap.is-mobile { padding: 14px; }
.preview-frame-wrap.is-mobile iframe { width: 390px; min-height: 780px; border-radius: 7px; box-shadow: 0 10px 30px rgba(20,31,52,.17); }
.media-dialog { width: min(1040px,calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 9px; background: #fff; box-shadow: 0 28px 90px rgba(8,16,31,.32); }
.media-dialog::backdrop { background: rgba(13,21,37,.7); backdrop-filter: blur(5px); }
.media-dialog-head { display: flex; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid #d9e0eb; }
.media-dialog-head h2 { font-size: 27px; }
.media-close { width: 42px; height: 42px; border: 1px solid #d9e0eb; border-radius: 50%; background: #fff; color: #253049; cursor: pointer; font-size: 28px; line-height: 1; }
.media-upload-form { display: grid; grid-template-columns: minmax(260px,1fr) auto minmax(120px,.6fr); align-items: end; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #d9e0eb; background: #f7f9fc; }
.media-upload-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.media-upload-form input { min-height: 46px; padding: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; max-height: 58vh; padding: 24px; overflow-y: auto; }
.media-item { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 7px; background: #f1f4f8; cursor: pointer; text-align: left; }
.media-item:hover { border-color: #ff3338; }
.media-item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-item span { display: block; padding: 9px 10px; overflow: hidden; color: #2e3950; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.editor-gallery-manager { grid-column: 1/-1; margin-top: 22px; padding-top: 22px; border-top: 1px solid #d9e0eb; }
.editor-subhead { margin-bottom: 15px; }
.editor-subhead h3 { font-size: 21px; }
.gallery-inline-upload { padding: 16px; border: 1px solid #d9e0eb; border-radius: 8px; background: #f8fafc; }
.gallery-inline-upload label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.gallery-inline-upload input { min-height: 44px; padding: 7px 10px; }
.editor-gallery-manager .admin-list { margin-top: 16px; }
.editor-gallery-manager .admin-list-item { border: 1px solid #d9e0eb; border-radius: 8px; background: #fff; box-shadow: none; }

@media (max-width:1180px) {
  .admin-studio { grid-template-columns: 235px minmax(0,1fr); }
  .editor-stage { grid-template-columns: 1fr; }
  .live-preview-panel { position: static; }
  .preview-frame-wrap { height: 720px; }
}

@media (max-width:760px) {
  .admin-header { position: relative; align-items: flex-start; padding: 12px 15px; }
  .admin-header .brand strong { font-size: 15px; }
  .admin-header .brand small { font-size: 9px; }
  .admin-header-actions .secondary { display: none; }
  .admin-header-actions .btn { min-height: 42px; padding: 0 12px; font-size: 11px; }
  .admin-studio { display: block; }
  .editor-sidebar { position: static; width: auto; height: auto; padding: 18px 14px; overflow: visible; border-right: 0; border-bottom: 1px solid #d9e0eb; }
  .editor-sidebar-intro { padding: 0 4px 14px; }
  .editor-section-nav { display: flex; margin: 0 -14px; padding: 0 14px 8px; overflow-x: auto; }
  .editor-nav-item { flex: 0 0 auto; width: auto; min-height: 43px; gap: 9px; }
  .editor-security-note { display: none; }
  .editor-workspace { padding: 14px; }
  .editor-toolbar { display: grid; padding: 16px; }
  .editor-toolbar-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .editor-toolbar-actions .btn { padding: 0 10px; }
  .editor-stage { display: flex; flex-direction: column; }
  .editor-form { order: 1; width: 100%; padding: 16px; }
  .live-preview-panel { order: 2; width: 100%; }
  .editor-fields-section { grid-template-columns: 1fr; }
  .editor-field-wide { grid-column: auto; }
  .editor-image-field { grid-template-columns: 88px 1fr; }
  .editor-image-preview img { width: 88px; height: 72px; }
  .editor-image-actions { display: grid; grid-template-columns: 1fr; }
  .editor-save-bar { align-items: stretch; flex-direction: column; }
  .preview-frame-wrap { height: 700px; min-height: 0; padding: 10px; }
  .preview-frame-wrap iframe,.preview-frame-wrap.is-mobile iframe { width: 390px; max-width: 100%; }
  .preview-size-controls button:first-child { display: none; }
  .media-dialog-head { padding: 18px; }
  .media-upload-form { grid-template-columns: 1fr; padding: 15px 18px; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 18px; }
  .admin-list-item { grid-template-columns: 95px 1fr; }
  .admin-list-item img { width: 95px; }
}

@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,
  .choose-grid,
  .testimonial-grid,
  .news-grid,
  .credential-grid,
  .detail-grid,
  .gallery-grid,
  .split,
  .values-grid,
  .contact-layout,
  .contact-shell,
  .admin-wrap,
  .admin-dashboard,
  .admin-photo-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-intro-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gallery-admin-link {
    width: fit-content;
  }

  .gallery-card:nth-child(1),
  .gallery-card:nth-child(5n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

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

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

  .upload-panel {
    position: static;
  }

  .admin-sidebar {
    position: static;
  }

  .content-fieldset {
    grid-template-columns: 1fr;
  }
}

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

  section {
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(38px, 13vw, 50px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .nav {
    min-height: 68px;
  }

  .brand,
  .template-brand {
    gap: 10px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

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

  .brand > img {
    width: 150px;
    max-height: 48px;
  }

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

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

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

  .hero-panel p {
    font-size: 17px;
  }

  .hero-pills {
    gap: 10px;
    margin-bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-pills .pill {
    max-width: min(100%, 520px);
    min-height: 0;
    padding: 7px 12px;
    white-space: normal;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 3px;
  }

  .hero-pills .pill-glass.wide {
    display: inline-flex;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat,
  .stat-strip-inner div {
    min-height: 82px;
  }

  .page-hero {
    padding: 70px 0 78px;
  }

  .page-hero p,
  .section-head p {
    font-size: 16px;
  }

  .service-card,
  .soft-card,
  .detail-card,
  .contact-panel,
  .upload-panel,
  .value-card {
    border-radius: 20px;
    padding: 22px;
  }

  .service-card h3,
  .news-card h3 {
    font-size: 23px;
  }

  .image-feature img {
    height: 360px;
  }

  .image-feature figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .process-card {
    align-items: flex-start;
  }

  .choose-list .soft-card {
    grid-template-columns: 1fr;
  }

  .choose-list .soft-card p {
    grid-column: auto;
  }

  .choose-icon {
    margin-bottom: 16px;
  }

  .process-card > span {
    width: 48px;
    height: 48px;
  }

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

  .team-feature {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    overflow: hidden;
    background: var(--white);
  }

  .team-feature img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    object-position: center top;
  }

  .team-feature div {
    position: relative;
    z-index: 1;
    background: var(--white);
    color: var(--ink);
  }

  .team-feature h3,
  .team-feature p {
    color: var(--ink);
  }

  .large-quote {
    min-height: 280px;
  }

  .gallery-card img {
    aspect-ratio: 1.18 / 1;
    min-height: 0;
    height: auto;
  }

  .modern-gallery .gallery-card,
  .modern-gallery .gallery-open {
    min-height: 0;
  }

  .gallery-card figcaption {
    inset: auto 12px 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .gallery-card figcaption em {
    display: none;
  }

  .gallery-viewer {
    padding: 72px 14px 28px;
  }

  .gallery-viewer img {
    max-height: 70vh;
    border-radius: 18px;
  }

  .gallery-viewer-close {
    top: 14px;
    right: 14px;
  }

  .gallery-viewer-nav {
    top: auto;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 34px;
    transform: none;
  }

  .gallery-viewer-nav.prev {
    left: 14px;
  }

  .gallery-viewer-nav.next {
    right: 14px;
  }

  .split-copy {
    padding: 24px;
    border-radius: 22px;
  }

  .cta-strip,
  .footer-cta {
    padding: 28px 22px;
    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;
  }

  .quick-contact {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: stretch;
    border-radius: 18px;
  }

  .quick-contact a {
    flex: 1;
  }

  .content-fieldset {
    padding: 16px;
  }

  .admin-list-item {
    grid-template-columns: 104px 1fr;
    gap: 12px;
  }

  .admin-list-item img {
    width: 104px;
    border-radius: 14px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 210px;
  }

  .pill,
  .eyebrow {
    letter-spacing: 3px;
  }
}
