/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep:          #150806;
  --brand:         #5c1a12;
  --brand-mid:     #9a2c1a;
  --brand-accent:  #e0522a;
  --brand-light:   #fbe0d6;
  --brand-subtle:  #fdf3ef;

  --gold:          #d99a2b;
  --gold-dark:     #b87d1c;
  --gold-light:    #fdf1de;
  --gold-subtle:   #fdf8f1;

  --bg:            #faf9f7;
  --surface:       #ffffff;
  --surface-raised:#f5f1ee;
  --border:        #e8e1d8;
  --border-light:  #f0ece6;

  --text:          #1e1512;
  --text-secondary:#4a3f38;
  --text-muted:    #8a7f76;

  --urgent-high:   #c0392b;
  --urgent-med:    #d97706;
  --urgent-low:    #16a34a;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Ubuntu', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand-light); color: var(--brand); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo .material-icons-round { color: var(--brand-accent); font-size: 1.4rem; }
.logo em { font-style: normal; color: var(--brand-accent); }

.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); background: var(--surface-raised); }
.nav-links a.active { color: var(--brand-mid); }

.nav-cta-link {
  background: var(--brand-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  padding: 0.45rem 1.1rem !important;
}
.nav-cta-link:hover { background: var(--brand-mid) !important; }

/* ── HERO ── */
.hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 55%, rgba(154,44,26,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 80% 25%, rgba(224,82,42,0.30) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 55% 85%, rgba(217,154,43,0.12) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(217,154,43,0.15);
  border: 1px solid rgba(217,154,43,0.3);
  color: #f0c882;
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-eyebrow .material-icons-round { font-size: 0.9rem; }

.hero-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.58);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── SECTION BASE ── */
.section { padding: 4.5rem 2rem; }
.container { max-width: 1180px; margin: 0 auto; }
.bg-soft { background: var(--bg); }
.bg-white { background: #fff; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand-mid); margin-bottom: 0.75rem;
}
.section-label .material-icons-round { font-size: 0.85rem; }

.section-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400; letter-spacing: -0.5px; color: var(--text); line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-header { margin-bottom: 2.5rem; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 600; color: var(--brand-mid); text-decoration: none; transition: gap 0.2s; }
.link-arrow .material-icons-round { font-size: 0.9rem; transition: transform 0.2s; }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover .material-icons-round { transform: translateX(3px); }

/* ── SIT CARDS (main content card component) ── */
.situations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.sit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s, border-color 0.3s;
}

.sit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--area-color, var(--brand-mid));
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}

.sit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sit-card:hover::before { width: 5px; }

.sit-card-visual {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--area-color, var(--brand-mid)) 0%, var(--deep) 130%);
}
.sit-card-visual .material-icons-round { font-size: 3rem; color: rgba(255,255,255,0.9); }

.sit-card-body { padding: 1.5rem 1.5rem 1.25rem 1.75rem; flex: 1; display: flex; flex-direction: column; }

.sit-card-area {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--area-color, var(--brand-mid)); margin-bottom: 0.65rem;
}
.sit-card-area .material-icons-round { font-size: 0.8rem; }

.sit-card-title {
  font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: 0.6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.sit-card-excerpt {
  font-size: 0.855rem; color: var(--text-muted); line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 1.25rem;
}

.sit-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border-light); gap: 0.5rem; }
.news-card-source { font-size: 0.72rem; color: var(--text-muted); margin-top: auto; padding-top: 0.5rem; }

.empty-state { text-align: center; padding: 5rem 0; color: var(--text-muted); }
.empty-state .material-icons-round { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ── LISTING HERO / FILTERS ── */
.listing-hero { background: var(--bg); padding: calc(68px + 3rem) 2rem 2.5rem; border-bottom: 1px solid var(--border); }
.listing-hero-inner { max-width: 1180px; margin: 0 auto; }
.listing-hero h1 { font-family: 'Ubuntu', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; letter-spacing: -0.5px; color: var(--text); margin-bottom: 0.5rem; line-height: 1.1; }
.listing-hero p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.75rem; }

.area-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.42rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500; font-family: inherit;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text-secondary);
  text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.filter-pill .material-icons-round { font-size: 0.85rem; }
.filter-pill:hover { border-color: var(--brand-mid); color: var(--brand-mid); background: var(--brand-subtle); }
.filter-pill.active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* ── GOLPE DETAIL PAGE ── */
.noticia-page { padding: 0 2rem 4rem; }
.noticia-container { max-width: 820px; margin: 0 auto; padding-top: calc(68px + 2rem); }

.breadcrumb { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-mid); }
.breadcrumb .material-icons-round { font-size: 0.85rem; }

