/* ==========================================================
   CONSTANT VARIABLES & THEME COLORS
========================================================== */
:root {
  --bg: #f4f0e8;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #12211d;
  --muted: #5f6d68;
  --accent: #2e8b66;
  --accent-strong: #185940;
  --accent-soft: rgba(46, 139, 102, 0.12);
  --border: rgba(18, 33, 29, 0.10);
  --shadow: 0 24px 60px rgba(19, 37, 32, 0.10);
  --shadow-soft: 0 12px 32px rgba(19, 37, 32, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

/* ==========================================================
   GLOBAL RESET & BASE ELEMENT STYLES
========================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(46, 139, 102, 0.10), transparent 30%),
    linear-gradient(180deg, #f7f4ee 0%, #efe9de 100%);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ==========================================================
   HEADINGS
========================================================== */
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
h3 { font-size: 1.15rem; }

/* ==========================================================
   LAYOUT WRAPPERS & SECTIONS
========================================================== */
.site-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.page-section {
  position: relative;
}

.section {
  padding: clamp(4rem, 8vw, 6.75rem) 0;
}

.section--light { background: rgba(255, 255, 255, 0.42); backdrop-filter: blur(8px); }
.section--dark { background: linear-gradient(180deg, #17332d 0%, #10251f 100%); color: #f7fbf8; }
.section--dark p,
.section-heading--light p { color: rgba(255, 255, 255, 0.78); }

.section-heading {
  max-width: 840px;
  margin: 0 auto 2.4rem;
}

.section-heading--center { text-align: center; }

.section-heading p:last-child { margin-top: 1rem; }

/* ==========================================================
   SITE HEADER (LOGO, NAV, META)
========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  background: transparent;
  transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand__logo,
.site-footer__logo { width: auto; }
.brand__logo { max-height: 56px; }

/* Header Meta */
.site-header__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-header__meta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Icon Badges */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  flex-shrink: 0;
}
.site-header__meta .icon-badge {
  color: var(--accent);
}

.icon-badge--meta { margin-right: 0.1rem; font-size: 1.05rem; }
.icon-badge--feature,
.icon-badge--service,
.icon-badge--contact,
.icon-badge--circle {
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.icon-badge--feature,
.icon-badge--service,
.icon-badge--contact { background: var(--accent-soft); border: 1px solid rgba(46, 139, 102, 0.14); color: var(--accent); }
.icon-badge--feature { width: 64px; height: 64px; margin-bottom: 1.2rem; border-radius: 16px; font-size: 1.35rem; }
.icon-badge--service { width: 52px; height: 52px; border-radius: 16px; font-size: 1.15rem; }
.icon-badge--contact { width: 44px; height: 44px; border-radius: 10px; background: rgba(46, 139, 102, 0.06); border-color: rgba(46, 139, 102, 0.10); font-size: 1.05rem; }
.icon-badge--circle { width: 72px; height: 72px; border-radius: 999px; background: rgba(46, 139, 102, 0.07); border: 1px solid rgba(46, 139, 102, 0.12); color: #dff6ea; font-size: 1.15rem; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--ink);
}

/* Navigation Menu */
.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 999px;
}
.site-nav__link.active {
  color: var(--accent-strong);
  background: transparent;
  box-shadow: none;
  position: relative;
}

.site-nav__cta {
  margin-left: 0.35rem;
  padding-inline: 1.15rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #42a27d);
  box-shadow: 0 12px 25px rgba(46, 139, 102, 0.25);
}

.site-nav__cta.active {
  color: #ffffff;
  background: linear-gradient(135deg, #3c9f75, #2f8b64);
}

/* ==========================================================
   HERO (LANDING PAGE) SECTION
========================================================== */
.hero {
  min-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 0 3.5rem;
  overflow: hidden;
  background: #0d1836 url('imgs/banner-bg.png') center bottom / cover no-repeat;
  color: #ffffff;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 20, 40, 0.82) 0%, rgba(10, 20, 40, 0.54) 55%, rgba(10, 20, 40, 0.66) 100%),
    radial-gradient(circle at top left, rgba(50, 163, 110, 0.22), transparent 36%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  min-height: calc(96vh - 11rem);
}

.hero__content {
  width: min(100%, 920px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  width: auto;
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 1.05rem;
  text-wrap: balance;
}

.hero__deck {
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-width: 0;
}

.hero__deck-copy { display: grid; justify-items: center; }

.hero__lead {
  max-width: 58ch;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.6rem;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.2rem;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #4ab084);
  box-shadow: 0 18px 32px rgba(46, 139, 102, 0.26);
}

.button--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}
.button--ghost:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================
   FEATURE GRID & FEATURE CARDS
========================================================== */
.feature-grid { display: grid; gap: 1.25rem; }
.feature-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ==========================================================
   WHY CHOOSE SECTION
========================================================== */
.why-Us { max-width: 1020px; margin: 0 auto; }
.why-Us__list { display: grid; gap: 1rem; max-width: 860px; margin: 2rem auto 0; }
.why-Us__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  text-align: left;
  padding: 1rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.why-Us__item h3 {
  margin: 0 0 0.35rem 0;
  color: #ffffff;
  font-weight: 700;
}
.why-Us__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.why-Us__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(46,139,102,0.07);
  border: 1px solid rgba(46,139,102,0.12);
  color: #dff6ea;
  flex-shrink: 0;
}
.why-Us__item:not(:last-child) { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); }

@media (max-width: 760px) {
  .why-Us__list { gap: 1rem; padding: 0 1rem; }
  .why-Us__item { grid-template-columns: 56px 1fr; gap: 0.75rem; padding: 0.75rem 0; }
  .why-Us__marker { width: 56px; height: 56px; }
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(46, 139, 102, 0.12);
  box-shadow: var(--shadow-soft);
}
.feature-card h3 { margin-bottom: 0.75rem; font-weight: 700; }

/* ==========================================================
   SERVICE LIST SECTION
========================================================== */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.service-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.3rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 238, 0.92));
  border: 1px solid rgba(18, 33, 29, 0.08);
  box-shadow: var(--shadow-soft);
}
.service-list__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(46, 139, 102, 0.14);
  flex-shrink: 0;
}
.service-list__content h3 { margin-bottom: 0.45rem; }

