:root {
  --bg: #f8f4ea;
  --bg-soft: #fffdf6;
  --text: #1f2a37;
  --muted: #5d6a75;
  --accent: #0f766e;
  --accent-2: #ca8a04;
  --card: rgba(255, 255, 255, 0.72);
  --border: rgba(15, 118, 110, 0.16);
  --shadow: 0 16px 40px rgba(31, 42, 55, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(165deg, #f6f0e4 0%, #f8f4ea 40%, #fff9ee 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  pointer-events: none;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
  z-index: -2;
}

.bg-glow-one {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -90px;
  background: rgba(15, 118, 110, 0.2);
}

.bg-glow-two {
  width: 390px;
  height: 390px;
  right: -120px;
  top: 35%;
  background: rgba(202, 138, 4, 0.18);
}

.custom-nav {
  backdrop-filter: blur(8px);
  background: rgba(248, 244, 234, 0.88);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.brand-mark {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--accent);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), #11998e);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.25rem;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn-cta:hover,
.btn-cta:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 118, 110, 0.26);
}

.btn-soft {
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 55, 0.24);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.11);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

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

.text-accent {
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1rem, 2.1vw, 1.24rem);
  color: var(--muted);
  max-width: 620px;
}

.hero-panel {
  position: relative;
  padding: 1rem;
}

.pulse-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(15, 118, 110, 0.26);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3.8s ease-in-out infinite;
}

.hero-panel-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 1.4rem;
}

.small-label {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}

.hero-panel-card ul {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
}

.hero-panel-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.hero-panel-card i {
  color: var(--accent);
}

.mini-stats .stat-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  height: 100%;
}

.mini-stats h3 {
  margin-bottom: 0.2rem;
  color: var(--accent);
}

.mini-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-space {
  padding: 5.6rem 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid rgba(15, 118, 110, 0.08);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.section-kicker {
  display: inline-flex;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-head {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  margin-bottom: 0;
}

.about-box p {
  color: var(--muted);
}

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

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 22px rgba(31, 42, 55, 0.08);
}

.highlight-card i {
  font-size: 1.3rem;
  color: var(--accent);
}

.highlight-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 1.14rem;
}

.highlight-card p {
  color: var(--muted);
  margin: 0;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 26px rgba(31, 42, 55, 0.08);
  height: 100%;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.35);
}

.service-card h3 {
  font-size: 1.1rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.brand-spotlight {
  background: linear-gradient(
      140deg,
      rgba(15, 118, 110, 0.12),
      rgba(255, 255, 255, 0.9) 45%,
      rgba(202, 138, 4, 0.08)
    ),
    #fff;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 34px rgba(31, 42, 55, 0.1);
}

.brand-spotlight p {
  color: var(--muted);
}

.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.brand-list li {
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.brand-list i {
  color: var(--accent);
  margin-top: 0.2rem;
}

.brand-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: 0 12px 22px rgba(31, 42, 55, 0.08);
}

.brand-panel hr {
  margin: 1rem 0;
  border-color: rgba(15, 118, 110, 0.16);
}

.brand-panel h4 {
  margin-bottom: 0.55rem;
}

.modality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #145f59;
  background: rgba(15, 118, 110, 0.08);
}

.text-muted-small {
  color: #667782;
  font-size: 0.92rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.08);
  height: 100%;
}

.project-card.featured {
  background: linear-gradient(
      150deg,
      rgba(15, 118, 110, 0.13),
      rgba(255, 255, 255, 0.9) 48%
    ),
    rgba(255, 255, 255, 0.84);
}

.project-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--muted);
}

.project-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.project-link:hover {
  color: #0b645e;
}

.contact-box {
  background: linear-gradient(
      160deg,
      rgba(15, 118, 110, 0.1),
      rgba(202, 138, 4, 0.08)
    ),
    #fff;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 18px 32px rgba(31, 42, 55, 0.1);
}

.contact-box p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--text);
  font-weight: 500;
  flex-wrap: wrap;
}

.contact-list i {
  color: var(--accent);
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover {
  text-decoration: underline;
}

.footer {
  border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.footer p {
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

body.js-enabled .reveal-item:not(.revealed) {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 0.2;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7.3rem;
    min-height: auto;
  }

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

@media (max-width: 575.98px) {
  .section-space {
    padding: 4.2rem 0;
  }

  .brand-spotlight {
    padding: 1.4rem;
  }

  .contact-box {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  body.js-enabled .reveal-item:not(.revealed) {
    opacity: 1;
    transform: translateY(0);
  }
}