.noticia-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1.25rem; }
.sit-area-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #fff; background: var(--area-color, var(--brand-mid)); padding: 0.3rem 0.75rem; border-radius: 100px;
}
.sit-area-badge .material-icons-round { font-size: 0.82rem; }
.noticia-meta-item { display: flex; align-items: center; gap: 0.25rem; font-size: 0.78rem; color: var(--text-muted); }
.noticia-meta-item a { color: var(--brand-mid); font-weight: 600; text-decoration: none; }
.noticia-meta-item a:hover { text-decoration: underline; }
.noticia-meta-item .material-icons-round { font-size: 0.85rem; }

.noticia-title { font-size: clamp(1.55rem, 4vw, 2.35rem); font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.noticia-lead { font-size: 1.1rem; line-height: 1.75; color: var(--text-secondary); font-weight: 500; border-left: 4px solid var(--gold); padding-left: 1.25rem; margin-bottom: 2rem; }

.noticia-img-card { border-radius: var(--radius-lg); overflow: hidden; height: 220px; margin: 0 0 2rem; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--brand-mid) 0%, var(--deep) 130%); display: flex; align-items: center; justify-content: center; }
.noticia-img-card .material-icons-round { font-size: 4rem; color: rgba(255,255,255,0.85); }

.sit-content { font-size: 1.05rem; line-height: 1.85; color: var(--text-secondary); }
.sit-content p { margin-bottom: 1.25rem; }
.sit-content h3 { font-family: 'Ubuntu', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2.25rem 0 1rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.sit-content ul, .sit-content ol { margin: 0 0 1.25rem 1.5rem; }
.sit-content li { margin-bottom: 0.6rem; line-height: 1.7; }
.sit-content strong { color: var(--text); font-weight: 600; }

.news-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.5rem 0; }
.news-tag { font-size: 0.72rem; background: var(--surface-raised); color: var(--brand-mid); padding: 0.28rem 0.75rem; border-radius: 999px; font-weight: 600; }

.info-box { border-radius: var(--radius-md); padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; margin: 2rem 0; font-size: 0.88rem; line-height: 1.7; }
.info-box .material-icons-round { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.info-box-disclaimer { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.info-box-disclaimer .material-icons-round { color: #d97706; }

/* ── RELATED ── */
.related-section { background: var(--bg); padding: 4rem 2rem; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ── ALERT CTA STRIP ── */
.alert-strip { background: var(--brand); background-image: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(224,82,42,0.4) 0%, transparent 60%); padding: 4rem 2rem; text-align: center; }
.section-title-white { color: #fff; }
.section-sub-white { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.75; max-width: 520px; margin: 0 auto; }
.section-label-gold { color: var(--gold); justify-content: center; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.8rem; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; font-family: inherit; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(92,26,18,0.25); }
.btn-gold { background: var(--brand-accent); color: #fff; }
.btn-gold:hover { background: var(--brand-mid); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(224,82,42,0.35); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn .material-icons-round { font-size: 1rem; }

/* ── FOOTER ── */
footer { background: var(--deep); color: rgba(255,255,255,0.5); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin-bottom: 1rem; }
.footer-logo-wrap .material-icons-round { color: var(--brand-accent); font-size: 1.3rem; }
.footer-logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-logo-text em { font-style: normal; color: var(--brand-accent); }
.footer-desc { font-size: 0.835rem; line-height: 1.8; max-width: 300px; margin-bottom: 1.25rem; }
.footer-disclaimer { font-size: 0.73rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.855rem; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.footer-links a .material-icons-round { font-size: 0.85rem; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-copy { font-size: 0.73rem; color: rgba(255,255,255,0.2); }

/* ── SOCIAL SHARE BUTTONS ── */
.share-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin: 1.5rem 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.share-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap; }
.share-buttons { display: flex; gap: 0.5rem; }
.share-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; cursor: pointer; text-decoration: none; flex-shrink: 0; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn.share-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn.share-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn.share-x:hover        { background: #000;    color: #fff; border-color: #000; }
.share-btn.share-linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.share-btn.share-email:hover    { background: var(--brand); color: #fff; border-color: var(--brand); }
.share-btn.share-copy:hover     { background: var(--brand-accent); color: #fff; border-color: var(--brand-accent); }
.share-btn.share-copied        { background: #16a34a !important; color: #fff !important; border-color: #16a34a !important; }
.share-btn .material-icons-round { font-size: 1.05rem; }
.share-btn svg { display: block; }

/* ── 404 ── */
.not-found { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; }
.not-found-num { font-family: 'Ubuntu', sans-serif; font-size: 7rem; font-weight: 400; color: var(--brand-light); line-height: 1; margin-bottom: 0.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta-link) { display: none; }
  .nav { padding: 0 1.25rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
  .situations-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3rem 1.5rem; }
}
@media (max-width: 480px) {
  .situations-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
