/* ==========================================================================
   HydraLink — primary stylesheet
   Dark forest theme. Near-black body, forest green accent, warm gold detail.
   ========================================================================== */

:root {
  --bg: #0C1410;
  --surface: #12241A;
  --surface-deep: #0F1D16;
  --pine: #143A26;
  --pine-deep: #1C3A2A;
  --forest: #2F7D4F;
  --forest-soft: #5FBF8B;
  --gold: #D9A441;
  --gold-soft: #E7C576;
  --ink: #EAF3EC;
  --ink-mute: #A9BFB0;
  --border: #1C3A2A;
  --border-strong: #2F7D4F;
  --radius: 16px;
  --maxw: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.7;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #0C1410;
  color: #EAF3EC;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: #5FBF8B;
  text-decoration: none;
}

a:hover {
  color: #E7C576;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Scroll reveal — safe without JavaScript
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navigation — centered logo with side links
   ========================================================================== */

.side-links-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #0C1410;
  border-bottom: 1px solid #1C3A2A;
}

.side-links-nav .nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links-left {
  justify-content: flex-start;
}

.nav-links-right {
  justify-content: flex-end;
}

.nav-links a {
  color: #A9BFB0;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #5FBF8B;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #2F7D4F;
  white-space: nowrap;
  text-align: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #1C3A2A;
  color: #EAF3EC;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  grid-column: 3;
  justify-self: end;
}

/* ==========================================================================
   Hero — mirrored split (visual left, text right)
   ========================================================================== */

.mirror-hero {
  padding: 88px 0 80px;
  background-color: #0C1410;
  background-image:
    radial-gradient(900px 500px at 12% -10%, #143A26 0%, transparent 60%),
    radial-gradient(700px 420px at 95% 8%, #12241A 0%, transparent 55%);
}

.mirror-hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-visual {
  order: 1;
}

.hero-text {
  order: 2;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #143A26;
  color: #D9A441;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #2F7D4F;
  margin-bottom: 22px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #EAF3EC;
  margin-bottom: 24px;
}

.hero-text .subcopy {
  font-size: 18px;
  line-height: 1.7;
  color: #A9BFB0;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background-color: #2F7D4F;
  color: #EAF3EC;
  border: 2px solid #2F7D4F;
}

.btn-primary:hover {
  background-color: #3A9A61;
  border-color: #3A9A61;
  color: #EAF3EC;
}

.btn-outline {
  background-color: transparent;
  color: #D9A441;
  border: 2px solid #D9A441;
}

.btn-outline:hover {
  background-color: #D9A441;
  color: #0C1410;
}

/* Flow panel (CSS-drawn data flow) */

.flow-panel {
  background-color: #12241A;
  border: 1px solid #2F7D4F;
  border-radius: 18px;
  padding: 44px 40px;
}

.flow-panel .flow-caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9A441;
  margin-bottom: 28px;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-block {
  flex: 1 1 0;
  min-width: 96px;
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.flow-block .flow-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.flow-block-input {
  background-color: #2F7D4F;
  color: #EAF3EC;
}

.flow-block-input .flow-label {
  color: #0C1410;
}

.flow-block-process {
  background-color: #1C3A2A;
  color: #EAF3EC;
}

.flow-block-process .flow-label {
  color: #5FBF8B;
}

.flow-block-output {
  background-color: #D9A441;
  color: #0C1410;
}

.flow-block-output .flow-label {
  color: #0C1410;
}

.flow-arrow {
  color: #D9A441;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

/* ==========================================================================
   Statement row
   ========================================================================== */

.statement-row {
  padding: 72px 0;
  background-color: #0F1D16;
  border-top: 1px solid #143A26;
  border-bottom: 1px solid #143A26;
  text-align: center;
}

.statement-row p {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  color: #EAF3EC;
  max-width: 900px;
  margin: 0 auto;
}

.statement-row p span {
  color: #5FBF8B;
}

/* ==========================================================================
   Horizontal feature cards (stacked)
   ========================================================================== */

.feature-cards {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 52px;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9A441;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #EAF3EC;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 17px;
  color: #A9BFB0;
  max-width: 640px;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 16px;
  padding: 30px 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: #2F7D4F;
  transform: translateX(4px);
}

.feature-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: #2F7D4F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #EAF3EC;
}

.feature-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #EAF3EC;
  margin-bottom: 8px;
}

.feature-body p {
  font-size: 16px;
  color: #A9BFB0;
  line-height: 1.7;
}

/* ==========================================================================
   Plan cards
   ========================================================================== */

.plan-cards {
  padding: 96px 0;
  background-color: #0F1D16;
  border-top: 1px solid #143A26;
  border-bottom: 1px solid #143A26;
}

.plans-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 18px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}

.plan-card .plan-name {
  font-size: 18px;
  font-weight: 700;
  color: #5FBF8B;
  margin-bottom: 6px;
}

.plan-card .plan-price {
  font-size: 40px;
  font-weight: 800;
  color: #EAF3EC;
  margin-bottom: 4px;
}

.plan-card .plan-price-note {
  font-size: 14px;
  color: #A9BFB0;
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  margin-bottom: 26px;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #A9BFB0;
  font-size: 15px;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background-color: #2F7D4F;
}

.plan-card .btn {
  margin-top: auto;
  text-align: center;
}

.plan-card-featured {
  background-color: #2F7D4F;
  border-color: #2F7D4F;
}

.plan-card-featured .plan-name {
  color: #0C1410;
}

.plan-card-featured .plan-price {
  color: #0C1410;
}

.plan-card-featured .plan-price-note {
  color: #0C1410;
}

.plan-card-featured .plan-features li {
  color: #0C1410;
}

.plan-card-featured .plan-features li::before {
  background-color: #0C1410;
}

.plan-card-featured .btn-primary {
  background-color: #0C1410;
  border-color: #0C1410;
  color: #EAF3EC;
}

.plan-card-featured .btn-primary:hover {
  background-color: #143A26;
  border-color: #143A26;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-section {
  padding: 96px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #EAF3EC;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  padding: 22px 24px;
}

.faq-question .faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #D9A441;
  color: #D9A441;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  color: #A9BFB0;
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  padding: 96px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  background-color: #2F7D4F;
  border-radius: 22px;
  padding: 52px 56px;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0C1410;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 17px;
  color: #0C1410;
  line-height: 1.7;
}

