:root {
  --maya-navy: #18346a;
  --maya-orange: #ff6f00;
  --maya-orange-soft: #ff8a26;
  --maya-cream: #fff8f1;
  --maya-bg: #f7f9fc;
  --maya-card: #ffffff;
  --maya-text: #1f2a3d;
  --maya-muted: #667085;
  --maya-border: rgba(24, 52, 106, 0.12);
  --shadow: 0 24px 70px rgba(24, 52, 106, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--maya-text);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 111, 0, 0.18), transparent 26%),
    radial-gradient(circle at 92% 0%, rgba(24, 52, 106, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--maya-bg) 52%, #f4f7fb 100%);
}

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

.site-header,
.hero,
.services-section,
.notice,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: block;
  width: min(360px, 52vw);
  height: auto;
}

.top-nav {
  display: flex;
  gap: 24px;
  color: var(--maya-navy);
  font-weight: 800;
}

.top-nav a:hover {
  color: var(--maya-orange);
}

.hero {
  margin-top: 28px;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.service-card,
.notice {
  border: 1px solid var(--maya-border);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(36px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -130px;
  bottom: -150px;
  border-radius: 50%;
  background: rgba(255, 111, 0, 0.12);
}

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

h1, h2, h3 {
  font-family: "Fira Sans Condensed", sans-serif;
  color: var(--maya-navy);
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  max-width: 820px;
}

.lead {
  margin: 26px 0 0;
  max-width: 700px;
  color: var(--maya-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--maya-navy), #27498b);
  box-shadow: 0 16px 34px rgba(24, 52, 106, 0.22);
}

.btn-secondary {
  color: var(--maya-navy);
  border: 1px solid rgba(24, 52, 106, 0.14);
  background: white;
}

.hero-panel {
  border-radius: 34px;
  padding: 34px;
  background:
    linear-gradient(155deg, rgba(24, 52, 106, 0.97), rgba(39, 73, 139, 0.92)),
    var(--maya-navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
}

.status-pill {
  width: max-content;
  background: var(--maya-orange);
  color: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: auto;
}

.hero-panel h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 1.05rem;
}

.services-section {
  margin-bottom: 56px;
}

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

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--maya-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

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

.service-card {
  min-height: 248px;
  border-radius: 28px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 6px solid var(--maya-orange);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 111, 0, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.62rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--maya-muted);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.service-link {
  color: var(--maya-navy);
  font-weight: 900;
  margin-top: auto;
  padding-top: 26px;
  position: relative;
  z-index: 1;
}

.service-card.featured {
  background:
    linear-gradient(155deg, rgba(24, 52, 106, 0.97), rgba(39, 73, 139, 0.93)),
    var(--maya-navy);
}

.service-card.featured h3,
.service-card.featured .service-link {
  color: white;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.86);
}

.service-tag {
  width: max-content;
  color: white;
  background: var(--maya-orange);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.notice {
  margin-bottom: 56px;
  border-radius: 28px;
  padding: 30px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notice h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.notice p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--maya-muted);
  line-height: 1.6;
}

.site-footer {
  padding: 22px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--maya-muted);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: min(240px, 42vw);
  height: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: var(--maya-navy);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .top-nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .services-section,
  .notice,
  .site-footer {
    width: min(100% - 22px, 1160px);
  }

  .brand-logo {
    width: min(270px, 72vw);
  }

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

  .notice,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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