﻿.services-hero {
  margin-top: 52px;
  min-height: 50vh;
  padding: clamp(28px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(24, 220, 96, 0.18) 0%, rgba(38, 198, 218, 0.14) 52%, rgba(255, 171, 64, 0.12) 100%),
    linear-gradient(112deg, rgba(7, 108, 50, 0.72) 0%, rgba(16, 170, 82, 0.64) 42%, rgba(34, 165, 143, 0.48) 70%, rgba(255, 123, 0, 0.2) 100%),
    image-set(url('../img/BannerServicios.webp') type('image/webp'), url('../img/BannerServicios.avif') type('image/avif'), url('../img/BannerServicios.png') type('image/png'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 30, 14, 0.46) 0%, rgba(6, 42, 19, 0.24) 50%, rgba(7, 54, 25, 0.38) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
  background-position: center, center, center;
  z-index: 0;
  opacity: 0.88;
}

.services-hero::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 255, 193, 0.16) 0%, rgba(140, 255, 193, 0) 70%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}

.services-hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-hero-inner {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3.5vw, 48px) 0;
  animation: slideInUp 0.7s ease 0.15s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  will-change: transform, opacity;
}

.services-hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.6rem);
  line-height: 0.96;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-wrap: balance;
  color: #ffffff;
}

.services-hero p {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
  color: rgba(245, 255, 249, 0.9);
  font-weight: 400;
}
.services-intro {
  width: 100%;
  padding: clamp(40px, 5vw, 80px) clamp(14px, 2.4vw, 30px);
  background: linear-gradient(135deg, #fffdf7 0%, #fff7ea 42%, #f4fcf8 100%);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 224, 102, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 123, 0, 0.08) 0%, transparent 50%);
  background-size: auto, auto;
  background-repeat: repeat, repeat;
  box-shadow: 0 16px 40px rgba(255, 123, 0, 0.1);
  border-top: 3px solid rgba(255, 123, 0, 0.34);
  border-bottom: 3px solid rgba(20, 186, 72, 0.12);
}

.services-intro-container {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
}

.services-intro-content {
  max-width: 720px;
  margin: 0 auto;
}

.services-intro-label {
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ff7b00;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.services-intro-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff7b00 0%, #ffe066 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-intro-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: justify;
}

.services-intro-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf7 100%);
  border-left: 4px solid #ff7b00;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(255, 123, 0, 0.12);
}

.highlight-item:hover {
  background: linear-gradient(135deg, #fffdf7 0%, #e8faf5 100%);
  transform: translateX(6px);
  border-color: rgba(255, 112, 0, 0.2);
  box-shadow: 0 8px 20px rgba(20, 186, 72, 0.12);
}

.highlight-item i {
  color: #ff7b00;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.highlight-item span {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}

.services-grid-section {
  width: 100%;
  padding: clamp(40px, 5vw, 80px) clamp(14px, 2.4vw, 30px);
  background: linear-gradient(135deg, #fffdf7 0%, #f5fffe 50%, #ffffff 100%);
  border-top: 2px solid rgba(255, 112, 0, 0.15);
  border-bottom: 2px solid rgba(46, 196, 182, 0.15);
}

.services-grid-container {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
}

.services-grid-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 14px;
}

.services-grid-header h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0;
  font-weight: 700;
  background: linear-gradient(135deg, #14ba48 0%, #ff7b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-grid-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.services-page .process-gallery-grid {
    grid-template-columns: 1fr;
  }

  body.services-page .process-media-modal {
    padding: 12px;
  }

  body.services-page .process-media-modal__caption {
    padding: 14px 16px 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.services-page .process-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  body.services-page .process-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  body.services-page .process-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


.service-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border-radius: 18px;
  background: var(--surface);
  border-left: 6px solid var(--accent-orange);
  border: 1px solid rgba(15, 143, 54, 0.14);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
  transition: left var(--transition);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(15, 143, 54, 0.22);
  box-shadow: 0 20px 44px rgba(15, 143, 54, 0.18);
}

.service-card:hover::before {
  left: 100%;
}

.service-card-header {
  margin-bottom: 18px;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff7b00 0%, #ffe066 100%);
  color: #ffffff;
  font-size: 26px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 10px 22px rgba(255, 112, 0, 0.2);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, #ffe066 0%, #ffa500 100%);
  color: #ffffff;
  transform: rotate(15deg) scale(1.15);
  box-shadow: 0 16px 40px rgba(255, 112, 0, 0.3);
}

.service-card-content {
  flex: 1;
  margin-bottom: 18px;
}

.service-card-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.25;
  transition: color var(--transition);
}

.service-card:hover .service-card-content h3 {
  color: var(--accent-orange);
}

.service-card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(46, 196, 182, 0.2);
  padding-top: 16px;
  transition: border-color var(--transition);
}

