/* =========================================================
   OTROS SECTORES — SOLO MAIN (sin nav/footer/global)
   Requiere: <main class="page-others"> ... </main>
========================================================= */

/* ===== HERO ===== */
.page-others .hero-others {
  text-align: center;
  margin-top: 100px;   /* ajusta según tu header fijo */
  margin-bottom: 25px;
}

.page-others .section-title.modern {
  font-size: 40px;
  font-weight: 900;
  color: #1e2e2a;
  width: fit-content;
  margin: 0 auto 18px;
  letter-spacing: 1px;
}

.page-others .hero-others .hero-sub {
  color: #007C5A;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 600;
  margin-top: 15px;
}

/* ===== LOGO INLINE (solo dentro del main) ===== */
.page-others .logo-inline {
  display: inline-block;
  width: 75px;
  height: 20px;
  background-image: url("../images/logo-visitia.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: 0px;
  margin-left: -6px;
}

/* ===== SECTORES ===== */
.page-others .sectors-section {
  padding: 0 6vw;
}

.page-others .three-column {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 30px;
}

/* =========================================================
   HOVER PREMIUM (Glow mint + lift) — FIX REAL
   Funciona aunque .sector-card sea .promo-style
========================================================= */

/* Base para sector-card dentro del main */
.page-others .sector-card {
  position: relative;
  overflow: hidden; /* para que el glow respete el border-radius */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

/* Glow mint lateral (capa inferior) */
.page-others .sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(143,227,214,0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0; /* glow abajo */
}

/* Todo el contenido arriba del glow */
.page-others .sector-card > * {
  position: relative;
  z-index: 1;
}

/* Hover ON */
.page-others .sector-card:hover::before {
  opacity: 1;
}

/* Elevación + sombra premium */
.page-others .sector-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 50px 140px rgba(0,0,0,0.20),
    inset 0 0 0 1px rgba(79,182,165,0.25);
}

/* Zoom de imagen en hover (como el original) */
.page-others .sector-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.page-others .sector-card:hover .sector-image {
  transform: scale(1.06);
  box-shadow: 0 36px 120px rgba(0,0,0,0.40);
}

/* Card estilo PROMO (imagen + texto) */
.page-others .sector-card.promo-style {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  padding: 52px;
  background: #ffffff;
  border-radius: 40px;
  align-items: center;
  text-align: left;

  /* tu sombra original base */
  box-shadow: 0 30px 70px rgba(0,0,0,0.08),
              inset 0 0 0 1px rgba(255,255,255,0.7);

  border: 1px solid rgba(0, 0, 0, 0.08);
}

.page-others .sector-media {
  display: flex;
  justify-content: center;
}

.page-others .sector-image {
  width: 100%;
  max-width: 440px;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
  object-fit: cover;
}

.page-others .sector-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Título sector */
.page-others .section-title.small {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 1.3px;
  color: #1d7a67;
}

/* Lista con bullet custom */
.page-others .sector-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-others .sector-content li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #1f2f2b;
  font-weight: 500;
}

.page-others .sector-content li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #2ba383, #71d6bb);
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0.7em;
  transform: translateY(-50%);
}

/* Links dentro del main */
.page-others .orange-link {
  color: #f5a623;
  font-weight: 700;
  text-decoration: underline;
}

.page-others .link-blue {
  color: #1d7a67;
  font-weight: 700;
  text-decoration: underline;
}

/* CTA final */
.page-others .center {
  display: flex;
  justify-content: center;
  margin: 70px 0 60px;
}

.page-others .btn-yellow {
  background: rgb(248, 194, 66);
  color: #3b2a00;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(246, 197, 111, 0.55);
  transition: 0.3s ease;
}

.page-others .btn-yellow.big {
  padding: 20px 64px;
  font-size: 19px;
  text-align: center;
}

.page-others .btn-yellow:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(246, 197, 111, 0.7);
}

/* ===== PROYECTO A MEDIDA / FAQ ===== */
.page-others .custom-project-section {
  margin: 140px auto;
  max-width: 1100px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.page-others .custom-block.featured {
  background: #1a4d42;
  border-radius: 32px;
  padding: 90px 60px;
  box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.6);
}

.page-others .custom-block.featured .pill-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 28px;
  display: inline-block;
}

.page-others .custom-block.featured p {
  font-size: 1.17rem;
  line-height: 1.75;
  color: #e9f3ef;
  margin-bottom: 40px;
  max-width: 820px;
}

.page-others .custom-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f0f0f;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.page-others .custom-cta:hover {
  background: #eaeaea;
  transform: translateY(-3px);
}

.page-others .custom-card.simple {
  background: linear-gradient(180deg, #ffffff, #f6fbf9);
  border-radius: 22px;
  padding: 34px 36px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10),
              inset 0 0 0 1px rgba(0,0,0,0.04);
  text-align: center;
}

