:root {
  --brand-blue-dark: #03556b;
  --brand-blue: #05a9d6;
  --brand-blue-light: #48d5ff;

  --gray-900: #0d2530;
  --gray-700: #35505d;
  --gray-500: #4f6a78;
  --gray-300: #bfd3dd;
  --gray-100: #eaf4f8;
  --gray-050: #f4fbff;

  --surface: #ffffff;
  --text: #15303b;
  --shadow: 0 10px 28px rgba(3, 85, 107, 0.12);
  --radius: 14px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-050) 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-blue-dark);
  text-decoration: underline;
}

.site-wrapper {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(120deg, #093545 0%, #0c4f64 65%, #0fa6cf 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.header-inner {
  padding: 2rem 0 1.5rem;
}

/* Brand block: logo + tagline side by side */
.brand-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.brand-link:hover,
.brand-link:focus {
  text-decoration: none;
}

.brand-block img {
  max-width: 290px;
  width: 100%;
  height: auto;
}

.site-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-tagline {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.region-header {
  margin-top: 1rem;
}

.site-nav {
  background: #0a2d3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.region-nav {
  padding: 0.85rem 0;
}

/* Main nav list */
.region-nav ul,
.region-nav .dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.region-nav > ul,
.region-nav .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.region-nav li {
  margin: 0;
  position: relative;
}

.region-nav a {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 0.95rem;
  border-radius: 8px;
}

.region-nav a:hover,
.region-nav a:focus {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

/* Dropdown support */
.region-nav li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: none;
  z-index: 1000;
  padding: 0.5rem 0;
  background: #ffffff;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.region-nav li:hover > ul,
.region-nav li:focus-within > ul {
  display: block;
}

.region-nav li ul li {
  width: 100%;
}

.region-nav li ul a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--text);
  border-radius: 0;
  white-space: nowrap;
}

.region-nav li ul a:hover,
.region-nav li ul a:focus {
  background: #eef3f7;
  color: var(--brand-blue-dark);
}

/* Add dropdown arrow when submenu exists */
.region-nav li:has(ul) > a::after {
  content: " ▾";
  font-size: 0.85em;
}

/* Fallback class-based support if you add class="has-dropdown" */
.region-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 0.85em;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  padding: 2rem 0;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.main-card {
  border-top: 5px solid var(--brand-blue);
}

.sidebar-card {
  border-top: 5px solid var(--brand-blue-light);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.region-main h1,
.region-main h2,
.region-main h3,
.region-sidebar h1,
.region-sidebar h2,
.region-sidebar h3,
.region-footer h1,
.region-footer h2,
.region-footer h3,
.region-header h1,
.region-header h2,
.region-header h3 {
  color: var(--brand-blue-dark);
  line-height: 1.25;
  margin-top: 0;
}

.region-main p,
.region-sidebar p,
.region-footer p,
.region-header p {
  margin-top: 0;
}

.region-main > *:last-child,
.region-sidebar > *:last-child,
.region-footer > *:last-child,
.region-header > *:last-child,
.region-nav > *:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, #0a2d3a, #08212b);
  color: #e7edf3;
  padding: 2rem 0;
}

.site-footer a {
  color: #cfe0f0;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}

button:not(.ck):not(.ck-button),
input[type="submit"],
input[type="button"],
.btn {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:not(.ck):not(.ck-button):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
}

input:not(.ck):not(.ck-input),
select:not(.ck):not(.ck-input),
textarea:not(.ck):not(.ck-input) {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:not(.ck):not(.ck-input):focus,
select:not(.ck):not(.ck-input):focus,
textarea:not(.ck):not(.ck-input):focus {
  outline: 2px solid rgba(36, 90, 141, 0.18);
  border-color: var(--brand-blue);
}

.db-login #login-error {
  color: #7a1111;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eaf1f7;
  color: var(--brand-blue-dark);
}

blockquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-blue);
  background: #f7fafc;
  color: var(--gray-700);
  border-radius: 0 10px 10px 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--gray-300);
  margin: 1.5rem 0;
}

@media (max-width: 900px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    order: 2;
  }

  .site-main {
    order: 1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .header-inner {
    padding: 1.5rem 0 1.25rem;
  }

  .card {
    padding: 1rem;
  }

  .brand-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .region-nav > ul,
  .region-nav .menu {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .region-nav a {
    width: 100%;
  }

  .region-nav li ul {
    position: static;
    display: block;
    min-width: unset;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin-top: 0.25rem;
  }

  .region-nav li ul a {
    color: #fff;
    padding: 0.5rem 1rem;
  }

  .region-nav li ul a:hover,
  .region-nav li ul a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(260px, 0.585fr);
  gap: 1.5rem;
  padding: 2rem 0;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.main-card {
  border-top: 5px solid var(--brand-blue);
}

.sidebar-card {
  border-top: 5px solid var(--brand-blue-light);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.region-main h1,
.region-main h2,
.region-main h3,
.region-sidebar h1,
.region-sidebar h2,
.region-sidebar h3,
.region-footer h1,
.region-footer h2,
.region-footer h3,
.region-header h1,
.region-header h2,
.region-header h3 {
  color: var(--brand-blue-dark);
  line-height: 1.25;
  margin-top: 0;
}

.region-main p,
.region-sidebar p,
.region-footer p,
.region-header p {
  margin-top: 0;
}

.region-main > *:last-child,
.region-sidebar > *:last-child,
.region-footer > *:last-child,
.region-header > *:last-child,
.region-nav > *:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 1rem;
  background: linear-gradient(180deg, var(--gray-900), #24303a);
  color: #e7edf3;
  padding: 2rem 0;
}

.site-footer a {
  color: #cfe0f0;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffffff;
}

button:not(.ck):not(.ck-button),
input[type="submit"],
input[type="button"],
.btn {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

button:not(.ck):not(.ck-button):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-1px);
}

input:not(.ck):not(.ck-input),
select:not(.ck):not(.ck-input),
textarea:not(.ck):not(.ck-input) {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:not(.ck):not(.ck-input):focus,
select:not(.ck):not(.ck-input):focus,
textarea:not(.ck):not(.ck-input):focus {
  outline: 2px solid rgba(36, 90, 141, 0.18);
  border-color: var(--brand-blue);
}

.db-login #login-error {
  color: #7a1111;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eaf1f7;
  color: var(--brand-blue-dark);
}

blockquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-blue);
  background: #f7fafc;
  color: var(--gray-700);
  border-radius: 0 10px 10px 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--gray-300);
  margin: 1.5rem 0;
}