.cta-inner .btn {
  justify-self: end;
}

.cta-inner .btn-primary {
  background-color: #0C1410;
  border-color: #0C1410;
  color: #EAF3EC;
}

.cta-inner .btn-primary:hover {
  background-color: #143A26;
  border-color: #143A26;
}

.cta-inner .btn-outline {
  background-color: transparent;
  border-color: #0C1410;
  color: #0C1410;
}

.cta-inner .btn-outline:hover {
  background-color: #0C1410;
  color: #EAF3EC;
}

/* ==========================================================================
   Single-column centered footer
   ========================================================================== */

.single-col-footer {
  background-color: #0F1D16;
  border-top: 1px solid #2F7D4F;
  padding: 56px 24px 40px;
  text-align: center;
}

.single-col-footer .footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #5FBF8B;
  margin-bottom: 10px;
}

.single-col-footer .footer-tagline {
  font-size: 15px;
  color: #A9BFB0;
  margin-bottom: 18px;
}

.single-col-footer .footer-contact {
  font-size: 15px;
  color: #EAF3EC;
  margin-bottom: 20px;
}

.single-col-footer .footer-contact a {
  color: #5FBF8B;
}

.single-col-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.single-col-footer .footer-links a {
  color: #A9BFB0;
  font-size: 15px;
}

.single-col-footer .footer-links a:hover {
  color: #E7C576;
}

.single-col-footer .footer-copy {
  font-size: 13px;
  color: #A9BFB0;
  border-top: 1px solid #143A26;
  padding-top: 20px;
}

/* ==========================================================================
   Secondary pages (services / contact) shared bits
   ========================================================================== */

.page-hero {
  padding: 80px 0 56px;
  background-color: #0C1410;
  background-image: radial-gradient(800px 420px at 50% -10%, #143A26 0%, transparent 60%);
  border-bottom: 1px solid #143A26;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #EAF3EC;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: #A9BFB0;
  max-width: 700px;
}

.service-section {
  padding: 72px 0;
  border-bottom: 1px solid #143A26;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-block {
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 16px;
  padding: 32px 30px;
}

.service-block h2 {
  font-size: 24px;
  font-weight: 700;
  color: #5FBF8B;
  margin-bottom: 14px;
}

.service-block p {
  font-size: 16px;
  color: #A9BFB0;
  line-height: 1.7;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  counter-reset: proc;
}

.process-list li {
  counter-increment: proc;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 14px;
  padding: 22px 24px;
}

.process-list li::before {
  content: counter(proc, decimal-leading-zero);
  color: #D9A441;
  font-weight: 800;
  font-size: 22px;
  flex: 0 0 auto;
}

.process-list h3 {
  font-size: 18px;
  color: #EAF3EC;
  margin-bottom: 6px;
}

.process-list p {
  color: #A9BFB0;
  font-size: 15px;
}

/* Contact form */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 15px;
  font-weight: 600;
  color: #EAF3EC;
}

.form-field input,
.form-field textarea {
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 10px;
  color: #EAF3EC;
  font-size: 16px;
  padding: 13px 16px;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2F7D4F;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  font-size: 15px;
  font-weight: 600;
  color: #5FBF8B;
  min-height: 22px;
}

.contact-details h2 {
  font-size: 24px;
  font-weight: 700;
  color: #EAF3EC;
  margin-bottom: 16px;
}

.contact-details dl {
  margin-bottom: 28px;
}

.contact-details dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9A441;
  margin-bottom: 4px;
}

.contact-details dd {
  font-size: 16px;
  color: #EAF3EC;
  margin-bottom: 16px;
}

.contact-details dd a {
  color: #5FBF8B;
}

.contact-faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-faq details {
  background-color: #12241A;
  border: 1px solid #1C3A2A;
  border-radius: 12px;
  padding: 18px 20px;
}

.contact-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #EAF3EC;
}

.contact-faq details p {
  margin-top: 10px;
  color: #A9BFB0;
  font-size: 15px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

  .hero-visual {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .plans-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .cta-inner .btn {
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .side-links-nav .nav-inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .side-links-nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    grid-column: 1 / -1;
    padding-top: 12px;
  }

  .side-links-nav.nav-open .nav-inner {
    grid-template-columns: 1fr 1fr;
  }

  .statement-row p {
    font-size: 24px;
  }

  .section-head h2 {
    font-size: 30px;
  }
}