.page-others .faq-link {
  font-size: 16px;
  color: #2f9f8a;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(47,159,138,0.4);
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.page-others .faq-link:hover {
  color: #186b5a;
  border-bottom-color: #186b5a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .page-others .sector-card.promo-style {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 22px;
  }

  .page-others .sector-media {
    order: -1;
  }

  .page-others .sector-image {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .page-others .section-title.modern {
    font-size: 28px;
  }

  .page-others .hero-others .hero-sub {
    font-size: 16px;
  }

  .page-others .custom-block.featured {
    padding: 60px 26px;
  }

  .page-others .custom-project-section {
    gap: 80px;
    margin: 100px auto;
  }
}

@media (max-width: 600px) {
  .page-others .btn-yellow.big {
    width: 100%;
    max-width: 360px;
    padding: 16px 0;
  }
}































/* =========================================================
   PAGE OTHERS — RESPONSIVE 95% + SAFE AREA + LANDSCAPE
========================================================= */

html, body { overflow-x: hidden; }

:root{
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ===== HERO: spacing elástico + tipografía escalable ===== */
.page-others .hero-others{
  margin-top: clamp(70px, 10vw, 110px);
  margin-bottom: clamp(16px, 3vw, 25px);
  padding-top: var(--safe-top);
  padding-inline: clamp(12px, 4vw, 24px);
}

.page-others .section-title.modern{
  font-size: clamp(26px, 5vw, 40px);
  letter-spacing: clamp(0.2px, 0.25vw, 1px);
}

.page-others .hero-others .hero-sub{
  font-size: clamp(15px, 2.2vw, 21px);
  margin-top: clamp(10px, 2.4vw, 15px);
  max-width: 900px;
  margin-inline: auto;
}

/* ===== Layout padding más controlado ===== */
.page-others .sectors-section{
  padding-inline: clamp(16px, 6vw, 6vw);
}

.page-others .three-column{
  gap: clamp(34px, 6vw, 70px);
  margin-top: clamp(18px, 3.5vw, 30px);
}

/* ===== Sector Card: grid fluido + radios/padding escalables ===== */
.page-others .sector-card.promo-style{
  gap: clamp(18px, 5vw, 50px);
  padding: clamp(22px, 4.5vw, 52px);
  border-radius: clamp(22px, 5vw, 40px);
  grid-template-columns: 1fr 1.15fr; /* un poco más friendly en tablets */
}

/* Imagen: evita overflow y mantiene look premium */
.page-others .sector-media{ min-width: 0; }

.page-others .sector-image{
  max-width: min(440px, 100%);
  width: 100%;
  border-radius: clamp(18px, 4vw, 30px);
}

/* Tipos escalables en card */
.page-others .section-title.small{
  font-size: clamp(22px, 3.2vw, 1.9rem);
  letter-spacing: clamp(0.6px, 0.25vw, 1.3px);
}

.page-others .sector-content li{
  font-size: clamp(15px, 2vw, 1.05rem);
}

/* ===== CTA final: escalable + safe bottom ===== */
.page-others .center{
  margin: clamp(40px, 7vw, 70px) 0 calc(clamp(40px, 6vw, 60px) + var(--safe-bottom));
  padding-inline: 16px;
}

.page-others .btn-yellow.big{
  font-size: clamp(16px, 2.1vw, 19px);
  padding: 18px clamp(22px, 6vw, 64px);
  max-width: 520px;
  width: fit-content;
}

/* ===== Custom project / FAQ: spacing más elástico ===== */
.page-others .custom-project-section{
  margin: clamp(90px, 12vw, 140px) auto;
  padding-inline: clamp(16px, 4vw, 20px);
  gap: clamp(60px, 10vw, 120px);
}

.page-others .custom-block.featured{
  padding: clamp(34px, 7vw, 90px) clamp(18px, 5.5vw, 60px);
  border-radius: clamp(22px, 4.5vw, 32px);
}

.page-others .custom-block.featured .pill-title{
  font-size: clamp(22px, 3.6vw, 2.2rem);
}

.page-others .custom-block.featured p{
  font-size: clamp(15px, 2.2vw, 1.17rem);
  margin-bottom: clamp(18px, 4vw, 40px);
}

/* ===== Touch devices: sin “jump” por hover/lift ===== */
@media (hover: none), (pointer: coarse){
  .page-others .sector-card:hover{ transform: none; }
  .page-others .sector-card:hover::before{ opacity: 0; }
  .page-others .sector-card:hover .sector-image{
    transform: none;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
  }
  .page-others .btn-yellow:hover{
    transform: none;
    box-shadow: 0 18px 48px rgba(246, 197, 111, 0.55);
  }
}

/* ===== BREAKPOINTS OBLIGATORIOS ===== */

/* <= 1024px (tablet pro) */
@media (max-width: 1024px){
  .page-others .sector-card.promo-style{
    grid-template-columns: 1fr;
  }
  .page-others .sector-media{ order: -1; }
}

/* <= 768px (tablet) */
@media (max-width: 768px){
  .page-others .sectors-section{ padding-inline: 16px; }
  .page-others .sector-card.promo-style{ padding: 24px; }
}

/* <= 600px (mobile grande) */
@media (max-width: 600px){
  .page-others .btn-yellow.big{
    width: 100%;
    max-width: 420px;
    padding: 16px 0;
    text-align: center;
  }
}

/* <= 480px (mobile) */
@media (max-width: 480px){
  .page-others .logo-inline{ margin-left: -2px; } /* micro-fix visual */
}

/* LANDSCAPE: mobile landscape height <= 430px */
@media (max-height: 430px) and (orientation: landscape){
  .page-others .hero-others{
    margin-top: 56px;
    margin-bottom: 12px;
  }

  .page-others .three-column{
    gap: 26px;
  }

  .page-others .sector-card.promo-style{
    padding: 18px;
  }

  .page-others .custom-project-section{
    margin: 70px auto;
    gap: 50px;
  }

  .page-others .custom-block.featured{
    padding: 28px 18px;
  }
}