/* ============================================================
   Colbern Communications — Design tokens (matches original DT-The7 theme)
   Primary brand color: #00a3e4 (bright cyan-blue from logo/globe)
   Dark band:            #282828
   ============================================================ */
:root {
  --brand: #00a3e4;
  --brand-hover: #0ea7d3;
  --brand-dark: #0088c2;
  --ink: #1c1f24;
  --ink-soft: #4a5057;
  --muted: #8b9199;
  --line: #e4e7eb;
  --surface: #ffffff;
  --surface-tint: #f5f8fb;
  --dark: #282828;
  --dark-2: #1c1c1c;
  --accent-glow: rgba(0, 163, 228, 0.16);

  --wrap: 1200px;
  --wrap-narrow: 960px;

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 6px 24px rgba(15, 39, 68, .08);
  --shadow-lg: 0 20px 50px rgba(15, 39, 68, .14);

  --font-display: "Barlow Condensed", "Barlow", "Oswald", system-ui, sans-serif;
  --font-body: "Open Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-hover); }
p { margin: 0 0 1rem; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: .01em; margin: 0 0 var(--space-4); line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); text-transform: uppercase; letter-spacing: .04em; }
h3 { font-size: 1.375rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
h4 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em; }
ul { padding-left: 1.1rem; margin: 0 0 1rem; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }
section { padding: var(--space-16) 0; }
section.compact { padding: var(--space-10) 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .95rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
  line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,163,228,.35); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.85); }
.btn-ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--dark);
  color: #cfd3d8;
  font-size: .82rem;
  padding: .55rem 0;
  letter-spacing: .02em;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--brand); }
.topbar .container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; }
.topbar .sep { color: var(--brand); }

/* ---- Header + nav ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  gap: 1.5rem;
}
.brand img { height: 60px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none; padding: 0; margin: 0;
}
.nav-links > li > a {
  color: var(--ink);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .5rem 0;
  position: relative;
}
.nav-links > li > a::after {
  content: ""; position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; background: var(--brand); transition: left .2s, right .2s;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { left: 0; right: 0; }
.nav-links > li > a:hover { color: var(--brand); }
.nav-links li.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand);
  padding: .5rem 0; margin: 0; list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: .65rem 1.15rem;
  color: var(--ink);
  font-size: .88rem;
  border-left: 3px solid transparent;
}
.dropdown li a:hover { background: var(--surface-tint); color: var(--brand); border-left-color: var(--brand); }

.nav .btn { padding: .55rem 1.05rem !important; font-size: .82rem; }

.menu-toggle {
  display: none;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); padding: .35rem; cursor: pointer; width: 42px; height: 42px;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---- HERO — full-height with background image + dark overlay ---- */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(15,25,40,.72), rgba(15,40,65,.62)), url('../images/hero.png') center/cover no-repeat;
  padding: var(--space-16) 0;
  text-align: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 960px; }
