:root {
  --navy: #003963;
  --ink: #17212b;
  --muted: #5c6b78;
  --line: #dce3e9;
  --soft: #f6f8fa;
  --ice: #e9f4fb;
  --orange: #e66208;
  --orange-dark: #c95104;
  --teal: #1f9bb4;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(20, 39, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

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

.header-inner,
.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, #00a0df 0%, #0072bc 100%);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transform: skew(-10deg);
}

.brand-mark::first-letter {
  transform: skew(10deg);
}

.brand-name {
  position: relative;
  display: inline-block;
  color: var(--navy);
  font-family: "Segoe UI Black", "Arial Black", "Trebuchet MS", Arial, sans-serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  transform: skew(-8deg);
}

.brand-name::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -4px;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), rgba(0, 160, 223, 0));
  border-radius: 999px;
  transform: skew(-18deg);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 25, 46, 0.98) 0%, rgba(0, 57, 99, 0.9) 52%, rgba(6, 86, 110, 0.72) 100%),
    url("assets/sap-s4-hana.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(0, 25, 46, 0.55), rgba(0, 25, 46, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 60px;
  align-items: center;
  padding: 74px 0;
}

.hero-copy {
  max-width: 650px;
}

.partner-badge {
  width: 132px;
  height: auto;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  padding: 8px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffb57a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
}

.button-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.hero-stat {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.hero-stat strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
}

.hero-stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-stat-top {
  top: 36px;
  left: -28px;
}

.hero-stat-bottom {
  right: -14px;
  bottom: 38px;
}

.section {
  padding: 86px 0;
}

.intro {
  background: var(--soft);
  padding-top: 64px;
  padding-bottom: 64px;
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: start;
}

.intro-panel h2 {
  margin-bottom: 0;
}

.intro-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-content {
  padding: 24px;
}

.solution-content p {
  color: var(--muted);
}

.solution-content ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.solution-content li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 15px;
}

.solution-content li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
}

.services {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(20, 39, 57, 0.08);
  transition: transform 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  border-color: rgba(230, 98, 8, 0.55);
  transform: translateY(-3px);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--orange);
  background: #fff3eb;
  border: 1px solid #ffd7c0;
  border-radius: 8px;
}

.icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.closing {
  background: var(--white);
}

.closing-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: stretch;
  padding: 42px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.closing-panel h2 {
  max-width: 720px;
}

.closing-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.contact-card span {
  color: #ffb57a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}

.contact-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer {
  color: var(--white);
  background: #001d33;
}

.footer-inner {
  min-height: 160px;
  align-items: flex-start;
  padding: 38px 0;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-copy {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.footer-copy p {
  margin-bottom: 6px;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    max-width: 720px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
  }

  .solution-card img {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-mark {
    width: 50px;
    height: 30px;
    font-size: 16px;
  }

  .brand-name {
    font-size: 22px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 52px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lead,
  .intro-panel p:last-child,
  .section-heading p:last-child,
  .closing-panel p:last-child {
    font-size: 16px;
  }

  .hero-visual img {
    height: 300px;
  }

  .hero-stat {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .section {
    padding: 62px 0;
  }

  .intro-panel,
  .solution-card,
  .closing-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .solution-card {
    display: block;
  }

  .solution-card img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .closing-panel {
    padding: 28px;
  }

  .footer-inner {
    display: grid;
    gap: 24px;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .partner-badge {
    width: 112px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .solution-content,
  .contact-card {
    padding: 22px;
  }
}
