:root{
  --fc-navy:#071426;
  --fc-navy-2:#0F2342;
  --fc-blue:#1E3A8A;
  --fc-blue-2:#2563EB;
  --fc-gold:#D6A84F;
  --fc-red:#B5123F;
  --fc-bg:#F7F8FC;
  --fc-text:#101827;
  --fc-muted:#6B7280;
  --fc-border:#E8ECF3;
  --fc-white:#FFFFFF;
  --fc-shadow:0 18px 45px rgba(7,20,38,.14);
  --fc-radius:24px;
  --fc-radius-lg:34px;
}

*{box-sizing:border-box}

body.fc-redesign{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:var(--fc-bg);
  color:var(--fc-text);
}

.fc-r-container{
  width:min(1180px, calc(100% - 36px));
  margin:auto;
}

.fc-r-topbar{
  background:var(--fc-navy);
  color:rgba(255,255,255,.82);
  font-size:13px;
  padding:9px 0;
}

.fc-r-topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.fc-r-topbar span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-right:18px;
}

.fc-r-navbar-wrap{
  position:absolute;
  top:44px;
  left:0;
  right:0;
  z-index:20;
}

.fc-r-navbar{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  padding:0 18px 0 24px;
  box-shadow:0 18px 55px rgba(7,20,38,.20);
}

.fc-r-logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--fc-navy);
  font-weight:900;
  letter-spacing:-.4px;
}

.fc-r-logo-mark{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:linear-gradient(135deg,var(--fc-blue),var(--fc-red));
  color:#fff;
  box-shadow:0 12px 24px rgba(181,18,63,.25);
  font-size:22px;
}

.fc-r-logo small{
  display:block;
  font-size:10px;
  color:var(--fc-muted);
  letter-spacing:.9px;
  text-transform:uppercase;
  margin-top:-2px;
}

.fc-r-menu{
  display:flex;
  align-items:center;
  gap:24px;
}

.fc-r-menu a{
  text-decoration:none;
  color:#1F2937;
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.4px;
}

.fc-r-menu a:hover{color:var(--fc-red)}

.fc-r-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.fc-r-icon-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--fc-border);
  background:#fff;
  display:grid;
  place-items:center;
  color:var(--fc-navy);
  text-decoration:none;
}

.fc-r-btn{
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 22px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  transition:.2s ease;
}

.fc-r-btn:hover{transform:translateY(-2px)}

.fc-r-btn-primary{
  background:linear-gradient(135deg,var(--fc-red),#DC174D);
  color:white;
  box-shadow:0 14px 28px rgba(181,18,63,.25);
}

.fc-r-btn-gold{
  background:linear-gradient(135deg,var(--fc-gold),#F2C15D);
  color:#111827;
  box-shadow:0 14px 28px rgba(214,168,79,.25);
}

.fc-r-btn-outline{
  border:1px solid rgba(255,255,255,.5);
  color:#fff;
  background:rgba(255,255,255,.08);
}

.fc-r-hero{
  min-height:760px;
  position:relative;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(7,20,38,.92),rgba(7,20,38,.58),rgba(7,20,38,.25)),
    url('../img/fondo.webp') center/cover no-repeat;    
}

.fc-r-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:140px;
  background:linear-gradient(to bottom,transparent,var(--fc-bg));
}

.fc-r-hero-content{
  position:relative;
  z-index:2;
  padding-top:110px;
  max-width:720px;
  color:white;
}

.fc-r-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--fc-gold);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:18px;
}

.fc-r-eyebrow::before{
  content:"";
  width:38px;
  height:2px;
  background:var(--fc-gold);
}

.fc-r-hero h1{
  margin:0;
  font-size:clamp(42px,7vw,82px);
  line-height:.98;
  letter-spacing:-2.5px;
}

.fc-r-hero p{
  font-size:19px;
  line-height:1.8;
  color:rgba(255,255,255,.82);
  margin:24px 0 30px;
  max-width:620px;
}

