
/* FraudeDigital.es · Home v7 */

.home-hero{
  padding:4.7rem 2rem 3.2rem;
  text-align:center;
  background:
    radial-gradient(circle at 50% 110%,#f1f5f9 0%,#fff 58%),
    #fff;
}
.home-hero-kicker,
.home-eyebrow{
  display:block;
  font:800 10px/1.2 'Courier New',monospace;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#64748b;
  margin-bottom:9px;
}
.home-hero h1{
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.02;
  letter-spacing:-.045em;
  color:#0f172a;
  margin:0 0 1rem;
  font-weight:900;
}
.home-hero>p{
  max-width:790px;
  margin:0 auto;
  font-size:1.08rem;
  line-height:1.65;
  color:#475569;
}
.home-entry-grid{
  max-width:1200px;
  margin:2.6rem auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  text-align:left;
}
.home-entry{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:17px 18px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.home-entry:hover{
  transform:translateY(-2px);
  border-color:#cbd5e1;
  box-shadow:0 12px 26px rgba(15,23,42,.07);
}
.home-entry-emergency{
  border-color:#fecaca;
  background:#fef2f2;
}
.home-entry-emergency:hover{border-color:#dc2626}
.home-entry-icon{
  width:46px;
  height:46px;
  border-radius:9px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#dc2626;
  border:1px solid #e2e8f0;
}
.home-entry-emergency .home-entry-icon{
  background:#fff;
  border-color:#fecaca;
}
.home-entry-icon svg{width:25px;height:25px}
.home-entry-label{
  display:block;
  font:800 9px/1.2 'Courier New',monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#dc2626;
  margin-bottom:4px;
}
.home-entry strong{
  display:block;
  font-size:15px;
  color:#0f172a;
  margin-bottom:3px;
}
.home-entry p{
  margin:0;
  color:#64748b;
  font-size:12.5px;
  line-height:1.45;
}
.home-entry-arrow{
  color:#94a3b8;
  font-size:20px;
  font-weight:800;
}

.home-section-head{
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:flex-end;
  margin-bottom:20px;
}
.home-section-head h2{
  margin:0 0 6px;
  font-size:clamp(1.65rem,3vw,2.25rem);
  line-height:1.16;
  letter-spacing:-.025em;
  color:#0f172a;
}
.home-section-head p{
  margin:0;
  max-width:760px;
  color:#64748b;
  font-size:13.5px;
  line-height:1.6;
}
.home-section-link{
  white-space:nowrap;
  color:#dc2626;
  font-size:12.5px;
  font-weight:800;
  text-decoration:none;
  padding-bottom:3px;
}
.home-section-link:hover{text-decoration:underline}
.home-eyebrow-red{color:#dc2626}
.home-eyebrow-copper{color:#c2410c}
.home-eyebrow-dark{color:#334155}

.pulse-dot{
  width:8px;height:8px;background:#dc2626;border-radius:50%;
  display:inline-block;animation:pulse 1.5s infinite
}

.home-alerts{
  max-width:1200px;
  margin:0 auto;
  padding:2.8rem 2rem 3.8rem;
}
.alerts-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.alert-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:220px;
  padding:0;
  border:1px solid #e2e8f0;
  border-top:4px solid #dc2626;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.alert-card:hover{
  transform:translateY(-3px);
  border-color:#fecaca;
  box-shadow:0 13px 28px rgba(15,23,42,.08);
}
.home-alert-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:14px 16px 11px;
  background:#f8fafc;
  border-bottom:1px solid #e2e8f0;
}
.home-alert-type{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#b91c1c;
  font:800 9.5px/1.2 'Courier New',monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.home-alert-type svg{width:18px;height:18px}
.home-alert-date{
  color:#64748b;
  font:700 10px/1 'Courier New',monospace;
}
.home-alert-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:17px 17px 16px;
}
.home-alert-new{
  display:inline-block;
  align-self:flex-start;
  margin-bottom:9px;
  background:#dc2626;
  color:#fff;
  border-radius:3px;
  padding:4px 7px;
  font:800 9px/1 'Courier New',monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.alert-card strong{
  color:#0f172a;
  font-size:15px;
  line-height:1.4;
  margin-bottom:8px;
}
.alert-card .home-alert-desc{
  color:#64748b;
  font-size:12.5px;
  line-height:1.55;
  margin:0;
}
.home-alert-link{
  margin-top:auto;
  padding-top:14px;
  color:#dc2626;
  font-size:11.5px;
  font-weight:800;
}
.alert-card.alert-card-more{
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fef2f2;
  color:#b91c1c;
  font-weight:800;
  min-height:220px;
}

.home-threats{
  max-width:1200px;
  margin:0 auto;
  padding:1.2rem 2rem 4.5rem;
}
.grid-amenazas{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
}
.card-amenaza{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:20px;
  display:flex;
  gap:15px;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.card-amenaza:hover{
  transform:translateY(-3px);
  border-color:#cbd5e1;
  box-shadow:0 12px 24px rgba(15,23,42,.06);
}
.card-amenaza svg{width:42px;height:42px;flex:0 0 auto}
.card-body h3{font-size:16px;line-height:1.3;color:#0f172a;margin:0 0 5px}
.card-body p{font-size:12.5px;line-height:1.52;color:#64748b;margin:0}

.home-operations{
  background:#fff7ed;
  border-top:1px solid #fed7aa;
  border-bottom:1px solid #fed7aa;
  padding:4.2rem 2rem;
}
.home-operations-inner,
.home-cases-inner{
  max-width:1200px;
  margin:0 auto;
}
.home-section-link-copper{color:#c2410c}
.home-operation-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.home-operation-card{
  display:flex;
  flex-direction:column;
  min-height:250px;
  padding:20px;
  border:1px solid #fed7aa;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.home-operation-card:hover{
  transform:translateY(-3px);
  border-color:#c2410c;
  box-shadow:0 13px 27px rgba(124,45,18,.08);
}
.home-operation-id{
  font:800 9px/1.2 'Courier New',monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#c2410c;
  margin-bottom:20px;
}
.home-operation-card svg{
  width:36px;height:36px;color:#c2410c;margin-bottom:16px
}
.home-operation-card h3{
  font-size:18px;color:#0f172a;margin:0 0 7px
}
.home-operation-card p{
  font-size:13px;line-height:1.55;color:#64748b;margin:0 0 18px
}
.home-operation-card>span:last-child{
  margin-top:auto;
  padding-top:13px;
  border-top:1px solid #f1f5f9;
  color:#7c2d12;
  font:700 10px/1.4 'Courier New',monospace;
}

.home-cases{
  background:#f8fafc;
  padding:4.3rem 2rem;
}
.home-case-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
}
.home-case-card{
  display:flex;
  flex-direction:column;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.home-case-card:hover{
  transform:translateY(-3px);
  border-color:#94a3b8;
  box-shadow:0 13px 27px rgba(15,23,42,.07);
}
.home-case-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:11px 16px;
  background:#0f172a;
  color:#cbd5e1;
  font:700 9px/1.2 'Courier New',monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.home-case-body{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.home-case-body h3{
  margin:0 0 7px;
  font-size:17px;
  line-height:1.35;
  color:#0f172a;
}
.home-case-body p{
  margin:0 0 15px;
  color:#64748b;
  font-size:12.5px;
  line-height:1.55;
}
.home-case-flow{
  margin-top:auto;
  background:#0f172a;
  border-radius:8px;
  padding:8px;
}
.home-case-flow svg{width:100%;height:58px;display:block}
.home-case-link{
  display:block;
  margin-top:13px;
  color:#dc2626;
  font-size:11.5px;
  font-weight:800;
}

.home-mission{
  max-width:1200px;
  margin:0 auto;
  padding:4rem 2rem;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.home-mission-mark{
  width:64px;height:64px;border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  background:#0f172a;color:#f8fafc;
}
.home-mission-mark svg{width:32px;height:32px}
.home-mission h2{
  margin:0 0 9px;
  max-width:840px;
  font-size:clamp(1.6rem,3vw,2.2rem);
  line-height:1.22;
  letter-spacing:-.025em;
  color:#0f172a;
}
.home-mission p{
  margin:0;
  max-width:900px;
  color:#64748b;
  font-size:13.5px;
  line-height:1.7;
}

@keyframes pulse{
  0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(220,38,38,.7)}
  70%{transform:scale(1);box-shadow:0 0 0 6px rgba(220,38,38,0)}
  100%{transform:scale(.95);box-shadow:0 0 0 0 rgba(220,38,38,0)}
}

@media(max-width:1024px){
  .alerts-grid,.grid-amenazas,.home-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:768px){
  .home-hero{padding:3rem 1rem 2.5rem}
  .home-hero>p{font-size:1rem}
  .home-entry-grid{grid-template-columns:1fr;margin-top:2rem}
  .home-entry{grid-template-columns:44px minmax(0,1fr) auto;padding:15px}
  .home-section-head{display:block}
  .home-section-link{display:inline-block;margin-top:13px}
  .home-alerts,.home-threats{padding-left:1rem;padding-right:1rem}
  .alerts-grid,.grid-amenazas,.home-case-grid,.home-operation-grid{grid-template-columns:1fr}
  .home-operations,.home-cases{padding:3.3rem 1rem}
  .home-operation-card{min-height:0}
  .home-mission{padding:3.2rem 1rem;grid-template-columns:1fr}
}

@media(max-width:480px){
  .home-hero h1{font-size:2.15rem}
  .home-entry p{font-size:12px}
}
