:root {
  --navy: #102c41;
  --blue: #1d4a63;
  --blue-2: #18485b;
  --ink: #183141;
  --body: #354047;
  --soft: #f3f8fa;
  --paper: #ffffff;
  --line: rgba(16, 44, 65, 0.12);
  --accent: #e85d2a;
  --sand: #f4eee3;
  --shadow: 0 18px 46px rgba(16, 44, 65, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--body);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

img,
svg {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.logo-card {
  position: relative;
  align-self: stretch;
  display: grid;
  width: 172px;
  place-items: center;
  padding: 28px 22px;
  margin-bottom: -44px;
  border-radius: 0 0 8px 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 39px 0 36px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 44, 65, 0.94), rgba(16, 44, 65, 0.72) 44%, rgba(16, 44, 65, 0.42)),
    url("chayn-operations-hero.png") center / cover;
}

.hero-content {
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
}

.hero h1,
.hero h2,
.dark-section h2,
.dark-section h3,
.cta-band h2 {
  color: var(--paper);
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(3.8rem, 7vw, 6rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.28rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.2;
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.button-primary {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(29, 74, 99, 0.22);
}

.button-dark {
  color: var(--paper);
  background: #071d2a;
}

.section {
  padding: clamp(76px, 9vw, 126px) 0;
}

.intro-grid,
.about-grid,
.detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(46px, 8vw, 104px);
  align-items: center;
}

.intro-grid h2 {
  max-width: 690px;
  color: var(--blue);
}

.intro-grid p {
  max-width: 620px;
}

.flow-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.flow-card > p {
  color: var(--ink);
  font-weight: 800;
}

.result-list,
.bullet-list,
.benefit-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 42px;
}

.result-list li::before,
.bullet-list li::before,
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 16px;
  height: 16px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 47%, var(--blue) 48% 57%, transparent 58%),
    linear-gradient(45deg, transparent 50%, var(--blue) 51% 58%, transparent 59%);
}

.result-list strong,
.result-list span {
  display: block;
}

.result-list strong {
  color: var(--ink);
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(232, 93, 42, 0.12), rgba(232, 93, 42, 0) 42%),
    linear-gradient(135deg, var(--navy), var(--blue-2));
}

.section-heading {
  max-width: 840px;
  margin-bottom: 44px;
}

.dark-section .section-heading {
  color: rgba(255, 255, 255, 0.78);
}

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

.service-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px;
  border-left: 10px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(8, 28, 42, 0.42);
  box-shadow: 0 22px 44px rgba(4, 19, 29, 0.18);
}

.service-mark {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card a {
  margin-top: auto;
  color: var(--paper);
  font-weight: 850;
}

.portrait-panel {
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.portrait-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.muted-section {
  background: var(--paper);
}

.wide-statement {
  max-width: 1050px;
  margin-bottom: 58px;
}

.wide-statement h2 {
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.expertise-grid article {
  padding-top: 28px;
  border-top: 4px solid var(--line);
}

.service-detail {
  background: var(--soft);
}

.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.bullet-list li,
.benefit-list li {
  position: relative;
  padding-left: 34px;
}

.quote-panel {
  padding: 42px;
  border-radius: 8px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  box-shadow: var(--shadow);
}

.quote-panel strong,
.quote-panel span {
  display: block;
}

.quote-panel strong {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.quote-panel span {
  color: rgba(255, 255, 255, 0.82);
}

.quote-panel.accent {
  background: linear-gradient(135deg, #8d391f, var(--accent));
}

.analytics-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.analytics-panel img {
  display: block;
  width: min(100%, 380px);
  height: auto;
}

.analytics-cta {
  margin-top: 30px;
  padding: 26px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.analytics-cta p {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 750;
}

.cta-band {
  padding: clamp(80px, 10vw, 132px) 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(16, 44, 65, 0.96), rgba(16, 44, 65, 0.7)),
    url("chayn-operations-hero.png") center / cover;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 36px;
  border-radius: 8px;
  background: rgba(6, 29, 43, 0.78);
  box-shadow: var(--shadow);
}

.contact-form label,
.contact-form .full {
  grid-column: span 2;
}

.contact-form label:nth-child(1),
.contact-form label:nth-child(2) {
  grid-column: span 1;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
}

input {
  height: 58px;
  padding: 0 18px;
}

textarea {
  resize: vertical;
  padding: 16px 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 0.55fr));
  gap: 36px;
  padding: 78px max(24px, calc((100vw - 1180px) / 2)) 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #0c263a;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 1.1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 6px;
}

.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  padding: 12px;
  border-radius: 6px;
  background: var(--paper);
}

.footer-brand p {
  margin-top: 18px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 50px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 88px;
  }

  .logo-card {
    width: 142px;
    padding: 24px 18px;
    margin-bottom: -28px;
  }

  .nav-links {
    gap: 20px;
  }

  .intro-grid,
  .about-grid,
  .detail-grid,
  .reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .expertise-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .portrait-panel,
  .analytics-panel {
    min-height: 360px;
  }

  .portrait-panel img {
    min-height: 360px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    position: relative;
    display: grid;
    gap: 16px;
    justify-content: center;
    padding: 0 16px 18px;
  }

  .logo-card {
    width: 136px;
    height: 96px;
    padding: 22px 18px;
    justify-self: center;
    margin-bottom: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-size: 0.9rem;
  }

  .nav-links a {
    padding: 0;
  }

  .nav-links a::after {
    bottom: -5px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding-top: 0;
  }

  h1 {
    font-size: 3.3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 64px 0;
  }

  .flow-card,
  .service-card,
  .quote-panel,
  .contact-form {
    padding: 26px;
  }

  .contact-form,
  .contact-form label:nth-child(1),
  .contact-form label:nth-child(2) {
    grid-template-columns: 1fr;
    grid-column: span 2;
  }

  .site-footer {
    padding: 54px 24px 28px;
  }
}