.fc-r-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.fc-r-floating-cards{
  position:absolute;
  z-index:3;
  bottom:55px;
  left:50%;
  transform:translateX(-50%);
  width:min(1040px,calc(100% - 40px));
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.fc-r-floating-card{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--fc-shadow);
  padding:22px;
  display:flex;
  gap:16px;
  align-items:center;
}

.fc-r-floating-date{
  width:76px;
  min-width:76px;
  border-radius:18px;
  overflow:hidden;
  text-align:center;
  background:#FFF2F5;
  color:var(--fc-red);
  font-weight:900;
}

.fc-r-floating-date strong{
  display:block;
  font-size:28px;
  padding-top:10px;
}

.fc-r-floating-date span{
  display:block;
  background:var(--fc-red);
  color:white;
  padding:7px 4px;
  font-size:12px;
}

.fc-r-floating-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.fc-r-floating-card a{
  color:var(--fc-red);
  font-weight:900;
  font-size:13px;
}

.fc-r-section{
  padding:96px 0;
}

.fc-r-section-dark{
  background:var(--fc-navy);
  color:white;
}

.fc-r-section-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 48px;
}

.fc-r-section-head.left{
  text-align:left;
  margin-left:0;
}

.fc-r-kicker{
  color:var(--fc-red);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
}

.fc-r-section h2,
.fc-r-section-head h2{
  font-size:clamp(32px,4vw,52px);
  line-height:1.1;
  letter-spacing:-1.5px;
  margin:10px 0 14px;
}

.fc-r-section-head p{
  color:var(--fc-muted);
  line-height:1.8;
}

.fc-r-section-dark .fc-r-section-head p{color:rgba(255,255,255,.72)}

.fc-r-category-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.fc-r-category-card{
  min-height:170px;
  border-radius:22px;
  padding:24px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
  color:white;
  text-decoration:none;
  transition:.2s ease;
}

.fc-r-category-card:hover{
  transform:translateY(-5px);
  border-color:var(--fc-gold);
  box-shadow:0 20px 38px rgba(0,0,0,.25);
}

.fc-r-category-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(214,168,79,.10);
  border:1px solid rgba(214,168,79,.35);
  font-size:28px;
}

.fc-r-category-card h3{
  margin:0;
  font-size:17px;
}

.fc-r-category-card small{
  color:rgba(255,255,255,.62);
  font-weight:700;
}

.fc-r-filter-bar{
  background:#fff;
  box-shadow:var(--fc-shadow);
  border-radius:24px;
  padding:18px;
  display:grid;
  grid-template-columns:1.3fr repeat(3,1fr) auto;
  gap:12px;
  margin-top:-38px;
  position:relative;
  z-index:6;
}

.fc-r-input,
.fc-r-form input,
.fc-r-form select,
.fc-r-form textarea{
  width:100%;
  min-height:50px;
  border:1px solid var(--fc-border);
  border-radius:16px;
  padding:0 16px;
  background:#fff;
  color:var(--fc-text);
  outline:none;
  font-family:inherit;
}

.fc-r-form textarea{padding:14px 16px;min-height:130px}

.fc-r-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.fc-r-card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(7,20,38,.08);
  border:1px solid rgba(15,35,66,.06);
  transition:.2s ease;
}

.fc-r-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--fc-shadow);
}

.fc-r-card-img{
  height:220px;
  position:relative;
  background:#ddd center/cover;
}

.fc-r-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 13px;
  border-radius:999px;
  background:var(--fc-gold);
  color:#111827;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
}

.fc-r-card-img .fc-r-badge{
  position:absolute;
  left:16px;
  bottom:16px;
}

.fc-r-price{
  position:absolute;
  right:16px;
  bottom:16px;
  background:var(--fc-red);
  color:#fff;
  border-radius:999px;
  padding:8px 14px;
  font-weight:900;
  font-size:12px;
}

.fc-r-card-body{
  padding:22px;
}

.fc-r-card-body h3{
  margin:0 0 8px;
  font-size:21px;
  letter-spacing:-.4px;
}

.fc-r-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:var(--fc-muted);
  font-size:12px;
  margin:12px 0;
}