/* ==========================================================
   CONTACT SECTION
========================================================== */
.contact-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 5rem;
  align-items: start;
}

.contact-section__copy { max-width: 620px; }
.contact-section__copy h2 { margin-bottom: 1rem; }

.contact-panel {
  display: grid;
  gap: 0.5rem;
  padding: 0 0 0 2rem;
  background: transparent;
  border: none;
}

.contact-panel__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  border: none;
}
.contact-panel__item span { display: grid; }
.contact-panel__item strong {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel__item em {
  color: #ffffff;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #0f211c 0%, #0a1814 100%);
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(46, 139, 102, 0.12);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.site-footer__logo {
  max-height: 80px;
  flex-shrink: 0;
}

.site-footer__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.site-footer__motto {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(46, 139, 102, 0.90);
  font-weight: 500;
  white-space: nowrap;
  margin: 0;
}
.site-footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.site-footer__copyright a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .site-header__meta { display: none; }
  .contact-section__inner { grid-template-columns: 1fr; }
  .feature-grid--three,
  .service-list,
  .why-Us__list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 0.8rem 0; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .brand__logo { max-height: 50px; }
  .nav-toggle { display: inline-block; justify-self: end; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }
  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-nav__link { justify-content: center; background: rgba(46, 139, 102, 0.05); }
  .site-nav__cta { margin-left: 0; }
  .hero { padding-top: 8rem; }
  .hero h1 { max-width: 17ch; }
  .why-Us__item,
  .service-list__item { grid-template-columns: 1fr; }
  .why-Us__marker,
  .service-list__marker { margin-bottom: 0.35rem; }
  .why-Us__item p { max-width: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .site-footer__content { flex-direction: column; gap: 0.8rem; }
  .site-footer__motto { white-space: normal; }
}

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