/* ============================================================
   Edelnuss Global Ltd — shared stylesheet
   Edit the :root variables below to change brand colours,
   fonts, and spacing across the whole site.
   ============================================================ */

:root {
  --green: #006633;
  --green-dark: #004d26;
  --green-light: #e8f5ee;
  --gold: #ffcc00;
  --gold-dark: #e6b800;
  --white: #ffffff;
  --off-white: #f7f8f6;
  --text: #1a1a1a;
  --text-muted: #4a5560;
  --border: #dce5de;
  --shadow: 0 8px 24px rgba(0, 102, 51, 0.08);
  --radius: 12px;
  --max-width: 1120px;
  --font: Arial, Helvetica, sans-serif;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.whatsapp-float {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
  text-decoration: none;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 36px 0;
}

.section--alt {
  background: var(--off-white);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--green);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.gold-rule {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border: 0;
  margin: 0 0 14px;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Checkbox-based mobile menu (no JavaScript required).
   Keep the input visually hidden — display:none can block the label from toggling it. */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 2px solid var(--green);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
}

.nav-toggle-label span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--green-light);
  color: var(--green);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--green);
}

.btn--solid {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(0, 77, 38, 0.92) 0%, rgba(0, 102, 51, 0.88) 55%, rgba(0, 77, 38, 0.9) 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 204, 0, 0.06) 0 12px,
      transparent 12px 24px
    );
  color: var(--white);
  padding: 88px 0 96px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 16ch;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem;
  margin-bottom: 28px;
  opacity: 0.95;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 204, 0, 0.18);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--green);
  margin: 12px 0 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-circle {
  width: fit-content;
  min-width: 52px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid var(--gold);
}

.impact-standards {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.impact-standards li {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- About / team ---------- */
.prose p + p {
  margin-top: 14px;
}

.prose p {
  color: var(--text-muted);
  max-width: 70ch;
}

.team-card {
  text-align: center;
}

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

.profile-card {
  text-align: center;
}

.profile-card img {
  display: block;
  width: 100%;
  height: 340px;
  margin-bottom: 18px;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
  object-position: center 20%;
}

.profile-card h3 {
  margin: 0 0 4px;
}

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  border: 3px solid var(--gold);
}

.team-card h3 {
  margin-bottom: 4px;
}

.role {
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.process-intro,
.values-section,
.promise-section,
.capabilities-section,
.standards-section,
.reach-section,
.cta-section,
.certification-section {
  opacity: 0;
  transform: translateY(18px);
  animation: section-reveal 0.6s ease forwards;
}

.process-intro {
  padding-top: 26px;
}

.capabilities-section {
  padding-bottom: 14px;
}

.reach-section {
  padding-top: 14px;
}

.certification-section {
  padding: 16px 0;
  background: var(--green-dark);
}

.intro-panel,
.promise-panel,
.capabilities-panel,
.reach-panel,
.standards-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 77, 38, 0.04), rgba(255, 204, 0, 0.05));
  box-shadow: var(--shadow);
}

.intro-panel {
  border-left: 4px solid var(--gold);
}

.standards-panel {
  border-left: 4px solid var(--gold);
}

.promise-panel {
  border-left: 4px solid var(--green);
}

.capabilities-panel {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, rgba(0, 77, 38, 0.045), rgba(255, 204, 0, 0.08));
}

.reach-panel {
  border-left: 4px solid var(--gold);
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 77, 38, 0.03), rgba(255, 204, 0, 0.04));
}

.eyebrow-label {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-panel p:last-child,
.standards-panel p,
.promise-panel p,
.reach-panel p,
.capabilities-panel li {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.promise-panel p,
.standards-panel p,
.reach-panel p {
  max-width: 900px;
}

.certification-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  letter-spacing: normal;
  word-spacing: normal;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.value-item {
  padding: 16px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  animation: section-reveal 0.6s ease forwards;
}

.value-item:nth-child(2) { animation-delay: 80ms; }
.value-item:nth-child(3) { animation-delay: 160ms; }
.value-item:nth-child(4) { animation-delay: 240ms; }
.value-item:nth-child(5) { animation-delay: 320ms; }

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--gold);
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 700;
}

.value-item h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.02rem;
  line-height: 1.4;
}

.value-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.capabilities-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
}

.capabilities-list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  font-weight: 600;
}