.service-card:hover .service-card-footer {
  border-top-color: #ff7b00;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.service-card-link:hover {
  color: var(--accent-orange);
  transform: translateX(6px);
}

.service-card-link i {
  font-size: 14px;
  transition: transform var(--transition);
}

.service-card:hover .service-card-link i {
  transform: translateX(4px);
}

body.services-page .services-gallery-section {
  width: 100%;
  padding: clamp(44px, 6vw, 84px) clamp(14px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 224, 102, 0.12), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.1), transparent 20%),
    linear-gradient(135deg, #ffffff 0%, #fffaf0 42%, #f4fcf8 100%);
  border-top: 2px solid rgba(255, 123, 0, 0.12);
  border-bottom: 2px solid rgba(20, 186, 72, 0.12);
}

body.services-page .services-gallery-container {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
}

body.services-page .services-gallery-header {
  display: grid;
  gap: 12px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

body.services-page .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 123, 0, 0.12), rgba(255, 224, 102, 0.18));
  color: #a34800;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 123, 0, 0.2);
}

body.services-page .services-gallery-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  color: #0f5c28;
}

body.services-page .services-gallery-header p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.01rem;
}

body.services-page .services-gallery-header span {
  color: #0f8f36;
  font-weight: 700;
}

body.services-page .services-gallery {
  display: grid;
  gap: 20px;
}

body.services-page .process-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 186, 72, 0.45) transparent;
}

body.services-page .process-tabs::-webkit-scrollbar {
  height: 6px;
}

body.services-page .process-tabs::-webkit-scrollbar-thumb {
  background: rgba(20, 186, 72, 0.45);
  border-radius: 999px;
}

body.services-page .process-tab {
  flex: 0 0 auto;
  border: 1px solid rgba(20, 186, 72, 0.15);
  background: #ffffff;
  color: #0f8f36;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  box-shadow: 0 8px 20px rgba(6, 34, 16, 0.07);
}

body.services-page .process-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 123, 0, 0.35);
}

body.services-page .process-tab.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f8f36 0%, #14ba48 56%, #ff7b00 100%);
  box-shadow: 0 14px 28px rgba(20, 186, 72, 0.24);
}

body.services-page .process-gallery-panel {
  min-height: 180px;
}

body.services-page .process-gallery-grid {
  display: grid;
  gap: 16px;
}

body.services-page .process-media-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  background: #eaf2ed;
  box-shadow: 0 12px 30px rgba(6, 34, 16, 0.09);
  cursor: pointer;
  isolation: isolate;
  transform: translateZ(0);
}

body.services-page .process-media-card button {
  all: unset;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 3;
}

body.services-page .process-media-card button:focus-visible {
  outline: 3px solid rgba(255, 123, 0, 0.65);
  outline-offset: -3px;
}

body.services-page .process-media-card img,
body.services-page .process-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

body.services-page .process-media-card:hover img,
body.services-page .process-media-card:hover video {
  transform: scale(1.05);
}

body.services-page .process-media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 34, 16, 0.04) 0%, rgba(6, 34, 16, 0.56) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 1;
  pointer-events: none;
}

body.services-page .process-media-card:hover::after,
body.services-page .process-media-card:focus-within::after {
  opacity: 1;
}

body.services-page .process-media-card__badge,
body.services-page .process-media-card__caption {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

body.services-page .process-media-card__badge {
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f8f36;
  font-size: 0.76rem;
  font-weight: 700;
}

body.services-page .process-media-card__badge i {
  font-size: 0.95rem;
}

body.services-page .process-media-card__caption {
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: #ffffff;
  display: grid;
  gap: 4px;
}

body.services-page .process-media-card__caption h4,
body.services-page .process-media-card__caption p {
  margin: 0;
}

body.services-page .process-media-card__caption h4 {
  font-size: 1rem;
  line-height: 1.25;
}

body.services-page .process-media-card__caption p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
}

body.services-page .process-media-card--video .process-media-card__badge {
  color: #0b5f24;
}

body.services-page .process-media-card--video::before {
  content: '\f04b';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: #14ba48;
  font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(6, 34, 16, 0.18);
  z-index: 2;
  pointer-events: none;
}

body.services-page .process-gallery-empty {
  padding: 28px;
  border-radius: 18px;
  background: rgba(20, 186, 72, 0.06);
  color: #456257;
  text-align: center;
}

body.services-page .process-media-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 18px;
}

body.services-page .process-media-modal.is-open {
  display: flex;
}

body.services-page .process-media-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 16, 0.72);
  backdrop-filter: blur(8px);
}

body.services-page .process-media-modal__dialog {
  position: relative;
  width: auto;
  max-width: min(980px, 95vw);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
}

