/* Blue Ocean IT Solutions — styles
   Palette and type from the Brand Guidelines. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ocean: #005B96;       /* Primary Ocean Blue */
  --blue: #0077C8;        /* Secondary Blue */
  --accent: #00AEEF;      /* Accent / Bright Azure */
  --light: #F4F9FC;       /* Light Background */
  --navy: #17324D;        /* Dark Text / Navy */
  --body: #5B6770;        /* Body Text */
  --white: #FFFFFF;

  --radius: 14px;
  --container: 1180px;
  --header-h: 72px;
  --shadow: 0 10px 30px rgba(23, 50, 77, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: var(--ocean); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); scroll-margin-top: var(--header-h); }
[id] { scroll-margin-top: var(--header-h); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

/* Eyebrow labels */
.eyebrow {
  font-size: .78rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow-light { color: #BFE9FB; }
.eyebrow-rule { display: inline-flex; align-items: center; gap: .9rem; }
.eyebrow-rule::before, .eyebrow-rule::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6; }

/* Buttons & inline icons */
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 8px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(0, 91, 150, .25); }
.btn-light { background: var(--white); color: var(--ocean); }
.btn-light:hover { background: var(--light); color: var(--ocean); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(23, 50, 77, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 550; padding: .4rem 0; position: relative; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="true"] { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle-bar { display: block; width: 26px; height: 2.5px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--white);
    border-bottom: 1px solid rgba(23, 50, 77, .08); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(23, 50, 77, .07); }
  .site-nav ul a::after { display: none; }
  .site-nav .btn { justify-content: center; }
}

/* ---------- Dividers ---------- */
.divider { width: 100%; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  padding: clamp(5rem, 3rem + 8vw, 9rem) 0 clamp(7rem, 5rem + 8vw, 11rem);
  background: linear-gradient(135deg, #005B96 0%, #0077C8 55%, #00AEEF 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* 6-notes gradient, weighted to the left so the copy stays readable over the sunrise */
  background:
    linear-gradient(90deg, rgba(0, 59, 102, .82) 0%, rgba(0, 91, 150, .62) 38%, rgba(0, 119, 200, .18) 70%, rgba(0, 174, 239, 0) 100%),
    linear-gradient(135deg, rgba(0, 91, 150, .35) 0%, rgba(0, 119, 200, .15) 55%, rgba(0, 174, 239, .1) 100%);
}
.hero-content { max-width: var(--container); }
.hero h1 { color: var(--white); max-width: 19ch; text-wrap: balance; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero-email { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; font-weight: 550; }
.hero-email:hover { color: #BFE9FB; text-decoration: underline; text-underline-offset: 4px; }
.divider-ocean { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(70px, 9vw, 150px); }

.divider-light-wrap { position: relative; z-index: 1; margin-top: calc(-1 * clamp(40px, 5vw, 86px)); margin-bottom: -2px; }
.divider-light { height: clamp(48px, 6vw, 100px); }

/* ---------- Advice ---------- */
.advice { padding-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.advice-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .advice-grid { grid-template-columns: 1fr 1.05fr; } }
.advice-copy p:last-child { margin-bottom: 0; }
.advice-media { margin: 0; position: relative; }
.advice-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(23, 50, 77, .18); }
.advice-media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 55%;
  border-radius: var(--radius); background: var(--light); border: 1px solid #DDEEF8; z-index: -1;
}
.advice-media { isolation: isolate; }

.divider-line-wrap { background: linear-gradient(var(--white) 50%, var(--light) 50%); }
.divider-line { height: clamp(40px, 6vw, 90px); }

/* ---------- Expertise ---------- */
.expertise {
  position: relative; isolation: isolate; background: var(--light);
  padding-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-bottom: clamp(6rem, 4rem + 6vw, 9rem);
}
.expertise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("/assets/img/pattern-network.webp") center / cover no-repeat;
  opacity: .55;
}
.section-head h2 { text-wrap: balance; }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 3.75rem); }
.expertise-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .expertise-grid { grid-template-columns: repeat(4, 1fr); } }
.expertise-item {
  background: rgba(255, 255, 255, .88); border: 1px solid #E2EEF6; border-radius: var(--radius);
  padding: 1.75rem 1rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.expertise-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CBE5F5; }
