* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #121212;
  --muted: #5b6470;
  --line: #e9edf3;
  --soft: #f7f9fc;
  --primary: #153e75;
  --accent: #12a150;
  --accent-2: #d42f2f;
  --shadow: 0 20px 45px rgba(18, 32, 56, 0.08);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 62, 117, 0.05), transparent 28%),
    radial-gradient(circle at bottom right, rgba(18, 161, 80, 0.06), transparent 24%),
    var(--bg);
  color: var(--text);
}

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

.page-shell {
  min-height: 100vh;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 237, 243, 0.8);
}

.topbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(90deg, var(--accent-2) 0 33%, var(--accent) 33% 66%, #111 66% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.role,
.eyebrow,
.section-tag,
.hero-text,
.section-heading p,
.contact-label,
.footer p {
  color: var(--muted);
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.role {
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.top-actions,
.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0d65b8);
  box-shadow: 0 12px 24px rgba(21, 62, 117, 0.2);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h2,
.section-heading h3,
.project-box h3,
.contact-block h3,
.cta-box h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
}

.hero-copy h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.hero-text {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 60ch;
}

.hero-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.contact-label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.35rem;
}

.hero-panel {
  position: relative;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(21,62,117,0.18), rgba(18,161,80,0.15), rgba(212,47,47,0.12));
  box-shadow: var(--shadow);
}

.service-summary {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 29px;
  padding: 2rem;
}

.panel-glow {
  position: absolute;
  inset: -10% auto auto -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(13,101,184,0.16), transparent 65%);
  pointer-events: none;
}

.mini-title {
  margin: 0 0 1rem;
  font-weight: 800;
  font-size: 1rem;
}

.service-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.service-summary li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcfe);
  font-weight: 600;
}

.info-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.info-band p {
  margin: 0;
  padding: 1.05rem 0;
  text-align: center;
  font-weight: 700;
  color: #2a2f36;
}

.info-band span {
  color: #a9b2bf;
  margin: 0 0.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading h3,
.project-box h3,
.contact-block h3,
.cta-box h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.section-heading p,
.project-box p,
.contact-block p,
.cta-box p {
  line-height: 1.85;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 165px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 800;
}

.service-card h4 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.project-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(180deg, #fff, #fdfefe);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.project-accent {
  display: flex;
  justify-content: center;
}

.accent-card {
  width: min(100%, 300px);
  min-height: 220px;
  border-radius: 28px;
  background: linear-gradient(145deg, #153e75, #0b5aa4);
  color: #fff;
  box-shadow: 0 20px 40px rgba(21, 62, 117, 0.2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.accent-card strong {
  display: block;
  font-size: 3rem;
  letter-spacing: 0.08em;
}

.accent-card p {
  margin: 0.75rem 0 0;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta-section {
  padding: 4rem 0 5rem;
}

.cta-box {
  background:
    radial-gradient(circle at top right, rgba(18,161,80,0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(21,62,117,0.1), transparent 26%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-name {
  font-weight: 700;
  color: var(--text) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }

@media (max-width: 980px) {
  .hero-grid,
  .project-box,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-copy h2 {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-contact,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-mark {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
  }

  .top-actions,
  .cta-actions {
    width: 100%;
  }

  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .service-card,
  .contact-block,
  .cta-box,
  .project-box {
    border-radius: 20px;
  }
}
