/**********************************************
 *  NOVARK — Hoja de estilos
 *  Estructura:
 *   1) Tokens / Variables
 *   2) Reset + Base
 *   3) Utilidades (helpers)
 *   4) Componentes (botón, chip, tarjetas)
 *   5) Layout global (navbar, contenedores, secciones)
 *   6) Secciones específicas (Hero, Proyectos, Antes/Después, Why, Proceso, Contacto, Footer)
 *   7) Media Queries (al final)
 **********************************************/

/* -------------------------------------------
   1) TOKENS / VARIABLES DE MARCA
------------------------------------------- */
:root {
  /* Colores */
  --verde: #2C3527;
  --negro: #1A1E18;
  --gris:  #DDDDDD;
  --bg:    #F1FAF5;

  /* Tipografía */
  --font: 'Rajdhani', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Radios y sombras */
  --radius: 18px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* -------------------------------------------
   2) RESET + BASE
------------------------------------------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--negro);
  font-family: var(--font);
  line-height: 1.5;
}

h1,
h2,
h3 {
  letter-spacing: 0.2px;
}

/* Contenedor y espaciado de sección */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

/* -------------------------------------------
   3) UTILIDADES / HELPERS
------------------------------------------- */
.lead {
  color: #4b5563;
  margin-top: 6px;
}

.muted {
  color: #6b7280;
}

/* -------------------------------------------
   4) COMPONENTES (botones, chips, tarjetas)
------------------------------------------- */

/* Botón base */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: .2s;
}
.btn:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

/* Variantes de botón */
.btn-light {
  background: #fff;
  color: var(--negro);
}
.btn-sm {
  padding: 10px 14px;
  font-size: .9rem;
}

/* Chips / Badges */
.badge,
.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
}
.badge {
  color: #fff;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: saturate(140%) blur(4px);
}
.chip {
  color: var(--verde);
  background: #e9f6ef;
}
.chip-dark {
  color: #fff;
  background: rgba(0, 0, 0, .65);
}

/* Tarjeta genérica */
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* -------------------------------------------
   5) LAYOUT GLOBAL (Navbar, tabs, grids)
------------------------------------------- */

/* Navbar */

.navbar{
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(8px);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; color:inherit; text-decoration:none; }
.brand-logo{ height:80px; width:auto; }

/* ====== NAV LINKS (con línea animada) ====== */
.menu a {
  position: relative;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 15px;
  transition: color .2s ease;
}
.menu a:hover {
  color: var(--verde);
}

/* subrayado animado (izq -> der) */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--verde);
  transform: scaleX(0);
  transform-origin: left center;   /* 👉 empieza de la izquierda */
  transition: transform .3s ease;
}
.menu a:hover::after {
  transform: scaleX(1);
}

/* estado activo = línea fija */
.menu a.active {
  color: var(--verde);
}
.menu a.active::after {
  transform: scaleX(1);
}

/* ====== BOTÓN “COTIZA TU PROYECTO” ====== */
.menu .btn {
  background: var(--verde);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .2s ease, background .2s ease;
}

/* agranda en hover */
.menu .btn:hover {
  background: #1d241b;   /* un verde un poco más oscuro */
  transform: scale(1.08);
}

/* quita subrayado de animación */
.menu .btn::after {
  display: none !important;
}


/* Tabs sencillas */
.tabs {
  display: flex;
  gap: 8px;
}
.tab {
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
}
.tab.is-active {
  color: var(--verde);
  background: #e9f6ef;
  outline: 2px solid var(--verde);
}

/* Grids comunes */
.grid {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

/* Encabezado de sección con tabs */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 2.2rem;
}
.section-head p {
  margin: 6px 0 0;
  color: #4b5563;
}

/* -------------------------------------------
   6) SECCIONES ESPECÍFICAS
------------------------------------------- */

