/*
 * Webstudio staging palette – Tintenblau & Azurblau
 * Main: #142B4C | Accent: #007FFF
 * Loaded after main.css and refinements.css. Layout and content unchanged.
 * Legacy --teal variables are mapped here for backward compatibility.
 */
:root {
  --ws-navy: #142B4C;
  --ws-azure: #007FFF;
  --ws-azure-dark: #005CB8;
  --ws-azure-soft: #EAF4FF;
  --ws-blue-line: #D9E5F3;
  --ink: var(--ws-navy);
  --ink-2: #2C4362;
  --cream: #F5F8FC;
  --muted: #53667D;
  --line: var(--ws-blue-line);
  --teal: var(--ws-azure);
  --teal-dark: var(--ws-navy);
  --teal-light: var(--ws-azure-soft);
}

/* Readable typography and keyboard focus on light surfaces. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline-color: var(--ws-azure);
}
.text-link { color: var(--ws-navy); border-bottom-color: var(--ws-azure); }
.text-link:hover, .page-content a:hover, .contact-details a:hover { color: var(--ws-azure-dark); }
.eyebrow-light { color: #96CAFF; }
.button-primary { background: var(--ws-azure); color: #fff; }
.button-primary:hover { background: var(--ws-azure-dark); }
.button-light { background: #fff; color: var(--ws-navy); }
.button-light:hover { background: var(--ws-azure-soft); }

/* Identity and navigation: navy foundation, azure cues. */
.brand-mark { background: var(--ws-navy); }
.brand-mark span, .footer-brand span { color: #95CAFF; }
.nav-contact { background: var(--ws-navy); }
.nav-contact:hover { background: var(--ws-azure-dark); }
.nav-list .sub-menu { box-shadow: 0 10px 20px rgba(20,43,76,.15); }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(20,43,76,.12); }
@media (max-width: 920px) {
  .primary-nav { box-shadow: 0 16px 28px rgba(20,43,76,.16); }
}

/* Hero image tint and no-image fallback use only blue hues. */
.hero { background: var(--ws-navy); }
.hero-background::after {
  background: radial-gradient(circle at 80% 18%, rgba(0,127,255,.2), transparent 40%),
              linear-gradient(125deg, #0D2340 1%, #142B4C 55%, #1C477A 100%);
}
.hero-tint {
  background: linear-gradient(92deg, rgba(10,28,53,.94) 3%, rgba(20,43,76,.75) 50%, rgba(20,43,76,.31) 100%);
}
.hero--no-image .hero-background::before {
  border-color: rgba(151,199,255,.14);
  box-shadow: 0 0 0 70px rgba(0,127,255,.035), 0 0 0 155px rgba(0,127,255,.018);
}
.hero--no-image .hero-background::after {
  background: radial-gradient(ellipse at 78% 28%, rgba(0,127,255,.21), transparent 44%),
              linear-gradient(120deg, #0D2340 1%, #142B4C 54%, #1D4471 100%);
}
.hero--no-image .hero-tint {
  background: linear-gradient(90deg, rgba(10,29,55,.15), rgba(20,43,76,.05));
}
.hero-description { color: #E2EDFC; }
.hero-side { color: #C6D9F1; }
.hero-side .vertical-line { background: #91B7E4; }
.hero-bottom { color: #D1E1F5; }
.scroll-arrow { border-color: #9DBDE2; }

/* About, services, project cards and team placeholders. */
.about-placeholder {
  background: linear-gradient(145deg, #1D4471, #0D2340);
  color: #EAF4FF;
}
.services-grid { border-color: var(--ws-blue-line); }
.service-card:hover { background: #F0F7FF; }
.projects-section { background: #EDF4FC; }
.project-placeholder { background: #B3C7E0; }
.project-empty { background: var(--ws-navy); }
.project-empty-mark { color: #75B5FF; }
.project-empty .eyebrow { color: #95CAFF; }
.project-empty p:not(.eyebrow) { color: #D9E8FA; }
.team-photo { background: #DFE9F5; }
.team-placeholder {
  background: linear-gradient(145deg, #ECF5FF, #BCD4EF);
  color: #5D83B3;
}
.testimonial-section { background: var(--cream); }

/* Dark call-to-action and footer; blue highlights remain visible. */
.cta-section { background: var(--ws-navy); }
.cta-inner p:not(.eyebrow) { color: #D5E5F7; }
.site-footer { background: #10243F; }
.footer-about p { color: #C2D6EF; }
.footer-about small { color: #9CB7D6; }
.footer-links a:hover { color: #95CAFF; }
.back-top { border-color: #7599C4; }
.page-content { color: #2C4362; }

/* Form surfaces, feedback and shadows harmonize with the blue palette. */
.contact-form-card { box-shadow: 0 14px 38px rgba(20,43,76,.075); }
.ws-form input:not([type="checkbox"]),
.ws-form textarea {
  background: #FAFCFF;
  border-color: var(--ws-blue-line);
}
.ws-form input:focus,
.ws-form textarea:focus {
  background: #fff;
  border-color: var(--ws-azure);
  box-shadow: 0 0 0 3px rgba(0,127,255,.13);
}
.form-notice { background: var(--ws-azure-soft); color: var(--ws-navy); }

/* Intentional exception: floating dot navigation keeps its original
 * mix-blend-mode:difference for contrast over light/dark/photos. */
