:root {
  color-scheme: light;
  --ink: #102327;
  --ink-soft: #4f6268;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: #dbe5e8;
  --brand: #12343b;
  --brand-2: #0f6b78;
  --accent: #ffb703;
  --accent-dark: #9a5f00;
  --shadow: 0 24px 70px rgba(15, 52, 59, 0.16);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

body::selection {
  color: var(--brand);
  background: var(--accent);
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100% - 1120px) / 2));
  color: var(--white);
  background: rgba(16, 35, 39, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--brand);
  font-weight: 900;
  background: var(--accent);
  border-radius: var(--radius);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--brand);
  font-weight: 800;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: min(820px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/hero-agd-service.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 28, 32, 0.92) 0%, rgba(10, 28, 32, 0.68) 42%, rgba(10, 28, 32, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 28, 32, 0.1), rgba(10, 28, 32, 0.82));
}

.hero-inner {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 132px 0 46px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.button.primary {
  color: var(--brand);
  background: var(--accent);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(255, 183, 3, 0.36);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 58px 0 0;
  padding: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-strip div {
  padding: 18px;
  background: rgba(16, 35, 39, 0.62);
}

.trust-strip dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-strip dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.band {
  padding: 42px 0;
  color: var(--white);
  background: var(--brand);
}

.cta-banner {
  padding: 46px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 52, 59, 0.96), rgba(15, 107, 120, 0.95)),
    var(--brand);
}

.banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 32px;
  align-items: center;
}

.cta-banner h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.03;
}

.cta-banner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.banner-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.banner-phone {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.intro h2,
.intro p {
  margin-block: 0;
}

.intro h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.08;
}

.intro p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.section-head p:last-child,
.split > div > p,
.area-layout > div > p,
.contact-grid > div > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 268px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 35, 39, 0.06);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  background: #ffe8a3;
  border-radius: var(--radius);
}

.service-card h3 {
  margin: 28px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.keyword-band {
  padding: 48px 0;
  background: #e7f3f5;
  border-block: 1px solid #cfe1e5;
}

.keyword-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: center;
}

.keyword-grid h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-list li {
  padding: 10px 13px;
  color: var(--brand);
  font-weight: 850;
  background: var(--white);
  border: 1px solid #c4dde2;
  border-radius: 999px;
}

.accent {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), #165b64);
}

.accent .section-label,
.contact .section-label {
  color: var(--accent);
}

.accent p,
.accent span {
  color: rgba(255, 255, 255, 0.76);
}

.split,
.area-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 104px;
  padding: 22px 24px 22px 78px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 22px;
  color: var(--accent);
  font-weight: 900;
}

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

.process-list strong {
  margin-bottom: 5px;
  color: var(--white);
}

.info-panel,
.contact-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.info-panel dl,
.info-panel dd,
.info-panel dt {
  margin: 0;
}

.info-panel dl {
  display: grid;
  gap: 18px;
}

.info-panel div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-panel dt {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-panel dd {
  margin-top: 6px;
  font-weight: 750;
}

.info-panel a,
.contact-card a {
  color: var(--brand-2);
  font-weight: 950;
  text-decoration: none;
}

.info-panel button {
  margin-left: 8px;
  padding: 4px 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  background: #e7f3f5;
  border: 1px solid #c4dde2;
  border-radius: 6px;
  cursor: pointer;
}

.muted {
  background: #edf4f6;
}

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

details {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.contact {
  color: var(--white);
  background: #0f2b31;
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact-grid > div > p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  color: var(--ink);
}

.contact-card p,
.contact-card address {
  color: var(--ink-soft);
}

.contact-name {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 900;
}

.contact-phone {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.contact-phone a {
  display: inline-flex;
  color: var(--brand);
}

address {
  font-style: normal;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #091719;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(16, 35, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 28, 32, 0.86), rgba(10, 28, 32, 0.78)),
      linear-gradient(90deg, rgba(10, 28, 32, 0.7), rgba(10, 28, 32, 0.28));
  }

  .trust-strip,
  .service-grid,
  .intro-grid,
  .banner-grid,
  .keyword-grid,
  .split,
  .area-layout,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .brand span:last-child {
    max-width: 170px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .hero-inner {
    max-width: calc(100vw - 28px);
    padding-top: 110px;
  }

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

  .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip div {
    padding: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .process-list li {
    padding-left: 22px;
    padding-top: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