.expertise-item h3 { margin: 1.1rem 0 0; font-size: 1rem; text-wrap: balance; }
@media (max-width: 719px) {
  .expertise-grid { gap: .85rem; }
  .expertise-item { padding: 1.3rem .6rem 1.2rem; }
  .expertise-item h3 { font-size: .9rem; margin-top: .85rem; }
  .icon-ring { width: 68px; height: 68px; }
  .icon-ring .icon { width: 34px; height: 34px; }
}

.icon-ring {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  /* split ring echoing the icon board: ocean blue to accent */
  background:
    radial-gradient(circle, var(--white) 61%, transparent 62%),
    conic-gradient(from 210deg, var(--ocean), var(--blue) 40%, var(--accent) 70%, var(--ocean));
  color: var(--ocean);
}
.icon { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.icon-ring .icon { width: 42px; height: 42px; }

/* ---------- Why ---------- */
.why { position: relative; color: rgba(255, 255, 255, .88); margin-top: clamp(-5rem, -3rem - 3vw, -2.5rem); }
.divider-why-top { display: block; height: clamp(50px, 6vw, 100px); margin-bottom: -1px; }
.why-body {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--ocean) 0%, #0D4673 45%, var(--navy) 100%);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 clamp(5rem, 3rem + 5vw, 7rem);
}
.why-body::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("/assets/img/pattern-contour.webp") center / cover no-repeat;
  opacity: .55; mix-blend-mode: screen;
}
.why h2 { color: var(--white); max-width: 18ch; text-wrap: balance; }
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1.1fr 1fr; } }
.why-emphasis { color: var(--white); font-weight: 600; border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.5rem 0 0; }
.why-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-points li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem;
  padding: 1.6rem 1rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white); font-weight: 600; line-height: 1.35;
}
.why-points .icon { color: var(--accent); width: 48px; height: 48px; stroke-width: 2; }

/* ---------- Contact ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--light) url("/assets/img/contact-1920.webp") center right / cover no-repeat;
  padding: clamp(5rem, 3rem + 6vw, 8rem) 0 clamp(9rem, 6rem + 9vw, 14rem);
}
@media (max-width: 767px) { .contact { background-image: url("/assets/img/contact-1024.webp"); background-position: 70% center; } }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(244, 249, 252, .97) 0%, rgba(244, 249, 252, .92) 42%, rgba(244, 249, 252, .35) 72%, rgba(244, 249, 252, 0) 100%);
}
@media (max-width: 767px) { .contact::before { background: rgba(244, 249, 252, .9); } }
.divider-contact-top { position: absolute; top: -1px; left: 0; height: clamp(30px, 4vw, 60px); }
.contact-inner { max-width: var(--container); }
.contact-inner > * { max-width: 34rem; }
.contact-lead { color: var(--navy); opacity: .85; }
.contact-details { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .75rem; }
.contact-details li { display: flex; align-items: center; gap: .75rem; color: var(--navy); font-weight: 550; }
.contact-details .ico { color: var(--blue); width: 1.3em; height: 1.3em; }
.contact-details a { color: var(--navy); text-decoration: none; }
.contact-details a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.divider-footer { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(70px, 10vw, 160px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 1.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1.4fr 1fr; align-items: center; } }
.footer-brand img { width: 176px; }
.footer-tagline { margin: .9rem 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #9FD8F5; max-width: 22rem; line-height: 1.6; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a, .footer-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; gap: .35rem; }
@media (min-width: 900px) { .footer-contact { justify-items: end; text-align: right; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0; }
/* Space reserved for Privacy / Terms / Sitemap links */
.footer-legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; min-height: 1.5rem; }
.footer-legal a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; background: var(--light); }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