@media (max-width: 900px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    order: 2;
  }

  .site-main {
    order: 1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .header-inner {
    padding: 1.5rem 0 1.25rem;
  }

  .card {
    padding: 1rem;
  }

  .region-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .region-nav a {
    width: 100%;
  }
}
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 485px;
  background: var(--gray-900);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  padding: 3rem 3rem 5rem; /* extra bottom space for dots */
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-content {
  position: relative;
  max-width: 680px;
  color: #ffffff;
  z-index: 2;
  padding-left: 3rem;
  padding-right: 2rem;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: #ffffff;
}

.hero-content p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
}

.hero-btn:hover,
.hero-btn:focus {
  text-decoration: none;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(31, 42, 51, 0.55);
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover,
.hero-control:focus {
  background: rgba(31, 42, 51, 0.8);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 400px;
  }

  .hero-slide {
    padding: 2rem 1.25rem 3.5rem;
  }

  .hero-control {
    width: 42px;
    height: 42px;
  }

  .hero-prev {
    left: 0.75rem;
  }

  .hero-next {
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    min-height: 360px;
  }

  .hero-content p {
    font-size: 0.98rem;
  }
}
.what-we-do-section {
  padding: 2rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.services-grid .card {
  height: 100%;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.core-services-section {
  padding: 2rem 0;
}

.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  height: 100%;
}

.service-card h3 {
  margin-top: 0;
}

.service-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.service-card li + li {
  margin-top: 0.35rem;
}

@media (max-width: 1024px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
}
.why-northwatch-section {
  padding: 2rem 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-card {
  height: 100%;
  border-top: 4px solid var(--brand-blue-light);
}

.value-card h3 {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}
.industries-section {
  padding: 2rem 0;
}

.industries-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.industries-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--gray-700);
}

/* custom bullet */
.industries-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
}

@media (max-width: 640px) {
  .industries-list {
    grid-template-columns: 1fr;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer-column h2,
.footer-column h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-column p {
  margin: 0 0 1rem;
  color: #d7e1ea;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a,
.footer-contact-link {
  color: #cfe0f0;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #b9c7d3;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Dreamlies visual override */
:root {
  --brand-blue-dark: #003746;
  --brand-blue: #00b9e8;
  --brand-blue-light: #6ae4ff;
  --gray-900: #061920;
  --gray-700: #254654;
  --gray-500: #3d6777;
  --gray-300: #9ec2d1;
  --gray-100: #e7f7fd;
  --gray-050: #f5fcff;
  --text: #11313d;
  --shadow: 0 14px 34px rgba(0, 40, 54, 0.18);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(106, 228, 255, 0.24), transparent 34%),
    radial-gradient(circle at 86% 6%, rgba(0, 185, 232, 0.18), transparent 28%),
    linear-gradient(180deg, #eefbff 0%, #f8fdff 100%);
}

.site-header {
  background: linear-gradient(118deg, #062a36 0%, #054e66 58%, #00a7d4 100%);
}

.site-nav {
  background: linear-gradient(90deg, #03222c 0%, #083746 100%);
  border-bottom: 1px solid rgba(106, 228, 255, 0.28);
}

.main-card {
  border-top-color: var(--brand-blue-light);
}

.sidebar-card {
  border-top-color: #ffc067;
  background: linear-gradient(180deg, #ffffff 0%, #f1fbff 100%);
}

.card {
  backdrop-filter: blur(2px);
}

button:not(.ck):not(.ck-button),
input[type="submit"],
input[type="button"],
.btn {
  background: linear-gradient(180deg, #00bce9 0%, #009dc4 100%);
}

button:not(.ck):not(.ck-button):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover {
  background: linear-gradient(180deg, #00a6cf 0%, #007f9f 100%);
}

.hero-btn-secondary {
  background: linear-gradient(180deg, #ffc067 0%, #f2a741 100%);
  color: #102630;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus {
  background: linear-gradient(180deg, #ffb44f 0%, #dc902e 100%);
  color: #102630;
}

.hero-dot.is-active {
  background: #ffd08d;
}

.value-card {
  border-left: 4px solid #00b9e8;
}
