/* EOD-Network homepage — 2026 redesign */
:root {
  --ink: #0a1e3d;
  --ink-soft: #12305a;
  --mist: #e8eef8;
  --paper: #f3f6fb;
  --teal: #2b6de0;
  --teal-deep: #1a4fbd;
  --sand: #7eb6ff;
  --line: rgba(10, 30, 61, 0.12);
  --text: #1c2d45;
  --muted: #5a6d85;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body.eod-home {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(43, 109, 224, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(126, 182, 255, 0.18), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 48%, #d8e4f5 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.eod-wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.eod-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
}

.eod-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eod-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.eod-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.eod-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.eod-nav a:hover,
.eod-nav a[aria-current="page"] {
  color: var(--white);
}

.eod-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eod-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.eod-lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(11, 31, 26, 0.25);
  backdrop-filter: blur(8px);
}

.eod-lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.eod-lang-switch button.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

/* ——— Hero ——— */
.eod-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.eod-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #061428;
}

.eod-hero__slides {
  position: absolute;
  inset: 0;
}

.eod-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.eod-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.eod-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: eod-kenburns 14s ease-in-out infinite alternate;
}

.eod-hero__slide:not(.is-active) img {
  animation: none;
}

.eod-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.5) 0%, rgba(6, 20, 40, 0.22) 38%, rgba(6, 20, 40, 0.82) 100%),
    linear-gradient(90deg, rgba(6, 20, 40, 0.58) 0%, rgba(6, 20, 40, 0.18) 55%, rgba(6, 20, 40, 0.48) 100%);
  pointer-events: none;
}

.eod-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.eod-hero__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.eod-hero__dots button.is-active {
  width: 22px;
  background: rgba(255, 255, 255, 0.92);
}

@keyframes eod-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.eod-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  max-width: 34rem;
}

.eod-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(18px);
  animation: eod-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.eod-hero__title {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(18px);
  animation: eod-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}

.eod-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  opacity: 0;
  transform: translateY(18px);
  animation: eod-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

.eod-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(18px);
  animation: eod-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.62s forwards;
}

@keyframes eod-rise {
  to { opacity: 1; transform: none; }
}

.eod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.eod-btn--primary {
  background: var(--teal);
  color: var(--white);
}

.eod-btn--primary:hover {
  background: var(--teal-deep);
}

.eod-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.eod-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.eod-btn--ink {
  background: var(--ink);
  color: var(--white);
}

.eod-btn--ink:hover {
  background: var(--ink-soft);
}

.eod-hero__scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.75));
  animation: eod-pulse 2.4s ease-in-out infinite;
}

@keyframes eod-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ——— Sections ——— */
.eod-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.eod-section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.eod-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.eod-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.eod-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Why choose us — stacked rows, no cards */
.eod-reasons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.eod-reason {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.eod-reason.is-in {
  opacity: 1;
  transform: none;
}

.eod-reason__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sand);
  line-height: 1;
  padding-top: 0.2rem;
}

.eod-reason h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.eod-reason p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

/* Partners */
.eod-partners {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

.eod-partners::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 109, 224, 0.4), transparent 70%);
  pointer-events: none;
}

.eod-partners .eod-kicker {
  color: var(--sand);
}

.eod-partners h2 {
  color: var(--white);
}

.eod-partners .eod-section__head p {
  color: rgba(255, 255, 255, 0.7);
}

.eod-logo-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem 1.25rem;
  align-items: center;
}

.eod-logo-rail img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.25);
  opacity: 0.78;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.eod-logo-rail img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* Apply / form */
.eod-apply {
  scroll-margin-top: 1.5rem;
}

.eod-apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.eod-apply-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.eod-contact-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.eod-contact-meta a {
  color: var(--teal-deep);
  font-weight: 600;
}

.eod-contact-meta p {
  margin: 0.35rem 0;
}

.eod-form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 24px 60px rgba(11, 31, 26, 0.08);
}

.eod-form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.eod-form-status.is-ok {
  display: block;
  background: #e6f6ef;
  color: #0d5c45;
}

.eod-form-status.is-err {
  display: block;
  background: #fdeceb;
  color: #8a1f1a;
}

.eod-contact-form {
  display: grid;
  gap: 0.95rem;
}

.eod-contact-form .eod-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

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

.eod-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.eod-field--full {
  grid-column: 1 / -1;
}

.eod-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.eod-field input,
.eod-field select,
.eod-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eod-field textarea {
  resize: vertical;
  min-height: 120px;
}

.eod-field input:focus,
.eod-field select:focus,
.eod-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 109, 224, 0.2);
}

/* Footer */
.eod-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.25rem 0;
  font-size: 0.9rem;
}

.eod-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.eod-footer strong {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.eod-footer nav {
  display: flex;
  gap: 1rem;
}

.eod-footer a:hover {
  color: var(--white);
}

/* WhatsApp sticky (shared with eod-extras.js) */
.eod-wa-btn {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.7rem 0.85rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eod-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.eod-wa-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobile */
@media (max-width: 860px) {
  .eod-apply-grid {
    grid-template-columns: 1fr;
  }

  .eod-nav {
    position: fixed;
    inset: 0 0 auto;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(11, 31, 26, 0.96);
    backdrop-filter: blur(10px);
  }

  .eod-nav.is-open {
    display: flex;
  }

  .eod-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .eod-menu-btn {
    display: inline-flex;
  }

  .eod-hero__content {
    padding-bottom: 3.25rem;
  }

  .eod-hero__brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .eod-fields {
    grid-template-columns: 1fr;
  }

  .eod-reason {
    grid-template-columns: 3rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eod-hero__slide img,
  .eod-hero__brand,
  .eod-hero__title,
  .eod-hero__lead,
  .eod-cta-row,
  .eod-hero__scroll {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .eod-hero__slide {
    transition: none;
  }
}

/* ——— Inner pages ——— */
body.eod-page {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 0% 0%, rgba(43, 109, 224, 0.12), transparent 55%),
    radial-gradient(800px 480px at 100% 10%, rgba(126, 182, 255, 0.14), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 55%, #d8e4f5 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.eod-page .eod-header {
  position: sticky;
  top: 0;
  background: rgba(10, 30, 61, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.eod-page .eod-header .eod-brand,
body.eod-page .eod-nav a {
  text-shadow: none;
}

.eod-page-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 3.5rem);
  color: var(--white);
  overflow: hidden;
  background: #061428;
}

.eod-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.eod-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.eod-page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.55) 0%, rgba(6, 20, 40, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 20, 40, 0.65) 0%, rgba(6, 20, 40, 0.35) 100%);
}

.eod-page-hero .eod-wrap {
  position: relative;
  z-index: 1;
}

.eod-page-hero .eod-kicker {
  color: var(--sand);
}

.eod-page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.eod-page-hero p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.eod-main {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.eod-prose {
  max-width: 720px;
}

.eod-prose.eod-prose--wide {
  max-width: 900px;
}

.eod-prose h2,
.eod-prose h3,
.eod-prose h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
}

.eod-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.eod-prose h3 { font-size: 1.25rem; }
.eod-prose h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

.eod-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.eod-prose a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eod-prose ul,
.eod-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.eod-prose li {
  margin: 0.4rem 0;
}

.eod-prose li strong {
  color: var(--ink);
}

.eod-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.eod-value-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}

.eod-value-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.eod-value-list li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 0.75rem;
  vertical-align: middle;
}

.eod-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.eod-service-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.eod-service-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.eod-service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.eod-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .eod-split {
    grid-template-columns: 1fr;
  }

  body.eod-page .eod-nav {
    background: rgba(10, 30, 61, 0.98);
  }
}