/* 6.1 — HERO */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  color: #fff;

  /* Cambia esta URL si usas imagen local */
  background:
    url('https://images.unsplash.com/photo-1494526585095-c41746248156?q=80&w=1600&auto=format&fit=crop')
    no-repeat center / cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
}
.hero-content {
  position: relative;
}
.hero h1 {
  margin: 14px 0 8px;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
}
.hero p {
  max-width: 760px;
  font-size: clamp(16px, 2.2vw, 20px);
  opacity: .95;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* KPIs del hero */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 840px;
}
.kpi {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}
.kpi-k {
  font-size: 1.3rem;
  font-weight: 700;
}
.kpi-t {
  font-size: .9rem;
  opacity: .95;
}
/* 6.2 Proyectos */
.svc-grid { margin-top: 16px; }
.svc-card { display:flex; flex-direction:column; gap:10px; padding:16px; }
.svc-ico{
  width:48px; height:48px; border-radius:14px;
  background:#e9f6ef; color:var(--verde); display:grid; place-items:center;
  font-size:22px; box-shadow: var(--shadow);
}
.svc-card h3{ margin:4px 0 0; font-size:1.08rem; }
.svc-list{ margin:6px 0 0; padding-left:18px; color:#4b5563; }
.svc-list li{ margin:6px 0; }
.svc-foot{ margin-top:auto; display:flex; justify-content:flex-start; }


/* 6.3 — ANTES / DESPUÉS */
.before-after {
  display: grid;
  gap: 28px;
  align-items: center;
}
.ba-copy h2 {
  margin: 0 0 6px;
  font-size: 2rem;
}
.bullets {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}
.bullets li {
  margin: 6px 0;
  color: #1f2937;
}

.ba-card {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}
.ba-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after {
  z-index: 1;
}
.ba-before {
  z-index: 2;
  /* 60% visible por defecto */
  clip-path: inset(0 40% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(44, 53, 39, .85);
  z-index: 3;
}
#ba-slider {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 70%;
  z-index: 4;
  accent-color: var(--verde);
}
.ba-tags {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

/* 6.4 — DIFERENCIADORES (Why NovArk) */
/* ===== Diferenciadores (cards estilo clean) ===== */
.feat-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feat-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.feat-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e9f6ef;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--verde);
}

.feat-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.feat-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}


/* 6.5 — PROCESO (marco verde alrededor) */
.proc-frame {
  padding: 28px;
  border: 3px solid var(--verde);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(44, 53, 39, .18);
}

/* Grid del proceso */
.process {
  display: grid;
  gap: 24px;
}

/* KPIs del lado izquierdo */
.proc-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: #F8FAF9;
  border: 1px solid #E6EAE5;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

/* Pasos del proceso (lado derecho) */
.proc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.proc-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E6EAE5;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.proc-step .ico {
  width: 42px;
  height: 42px;
  font-size: 18px;
  color: #fff;
  background: var(--verde);
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(44, 53, 39, .35);
}
.proc-step span {
  display: block;
  font-weight: 700;
}
.proc-step small {
  display: block;
  margin-top: 2px;
  color: #4b5563;
}

.proc-step .ico{
  font-weight:800; /* letras S I N D E R con presencia */
  letter-spacing: .5px;
}