.cta-panel {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: var(--radius);
  background: #F7F3E9;
  color: #1F1F1F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-panel .eyebrow-label,
.cta-panel .section-title,
.cta-panel p,
.cta-panel a {
  color: #1F1F1F;
}

.cta-panel .section-title {
  margin-bottom: 0;
  color: #1F1F1F;
}

.cta-panel p {
  max-width: 720px;
  margin: 0;
  color: #333333;
  opacity: 1;
}

.cta-contact {
  font-weight: 600;
  color: #333333;
}

.cta-panel a {
  color: #1F1F1F;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-panel .phone-link,
.cta-panel .phone-link:hover,
.footer-brand .phone-link,
.footer-brand .phone-link:hover {
  text-decoration: none;
}

.footer-brand .phone-link {
  color: inherit;
}

.cta-panel .btn-row {
  margin-top: 6px;
}

.cta-panel .btn--primary {
  background: #F4C542;
  border-color: #F4C542;
  color: #1F1F1F;
}

.cta-panel .btn--primary:hover {
  background: #e3b633;
  border-color: #e3b633;
  color: #1F1F1F;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-showcase {
  overflow: hidden;
}

.process-flow {
  display: grid;
  gap: 12px;
}

.process-row {
  display: grid;
  grid-template-columns: 1.08fr 1.12fr;
  gap: clamp(12px, 1.5vw, 20px);
  align-items: center;
  padding: clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 77, 38, 0.03);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  animation: process-row-enter 0.6s ease forwards;
}

.process-row:nth-child(2) { animation-delay: 80ms; }
.process-row:nth-child(3) { animation-delay: 160ms; }
.process-row:nth-child(4) { animation-delay: 240ms; }
.process-row:nth-child(5) { animation-delay: 320ms; }
.process-row:nth-child(6) { animation-delay: 400ms; }
.process-row:nth-child(7) { animation-delay: 480ms; }
.process-row:nth-child(8) { animation-delay: 560ms; }
.process-row:nth-child(9) { animation-delay: 640ms; }

.process-row:nth-child(even) .process-media {
  order: 2;
}

.process-row:nth-child(even) .process-copy {
  order: 1;
}

.process-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(212, 160, 23, 0.35);
  background: var(--green-dark);
  max-width: 88%;
  justify-self: center;
}

.process-row:nth-child(even) .process-media {
  justify-self: center;
}

.process-media img {
  display: block;
  max-width: 75%;
  width: 75%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.process-row:hover .process-media img {
  transform: scale(1.04);
}

.process-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-kicker {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-copy h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.4rem, 2.2vw, 2.15rem);
  line-height: 1.25;
}

.process-copy p,
.process-copy li {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  word-spacing: normal;
  letter-spacing: normal;
  font-size: 1rem;
}

.process-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
}

@keyframes process-row-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Services list ---------- */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-list li {
  margin-bottom: 18px;
}

.contact-list strong {
  display: block;
  color: var(--green);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

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

.contact-list a:hover {
  color: var(--green);
}

.phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form h2 {
  color: var(--green);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.form-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background: var(--green-dark);
  color: var(--white);
  padding: 36px 0 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-brand p,
.footer-meta a,
.footer-meta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-brand p + p {
  margin-top: 6px;
}

.footer-meta a {
  display: block;
  margin-bottom: 4px;
}

.footer-meta a:hover {
  color: var(--gold);
  text-decoration: none;
}

.copyright {
  text-align: center;
  padding-top: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: var(--green);
  color: var(--white);
  padding: 48px 0;
}

.page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.page-banner p {
  opacity: 0.9;
  max-width: 40rem;
  margin-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .process-flow {
    gap: 10px;
  }

  .process-media img {
    max-width: 75%;
    width: 75%;
  }
}

@media (max-width: 720px) {
  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 3px solid var(--green);
    box-shadow: var(--shadow);
  }

  .site-nav ul {
    flex-direction: column;
    padding: 8px 16px 16px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .grid-3,
  .grid-2,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-shot {
    min-height: 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .section {
    padding: 28px 0;
  }

  .capabilities-section {
    padding-bottom: 12px;
  }

  .reach-section {
    padding-top: 12px;
  }

  .logo-tag {
    display: none;
  }
}

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

@media (max-width: 400px) {
  .logo-name {
    font-size: 0.92rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
}

.powered-by-netlify,
[data-testid="powered-by-netlify"],
.netlify-badge {
  display: none !important;
}