.hero .eyebrow {
  color: #7ad7ff;
  display: inline-block;
  font-family: var(--font-display);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  margin-bottom: var(--space-5);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--brand);
}
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.5vw, 4.5rem); text-transform: uppercase; letter-spacing: .01em; margin-bottom: var(--space-5); }
.hero .lede { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 720px; margin: 0 auto var(--space-8); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Section head ---- */
.section-head { text-align: center; max-width: 780px; margin: 0 auto var(--space-10); }
.section-head .eyebrow {
  display: inline-block;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  margin-bottom: var(--space-3);
}
.section-head h2 { margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head::after {
  content: ""; display: block; width: 60px; height: 3px;
  background: var(--brand); margin: var(--space-5) auto 0;
}

/* ---- Grid ---- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Service card — round icon over centered title (matches original aio-icon-box) ---- */
.service-card {
  background: #fff;
  padding: var(--space-8) var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(0,163,228,.15);
}
.service-card .icon {
  width: 92px; height: 92px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .22s;
}
.service-card:hover .icon { background: var(--dark); }
.service-card .icon svg { width: 42px; height: 42px; }
.service-card h3 { color: var(--brand); font-size: 1rem; margin-bottom: var(--space-3); line-height: 1.25; hyphens: none; }
.service-card p { color: var(--ink-soft); font-size: .95rem; flex-grow: 1; }
.service-card .learn {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--brand);
}
.service-card .learn::after { content: " →"; transition: margin-left .2s; }
.service-card:hover .learn::after { margin-left: 4px; }

/* ---- Testimonial cards ---- */
.quote-card {
  background: #fff;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
}
.quote-card .stars { color: #f5a623; letter-spacing: 3px; margin-bottom: var(--space-3); }
.quote-card p { font-style: italic; color: var(--ink-soft); }
.quote-card .who { display: flex; flex-direction: column; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.quote-card .who strong { color: var(--ink); font-family: var(--font-display); }
.quote-card .who span { font-size: .85rem; color: var(--muted); }

/* ---- Tinted band + split ---- */
.tint-bg { background: var(--surface-tint); }
.dark-band { background: var(--dark); color: #d5d9de; }
.dark-band h1, .dark-band h2, .dark-band h3, .dark-band h4 { color: #fff; }
.dark-band .eyebrow { color: var(--brand); }
.dark-band a:not(.btn) { color: var(--brand); }
.dark-band a:not(.btn):hover { color: #fff; }
.dark-band p { color: #cfd3d8; }
.dark-band .principles li { color: #cfd3d8; }
.dark-band .btn-outline { color: #fff; border-color: #fff; }
.dark-band .btn-outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-10);
  align-items: center;
}
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.principles { list-style: none; padding: 0; }
.principles li {
  padding-left: 2rem; position: relative; margin-bottom: .6rem;
  color: var(--ink-soft);
}
.principles li::before {
  content: "✓"; color: var(--brand); font-weight: 800;
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-size: 1.15rem;
}

/* ---- Bright CTA band (matches original #00a3e4 band) ---- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  text-align: center;
  padding: var(--space-12) 0;
}
.cta-band h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto var(--space-6); font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---- Page header (inner pages) ---- */
.page-hero {
  background: linear-gradient(120deg, rgba(15,25,40,.78), rgba(15,40,65,.68)), var(--dark);
  color: #fff;
  padding: var(--space-12) 0 var(--space-10);
  text-align: center;
}
.page-hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--space-3); }
.page-hero .eyebrow { color: #7ad7ff; letter-spacing: .3em; font-size: .85rem; text-transform: uppercase; font-family: var(--font-display); display: inline-block; margin-bottom: var(--space-3); }
.page-hero p { color: rgba(255,255,255,.9); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumbs { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: var(--space-4); }
.breadcrumbs a { color: #7ad7ff; }
.breadcrumbs a:hover { color: #fff; }

/* ---- Service detail page ---- */
.service-body { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-8); }
.service-body img { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: var(--space-6); }
.service-body h2 { text-transform: none; letter-spacing: 0; font-size: 1.75rem; }
.service-body h3 { text-transform: none; letter-spacing: 0; font-size: 1.25rem; color: var(--ink); margin-top: var(--space-6); }
.aside-box {
  background: var(--surface-tint);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--brand);
  position: sticky; top: 100px;
}
.aside-box h3, .aside-box h4 { color: var(--brand); font-size: 1.1rem; margin-bottom: var(--space-3); }
.aside-box a.btn { width: 100%; }
.aside-box ul { list-style: none; padding: 0; }
.aside-box ul li { padding: .35rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.aside-box ul li:last-child { border-bottom: none; }
.aside-box ul li a { color: var(--ink); }
.aside-box ul li a:hover { color: var(--brand); }

/* ---- Forms ---- */
form.contact-form {
  background: #fff;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.form-field { display: flex; flex-direction: column; margin-bottom: var(--space-4); }
.form-field label { font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: .35rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit; font-size: 1rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-10); align-items: start; }
.contact-info { display: grid; gap: var(--space-4); }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--brand); color: #fff;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 .2rem; font-size: .95rem; color: var(--ink); }
.info-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.location-list, .locations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem 1.2rem;
  list-style: none; padding: 0; margin: 0;
}
.location-list li, .locations-grid li {
  padding: .4rem 0;
  color: var(--ink-soft);
  font-size: .92rem;
}
.location-list li::before, .locations-grid li::before { content: "▸ "; color: var(--brand); font-weight: 700; margin-right: .35rem; }

.form-card {
  background: #fff;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
}
.form-card h3 { color: var(--brand); font-size: 1.35rem; text-transform: none; letter-spacing: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-row { display: flex; flex-direction: column; margin-bottom: var(--space-4); }
.form-row label, .form-field label { font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: .35rem; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea, .form-field input, .form-field select, .form-field textarea {
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit; font-size: 1rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-row textarea, .form-field textarea { min-height: 130px; resize: vertical; }

/* ---- Footer ---- */
footer {
  background: var(--dark);
  color: #a8adb4;
  padding: var(--space-12) 0 var(--space-6);
  font-size: .92rem;
}
footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-4); text-transform: uppercase; letter-spacing: .1em; position: relative; padding-bottom: .5rem; }
footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--brand); }
footer a { color: #a8adb4; }
footer a:hover { color: var(--brand); }
footer .footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: var(--space-8);
  margin-bottom: var(--space-8);
}
footer .brand-block img { height: 56px; width: auto; margin-bottom: var(--space-4); filter: brightness(1.1); }
footer .brand-block p { color: #a8adb4; font-size: .9rem; }
footer ul { list-style: none; padding: 0; }
footer ul li { padding: .3rem 0; }
footer .footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-5); border-top: 1px solid #3b3b3b;
  font-size: .82rem; color: #6a6f75;
  flex-wrap: wrap; gap: .5rem;
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .service-body { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .location-list, .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .aside-box { position: static; }
  footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: var(--space-4);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links > li > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s;
    padding: 0;
  }
  .has-dropdown.open .dropdown { max-height: 500px; padding: .3rem 0; }
  .nav .btn { padding: .8rem 1.2rem !important; margin-top: .5rem; }

  section { padding: var(--space-10) 0; }
  .hero { min-height: 70vh; padding: var(--space-10) 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .location-list, .locations-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-5); }
  footer .footer-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar { font-size: .75rem; }
  .topbar .container { gap: .35rem .8rem; }
  .brand img { height: 46px; }
}