/* 6.6 — CONTACTO + FORM */
.contact-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Tarjeta del formulario */
.contact-card {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow);
}
.contact-card .row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-card .row.end {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
.area {
  resize: vertical;
}

/* 6.7 — FOOTER */
.footer {
  margin-top: 20px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.footer-grid {
  display: grid;
  gap: 22px;
  padding: 28px 0;
}
.footer h4 {
  margin: 0 0 8px;
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer li {
  margin: 6px 0;
}
.footer a {
  color: #111827;
  text-decoration: none;
}
.footer a:hover {
  color: var(--verde);
}
.brand.mini .brand-logo {
  height: 100px;
}
.footer-bottom {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.fb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: .9rem;
}

.footer .brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  padding: 0px 20px;
  color: #4b5563;
  text-align: justify;   /* 🔽 Justifica el párrafo */
}

/* Utilidades simples usadas en /nosotros */
.hero-mini { height: 46vh; }
.card-pad { padding: 18px; }
.grid-2 { display:grid; gap:18px; }
.grid-3 { display:grid; gap:18px; }

/* Responsivo */
@media (min-width: 768px){
  .grid-2 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 980px){
  .grid-3 { grid-template-columns: repeat(3,1fr); }
}



/* -------------------------------------------
   7) MEDIA QUERIES (al final, ordenadas)
------------------------------------------- */

/* ≥ 640px (sm) — grid de proyectos a 2 columnas */
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ≥ 680px — formulario: filas dobles */
@media (min-width: 680px) {
  .contact-card .row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ≥ 860px — diferenciadores a 3 columnas */
@media (min-width: 860px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ≥ 980px — 3 columnas en proyectos, layouts a dos columnas */
@media (min-width: 980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .before-after {
    grid-template-columns: 1.1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}



/* ABOUT  */

/* ========== ABOUT / NOSOTROS ========== */


/* HERO mini con textura sutil */
.about-hero {
  background:
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;
}

/* Tarjetas de Misión / Visión */
.about-cards .about-quote {
  position: relative;
  overflow: hidden;
}
.about-chip{
  display:inline-block;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#e9f6ef;
  color:var(--verde);
  font-weight:700;
  font-size:.82rem;
}

/* Valores */
.about-values{
  display:grid;
  gap:16px;
  margin-top:16px;
}
@media (min-width: 768px){ .about-values{ grid-template-columns: repeat(3,1fr);} }
.v-item{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:18px;
  box-shadow: var(--shadow);
}
.v-item span{
  width:40px; height:40px; display:grid; place-items:center;
  border-radius:12px; background:#e9f6ef; color:var(--verde);
  font-size:18px; margin-bottom:8px;
}
.v-item h3{ margin:6px 0 4px; font-size:1rem; }
.v-item p{ margin:0; color:#4b5563; font-size:.92rem; }

/* Metodología */
.about-steps { margin-top: -6px; }
.steps{
  margin:16px 0 0; padding:0; list-style:none;
  display:grid; gap:14px;
}
@media (min-width: 768px){ .steps{ grid-template-columns: repeat(5,1fr);} }
.steps li{
  display:flex; gap:12px; align-items:flex-start;
  background:#fff; border:1px solid #E6EAE5; border-radius:16px;
  padding:14px; box-shadow: var(--shadow);
}
.steps li span{
  min-width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  background:var(--verde); color:#fff; font-weight:700; box-shadow:0 6px 16px rgba(44,53,39,.35);
}
.steps h4{ margin:0 0 4px; font-size:1rem; }
.steps p{ margin:0; color:#4b5563; font-size:.92rem; }

/* KPI strip */
.about-stats{
  display:grid; gap:14px;
  background:#fff; border:1px solid #E6EAE5; border-radius:18px;
  padding:18px; box-shadow: var(--shadow);
}
@media (min-width: 680px){ .about-stats{ grid-template-columns: repeat(4,1fr);} }
.stat{
  display:flex; flex-direction:column; align-items:flex-start; gap:4px;
}
.stat strong{
  font-size:1.6rem; font-weight:800; color:var(--verde);
}
.stat span{
  color:#4b5563; font-size:.92rem;
}

/* Equipo */
.about-team{
  display:grid; gap:18px; margin-top:16px;
}
@media (min-width: 860px){ .about-team{ grid-template-columns: repeat(3,1fr);} }
.t-card{
  background:#fff; border:1px solid #e5e7eb; border-radius:16px;
  padding:18px; box-shadow: var(--shadow); text-align:center;
}
.t-avatar{
  width:86px; height:86px; margin:2px auto 10px; border-radius:50%;
  background: #ddd; background-image: var(--img); background-size: cover; background-position: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.t-card h3{ margin:8px 0 6px; font-size:1.02rem; }
.t-card p{ margin:0; color:#4b5563; font-size:.92rem; }

/* CTA */
.about-cta .cta-box{
  padding:24px; border:3px solid var(--verde); border-radius:24px;
  background:#fff; box-shadow:0 18px 40px rgba(44,53,39,.18);
  display:grid; gap:10px; text-align:center;
}
.about-cta .btn{ margin:6px 6px 0 0; }

/* Pequeños ajustes de títulos */
.section h2{ letter-spacing:.2px; }



/* SOBRE NOSOTROS  */

/* Ajustes específicos para /nosotros */
.about-hero{
  background:
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;
}

/* Listas compactas dentro de tarjetas */
.mini-list{ margin:8px 0 0; padding-left:18px; color:#4b5563; }
.mini-list li{ margin:6px 0; }

/* Timeline simple */
.timeline{ list-style:none; margin:8px 0 0; padding:0; }
.timeline li{ position:relative; padding-left:16px; margin:10px 0; }
.timeline li::before{
  content:""; position:absolute; left:0; top:.55rem; width:8px; height:8px;
  border-radius:50%; background:var(--verde);
}
.timeline span{ display:block; font-weight:700; color:var(--verde); }

/* Chip y quote ya existen en style.css; reforzamos espaciados */
.about-quote h2{ margin:6px 0 8px; }

/* Hero counters ya definidos en global. Pequeños retoques para esta página */
.about-stats .stat strong{ color:var(--verde); }

/* En móviles dar respiro a grid */
@media (max-width: 639px){
  .about-quote h2{ font-size:1.25rem; }
}

/* ===== Metodología MOVAR ===== */
.about-movar {
  background: #f9fcfa;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.movar-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.movar-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

.movar-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e9f6ef;
  color: var(--verde);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 6px 12px rgba(44, 53, 39, 0.1);
}

.movar-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.movar-item p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .movar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* SERVICIOS */

/* Hero específico */
.svc-hero{
  background:
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25)),
    url('https://images.unsplash.com/photo-1494526585095-c41746248156?q=80&w=1800&auto=format&fit=crop')
    center/cover no-repeat;
}

/* Cards de servicios */
.svc-grid{ margin-top:16px; }
.svc-card{ display:flex; flex-direction:column; gap:10px; padding:18px; }
.svc-head{ display:flex; align-items:center; gap:10px; }
.svc-ico{
  width:44px; height:44px; border-radius:12px;
  background:#e9f6ef; color:var(--verde);
  display:grid; place-items:center; font-size:22px;
  box-shadow: var(--shadow);
}
.svc-card p{ margin:2px 0 0; color:#4b5563; }
.svc-list{ margin:8px 0 0; padding-left:18px; color:#4b5563; }
.svc-list li{ margin:6px 0; }
.svc-foot{ margin-top:auto; }

/* Sectorizados */
.sector-grid{ margin-top:16px; }
.sector-card{ padding:18px; }
.sector-card h3{ margin:0 0 6px; }

/* CTA caja */
.svc-cta .cta-box{
  padding:24px; border:3px solid var(--verde); border-radius:24px;
  background:#fff; box-shadow:0 18px 40px rgba(44,53,39,.18);
  display:grid; gap:10px; text-align:center;
}

/* FAQ */
.faq details{
  background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:12px 14px;
  box-shadow: var(--shadow); margin:10px 0;
}
.faq summary{
  cursor:pointer; font-weight:700; list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq p{ margin:8px 0 0; color:#4b5563; }

/* Tabs refinadas (usa base de style.css) */
.tabs{ flex-wrap:wrap; }

/* Responsive tweaks */
@media (min-width: 640px){
  .svc-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 980px){
  .svc-grid{ grid-template-columns: repeat(3,1fr); }
  .sector-grid{ grid-template-columns: repeat(4,1fr); }
}


/* CONTACTO */

/* Hero */
.contact-hero{
  background:
    linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.25)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1800&auto=format&fit=crop')
    center/cover no-repeat;
}

/* Layout */
.contact-wrap{
  display:grid; gap:24px; align-items:start;
}
@media (min-width: 980px){
  .contact-wrap{ grid-template-columns: 1.25fr .8fr; }
}

/* Card del formulario */
.contact-card{ padding:20px; }
.form-head h2{ margin:0 0 6px; }
.form-head p{ margin:0; }

.field{ display:flex; flex-direction:column; gap:6px; }
.field > span{ font-weight:700; font-size:.95rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="file"],
.field select,
.field textarea{
  width:100%; padding:12px 14px; border:1px solid #e5e7eb;
  border-radius:12px; background:#fff; font:inherit;
}
.field textarea{ resize:vertical; }
.field small{ display:block; margin-top:6px; }

.row{ display:grid; gap:12px; margin:12px 0; }
@media (min-width:680px){ .row{ grid-template-columns: 1fr 1fr; } }

.radio-row{ display:flex; gap:12px; flex-wrap:wrap; }

.range-wrap{ position:relative; }
.range-wrap input[type="range"]{ width:100%; }
.range-wrap output{
  position:absolute; top:-28px; left:0; transform:translateX(-50%);
  padding:4px 8px; border-radius:999px; background:#e9f6ef; color:var(--verde);
  font-weight:700; font-size:.82rem; box-shadow:var(--shadow);
}

.char-hint{ text-align:right; font-size:.82rem; color:#6b7280; margin-top:4px; }

/* honeypot */
.hp{ position:absolute; left:-10000px; opacity:0; pointer-events:none; }

/* Consent + acciones */
.consent{ display:flex; align-items:flex-start; gap:10px; margin:10px 0 6px; }
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }

/* Aside */
.contact-aside{ display:grid; gap:18px; }
.contact-info{ padding:18px; }
.contact-info ul{ list-style:none; margin:0; padding:0; }
.contact-info li{ margin:8px 0; }

.trust{ padding:18px; }

/* Estado del formulario */
.form-status{ margin-top:10px; min-height:24px; }
.form-status.success{ color:#166534; }
.form-status.error{ color:#b91c1c; }

/* WhatsApp breve en aside */
#wa-short{ text-decoration:none; }

/* Footer year */




/* ------------------------------
   NAVBAR LIMPIO
------------------------------ */
.navbar{
  position: sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand-logo{ height:44px; width:auto; }  /* antes se veía enorme */

.menu{ display:flex; align-items:center; gap:24px; }
.menu a{
  color:#111827; text-decoration:none; font-weight:600; padding:8px 0;
  transition:color .15s ease;
}
.menu a:hover{ color:var(--verde); }
.menu a.active{ color:var(--verde); }

/* quita la línea animada del nav */
.menu a::after{ content:none !important; }

/* botón del nav — compacto y consistente */
.menu .btn{
  padding:10px 16px; border-radius:999px;
  background:var(--verde); color:#fff !important;
  box-shadow:0 6px 14px rgba(0,0,0,.10);
  transition:background .15s ease;
}
.menu .btn:hover{ background:#1f281b; transform:none; filter:none; }

/* en pantallas pequeñas, separa un poco */
@media (max-width: 640px){
  .menu{ gap:14px; }
}

/* ------------------------------
   FOOTER LIMPIO
------------------------------ */
.footer{
  background:#fff; border-top:1px solid #e5e7eb; margin-top:28px;
}
.footer-grid{
  display:grid; gap:20px; padding:24px 0;
}
@media (min-width:980px){
  .footer-grid{ grid-template-columns:2fr 1fr 1fr 1fr; }
}

.footer h4{
  margin:0 0 8px; font-weight:800; color:#111827;
}
.footer ul{ list-style:none; margin:0; padding:0; }
.footer li{ margin:6px 0; }
.footer a{ color:#111827; text-decoration:none; }
.footer a:hover{ color:var(--verde); text-decoration:underline; }

.brand.mini .brand-logo{ height:56px; }    /* logo más proporcionado */
.footer .brand p{
  margin:10px 0 0; font-size:.92rem; line-height:1.5;
  color:#4b5563; text-align:left;          /* quita el justificado que se veía raro */
  padding:0;
}

.footer-bottom{
  border-top:1px solid #e5e7eb; background:#fff;
}
.fb-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; font-size:.9rem; color:#6b7280;
}
