/* Garanty Home — actualización visual 2026
   Capa puramente gráfica: no altera contenido ni funcionalidad. */

:root {
  --teal: #65d8cf;
  --teal-dark: #07978d;
  --teal-deeper: #05776f;
  --teal-light: #e6f8f6;
  --teal-glow: rgba(101,216,207,.2);
  --navy: #082d3b;
  --navy-mid: #123f4d;
  --navy-light: #1b5260;
  --off-white: #f4f7f8;
  --text: #142c34;
  --text-mid: #415e67;
  --text-light: #738a91;
  --border: #dce6e8;
  --border-light: #eaf0f1;
  --shadow-sm: 0 2px 8px rgba(8,45,59,.05);
  --shadow-md: 0 12px 34px rgba(8,45,59,.09);
  --shadow-lg: 0 24px 60px rgba(8,45,59,.12);
  --shadow-xl: 0 32px 90px rgba(8,45,59,.16);
  --shadow-teal: 0 12px 34px rgba(7,151,141,.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
}

html { background: var(--off-white); }
body { background: var(--off-white); color: var(--text); }

/* Barra informativa y navegación */
.ticker-wrap { background: var(--navy) !important; padding: .46rem 0 !important; }
.ticker-item { color: rgba(255,255,255,.78) !important; font-size: .7rem !important; letter-spacing: 1px !important; }
header { background: rgba(244,247,248,.92) !important; border-bottom: 0 !important; }
header.scrolled { box-shadow: 0 12px 35px rgba(8,45,59,.08) !important; }
.nav-container { max-width: 1280px !important; height: 82px !important; }
.nav-logo img { height: 58px !important; }
.nav-links { gap: .28rem !important; }
.nav-links a { color: #31505a !important; font-size: .84rem !important; }
.nav-links a:hover { background: #e3f5f3 !important; color: var(--teal-deeper) !important; }
.nav-links .nav-cta { background: var(--navy) !important; color: #fff !important; box-shadow: none !important; padding: .68rem 1.15rem !important; }
.dropdown-menu, .submenu { border: 0 !important; border-radius: 18px !important; box-shadow: var(--shadow-lg) !important; }

/* Botones y etiquetas */
.btn { border-radius: 999px !important; min-height: 46px; padding-inline: 1.35rem !important; }
.btn-primary { background: var(--teal) !important; color: var(--navy) !important; box-shadow: none !important; }
.btn-primary:hover { background: #83e3dc !important; box-shadow: var(--shadow-teal) !important; }
.btn-whatsapp { border-radius: 999px !important; }
.tag, .section-tag { border-radius: 999px !important; letter-spacing: 1.1px !important; }

/* Portada */
.hero-premium { min-height: 720px !important; max-width: 1280px; margin: 0 auto; padding: 0 !important; align-items: stretch; border-radius: 28px; grid-template-columns: .92fr 1.08fr !important; overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-left { background: var(--navy) !important; padding: 5.5rem !important; }
.hero-left::before { background: radial-gradient(circle at 90% 8%,rgba(101,216,207,.22),transparent 42%) !important; }
.hero-title { font-size: clamp(3rem,5vw,5rem) !important; letter-spacing: -.045em !important; line-height: .98 !important; }
.hero-title em, .float-card-value { color: var(--teal) !important; }
.hero-sub { color: rgba(255,255,255,.74) !important; max-width: 510px !important; }
.hero-right::before { background: linear-gradient(90deg,var(--navy) 0%,transparent 22%) !important; }
.hero-right::after { background: linear-gradient(0deg,rgba(8,45,59,.78),transparent 45%) !important; }
.hero-float-card { background: rgba(8,45,59,.62) !important; border-color: rgba(255,255,255,.2) !important; box-shadow: 0 14px 35px rgba(0,0,0,.15); }
.hero-scroll { display: none !important; }
.audience-paths { max-width: 1120px !important; }
.audience-path { border: 0 !important; border-radius: 18px !important; box-shadow: var(--shadow-md) !important; }
.home-lead { background: var(--off-white) !important; padding-block: 8rem !important; }
.home-lead-card { border: 0 !important; border-radius: 26px !important; box-shadow: var(--shadow-lg) !important; }

/* Cabeceras interiores */
.page-hero { min-height: 620px !important; max-width: 1280px; margin: 0 auto; border-radius: 28px; overflow: hidden; }
.page-hero-overlay { background: linear-gradient(0deg,rgba(8,45,59,.96) 0%,rgba(8,45,59,.55) 62%,rgba(8,45,59,.12) 100%) !important; }
.page-hero-content { max-width: 1120px !important; padding-bottom: 5.5rem !important; }
.page-hero h1 { font-size: clamp(2.8rem,5vw,4.8rem) !important; letter-spacing: -.04em !important; line-height: 1.02 !important; }
.page-hero p { color: rgba(255,255,255,.76) !important; font-size: 1.08rem !important; }
.page-hero-eyebrow span { color: var(--teal) !important; }

/* Artículos */
.article-hero { max-width: 1280px; margin: 0 auto; padding: 7rem 1.5rem 6rem !important; border-radius: 28px; background: var(--navy) !important; }
.article-hero::before { width: 560px !important; height: 560px !important; background: radial-gradient(circle,rgba(101,216,207,.16),transparent 68%) !important; }
.article-hero-inner { max-width: 900px !important; }
.article-hero h1 { font-size: clamp(2.5rem,5vw,4.4rem) !important; letter-spacing: -.04em !important; line-height: 1.04 !important; }
.article-hero .cat { background: var(--teal) !important; color: var(--navy) !important; }
.article-body { max-width: 800px !important; padding-top: 5.5rem !important; }
.article-body > p:first-of-type { font-size: 1.12rem; color: var(--text); }
.article-body h2 { font-size: clamp(1.65rem,3vw,2.15rem) !important; letter-spacing: -.02em; }
.article-body img { border-radius: 22px; box-shadow: var(--shadow-md); }
.article-body blockquote { border-radius: 0 18px 18px 0; background: #e8f6f4 !important; }

/* Tarjetas, formularios y bloques */
.service-card, .service-card-editorial, .testimonial-card, .testi-card,
.property-card, .blog-card, .area-card, .process-card, .faq-item,
.form-wrapper, .feature-card, .benefit-card, .info-card, .cta-card {
  border-radius: var(--radius-lg) !important;
  border-color: var(--border-light) !important;
}
.service-card:hover, .service-card-editorial:hover, .property-card:hover, .blog-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-lg) !important;
}
.services-editorial, .proceso-section, .testimonios-section, .vacia-section,
.section, section[style*="background:white"], section[style*="background: white"] { background-color: #fff; }
.service-card-editorial.dark, .stats-editorial, .cta-premium { background-color: var(--navy) !important; }
.cta-premium { max-width: 1280px; margin-inline: auto; border-radius: 28px; overflow: hidden; }
.form-wrapper { background: #fff !important; border: 0 !important; box-shadow: var(--shadow-lg) !important; }
input, select, textarea { border-radius: 12px !important; border-color: var(--border) !important; background: #fbfcfc !important; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark) !important; box-shadow: 0 0 0 4px var(--teal-glow) !important; }
details { border-radius: 18px !important; }

/* Pie y elementos flotantes */
footer { background: var(--navy) !important; margin-top: 0; }
.whatsapp-float { box-shadow: 0 12px 34px rgba(37,211,102,.3) !important; }
.scroll-progress { background: var(--teal) !important; }

/* Movimiento accesible */
.highlight-box p a {
  display: inline-block;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1000px) {
  .hero-premium { margin-inline: 1rem; min-height: auto !important; grid-template-columns: 1fr !important; }
  .hero-left { padding: 4.5rem 2.25rem !important; }
  .hero-right { height: 420px !important; }
  .page-hero, .article-hero { margin-inline: 1rem; min-height: 540px !important; }
}

@media (max-width: 900px) {
  .nav-container { height: 72px !important; }
  .nav-logo img { height: 50px !important; }
  .nav-links { background: rgba(244,247,248,.98) !important; }
  .nav-links .nav-cta { color: #fff !important; }
}

@media (max-width: 600px) {
  .ticker-wrap { display: none !important; }
  .hero-premium, .page-hero, .article-hero { margin-inline: .75rem; border-radius: 20px; }
  .hero-left { padding: 3.5rem 1.5rem !important; }
  .hero-title { font-size: 2.75rem !important; }
  .hero-right { height: 300px !important; }
  .page-hero { min-height: 500px !important; }
  .page-hero-content { padding: 3rem 1.25rem !important; }
  .page-hero h1 { font-size: 2.7rem !important; }
  .article-hero { min-height: auto !important; padding: 4.5rem 1.25rem !important; }
  .article-hero h1 { font-size: 2.45rem !important; }
  .article-body { padding: 3.5rem 1.15rem 4rem !important; }
  .home-lead { padding: 5rem 1rem !important; }
  .home-lead-card { padding: 1.25rem !important; }
  .cta-premium { margin-inline: .75rem; border-radius: 20px; }
}
