/* =========================================================
  ECISA - INGENIERÍA AMBIENTAL
  CSS nuevo para página interna. Agregar después de desktop.css.
========================================================= */

/* =========================================================
  HERO INTERNO
========================================================= */

.service-page {
  background: #ffffff;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 12% 25%, rgba(0, 166, 173, .045), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid rgba(219, 228, 238, .72);
}

.inner-hero.ambiental-hero{
	background: url(../img/hero/ingenieria-ambiental-hero.webp) right top no-repeat;
	background-size: contain;
}

.inner-hero.civil-hero{
	background: url(../img/hero/hero-ingenieria-civil.webp) right top no-repeat;
	background-size: auto 100%;
}

.inner-hero.sanitaria-hero{
	background: url(../img/hero/hero-ingenieria-sanitaria.webp) right top no-repeat;
	background-size: auto 100%;
}

.inner-hero.seguridad-hero{
	background: url(../img/hero/hero-seguridad-higiene.webp) right top no-repeat;
	background-size: auto 100%;
}

.inner-hero.sistemas-hero{
	background: url(../img/hero/hero-sistema-gestion.webp) right top no-repeat;
	background-size: auto 100%;
}

.inner-hero.radicacion-hero{
	background: url(../img/hero/hero-radicacion.webp) right top no-repeat;
	background-size: auto 100%;
}

.inner-hero-grid {
  min-height: 342px;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: stretch;
}

.inner-hero-copy {
  position: relative;
  z-index: 2;
  padding: 18px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 36px;
  color: #8b98aa;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.breadcrumb a {
  color: #8391a4;
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--teal-700);
}

.breadcrumb span {
  color: var(--teal-700);
  font-size: 16px;
  line-height: 1;
}

.breadcrumb strong {
  color: var(--navy-950);
  font-weight: 900;
}

.inner-hero-copy h1 {
  margin: 0 0 23px;
  color: var(--navy-950);
  font-size: clamp(44px, 4.25vw, 56px);
  line-height: .98;
  letter-spacing: -2.2px;
  font-weight: 800;
}

.inner-hero-copy p {
  max-width: 535px;
  color: #4d5c75;
  font-size: 20px;
  line-height: 1.48;
  font-weight: 400;
}

.inner-hero-media {
  position: relative;
  min-height: 342px;
}

.hero-side-shape {
  position: absolute;
  left: -36px;
  bottom: 0;
  width: 122px;
  height: 104px;
  border-radius: 24px 24px 0 0;
  background: rgba(0, 149, 155, .13);
  transform: skewX(-17deg);
  z-index: 2;
}

.inner-hero-image {
  position: absolute;
  inset: 0 -120px 0 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 0 0;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.inner-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.12), transparent 28%);
  pointer-events: none;
}

.inner-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
  INTRO + DIFERENCIALES
========================================================= */

.section-white {
  background: #fff;
}

.ambiental-intro {
  padding: 38px 0 28px;
}

.ambiental-intro-grid {
  display: grid;
  grid-template-columns: 36% 58%;
  gap: 6%;
  align-items: center;
}

.ambiental-text-block h2 {
  margin: 0 0 22px;
  color: var(--navy-950);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.9px;
  font-weight: 850;
}

.ambiental-text-block p {
  max-width: 438px;
  margin: 0 0 17px;
  color: #4c5c74;
  font-size: 14px;
  line-height: 1.62;
}

.ambiental-small-btn {
  margin-top: 2px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 5px;
  font-size: 12px;
}

