/* =============================================
   The Savage Saints – Saints on Standby Styles
   Theme: Warm Faith + Field Grit + Amber Glow
   ============================================= */

/* Root palette */
:root {
  --amber: #fbbf24;
  --amber-light: #fde68a;
  --amber-dark: #78350f;
  --zinc-bg: #0f172a;
  --zinc-light: #f5f3e7;
  --stone: #1e293b;
  --paper: #fffaf3;
}

/* Section: What We Do */
#what-we-do {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 40%, #111827 100%);
  color: var(--zinc-light);
  position: relative;
  overflow: hidden;
}

#what-we-do::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 15%, rgba(255, 200, 100, 0.2), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

/* Bright Amber Title & Intro Text */
#what-we-do h2 {
  color: #fff6d2 !important;
  text-shadow:
    0 0 25px rgba(255, 210, 100, 0.5),
    0 0 10px rgba(255, 200, 80, 0.4);
  font-family: 'Cinzel', serif;
  font-size: 2.25rem;
  font-weight: 800;
}

#what-we-do .max-w-3xl > p {
  color: #fffbea !important;
  font-size: 1.15rem;
  line-height: 1.9;
  margin-top: 0.75rem;
  text-shadow:
    0 0 10px rgba(255, 225, 180, 0.3),
    0 0 4px rgba(255, 240, 200, 0.5);
}

/* General paragraph styling */
#what-we-do p {
  font-family: 'Inter', sans-serif;
  color: #f8fafc;
  line-height: 1.8;
}

/* Cards grid */
#what-we-do .grid {
  margin-top: 3rem;
}

#what-we-do .p-6 {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

#what-we-do .p-6::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -30%, rgba(251,191,36,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#what-we-do .p-6:hover::before {
  opacity: 1;
}

#what-we-do .p-6:hover {
  transform: translateY(-6px);
  border-color: rgba(251,191,36,0.5);
  box-shadow: 0 8px 25px rgba(251,191,36,0.3);
}

/* Card titles */
#what-we-do h3 {
  color: var(--amber-light);
  font-weight: 700;
  font-size: 1.25rem;
  text-shadow: 0 2px 10px rgba(255, 200, 100, 0.4);
  margin-bottom: 0.5rem;
}

/* Card text */
#what-we-do .p-6 p {
  color: #f9fafb;
  font-size: 0.98rem;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Footer text */
#what-we-do .text-sm {
  color: #fef9c3;
  font-style: italic;
  text-align: center;
  margin-top: 3rem;
  text-shadow: 0 0 10px rgba(255, 200, 80, 0.3);
}

/* Glow animation */
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Mobile refinements */
@media (max-width: 640px) {
  #what-we-do {
    padding: 3rem 1rem;
  }

  #what-we-do h2 {
    font-size: 1.75rem;
  }

  #what-we-do .grid {
    gap: 1rem;
  }

  #what-we-do .p-6 {
    padding: 1.5rem;
  }
}


/* =============================================
   HOW IT WORKS – Standby Process Section (Brightened)
   ============================================= */

#how-it-works {
  background: linear-gradient(180deg, #1a1f2a 0%, #1f2937 40%, #2d3748 100%);
  color: #fffdf4;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Softer Ambient Glow */
#how-it-works::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 210, 130, 0.25), transparent 70%),
              radial-gradient(circle at 80% 75%, rgba(255, 170, 100, 0.15), transparent 80%);
  mix-blend-mode: screen;
  animation: ambientPulse 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

/* Headings and intro */
#how-it-works h2 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fffaf0;
  text-shadow:
    0 0 25px rgba(255, 210, 120, 0.4),
    0 0 10px rgba(255, 220, 160, 0.3);
}

#how-it-works .max-w-3xl > p {
  color: #fff8e6;
  font-size: 1.15rem;
  line-height: 1.85;
  text-shadow: 0 0 6px rgba(255, 230, 170, 0.3);
  margin-top: 0.75rem;
}

/* Step list */
#how-it-works ol {
  margin-top: 2.5rem;
  counter-reset: step;
  list-style: none;
  padding-left: 2.5rem;
}

#how-it-works li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  color: #fffdf4;
  font-size: 1.05rem;
  line-height: 1.75;
  position: relative;
  transition: all 0.35s ease;
}

#how-it-works li:not(:last-child) {
  margin-bottom: 1rem;
}

#how-it-works li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 200, 100, 0.35);
  border-color: rgba(255, 210, 120, 0.5);
}

/* Step numbers */
#how-it-works li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: -2.8rem;
  background: linear-gradient(135deg, #fbbf24, #fde68a);
  color: #1a1305;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 210, 120, 0.5);
}

/* Emphasized span titles */
#how-it-works li span {
  color: #fde68a;
  font-weight: 700;
}