body.services-page .process-media-modal__content {
  background: #08150f;
  display: grid;
  place-items: center;
  width: 100%;
}

body.services-page .process-media-modal__content img,
body.services-page .process-media-modal__content video {
  width: auto;
  height: auto;
  max-width: calc(95vw - 36px);
  max-height: calc(88vh - 110px);
  object-fit: contain;
  display: block;
  background: #08150f;
}

body.services-page .process-media-modal__caption {
  padding: 18px 22px 22px;
  display: grid;
  gap: 6px;
}

body.services-page .process-media-modal__caption h4,
body.services-page .process-media-modal__caption p {
  margin: 0;
}

body.services-page .process-media-modal__caption h4 {
  color: #0f8f36;
  font-size: 1.1rem;
}

body.services-page .process-media-modal__caption p {
  color: #4a6156;
}

body.services-page .process-media-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f8f36;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(6, 34, 16, 0.12);
}

body.services-page .process-media-modal__close:hover {
  background: #ffffff;
}


.services-cta-section {
  width: 100%;
  padding: clamp(40px, 5vw, 80px) clamp(14px, 2.4vw, 30px);
  background: linear-gradient(135deg, #14ba48 0%, #20d55f 50%, #2ec4b6 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 186, 72, 0.2);
}

@media (max-width: 900px) {
  .services-hero { background-attachment: scroll !important; }
  .services-hero::after { display: none !important; }
  .services-hero-decor { display: none !important; }
}

.services-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
  background-position: center, center, center;
  z-index: 0;
  opacity: 0.5;
}

.services-cta-container {
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.services-cta-content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffffff;
}

.services-cta-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.services-cta-content .btn {
  background: linear-gradient(135deg, #ffffff 0%, #f5fffe 100%);
  color: #14ba48;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(20, 186, 72, 0.2);
}

.services-cta-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(20, 186, 72, 0.3);
  background: linear-gradient(135deg, #fffdf7 0%, #ffffff 100%);
  border-color: rgba(255, 255, 255, 0.8);
}


@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  animation: slideInUp 0.6s ease-out both;
}

@media (max-width: 375px) {
  body {
    font-size: 14px;
  }

  .services-hero {
    margin-top: 68px;
    min-height: 40vh;
    padding: clamp(18px, 3vw, 28px) clamp(10px, 2vw, 14px);
  }

  .services-hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }

  .services-hero p {
    font-size: 13px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 320px;
    padding: 16px;
  }

  .service-card-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .service-card-content h3 {
    font-size: 1.05rem;
  }

  .service-card-content p {
    font-size: 13px;
  }

  .services-intro {
    padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 16px);
  }

  .services-intro h2 {
    font-size: clamp(1.6rem, 4.5vw, 2rem);
  }

  .services-intro-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .highlight-badge {
    padding: 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .service-card {
    min-height: 350px;
    padding: 24px;
  }

  .service-card-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .service-card-content h3 {
    font-size: 1.15rem;
  }

  .services-intro-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 50vh;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card {
    padding: 24px;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #14ba48 0%, #3ddc6c 50%, #20d55f 100%);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(20, 186, 72, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f9f3b 0%, #14ba48 50%, #1fb952 100%);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(20, 186, 72, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {

  .service-node {
    animation-duration: 0.3s !important;
    animation-delay: 0s !important;
  }

  .services-grain,
  .services-float {
    animation: none !important;
  }
}

.services-hero-inner,
.services-grid-container,
.services-intro-container,
.services-cta-container {
  width: min(1240px, calc(100% - 24px));
}

.services-hero h1 {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.services-hero p,
.services-grid-header p,
.services-intro-content p,
.services-cta-content p {
  text-wrap: pretty;
}

.service-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 249, 0.98) 100%);
  border: 1px solid rgba(20, 186, 72, 0.08);
  box-shadow: 0 18px 40px rgba(9, 44, 17, 0.08);
}

.service-card:hover {
  box-shadow: 0 24px 46px rgba(20, 186, 72, 0.18);
}

.service-card-content h3 {
  letter-spacing: -0.02em;
}

.service-card-link {
  padding: 2px 0;
}

.services-grid-section {
  position: relative;
}

.services-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(20, 186, 72, 0.07), transparent 34%),
    radial-gradient(circle at bottom right, rgba(15, 143, 54, 0.07), transparent 30%);
  pointer-events: none;
}

.services-grid-container,
.services-intro-container,
.services-cta-container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .service-card {
    min-height: unset;
  }

  .services-grid-header {
    margin-bottom: 34px;
  }
}

@media (max-width: 900px) {
  .services-hero {
    background-attachment: scroll;
  }

  .services-hero::after {
    display: none;
  }
}

.services-hero {
  height: 471.688px !important;
  min-height: 471.688px !important;
  max-height: 471.688px !important;
}
