:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --panel-alt: #eaf0f5;
  --text: #1b2330;
  --muted: #4d596a;
  --primary: #13263d;
  --primary-2: #2e4f6f;
  --accent: #d9e3ea;
  --line: rgba(19, 38, 61, 0.12);
  --shadow: 0 18px 45px rgba(18, 27, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Keep section headings clear of the sticky header when jumping to them. */
section[id],
article[id] {
  scroll-margin-top: 88px;
}

@media (max-width: 860px) {
  section[id],
  article[id] {
    scroll-margin-top: 150px;
  }
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 66px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0.85rem;
  content: "";
}

.services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.services-trigger span {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .services-trigger span,
.nav-dropdown:focus-within .services-trigger span {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  display: grid;
  min-width: 250px;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--panel-alt);
  color: var(--primary);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--primary);
}

.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.88), rgba(21, 36, 52, 0.72)),
    url("https://images.unsplash.com/photo-1516321165247-4aa89a48be28?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  color: #fff;
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  padding: 80px 0 90px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #dfeaf5;
}

.hero h1,
.section-heading h2,
.about h2,
.contact-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 620px;
  margin-bottom: 1rem;
}

.lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.panel-card {
  width: min(100%, 460px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.5rem 1.35rem;
  backdrop-filter: blur(8px);
}

.panel-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.8rem;
}

.panel-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.panel-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-family: "Playfair Display", Georgia, serif;
}

.panel-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 0.5rem;
}

.solutions,
.about,
.contact {
  padding: 96px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.25rem;
}

.solutions-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.solutions-intro .section-heading {
  margin: 0;
  text-align: left;
}

.solutions-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 13;
  object-fit: contain;
  border-radius: 12px;
}

.hero-platforms {
  margin-bottom: 1rem;
}

.hero-platform-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.35rem;
}

.hero-platform-logos img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 5 / 2;
  height: auto;
  min-width: 0;
  object-fit: contain;
  border: 1px solid rgba(190, 224, 231, 0.2);
  border-radius: 6px;
}

.section-heading .eyebrow,
.about .eyebrow,
.contact-header .eyebrow {
  color: var(--primary-2);
}

.section-heading h2,
.about h2,
.contact-header h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--primary);
}

.section-link {
  margin-top: 2rem;
  text-align: center;
}

.text-link {
  color: var(--primary-2);
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.2s ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.94), rgba(36, 67, 91, 0.84)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  color: #fff;
}

.page-hero-inner {
  padding: 104px 0 112px;
}

.partner-hero .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.partner-hero-copy {
  max-width: 620px;
}

.partner-hero-art {
  overflow: hidden;
  border: 1px solid rgba(183, 255, 250, 0.25);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.partner-hero-art img {
  width: 100%;
  height: auto;
}

.page-hero h1 {
  max-width: 680px;
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
}

.page-hero p:last-child {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.service-directory {
  padding: 96px 0;
}

.service-intro {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.service-intro .eyebrow,
.service-cta .eyebrow {
  color: var(--primary-2);
}

.service-intro h2,
.service-cta h2 {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.service-intro > p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  min-height: 295px;
  padding: 0 1.8rem 1.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card-image {
  width: calc(100% + 3.6rem);
  height: auto;
  aspect-ratio: 900 / 560;
  margin: 0 -1.8rem 1.5rem;
  object-fit: contain;
  display: block;
  border-radius: 18px 18px 0 0;
}

.cloud-service-card-image {
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

.partner-logo {
  width: calc(100% + 3.6rem);
  height: auto;
  aspect-ratio: 900 / 360;
  margin: 0 -1.8rem 1.5rem;
  display: block;
  object-fit: contain;
  border-radius: 18px 18px 0 0;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(18, 27, 38, 0.16);
}

.service-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--primary-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--primary);
  font-size: 0.95rem;
}

.service-card li::before {
  content: "•";
  margin-right: 0.55rem;
  color: var(--primary-2);
}

.service-cta {
  padding: 0 0 96px;
}

.service-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem;
  border-radius: 22px;
  background: var(--accent);
}

.service-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dark-button {
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.info-card-image {
  display: block;
  width: calc(100% + 3rem);
  height: auto;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  margin: -2rem -1.5rem 1.5rem;
  border-radius: 22px 22px 0 0;
}

.info-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  color: var(--primary);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about {
  background: linear-gradient(180deg, #edf2f7 0%, #f7f9fb 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.stats {
  padding: 0 0 96px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-icon {
  display: block;
  width: 64px;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.stat-box strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.stat-box span {
  color: var(--muted);
  font-size: 1rem;
}

.contact-wrap {
  display: grid;
  gap: 1.75rem;
}

.contact-header {
  text-align: center;
}

.office-address {
  margin: 0 auto;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.office-address strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.office-phone {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.office-phone strong {
  margin-right: 0.35rem;
  color: var(--primary);
}

.office-phone a {
  color: var(--primary-2);
  font-weight: 600;
}

.office-map-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--primary-2);
  font-weight: 600;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
  color: var(--primary);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(19, 38, 61, 0.2);
  border-radius: 12px;
  background: #f9fafb;
  padding: 0.9rem 1rem;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(46, 79, 111, 0.25);
  border-color: rgba(46, 79, 111, 0.45);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
  font-weight: 500;
  color: var(--muted);
}

.checkbox-wrap input {
  width: 18px;
  height: 18px;
  margin-top: 0.22rem;
}

.submit-btn {
  width: fit-content;
  min-width: 140px;
  background: var(--primary);
  color: #fff;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-thanks {
  max-width: 760px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-thanks:focus {
  outline: none;
}

.contact-thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #e3f4ea;
  color: #1f7a45;
  font-size: 2rem;
  font-weight: 700;
}

.contact-thanks h3 {
  margin: 0 0 0.6rem;
  color: var(--primary);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.contact-thanks p {
  margin: 0 auto 1.5rem;
  max-width: 460px;
  color: var(--muted);
}

.contact-error {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid #f1c4c4;
  border-radius: 12px;
  background: #fdf0f0;
  color: #9b2c2c;
  font-weight: 500;
}

.recaptcha-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.recaptcha-note a {
  color: var(--primary-2);
  text-decoration: underline;
}

.site-footer {
  background: #111b26;
  color: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 24px));
  background: #0e1723;
  color: #edf3fa;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  z-index: 40;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.cookie-content p {
  margin: 0;
  max-width: 540px;
  color: rgba(237, 243, 250, 0.8);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .hero-inner,
  .about-grid,
  .solutions-intro,
  .card-grid,
  .stats-grid,
  .field-row,
  .service-grid,
  .partner-hero .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
  }

  .solutions-intro {
    gap: 1.25rem;
  }

  .solutions-intro .section-heading {
    text-align: center;
  }

  .solutions-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown-menu {
    left: 0;
    transform: translate(0, -6px);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: translate(0, 0);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 56px;
    padding-bottom: 70px;
  }

  .service-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 48px;
  }

  .main-nav {
    gap: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .page-hero-inner {
    padding: 72px 0 78px;
  }

  .partner-hero .page-hero-inner {
    gap: 2rem;
  }

  .service-card {
    min-height: 0;
  }

  .service-card-image {
    aspect-ratio: 900 / 560;
  }

  .service-cta-inner {
    padding: 1.5rem;
  }
}