/* Footer note */
#how-it-works .text-sm {
  color: #fff9cc;
  font-style: italic;
  text-align: center;
  margin-top: 3rem;
  text-shadow: 0 0 10px rgba(255, 210, 120, 0.3);
}

/* =============================================
   FIELD STRUCTURE & SUPPLIES (Hierarchy Layout)
   ============================================= */

/* Remove step counters from inside grid boxes */
#how-it-works .grid ul li::before {
  content: none !important;
}

/* Clean readable text for inner lists */
#how-it-works .grid ul li {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

#how-it-works .grid ul li:hover {
  background: linear-gradient(to bottom right, #fff8e1, #fef3c7);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(251,191,36,0.25);
  border-color: rgba(251,191,36,0.3);
}

/* Card containers */
#how-it-works .grid > div {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

#how-it-works .grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(251,191,36,0.3);
}

/* Headings */
#how-it-works .grid h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #78350f;
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(251,191,36,0.2);
}

/* Hierarchical visual (Field Roles) */
#how-it-works .grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#how-it-works .grid ul li:first-child {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  font-weight: 700;
  color: #3b2f12;
  border-color: rgba(251,191,36,0.5);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(251,191,36,0.3);
}

#how-it-works .grid ul li:nth-child(2),
#how-it-works .grid ul li:nth-child(3) {
  background: #fffdf5;
  font-weight: 600;
  border-left: 4px solid #fbbf24;
  padding-left: 1.25rem;
}

#how-it-works .grid ul li:last-child {
  border-bottom: 2px solid rgba(251,191,36,0.4);
}

/* Equipment List variant */
#how-it-works .grid:nth-child(2) ul li {
  border-left: 4px solid #a16207;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #how-it-works li::before {
    left: -2rem;
  }

  #how-it-works h2 {
    font-size: 2rem;
  }

  #how-it-works .grid {
    grid-template-columns: 1fr;
  }

  #how-it-works .grid > div {
    padding: 1.5rem;
  }

  #how-it-works .grid ul li {
    font-size: 0.95rem;
  }
}

#how-it-works h3 {
  text-align: center;
  font-family: 'Cinzel', serif;
  color: #78350f;
  text-shadow: 0 0 15px rgba(251,191,36,0.4);
  margin-bottom: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

#how-it-works h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: linear-gradient(to right, #fbbf24, #fde68a, #fbbf24);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(251,191,36,0.6);
}


/* =============================================
   Expandable Roles Accordion – Warm Glow Design
   ============================================= */

.roles-accordion details {
  border: 1px solid rgba(251,191,36,0.4);
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #fffdf5, #fffaf0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.roles-accordion details[open] {
  box-shadow: 0 8px 20px rgba(251,191,36,0.25);
  border-color: rgba(251,191,36,0.6);
  transform: translateY(-2px);
}

.roles-accordion summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #78350f;
  background: linear-gradient(to right, #fff3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

.roles-accordion summary::after {
  content: "＋";
  font-weight: bold;
  color: #78350f;
  transition: transform 0.3s ease;
}

.roles-accordion details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.roles-accordion summary:hover {
  background: linear-gradient(to right, #fde68a, #fef3c7);
  color: #7c2d12;
}

.roles-accordion p {
  padding: 1rem 1.25rem 1.5rem;
  color: #374151;
  line-height: 1.75;
  font-size: 0.98rem;
  background: #fffef9;
  border-top: 1px solid rgba(251,191,36,0.3);
}

/* =============================================
   Expandable Accordions – Static (No Hover Motion)
   ============================================= */

.roles-accordion details,
.equip-accordion details {
  border: 1px solid rgba(251,191,36,0.4);
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #fffdf5, #fffaf0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* When open: keep same static look */
.roles-accordion details[open],
.equip-accordion details[open] {
  border-color: rgba(251,191,36,0.6);
  box-shadow: 0 3px 10px rgba(251,191,36,0.2);
}

/* Summary header styling (static amber gradient) */
.roles-accordion summary,
.equip-accordion summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: #78350f;
  background: linear-gradient(to right, #fff3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid rgba(251,191,36,0.25);
}

/* Remove hover animation entirely */
.roles-accordion summary:hover,
.equip-accordion summary:hover {
  background: linear-gradient(to right, #fff3c7, #fde68a);
  color: #78350f;
}

/* + / − icons (no transition) */
.roles-accordion summary::after,
.equip-accordion summary::after {
  content: "＋";
  font-weight: bold;
  color: #78350f;
}

.roles-accordion details[open] summary::after,
.equip-accordion details[open] summary::after {
  content: "−";
}

/* Body text */
.roles-accordion p,
.equip-accordion p {
  padding: 1rem 1.25rem 1.5rem;
  color: #374151;
  line-height: 1.75;
  font-size: 0.98rem;
  background: #fffef9;
  border-top: 1px solid rgba(251,191,36,0.3);
}

