/* Intervention Pages Styles */

/* Utilities */
.text-accent {
  color: var(--color-accent);
}

.intervention-page {
  padding: 6rem 0;
  min-height: 80vh;
  background-color: var(--color-background);
  background-image: radial-gradient(circle at top right, rgba(var(--color-accent-rgb, 37, 99, 235), 0.05), transparent 40%),
                    radial-gradient(circle at bottom left, rgba(var(--color-accent-rgb, 37, 99, 235), 0.03), transparent 40%);
}

.intervention-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 1rem;
}


/* Location Badge */
.location-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f0f9ff; /* Light blueish/accent background */
  color: var(--color-accent);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.intervention-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.1;
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intervention-subtitle {
  font-size: 1.35rem;
  color: #666;
  margin-bottom: 0;
  padding: 0 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Intro Section - More Conversational */
.intervention-intro {
  max-width: 800px;
  margin: 0 auto 6rem auto;
  padding: 0 1rem;
}

.intro-content {
  text-align: left; /* Reading/Letter mode */
  background: white;
  padding: 3.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
}

.intro-content::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 6rem;
  color: rgba(0,0,0,0.05);
  font-family: serif;
  line-height: 1;
}

.intervention-intro h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    font-family: 'ClashDisplay', sans-serif;
    line-height: 1.2;
}

.intervention-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.intervention-intro p:last-child {
  margin-bottom: 0;
}


/* Services Section */
.intervention-services {
  padding: 2rem 0;
}


.intervention-services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  color: var(--color-text);
  font-family: 'ClashDisplay', sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 6rem;
  padding: 0 1rem;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
}

.service-card {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  border-color: rgba(var(--color-accent-rgb, 37, 99, 235), 0.2);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: #f8fafc;
  color: var(--color-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-accent);
  color: white;
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 10px 20px -5px rgba(var(--color-accent-rgb, 37, 99, 235), 0.4);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-family: 'ClashDisplay', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.service-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1.05rem;
  flex-grow: 1;
}

/* Arrow inside card */
.card-arrow {
  margin-top: 2rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* Contact Section - More Humane */
.intervention-contact {
    margin: 4rem auto 0 auto;
    padding: 0 1rem;
    max-width: 1000px;
}

.contact-box {
    background: var(--color-accent); /* or use a dark gradients */
    background: linear-gradient(135deg, var(--color-accent) 0%, #1e1b4b 100%); /* Assuming accent is roughly compatible */

    color: white;
    padding: 5rem 3rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(var(--color-accent-rgb, 37, 99, 235), 0.25);
}

.intervention-contact h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-family: 'ClashDisplay', sans-serif;
    position: relative;
    z-index: 1;
}

.intervention-contact p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 1;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-actions .btn-primary {
    background-color: white;
    color: var(--color-accent);
    border: none;
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    font-size: 1.1rem;
}

.contact-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-actions .btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    font-size: 1.1rem;
}

.contact-actions .btn-outline:hover {
    border-color: white;
    background-color: rgba(255,255,255,0.05);
}

.guarantee {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Animations */
.intervention-page {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .intervention-page {
      padding: 3rem 0;
  }

  .intervention-header h1 {
    font-size: 2.2rem;
  }

  .intro-content {
      padding: 2rem;
  }

  .contact-box {
      padding: 3rem 1.5rem;
      border-radius: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 7rem;
  }
}
