/* =========================
   VARIABLES DE COLOR
========================= */
:root {
  --geo-primary: #0056b3;       /* Azul principal */
  --geo-primary-dark: #003b80;  /* Azul más oscuro */
  --geo-secondary: #00a5c4;     /* Celeste/verde agua */
  --geo-soft: #e8f4ff;          /* Celeste muy suave (sin gris) */
  --geo-soft-strong: #bfdcff;   /* Celeste más intenso para bloques */
  --geo-text: #0f172a;          /* Texto principal (casi negro) */
  --geo-muted: #64748b;         /* Texto secundario */
  --geo-white: #ffffff;
}

/* =========================
   RESETEO BÁSICO
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--geo-text);
  background-color: var(--geo-white);
}

/* Enlaces */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Contenedor estándar */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--geo-primary-dark);
}

/* Menú */
.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--geo-secondary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  background: var(--geo-primary);
  color: var(--geo-white);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.35);
}

.btn-primary:hover {
  background: var(--geo-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--geo-white);
  color: var(--geo-primary-dark);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  background: var(--geo-soft);
}

.btn-outline {
  border-radius: 999px;
  border: 1px solid var(--geo-primary);
  color: var(--geo-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--geo-primary);
  color: var(--geo-white);
}

.btn-full {
  width: 100%;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--geo-white);
  background:
    linear-gradient(120deg, rgba(0, 59, 128, 0.85), rgba(0, 165, 196, 0.6)),
    url("img/hero-condominio.webp") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 16px 64px;
  max-width: 680px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1.4rem, 3rem);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   SECCIONES GENERALES
========================= */
.section {
  padding: 72px 0;
}

.section-light {
  background: var(--geo-white);
}

.section-gray {
  background: var(--geo-soft);
}

/* Cabeceras de sección */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}

.section-header p {
  margin: 0;
  color: var(--geo-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* =========================
   CARDS
========================= */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--geo-white);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--geo-muted);
  font-size: 0.95rem;
}

/* Cards de servicios con imagen arriba */
.service-card img {
  border-radius: 14px;
  margin-bottom: 14px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

/* =========================
   GRID NOSOTROS / LEY
========================= */
.ley-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.img-rounded {
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

/* Checklist reutilizable */
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--geo-muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--geo-secondary);
  font-size: 0.95rem;
}

