/* atlantis.dev — one stylesheet for every page.
   Values come from the old Elementor site (colors, type scale, radii, shadows). */

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin.woff2) format("woff2");
  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: "Quicksand";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/quicksand-latin-ext.woff2) format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #303546;
  --navy-soft: rgba(48, 53, 70, 0.48);
  --navy-mission: #3d4459;
  --accent: #ca4024;
  --text: #353535;
  --white: #fffefe;
  --field: #f9f9f9;

  --h1: 50px;
  --h2: 45px;
  --h2-small: 35px;
  --body: 16px;

  --shadow-img: 0 0 30px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 0 30px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 0 20px rgba(0, 0, 0, 0.05);
  --radius-card: 15px 15px 15px 70px;

  --container: 1400px;
  --gutter: 20px;
  --header-h: 90px;
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Quicksand", sans-serif;
  font-size: var(--body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
p + p { margin-top: 0.9em; }
b, strong { font-weight: 700; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 5px;
  background: var(--navy); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- type ---------- */

.eyebrow { font-size: 16px; font-weight: 400; line-height: 1.2; color: var(--navy); }
.eyebrow--accent { color: var(--accent); }
.eyebrow--soft { font-size: 20px; color: #6e7280; }
.eyebrow--light { font-weight: 300; }

.title { font-size: var(--h2); font-weight: 400; line-height: 1.2; color: var(--navy); }
.title--small { font-size: var(--h2-small); }
.title--accent { color: var(--accent); }
.eyebrow + .title { margin-top: 20px; }
.title + .text { margin-top: 20px; }
.title + .actions, .text + .actions { margin-top: 30px; }

.center { text-align: center; }

.tech { margin-top: 20px; font-size: 12px; font-style: italic; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border: 0; border-radius: 30px;
  font: 500 16px/1.2 inherit; font-family: inherit;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--accent); }
.btn--link {
  padding: 0; background: none; box-shadow: none; color: var(--navy);
}
.btn--link:hover { transform: none; filter: none; color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- header ---------- */

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.site-header .logo { display: block; padding-left: 10px; }
.site-header .logo img { width: 179px; }
.logo-dark { display: none !important; }

.site-nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.site-nav ul { display: flex; gap: 0; margin: 0 20px 0 0; padding: 0; list-style: none; }
.site-nav li a {
  position: relative; display: block;
  padding: 35px 16px;
  font-size: 15px; font-weight: 500; line-height: 18px;
  text-decoration: none;
}
.site-nav li a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px;
  height: 2px; background: currentColor;
  transform: scaleX(0); transition: transform 0.25s ease;
}
.site-nav li a:hover::after,
.site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-contact {
  margin: 0 10px 0 0;
  padding: 10px 20px; border-radius: 5px;
  background: var(--navy-soft); color: #fff;
  font-size: 16px; font-weight: 500; line-height: 19px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.site-nav .nav-contact:hover { background: var(--navy); }
.site-nav .nav-contact-item { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -6px; padding: 10px;
  border: 0; background: none; color: inherit; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; fill: currentColor; }
.nav-toggle .icon-close { display: none; }

/* white bar that slides in once the page has scrolled past the header */
.site-header.is-stuck {
  position: fixed;
  background: #fff; color: var(--navy);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  animation: header-in 0.3s ease-out;
}
.site-header.is-stuck .logo-light { display: none !important; }
.site-header.is-stuck .logo-dark { display: block !important; }
@keyframes header-in { from { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }

/* ---------- page hero ---------- */

.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: 500px;
  padding-top: 40px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero--home { min-height: 720px; padding-top: 75px; }
.hero__bg, .hero__bg img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero--home .hero__bg img { object-position: 50% 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(130deg, var(--navy) 0%, var(--hero-tint, var(--accent)) 89%);
  opacity: var(--hero-opacity, 0.5);
}
.hero .container { padding-bottom: 60px; }
.hero__content { max-width: 700px; padding: 10px; }
.hero h1 { font-size: var(--h1); font-weight: 500; line-height: 1.2; }
.hero .hero__kicker { font-size: 24px; font-weight: 400; line-height: 1.2; margin-bottom: 20px; }
.hero .hero__sub { font-size: 20px; font-weight: 400; line-height: 1.2; margin-top: 20px; }
.hero .hero__lead { font-size: 20px; line-height: 1.4; margin-top: 20px; }
.hero .actions { margin-top: 20px; }

/* Elementor "waves" shape divider, same path and proportions */
.wave {
  position: absolute; left: 0; right: 0; z-index: 1;
  overflow: hidden; line-height: 0; pointer-events: none;
}
.wave svg {
  position: relative; left: 50%;
  width: calc(260% + 1.3px); max-width: none;
  height: var(--wave-h, 120px);
  transform: translateX(-50%) rotateY(180deg);
}
.wave svg { fill: #fff; }
.wave--bottom { bottom: -1px; transform: rotate(180deg); }
.wave--top { top: -1px; }

/* ---------- sections ---------- */

.section { padding-block: 100px; }
.section--lg { padding-block: 144px; }
.section--xl { padding-block: 200px; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.subtitle { margin-top: 20px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0;
}
.split > * { padding: 10px; }
.split__text { padding: 35px 0 35px 70px; }
.split--2-1 { grid-template-columns: 2fr 1fr; }
.split--65-35 { grid-template-columns: 65fr 35fr; }
.split--60-40 { grid-template-columns: 60fr 40fr; }
.split--top-align { align-items: start; }
.split--top { align-items: start; }
.split--top > *, .split--top > .split__text { padding: 30px; }
.split + .split { margin-top: 70px; }

/* about: two text columns and an image */
.intro-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.intro-3 > * { padding: 10px; }
.intro-3 .title + .text { margin-top: 20px; }
.intro-3__img { margin-top: -45px; }

.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-inline: 110px;
}
.section-head--center { display: block; max-width: 600px; margin-inline: auto; padding: 0; text-align: center; }

/* rounded images with one oversized corner */
.blob { box-shadow: var(--shadow-img); width: 100%; }
.blob img { width: 100%; }
.blob, .blob img { border-radius: var(--r); }
.r-br { --r: 100px 100px 300px; }
.r-tl { --r: 300px 100px 100px; }
.r-tr { --r: 100px 300px 100px 100px; }
.r-bl { --r: 100px 100px 100px 300px; }
.r-tl-200 { --r: 200px 100px 100px; }

/* ---------- cards ---------- */

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 80px;
}
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 70px 47px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.card__icon { height: 65px; width: auto; margin-bottom: 15px; fill: var(--navy-soft); }
.card h3, .card h4 { font-size: 20px; font-weight: 400; line-height: 1.2; color: var(--navy); }
.card p { margin-top: 15px; }
.card .btn--link { margin-top: auto; padding-top: 20px; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.values .card { padding: 82px 55px; }

/* ---------- team ---------- */

.team {
  display: grid; grid-template-columns: repeat(3, 380px); justify-content: center; gap: 20px;
  margin-top: 60px;
}
.member {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.member img { width: 100%; height: 260px; object-fit: cover; }
.member h3 { margin-top: 24px; font-size: 20px; font-weight: 400; line-height: 1.2; color: var(--accent); }
.member p { margin: 10px 0 24px; }
.team .member:last-child:nth-child(3n + 1) { grid-column: 2; }

.feature-card {
  width: 100%; aspect-ratio: 873 / 500;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}
.feature-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- clients ---------- */

.clients { padding-block: 72px 140px; }
.clients .text { max-width: 600px; margin: 20px auto 0; }

.logos { margin-top: 50px; overflow: hidden; }
.logos__track {
  display: flex; width: max-content;
  animation: logos 40s linear infinite;
}
.logos__track, .logos__dup { display: flex; }
.logos__track picture { width: 256px; margin-inline: 8px; flex: none; }
.logos:hover .logos__track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .logos__track [aria-hidden="true"] { display: none; }
}

.logo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center; row-gap: 80px;
  margin: 100px 0 0; padding: 0; list-style: none;
}

/* ---------- dark call to action band ---------- */

.band {
  position: relative;
  padding-bottom: 50px;
  background: var(--navy);
  color: var(--white);
  --wave-h: 100px;
}
.band .container { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.band__text { position: relative; z-index: 2; padding: 90px 30px 0 0; }
.band__text .title { color: var(--white); }
.band__text .band__sub { margin-top: 20px; font-size: 16px; line-height: 1.2; }
.band__text .actions { margin-top: 40px; }
.band__img { position: relative; z-index: 2; margin-top: -70px; align-self: start; }

/* ---------- services detail ---------- */

.service + .service { margin-top: 50px; }
.service .title { margin-bottom: 20px; }
.stack { display: grid; gap: 19px; }

/* clients page: two overlapping images */
.collage { position: relative; padding: 0 0 0 0; }
.collage .blob:first-child { width: 45%; margin-left: auto; }
.collage .blob:last-child { width: 75%; margin-top: -123px; position: relative; }

/* ---------- contact ---------- */

.form-card {
  padding: 84px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
}
.form { display: grid; gap: 20px; }
.form input:not([type="checkbox"]),
.form textarea {
  width: 100%; min-height: 47px;
  padding: 12px 16px;
  border: 1px solid transparent; border-radius: 4px;
  background: var(--field);
  color: var(--text);
  font: inherit;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy-soft); background: #fff; }
.form ::placeholder { color: #9a9a9a; opacity: 1; }
.form-note { font-size: 13px; line-height: 1.5; color: #6b6b6b; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .submit { display: flex; justify-content: flex-end; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.is-ok { color: #2e7d32; }
.form-status.is-error { color: var(--accent); }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 60px; }
.contact-cards .card { align-items: center; padding: 98px; text-align: center; }
.contact-cards .card svg { height: 66px; width: auto; margin-bottom: 15px; }
.contact-cards .card h3 { color: var(--text); }
.contact-cards a { text-decoration: none; }
.contact-cards a:hover h3 { color: var(--accent); }

/* ---------- long text (privacy policy) ---------- */

.hero--plain { min-height: 380px; }
.prose { max-width: 800px; margin-inline: auto; line-height: 1.6; }
.prose h2 { margin: 48px 0 16px; font-size: 26px; font-weight: 500; line-height: 1.25; color: var(--navy); }
.prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.prose p, .prose ul { margin: 0 0 14px; }
.prose p + p { margin-top: 0; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); }
.prose h2, .prose h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.prose__updated { font-size: 14px; color: #6b6b6b; }

/* ---------- footer ---------- */

.site-footer { padding-block: 72px 29px; font-size: 12px; }
.site-footer .container { display: flex; align-items: center; gap: 40px; }
.site-footer .logo img { width: 100px; }
.site-footer .legal { flex: 1; line-height: 1.4; }
.site-footer .privacy {
  padding: 4px 8px; border-radius: 4px;
  background: #1c1c1c; color: #fff;
  font-size: 11px; font-weight: 700; text-decoration: none;
}
.site-footer .social svg { width: 18px; height: 18px; fill: #333; }
.site-footer .social:hover svg { fill: var(--accent); }

/* ---------- tablet ---------- */

@media (max-width: 1024px) {
  :root { --h1: 45px; --h2: 32px; --h2-small: 25px; --body: 15px; }
  .section-head { padding-inline: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 380px)); }
  .team .member:last-child:nth-child(3n + 1) { grid-column: auto; }
  .split__text { padding-left: 30px; }
  .form-card { padding: 50px; }
  .contact-cards .card { padding: 60px 40px; }
  .site-nav li a { padding-inline: 10px; }
  .site-nav li a::after { left: 10px; right: 10px; }
}

/* ---------- mobile ---------- */

@media (max-width: 767px) {
  :root { --h1: 35px; --h2: 30px; --h2-small: 25px; --body: 15px; }

  .site-header .logo { padding-left: 0; }
  .site-header .logo img { width: 175px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  .site-nav ul { flex-direction: column; margin: 0; width: 100%; }
  .site-nav li a { padding: 20px var(--gutter); color: var(--navy); }
  .site-nav li a::after { display: none; }
  .site-nav li a[aria-current="page"] { color: var(--accent); }
  .site-nav .nav-contact { display: none; }
  .site-nav .nav-contact-item { display: block; }
  .site-header.is-open .site-nav { display: block; }
  .site-header.is-open .icon-open { display: none; }
  .site-header.is-open .icon-close { display: block; }
  .site-header.is-open:not(.is-stuck) { background: #fff; color: var(--navy); }
  .site-header.is-open:not(.is-stuck) .logo-light { display: none !important; }
  .site-header.is-open:not(.is-stuck) .logo-dark { display: block !important; }

  .hero { min-height: 320px; padding-top: 40px; text-align: center; --wave-h: 50px; }
  .hero--home { min-height: 830px; padding-top: 60px; --wave-h: 120px; }
  .hero .container { padding-bottom: 40px; }
  .hero__content { margin-inline: auto; padding: 5px; }
  .hero .hero__kicker { font-size: 20px; }
  .hero .hero__lead { font-size: 15px; }
  .hero .actions { justify-content: center; }

  .section { padding-block: 60px; }
  .section--lg { padding-block: 80px; }
  .section--xl { padding-block: 100px; }
  .section--flush-top { padding-top: 0; }
  .section--flush-bottom { padding-bottom: 0; }
  .split, .band .container { grid-template-columns: 1fr; }
  .split__text { padding: 20px; text-align: center; }
  .split--top > *, .split--top > .split__text { padding: 10px 0; text-align: left; }
  .split + .split { margin-top: 30px; }
  .intro-3 { grid-template-columns: 1fr; }
  .intro-3__img { margin-top: 0; }
  .split__text .actions { justify-content: center; }
  .split--media-last-mobile > :first-child { order: 2; }
  .section-head { flex-direction: column; text-align: center; }
  .cards, .values, .contact-cards { grid-template-columns: 1fr; gap: 22px; margin-top: 40px; }
  .card { align-items: center; padding: 35px; text-align: center; }
  .values .card { padding: 44px; }
  .team { grid-template-columns: minmax(0, 380px); }
  .feature-card { aspect-ratio: 4 / 3; }

  .clients { padding-block: 60px 100px; }
  .logo-grid { grid-template-columns: 1fr; row-gap: 40px; margin-top: 60px; }

  .band { --wave-h: 45px; }
  .band__text { padding: 70px 0 0; text-align: center; }
  .band__text .actions { justify-content: center; margin-top: 30px; }
  .band__img { margin: 66px 0 -50px; }
  .r-tl { --r: 150px 50px 50px; }
  .r-br { --r: 50px 50px 150px; }
  .r-tr { --r: 50px 150px 50px 50px; }
  .r-bl { --r: 50px 50px 50px 150px; }
  .r-tl-200 { --r: 120px 50px 50px; }

  .collage .blob:last-child { margin-top: -60px; }

  .form-card { padding: 35px; }
  .contact-cards .card { padding: 44px; }

  .site-footer .container { flex-direction: column; gap: 16px; text-align: center; }
}
