/* ==========================================================================
   Koreisma Technologies — shared site styles
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color: #1F2937;
  line-height: 1.6;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- Layout container ----- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ----- Header / nav ----- */
header.site-header {
  border-bottom: 1px solid #E5E7EB;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.logo { display: inline-flex; align-items: center; }
.logo svg { display: block; }
.nav-links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.nav-links a {
  color: #134E4A;
  padding: 6px 0;
  transition: opacity 0.15s ease;
  position: relative;
}
.nav-links a:not(.active) { opacity: 0.6; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: #2DD4BF;
}

/* ----- Eyebrow labels (used in hero + section headers) ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  color: #134E4A;
  opacity: 0.6;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: #2DD4BF;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----- Hero (text-led) ----- */
section.hero-text { padding: 96px 0 48px; }
.hero-headline {
  font-size: 48px;
  font-weight: 500;
  color: #134E4A;
  line-height: 1.12;
  letter-spacing: -0.7px;
  margin: 0 0 24px;
  max-width: 800px;
}
.hero-body {
  font-size: 18px;
  color: #1F2937;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 700px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #134E4A;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid #2DD4BF;
  transition: gap 0.2s ease-out;
}
.hero-cta:hover { gap: 14px; }

/* ----- Hero image section (home page) ----- */
section.hero-image-section { padding: 0 0 96px; }
.hero-image {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #CCFBF1;
  line-height: 0;
}
.hero-image img { width: 100%; height: auto; }

/* ----- Generic content section (used on inner pages) ----- */
section.content {
  padding: 56px 0;
  border-top: 1px solid #E5E7EB;
}
section.content:first-of-type { border-top: none; }
.section-heading {
  font-size: 24px;
  font-weight: 500;
  color: #134E4A;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0 0 18px;
}
.section-body {
  font-size: 17px;
  color: #1F2937;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 16px;
}
.section-body:last-child { margin-bottom: 0; }

/* Tinted content section (alternates rhythm) */
section.content.tinted {
  background: #F0FDFA;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

/* ----- Services overview grid (home page) ----- */
section.services {
  background: #F0FDFA;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 80px 0 88px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.service h3 {
  font-size: 16px;
  font-weight: 500;
  color: #134E4A;
  margin: 0 0 12px;
}
.service p {
  font-size: 14.5px;
  color: #1F2937;
  line-height: 1.65;
  margin: 0;
}

/* ----- Service detail block (services page) ----- */
.service-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid #E5E7EB;
}
.service-detail:first-of-type { border-top: none; padding-top: 0; }
.service-detail-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: #134E4A;
  opacity: 0.6;
  text-transform: uppercase;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.service-detail-label::before {
  content: "";
  width: 6px; height: 6px;
  background: #2DD4BF;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.service-detail h3 {
  font-size: 22px;
  font-weight: 500;
  color: #134E4A;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}
.service-detail p {
  font-size: 16px;
  color: #1F2937;
  line-height: 1.7;
  margin: 0 0 14px;
}
.service-detail p:last-child { margin-bottom: 0; }

/* ----- Stat row (home page) ----- */
section.stat { padding: 72px 0 80px; }
.stat-row { display: flex; gap: 44px; align-items: baseline; }
.stat-number {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 64px;
  font-weight: 500;
  color: #134E4A;
  line-height: 1;
  letter-spacing: -1px;
}
.stat-number .accent { color: #2DD4BF; }
.stat-text {
  font-size: 16px;
  color: #1F2937;
  line-height: 1.65;
  max-width: 480px;
}

/* ----- Contact block ----- */
.contact-block { padding: 32px 0 88px; }
.contact-link {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 28px;
  font-weight: 500;
  color: #134E4A;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #2DD4BF;
  transition: gap 0.2s ease-out;
}
.contact-link:hover { gap: 20px; }
.contact-link .arrow { font-size: 22px; color: #2DD4BF; }
.contact-note {
  margin-top: 28px;
  font-size: 14px;
  color: #1F2937;
  opacity: 0.8;
  max-width: 580px;
  line-height: 1.7;
}

/* ----- Footer ----- */
footer.site-footer {
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
  padding: 32px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-logo svg { opacity: 0.5; display: block; }
.footer-copy {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .container { padding: 0 32px; }
  .hero-headline { font-size: 38px; }
  .hero-body { font-size: 17px; }
  .services-grid { gap: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .service-detail-label { padding-bottom: 4px; }
  .section-heading { font-size: 22px; }
  .contact-link { font-size: 24px; }
}

@media (max-width: 760px) {
  .container { padding: 0 24px; }
  nav.site-nav { flex-direction: column; gap: 14px; padding: 16px 0; }
  .nav-links { gap: 24px; font-size: 13px; }
  section.hero-text { padding: 56px 0 32px; }
  section.hero-image-section { padding: 0 0 56px; }
  .hero-headline { font-size: 30px; }
  .hero-body { font-size: 16px; }
  section.services { padding: 56px 0 64px; }
  .services-grid { grid-template-columns: 1fr; gap: 32px; }
  section.stat { padding: 56px 0 64px; }
  .stat-row { gap: 28px; }
  .stat-number { font-size: 52px; }
  section.content { padding: 40px 0; }
  .service-detail { padding: 36px 0; }
  .contact-link { font-size: 20px; }
  .contact-block { padding: 24px 0 64px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-headline { font-size: 26px; }
  .stat-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stat-number { font-size: 44px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-link { font-size: 18px; flex-wrap: wrap; }
  .contact-link .arrow { display: none; }
}