/* =========================
   ARCHIVO
========================= */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.archive-item {
  background: var(--geo-white);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.archive-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.archive-meta {
  font-size: 0.85rem;
  color: var(--geo-muted);
  margin-bottom: 6px;
}

.archive-item p {
  margin: 0 0 10px;
  color: var(--geo-muted);
}

.archive-link {
  font-size: 0.9rem;
  color: var(--geo-primary);
  font-weight: 600;
}

/* =========================
   CONTACTO
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--geo-muted);
}

.contact-list li {
  margin-bottom: 8px;
}

/* Formulario */
.contact-form {
  background: var(--geo-soft);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 10px;
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--geo-secondary);
  border-color: transparent;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--geo-primary-dark);
  color: rgba(241, 245, 249, 0.9);
  padding: 18px 0;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.9rem;
  }

  .hero {
    text-align: left;
  }

  .cards-3,
  .ley-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
  }

  .hero-content {
    padding-top: 84px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   ARCHIVO / BLOG – Geocondominios
========================================================= */

:root{
  --gc-bg: #0b1220;
  --gc-card: #0f172a;
  --gc-soft: #0b1220;
  --gc-white: #ffffff;
  --gc-text: #0f172a;
  --gc-muted: #64748b;
  --gc-border: rgba(148,163,184,.25);
  --gc-shadow: 0 18px 60px rgba(2,6,23,.18);
  --gc-radius: 18px;

  --gc-accent: #2563eb; /* azul */
  --gc-accent-2: #06b6d4; /* cyan */
}

.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.muted{ color: var(--gc-muted); }

/* HERO */
.archive-hero{
  background: radial-gradient(1000px 420px at 20% 10%, rgba(37,99,235,.35), transparent 60%),
              radial-gradient(900px 360px at 80% 20%, rgba(6,182,212,.28), transparent 55%),
              linear-gradient(180deg, #070b14, #0b1220);
  color: var(--gc-white);
  padding: 56px 0 44px;
}

.archive-hero-inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 960px){
  .archive-hero-inner{ grid-template-columns: 1fr; }
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 12px;
}

.archive-hero h1{
  margin: 12px 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
}

.archive-hero p{
  margin: 0 0 10px;
  color: rgba(226,232,240,.92);
  max-width: 64ch;
}

.archive-disclaimer{
  margin-top: 10px;
  color: rgba(226,232,240,.72);
  font-size: 13px;
}

/* Card del buscador */
.archive-hero-card{
  background: rgba(15,23,42,.62);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: var(--gc-radius);
  padding: 16px;
  box-shadow: var(--gc-shadow);
  backdrop-filter: blur(10px);
}

.hero-card-title{
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-card-sub{
  color: rgba(226,232,240,.72);
  font-size: 13px;
  margin-bottom: 12px;
}

.archive-toolbar{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.archive-input,
.archive-select{
  width: 100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(2,6,23,.35);
  color: var(--gc-white);
  outline: none;
}

.archive-input::placeholder{ color: rgba(226,232,240,.55); }

.archive-input:focus,
.archive-select:focus{
  border-color: rgba(37,99,235,.75);
  box-shadow: 0 0 0 4px rgba(37,99,235,.18);
}

/* Chips */
.chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip{
  border-radius: 999px;
  padding: 8px 10px;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(255,255,255,.06);
  color: rgba(226,232,240,.92);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.chip:hover{ transform: translateY(-1px); }
.chip-active{
  background: rgba(37,99,235,.22);
  border-color: rgba(37,99,235,.55);
}

/* Stats + botones */
.archive-stats{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-top: 12px;
  color: rgba(226,232,240,.78);
  font-weight: 700;
  font-size: 13px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.22);
  background: linear-gradient(180deg, rgba(37,99,235,.92), rgba(37,99,235,.78));
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 30px rgba(37,99,235,.18); }
.btn:active{ transform: translateY(0); }

.btn-ghost{
  background: rgba(255,255,255,.06);
  color: rgba(226,232,240,.92);
}

.btn-sm{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
}

/* Secciones */
.section-soft{
  background: #f8fafc; /* suave */
}
.section-light{
  background: #ffffff;
}

.section-header h2{ margin-bottom: 6px; }

/* Grid tarjetas */
.archive-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

@media (max-width: 980px){
  .archive-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .archive-grid{ grid-template-columns: 1fr; }
}

/* Card */
.card{
  border-radius: var(--gc-radius);
  background: white;
  border: 1px solid rgba(226,232,240,1);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(2,6,23,.06);
  display: grid;
  grid-template-rows: 150px 1fr;
}

.card-cover{
  background: linear-gradient(180deg, rgba(37,99,235,.25), rgba(6,182,212,.15));
  overflow: hidden;
}

.card-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.card-cover-fallback{
  position: relative;
}
.card-cover-fallback::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(420px 160px at 30% 20%, rgba(37,99,235,.25), transparent 60%),
              radial-gradient(420px 160px at 70% 20%, rgba(6,182,212,.18), transparent 60%);
}

.card-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.card-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.card-meta{
  color: var(--gc-muted);
  font-size: 12px;
  font-weight: 700;
}

.card-title{
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.card-excerpt{
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
  min-height: 40px;
}

.card-tags{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag{
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  background: #eef2ff;
  border: 1px solid rgba(99,102,241,.18);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(148,163,184,.35);
  text-transform: capitalize;
}

.badge-art{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.22);
  color: #1d4ed8;
}

.badge-doc{
  background: rgba(6,182,212,.10);
  border-color: rgba(6,182,212,.22);
  color: #0e7490;
}

.badge-com{
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.25);
  color: #b45309;
}

/* Acciones */
.archive-actions{
  display:flex;
  justify-content:center;
  margin-top: 18px;
}
/* =========================================================
   ARCHIVO (noticias / guías) – Geocondominios
   Pegar al FINAL de styles.css
========================================================= */

*{ box-sizing:border-box; }

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.archive-hero{
  padding:56px 0 28px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
  border-bottom:1px solid rgba(2,6,23,.08);
}
.archive-hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px;
  align-items:start;
}
@media (max-width: 920px){
  .archive-hero-inner{ grid-template-columns: 1fr; }
}

.archive-hero .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.10);
  background:#ffffff;
  font-weight:900;
  font-size:12px;
  color:#0f172a;
}
.archive-hero h1{
  margin:10px 0 10px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.02em;
}
@media (max-width: 640px){
  .archive-hero h1{ font-size:34px; }
}
.archive-hero p{
  margin:0 0 10px;
  color:#334155;
  line-height:1.65;
  font-size:16px;
}
.archive-disclaimer{
  color:#64748b;
  font-size:13px;
  font-weight:700;
}

