:root {
  --brand-green: #0f6b3e;
  --brand-green-dark: #0f6b3e;
  --brand-green-deep: #0f6b3e;
  --brand-orange: #e39a1c;
  --brand-orange-hover: #c96820;
  --whatsapp: #25d366;
  --text: #1c2024;
  --muted: #5b6470;
  --border: #e6e8eb;
  --bg-soft: #f6f7f5;
}


* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Utilities */
.text-brand-green {
  color: var(--brand-green) !important
}

.bg-brand-green-dark {
  background-color: var(--brand-green-dark) !important
}

.bg-brand-soft {
  background-color: var(--bg-soft) !important
}

.text-muted-c {
  color: var(--muted) !important
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--brand-green)
}

.section {
  padding: 6rem 0
}

.section h2 {
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.25;
  margin-top: 1.25rem
}

.section h2 strong {
  font-weight: 600
}

.section .lead-sub {
  color: #ffffff99;
  font-size: 1rem;
  font-weight: 300;
  margin-top: 1.25rem;
  max-width: 42rem
}

/* Header */
.navbar-nasini {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar-nasini .nav-link {
  color: #3a3f47;
  font-size: .92rem
}

.navbar-nasini .nav-link:hover {
  color: var(--brand-green)
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--brand-green-deep);
  font-weight: 600;
  letter-spacing: .04em
}

.brand-mark svg {
  width: 30px;
  height: 30px
}

/* Buttons */
.btn-orange {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  font-weight: 400;
  font-size: 1rem;
  border-radius: 3px;
}

.btn-orange:hover {
  background: var(--brand-orange-hover);
  color: #fff
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  background: transparent
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.btn-whatsapp-outline {
  border: 1px solid var(--whatsapp);
  color: var(--whatsapp);
  background: transparent
}

.btn-whatsapp-outline:hover {
  background: var(--whatsapp);
  color: #fff
}


/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-green-dark);
  color: #fff;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero .ring.r1 {
  width: 700px;
  height: 700px;
  right: -160px
}

.hero .ring.r2 {
  width: 500px;
  height: 500px;
  right: -80px
}

@media (max-width:991px) {
  .hero .ring {
    display: none
  }
}

.hero-inner {
  padding: 7rem 0 0
}
@media (max-width: 991.98px) {
    .hero-inner {
        padding-left: 1rem;
    }
}

.hero h1 {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-top: 1.75rem;
}

.hero h1 strong {
  font-weight: 600
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: .5rem;
  padding: .4rem .8rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}

.tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange)
}

.hero p.lead {
  color: rgba(255, 255, 255, .85);
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: 1.1rem
}

.hero p.sub {
  color: rgba(255, 255, 255, .65);
  max-width: 34rem;
  margin-top: .75rem
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 4rem
}

.hero-stats .col-stat {
  padding: 2rem 0;
  border-left: 1px solid rgba(255, 255, 255, .1)
}

.hero-stats .col-stat:first-child {
  border-left: 0
}

.hero-stats .num {
  font-size: 2.5rem;
  font-weight: 300
}

.hero-stats .lbl {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: .5rem
}

@media (max-width:575px) {
  .hero-stats .col-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .1)
  }

  .hero-stats .col-stat:first-child {
    border-top: 0
  }
}

/* Cards */
.card-clean {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 2rem;
  height: 100%
}

.card-clean .icon {
  color: var(--brand-green);
  margin-bottom: 1rem
}

.card-clean h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .75rem
}

.card-clean p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0
}

.col-top-line {
  border-top: 2px solid var(--brand-green);
  padding-top: 2rem;
  padding-right: 2rem;
}

.col-top-line .icon {
  color: var(--brand-green)
}

.col-top-line h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 1rem
}

.col-top-line p {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.75
}

/* Methodology steps */
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 1rem;
}


/*** Respaldo Section ***/
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--brand-green);
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.section-title strong {
  font-weight: 600;
}

.section-lead {
  color: var(--muted);
  font-size: .975rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
}

.card-clean {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  height: 100%;
}

.card-clean .icon {
  color: var(--brand-green);
  font-size: 1.6rem;
  line-height: 1;
}

.card-clean h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--ink);
}

.card-clean p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.memberships {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 36px;
}

.memberships .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.memberships .item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3f4750;
  font-size: .9rem;
  font-weight: 500;
}

.memberships .swatch {
  width: 18px;
  height: 18px;
  background: #a9c3b1;
  border-radius: 2px;
  flex: 0 0 18px;
}

/* Contact */
.form-control,
.form-select {
  border: 1px solid var(--border);
  border-radius: .4rem;
  padding: .85rem 1rem;
  font-size: .92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 .2rem rgba(46, 93, 63, .15);
}

.field-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffffff73;
  margin-bottom: .5rem;
}

#contacto {
  background: #0d5c35;
}

#contacto h2 {
  color: #fff;
}

.contact-card {
  background: #0d5c35;
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 2.25rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: .4rem;
  background: rgba(46, 93, 63, .08);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}



/*** SOLUCIONES INDIVIDUOS ***/
/* Section-specific styles (use brand variables from styles.css) */
.soluciones-ind {
  padding: 6rem 0;
  background: #fff;
}

.soluciones-ind .section-title {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 1.25rem 0 0;
}

.soluciones-ind .section-title strong {
  font-weight: 700;
}

.feature-item {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.feature-item:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-item .chev {
  color: var(--brand-orange);
  font-size: 1rem;
  line-height: 1;
  margin-top: .35rem;
}

.feature-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .75rem;
}

.feature-item p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}

.quote-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 520px;
  background: url("media/Equipo Nasini.webp") center/cover no-repeat;
}