.fc-r-card-body p{
  color:var(--fc-muted);
  line-height:1.7;
  font-size:14px;
}

.fc-r-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.fc-r-photo-stack{
  position:relative;
  min-height:480px;
}

.fc-r-photo-main{
  position:absolute;
  inset:0 90px 70px 0;
  border-radius:30px;
  background:url('../img/gorro.webp') center/cover no-repeat;
  box-shadow:var(--fc-shadow);
}

.fc-r-photo-small{
  position:absolute;
  right:0;
  bottom:0;
  width:48%;
  height:260px;
  border-radius:30px;
  background:url('../img/juntos.webp') center/cover no-repeat;
  box-shadow:var(--fc-shadow);
  border:8px solid #fff;
}

.fc-r-feature-row{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin:28px 0;
}

.fc-r-feature{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.fc-r-feature-icon{
  width:52px;
  height:52px;
  min-width:52px;
  border-radius:18px;
  background:#FFF2F5;
  color:var(--fc-red);
  display:grid;
  place-items:center;
  font-size:22px;
}

.fc-r-feature h3{margin:0 0 6px}
.fc-r-feature p{margin:0;color:var(--fc-muted);line-height:1.6}

.fc-r-page-hero{
  min-height:430px;
  display:flex;
  align-items:center;
  background:linear-gradient(90deg,rgba(7,20,38,.92),rgba(7,20,38,.38)),var(--hero-img) center/cover;
  color:white;
  position:relative;
}

.fc-r-page-hero .fc-r-hero-content{padding-top:120px}

.fc-r-auth{
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  background:#fff;
}

.fc-r-auth-photo{
  background:linear-gradient(rgba(7,20,38,.72),rgba(7,20,38,.72)),url('../img/fondo.webp') center/cover no-repeat;
  color:white;
  display:flex;
  align-items:center;
  padding:70px;
}

.fc-r-auth-photo h1{font-size:clamp(42px,5vw,72px);line-height:1;margin:0 0 20px}
.fc-r-auth-photo p{font-size:18px;line-height:1.8;color:rgba(255,255,255,.82)}
.fc-r-auth-panel{display:flex;align-items:center;justify-content:center;padding:40px;background:var(--fc-bg)}
.fc-r-auth-card{width:min(460px,100%);background:#fff;border-radius:30px;box-shadow:var(--fc-shadow);padding:36px}
.fc-r-auth-card h2{font-size:34px;margin:18px 0 8px}
.fc-r-auth-card p{color:var(--fc-muted);line-height:1.7}

.fc-r-alert{
  padding:14px 16px;
  border-radius:16px;
  margin:14px 0;
}
.fc-r-alert.error{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}
.fc-r-alert.success{background:#F0FDF4;color:#166534;border:1px solid #BBF7D0}
.fc-r-alert.warning{background:#FFFBEB;color:#92400E;border:1px solid #FDE68A}

.fc-r-quote{
  position:relative;
  min-height:420px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(rgba(7,20,38,.88),rgba(7,20,38,.88)),
    url('../img/abrazo.webp') center/cover no-repeat;
  color:white;
  text-align:center;
}

.fc-r-quote h2{
  font-size:clamp(34px,5vw,58px);
  line-height:1.15;
  max-width:980px;
  margin:auto;
}

.fc-r-newsletter{
  background:var(--fc-navy);
  color:white;
  border-radius:34px;
  padding:54px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:center;
  margin-bottom:-70px;
  position:relative;
  z-index:5;
}

.fc-r-newsletter h2{
  margin:0;
  font-size:clamp(30px,4vw,48px);
  line-height:1.1;
}

.fc-r-newsletter-form{
  display:flex;
  background:#fff;
  border-radius:999px;
  padding:8px;
}

.fc-r-newsletter-form input{
  flex:1;
  border:0;
  outline:0;
  padding:0 18px;
  border-radius:999px;
}

.fc-r-footer{
  background:#050E1D;
  color:rgba(255,255,255,.78);
  padding:130px 0 38px;
}

.fc-r-footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:36px;
}

.fc-r-footer h3{color:white;margin-top:0}

.fc-r-footer a{
  display:block;
  color:rgba(255,255,255,.68);
  text-decoration:none;
  margin:10px 0;
}

.fc-r-mobile-toggle{display:none}

@media(max-width:980px){
  .fc-r-navbar-wrap{top:12px}
  .fc-r-topbar{display:none}
  .fc-r-menu{
    display:none;
    position:absolute;
    top:86px;
    left:18px;
    right:18px;
    background:#fff;
    border-radius:24px;
    box-shadow:var(--fc-shadow);
    padding:18px;
    flex-direction:column;
    align-items:flex-start;
  }
  .fc-r-menu.open{display:flex}
  .fc-r-mobile-toggle{display:grid}
  .fc-r-actions .fc-r-btn{display:none}
  .fc-r-hero{min-height:820px}
  .fc-r-floating-cards{grid-template-columns:1fr; position:relative; bottom:auto; margin-top:34px; transform:none; left:auto; width:100%}
  .fc-r-hero-content{padding:130px 0 30px}
  .fc-r-filter-bar{grid-template-columns:1fr; margin-top:20px}
  .fc-r-category-grid{grid-template-columns:repeat(2,1fr)}
  .fc-r-cards{grid-template-columns:1fr}
  .fc-r-split{grid-template-columns:1fr}
  .fc-r-newsletter{grid-template-columns:1fr; padding:32px}
  .fc-r-footer-grid{grid-template-columns:1fr}
  .fc-r-auth{grid-template-columns:1fr}
  .fc-r-auth-photo{min-height:360px;padding:120px 28px 50px}
}

@media(max-width:560px){
  .fc-r-container{width:min(100% - 24px,1180px)}
  .fc-r-navbar{height:66px; padding:0 10px 0 14px}
  .fc-r-logo small{display:none}
  .fc-r-logo-mark{width:40px;height:40px}
  .fc-r-hero h1{font-size:44px}
  .fc-r-category-grid{grid-template-columns:1fr}
  .fc-r-section{padding:70px 0}
  .fc-r-card-img{height:190px}
  .fc-r-photo-stack{min-height:360px}
  .fc-r-photo-main{inset:0 40px 70px 0}
  .fc-r-photo-small{width:58%;height:190px}
  .fc-r-feature-row{grid-template-columns:1fr}
  .fc-r-newsletter-form{border-radius:24px; flex-direction:column; gap:10px}
  .fc-r-newsletter-form input{min-height:48px}
  .fc-r-auth-panel{padding:24px 14px}
  .fc-r-auth-card{padding:24px}
}


/* FIX: baja las tarjetas flotantes del hero para que no tapen el botón principal */
.fc-r-hero{
  padding-bottom:150px;
}

.fc-r-floating-cards{
  bottom:22px;
}

@media(max-width:980px){
  .fc-r-hero{
    min-height:900px;
    padding-bottom:50px;
  }

  .fc-r-floating-cards{
    margin-top:48px;
  }
}

@media(max-width:560px){
  .fc-r-hero{
    min-height:960px;
  }

  .fc-r-hero-actions{
    margin-bottom:28px;
  }
}

/* FeUniversal logo oficial en header/footer rediseñado */
.fc-r-logo-mark.fc-logo-image-mark{
  padding:0 !important;
  overflow:hidden !important;
  background:transparent !important;
  color:transparent !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.fc-r-logo-mark.fc-logo-image-mark img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:inherit !important;
}

/* Corrección: el icono Fe debe mantenerse pequeño dentro del encabezado */
.fc-r-logo-mark.fc-logo-image-mark,
.fc-r-navbar .fc-logo-image-mark{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  max-width:44px !important;
  min-height:44px !important;
  max-height:44px !important;
  flex:0 0 44px !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:14px !important;
  background:transparent !important;
}
.fc-r-logo-mark.fc-logo-image-mark img,
.fc-r-navbar .fc-logo-image-mark img,
.fc-logo-icon-img{
  width:100% !important;
  height:100% !important;
  max-width:44px !important;
  max-height:44px !important;
  object-fit:cover !important;
  display:block !important;
}