.archive-hero-card{
  background:#fff;
  border:1px solid rgba(2,6,23,.08);
  border-radius:18px;
  box-shadow:0 12px 28px rgba(2,6,23,.08);
  padding:16px;
}
.hero-card-title{
  font-weight:900;
  font-size:16px;
}
.hero-card-sub{
  margin-top:4px;
  color:#64748b;
  font-weight:800;
  font-size:13px;
}

.archive-toolbar{
  display:grid;
  grid-template-columns: 1fr 170px 160px;
  gap:10px;
  margin-top:12px;
}
@media (max-width: 560px){
  .archive-toolbar{ grid-template-columns: 1fr; }
}

.archive-input,
.archive-select{
  width:100%;
  border:1px solid rgba(2,6,23,.14);
  border-radius:14px;
  padding:10px 12px;
  font-size:14px;
  background:#fff;
  outline:none;
}
.archive-input:focus,
.archive-select:focus{
  border-color: rgba(14,165,233,.75);
  box-shadow:0 0 0 4px rgba(14,165,233,.15);
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.chip{
  border:1px solid rgba(2,6,23,.14);
  border-radius:999px;
  padding:7px 10px;
  font-size:13px;
  background:#fff;
  cursor:pointer;
  font-weight:900;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.chip:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 18px rgba(2,6,23,.08);
}
.chip-active{
  background:#0ea5e9;
  color:#fff;
  border-color:#0ea5e9;
}

.archive-stats{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
}
#resultCount{
  font-weight:900;
  color:#0f172a;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(2,6,23,.14);
  background:#0ea5e9;
  color:#fff;
  font-weight:900;
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{ filter:brightness(.98); }
.btn-sm{
  padding:9px 12px;
  font-size:13px;
  border-radius:12px;
}
.btn-ghost{
  background:#fff;
  color:#0f172a;
}
.btn-ghost:hover{
  background:#f8fafc;
}

.section{
  padding:44px 0;
}
.section-light{ background:#fff; }
.section-soft{ background:#f8fafc; }

.section-header{
  margin-bottom:18px;
  text-align:center;
}
.section-header h2{
  margin:0 0 6px;
  font-size:34px;
  letter-spacing:-.02em;
}
.section-header p{
  margin:0;
  color:#64748b;
  font-weight:700;
}

.archive-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 1024px){
  .archive-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .archive-grid{ grid-template-columns: 1fr; }
}

.archive-grid .card{
  background:#fff;
  border:1px solid rgba(2,6,23,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  transition: transform .14s ease, box-shadow .14s ease;
}
.archive-grid .card:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 34px rgba(2,6,23,.10);
}

.card-cover{
  height:170px;
  background:#e2e8f0;
  overflow:hidden;
}
.card-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card-cover-fallback{
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(99,102,241,.18));
}

.card-body{
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 210px;
}
.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.card-meta{
  font-size:12px;
  color:#64748b;
  font-weight:900;
}
.card-title{
  margin:0;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.01em;
}
.card-excerpt{
  margin:0;
  color:#334155;
  line-height:1.5;
  font-size:14px;
  flex:1;
}
.card-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag{
  font-size:12px;
  font-weight:900;
  padding:5px 9px;
  border-radius:999px;
  background:#f1f5f9;
  border:1px solid rgba(2,6,23,.08);
  color:#0f172a;
}

.badge{
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.08);
  text-transform:capitalize;
}
.badge-doc{ background:#e0f2fe; color:#075985; }
.badge-com{ background:#fef3c7; color:#92400e; }
.badge-art{ background:#eef2ff; color:#3730a3; }

.archive-actions{
  display:flex;
  justify-content:center;
  margin-top:16px;
}

.muted{
  color:#64748b;
  font-weight:800;
}