.quote-box {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.5rem;
  background: var(--brand-green);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--brand-orange);
  font-size: .95rem;
  line-height: 1.55;
  font-style: italic;
}

.btn-orange-lg {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  font-weight: 400;
  padding: 1rem 1.75rem;
  border-radius: 3px;
  font-size: 1rem;
}

.btn-orange-lg:hover {
  background: var(--brand-orange-hover);
  color: #fff;
}



/*** Footer ***/
footer {
  background: #FFF;
  color: #777777;
  padding: 4rem 0 2rem
}

footer h5 {
  color: #777777;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem
}

footer a {
  color: #777777;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 300;
}

footer p,
ul {
  font-size: .8rem;
  font-weight: 300;
}

footer a:hover {
  color: #000;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  font-weight: 300;
}

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .2s;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35)
}

/* ============================================================
   ACTUALIZACIONES
============================================================ */

/* 1. Achicar headings globalmente */
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

.section h2,
.soluciones-ind .section-title,
.section-title {
  font-size: clamp(1.65rem, 2.9vw, 2.4rem);
}

h3 {
  font-size: 1rem;
}

.card-clean h3,
.col-top-line h3,
.feature-item h3 {
  font-size: 1rem;
}

.hero-stats .num {
  font-size: 2rem;
}

/* 2. Subtítulo al lado del h2 en #soluciones */
#soluciones .soluciones-sub {
  color: #5c6470;
  font-size: .95rem;
  line-height: 1.75;
  margin: 0;
  font-weight: 300;
}

/* 3. card-clean: <p> light + border verde en hover */
.card-clean p {
  font-weight: 300;
}

.card-clean {
  transition: border-color .2s ease;
}

.card-clean:hover {
  border: 1px solid var(--brand-green);
}

/* 4. Logos en memberships */
.memberships .item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: .5rem 1rem;
}

.memberships .item img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .85;
  transition: filter .2s ease, opacity .2s ease;
}

.memberships .item:hover img {
  filter: none;
  opacity: 1;
}

/* 5. Sección Contacto: texto blanco translúcido + form sin borde */
#contacto,
#contacto .lead-sub,
#contacto p,
#contacto div,
#contacto a:not(.btn) {
  color: #ffffff9e;
}

#contacto h2,
#contacto h3 {
  color: #fff;
}

#contacto .eyebrow,
#contacto .eyebrow::before {
  color: #fff;
  background: #fff;
}

#contacto .eyebrow {
  background: transparent;
  color: rgba(255, 255, 255, .85);
}

#contacto .lead-sub,
#contacto .col-lg-4>.d-flex>div>div:not(.field-label) {
  font-weight: 300;
}

#contacto .field-label {
  color: #ffffff9e;
  font-weight: 500;
}

#contacto .contact-info-icon {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

#contacto .contact-card {
  border: none;
  padding: 0;
  background: transparent;
}

#contacto .form-control,
#contacto .form-select {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}

#contacto .form-control::placeholder {
  color: #ffffff66;
}

#contacto .form-control:focus,
#contacto .form-select:focus {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
  color: #fff;
}
/* ============================================================
   AJUSTES ADICIONALES (proceso, animaciones, MAE, select, WA)
   ============================================================ */

/* 1. Sección "Nuestro proceso": línea gris conectora + 5 columnas en desktop */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 24px; /* mitad de la altura del step-num (48px) */
  left: 10%;
  right: 10%;
  height: 1px;
  background: #d9dcdf;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  background: #fff;
  padding-right: .5rem;
}

.process-step .step-num {
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 575.98px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* 2. Animación suave fade-in-down para headings */
@keyframes nasiniFadeInDown {
  0%   { opacity: 0; transform: translateY(-18px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero h1,
.hero .tag,
.section h2,
.soluciones-ind .section-title,
.section-title {
  animation: nasiniFadeInDown .9s ease-out both;
}

.hero .tag { animation-delay: .05s; }
.hero h1  { animation-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .tag, .section h2,
  .soluciones-ind .section-title, .section-title {
    animation: none;
  }
}

/* 4. Logo MAE más grande dentro de membresías */
.memberships .item-mae img {
  max-height: 78px;
  transform: scale(1.35);
  transform-origin: center;
}

/* 5. Fix: opciones del <select> en Contacto (texto blanco sobre blanco) */
#contacto .form-select option,
#contacto .form-select optgroup {
  color: #1c2024;
  background-color: #ffffff;
}

/* 6. Efecto de brillo (shine) en el botón de WhatsApp al hover */
.btn-whatsapp-outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn-whatsapp-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.btn-whatsapp-outline:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
}

.btn-whatsapp-outline:hover::after {
  animation: nasiniShine .9s ease forwards;
}

.btn-whatsapp-outline > * {
  position: relative;
  z-index: 2;
}

@keyframes nasiniShine {
  0%   { left: -120%; }
  100% { left: 130%; }
}


/* hero-stats: entrada al viewport */
.count{
  font-weight: 500;
}
.hero-stats .col-stat{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-stats.is-visible .col-stat{ opacity: 1; transform: none; }
.hero-stats.is-visible .col-stat:nth-child(2){ transition-delay: .12s; }
.hero-stats.is-visible .col-stat:nth-child(3){ transition-delay: .24s; }

@media (prefers-reduced-motion: reduce){
  .hero-stats .col-stat{ opacity: 1; transform: none; transition: none; }
}


.hero-video{
    width:350px;
    height:auto;
    
}
@media (min-width: 992px){
    .hero-video{
        margin-top: -5rem;
        width: 650px;
    }
    
}