.ambiental-feature-box {
  min-height: 238px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ambiental-feature {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px 28px;
}

.ambiental-feature:nth-child(1),
.ambiental-feature:nth-child(2) {
  border-bottom: 1px solid var(--line);
}

.ambiental-feature:nth-child(1),
.ambiental-feature:nth-child(3) {
  border-right: 1px solid var(--line);
}

.ambiental-feature img {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.ambiental-feature h3 {
  margin: 0 0 6px;
  color: var(--navy-950);
  font-size: 16px;
  line-height: 1.12;
  font-weight: 850;
}

.ambiental-feature p {
  max-width: 240px;
  margin: 0;
  color: #4c5c74;
  font-size: 12px;
  line-height: 1.45;
}

/* =========================================================
  SERVICIOS + SIDEBAR
========================================================= */

.ambiental-services {
  padding: 6px 0 0;
}

.ambiental-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 246px;
  gap: 34px;
  align-items: start;
}

.ambiental-main-content {
  min-width: 0;
}

.ambiental-section-title {
  margin: 0 0 16px;
  color: var(--navy-950);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.6px;
  font-weight: 850;
}

.ambiental-section-title.with-line {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ambiental-section-title.with-line::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.included-card {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 36px 16px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(7, 32, 62, .035);
}

.included-card img {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.included-card h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 15px;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -.2px;
}

.included-card p {
  margin: 0;
  color: #536177;
  font-size: 11px;
  line-height: 1.42;
}

.check-dot {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  font-size: 0;
  font-weight: 900;
}

.check-dot::before {
  content: "\2713";
  font-size: 13px;
}

.ambiental-sidebar-card {
  position: sticky;
  top: 112px;
  width: 100%;
  padding: 24px 20px 21px;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(180deg, #00797f 0%, #006a70 100%);
  box-shadow: 0 18px 38px rgba(0, 126, 134, .22);
}

.ambiental-sidebar-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -.5px;
  font-weight: 850;
}

.ambiental-sidebar-card > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  line-height: 1.55;
}

.ambiental-form {
  display: grid;
  gap: 8px;
}

.ambiental-form label:not(.form-hp) {
  display: grid;
  gap: 4px;
}

.ambiental-sidebar-card .form-label {
  color: rgba(255,255,255,.92);
  font-size: 11px;
}

.ambiental-form input,
.ambiental-form textarea,
.ambiental-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #33435d;
  background: #fff;
  font-size: 11px;
  outline: 2px solid transparent;
}

.ambiental-form input {
  height: 37px;
}

.ambiental-form textarea {
  min-height: 84px;
  padding-top: 11px;
  padding-bottom: 11px;
  line-height: 1.45;
  resize: vertical;
  overflow-x: hidden;
}

.ambiental-form input:focus,
.ambiental-form textarea:focus,
.ambiental-form select:focus {
  outline-color: rgba(255,255,255,.35);
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 0 0 14px;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.form-message-ok {
  color: #e8fff4;
  background: rgba(7, 154, 99, .35);
}

.form-message-error {
  color: #fff2f2;
  background: rgba(187, 45, 45, .35);
}

.ambiental-form button {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 5px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.recaptcha-notice {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  line-height: 1.45;
}

.recaptcha-notice a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.sidebar-contact {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.sidebar-contact a {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.sidebar-contact strong {
  font-weight: 850;
}

/* =========================================================
  CUÁNDO LO NECESITÁS
========================================================= */

.ambiental-when {
  padding: 22px 0 0;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.when-card {
  min-height: 98px;
  padding: 18px 16px 15px;
  border-radius: 6px;
  background: #f7f9fc;
}

.when-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 10px;
}

.when-card h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 850;
}

.when-card p {
  margin: 0;
  color: #56647a;
  font-size: 10px;
  line-height: 1.45;
}

/* =========================================================
  BENEFICIOS
========================================================= */

.ambiental-benefits {
  padding: 27px 0 34px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 78px;
  padding: 11px 24px 8px 0;
  border-right: 1px solid var(--line);
}

.benefit-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.benefit-item img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.benefit-item h3 {
  margin: 0 0 5px;
  color: var(--navy-950);
  font-size: 13px;
  line-height: 1.18;
  font-weight: 850;
}

.benefit-item p {
  margin: 0;
  color: #56647a;
  font-size: 10px;
  line-height: 1.45;
}
