/* =========================================================
   ProtokolCloud — Design Tokens (Guía de Estilos de marca)
   ========================================================= */
:root{
  --pc-primary: #0097D8;      /* Protokol Blue */
  --pc-secondary: #005B99;    /* Deep Cloud Blue */
  --pc-accent: #00D2FF;       /* Electric Cyan */
  --pc-light: #F6FBFF;        /* Cloud White */
  --pc-dark: #1F2A33;         /* Dark Slate */

  --pc-font-title: 'Roboto', sans-serif;
  --pc-font-body: 'Open Sans', sans-serif;

  --pc-radius: 14px;
  --pc-shadow: 0 10px 30px rgba(0,0,0,.12);
  --pc-max-width: 1180px;
}

/* Reset básico */
*, *::before, *::after{ box-sizing: border-box; }
body{
  margin:0;
  font-family: 'Open Sans', sans-serif;
  color: #1F2A33;
  background: #ffffff;
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ color: #005B99; text-decoration:none; }
a:hover{ color: #0097D8; }

h1,h2,h3,h4,h5,h6{
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  color: #1F2A33;
  line-height: 1.2;
  margin: 0 0 .5em;
}

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
}
.btn-primary{
  background: linear-gradient(135deg, #0097D8, #005B99);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.btn-primary:hover{ opacity:.92; color:#fff; }
.btn-outline{
  background: transparent;
  border: 2px solid #0097D8;
  color: #0097D8;
}

/* =========================================================
   Íconos (Material Symbols, según Guía de Estilos)
   ========================================================= */
.material-symbols-outlined{
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 18px;
  vertical-align: middle;
  line-height: 1;
}

/* =========================================================
   Topbar de confianza (enterprise trust signal)
   ========================================================= */
.topbar{
  background: #005B99;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left{ display:flex; align-items:center; gap:8px; }
.topbar-right a{ color: rgba(255,255,255,.92); display:flex; align-items:center; gap:6px; }
.topbar-right a:hover{ color: #00D2FF; }
@media (max-width: 700px){ .topbar-left{ display:none; } }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  background: #1F2A33;
  padding: 18px 0;
  position: sticky;
  top:0;
  z-index: 999;
  transition: padding .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled{
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.site-logo img{ height: 42px; width:auto; }
.site-logo{ color:#fff; font-family:'Roboto', sans-serif; font-weight:900; font-size:20px; }

.site-brand{ display:flex; align-items:center; gap:16px; }
.site-brand-divider{
  width:1px; height:34px;
  background: rgba(255,255,255,.18);
  flex-shrink:0;
}
.site-brand-tag{ display:flex; flex-direction:column; line-height:1.3; flex-shrink:0; white-space:nowrap; }
.site-brand-tag-top{
  font-family:'Roboto', sans-serif;
  font-weight:700;
  font-size:12px;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#00D2FF;
  white-space:nowrap;
}
.site-brand-tag-bottom{
  font-family:'Open Sans', sans-serif;
  font-size:11px;
  color: rgba(255,255,255,.55);
  white-space:nowrap;
}
@media (max-width: 1050px){
  .site-brand-divider, .site-brand-tag{ display:none; }
}

.main-nav ul{
  list-style:none;
  display:flex;
  gap: 28px;
  margin:0;
  padding:0;
}
.main-nav a{
  color: rgba(255,255,255,.88);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing:.02em;
}
.main-nav a:hover{ color: #00D2FF; }

/* Submenús desplegables */
.main-nav li{ position: relative; }
.main-nav .menu-item-has-children > a::after{
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  vertical-align: middle;
}
.main-nav ul ul{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 10px;
  z-index: 1000;
  flex-direction: column;
  gap: 2px;
}
.main-nav ul ul li{ width: 100%; }
.main-nav ul ul a{
  color: #1F2A33;
  text-transform: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
}
.main-nav ul ul a:hover{
  background: #F6FBFF;
  color: #005B99;
}
.main-nav li:hover > ul{ display: flex; }

/* Botón CTA dentro de la nav */
.main-nav .nav-cta a{
  background: linear-gradient(135deg, #0097D8, #005B99);
  padding: 10px 18px;
  border-radius: 10px;
  color: #fff !important;
}

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding: 4px; }
.nav-toggle span{
  display:block; width:26px; height:3px; background:#fff; margin:5px 0; border-radius:2px;
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .main-nav{
    display:none;
    position:absolute;
    top:100%; left:0; right:0;
    background: #1F2A33;
    padding: 12px 24px 24px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav.is-open{ display:block; }
  .main-nav ul{ flex-direction:column; gap:0; }
  .main-nav li{ width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > ul > li > a{ display:block; padding: 14px 0; }
  .main-nav ul ul{
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: 4px 0 8px 16px;
  }
  .main-nav ul ul a{ color: rgba(255,255,255,.75); padding: 10px 6px; }
  .main-nav ul ul a:hover{ background: transparent; color: #00D2FF; }
  .main-nav li.submenu-open > ul{ display: flex; flex-direction: column; }
  .main-nav .menu-item-has-children > a::after{ float: right; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  background: linear-gradient(160deg, #005B99 0%, #1F2A33 100%);
  color:#fff;
  padding: 90px 0;
  overflow:hidden;
  position:relative;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
}
.hero h1{ color:#fff; font-size: 44px; margin-bottom: 18px; }
.hero p{ font-size: 18px; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-media{
  border-radius: 50%;
  overflow:hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero-actions{ display:flex; gap:14px; margin-top: 26px; flex-wrap:wrap; }

@media (max-width: 860px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero h1{ font-size: 32px; }
}

/* =========================================================
   Secciones genéricas / tarjetas
   ========================================================= */
.section{ padding: 70px 0; }
.section-alt{ background: #F6FBFF; }
.section-title{ text-align:center; max-width: 720px; margin: 0 auto 46px; }
.section-title h2{ font-size: 32px; }
.section-title p{ color: rgba(31,42,51,.7); font-size:17px; }

.eyebrow{
  display:block;
  text-align:center;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  color: #005B99;
  margin-bottom: 10px;
}

.grid{
  display:grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .grid{ grid-template-columns: 1fr; } }

.card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.card h3{ font-size:20px; color: #005B99; }
/* =========================================================
   Hero oscuro tipo "landing enterprise" (usa solo paleta Protokol)
   ========================================================= */
.hero-dark{
  background: radial-gradient(circle at 20% 0%, rgba(0,151,216,.18), transparent 55%),
              linear-gradient(180deg, #1F2A33 0%, #10161c 100%);
  color:#fff;
  padding: 100px 0 70px;
  text-align: center;
}
.hero-dark .eyebrow-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,151,216,.4);
  background: rgba(0,151,216,.1);
  color: #00D2FF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-dark .eyebrow-pill .dot{
  width:6px; height:6px; border-radius:50%; background: #00D2FF;
}
.hero-dark h1{
  color:#fff;
  font-size: 46px;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.15;
}
.hero-dark h1 .highlight{
  background: linear-gradient(135deg, #0097D8, #00D2FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-dark p{
  color: rgba(255,255,255,.75);
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 18px;
}
.hero-dark .hero-actions{ justify-content: center; margin-top: 0; }

.hero-dark .pc-stats-bar{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 50px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.hero-dark .pc-stat-number{
  background: linear-gradient(135deg, #fff, #00D2FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 34px;
}
.hero-dark .pc-stat-label{ color: rgba(255,255,255,.7) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 700px){
  .hero-dark h1{ font-size: 32px; }
}

/* =========================================================
   Sección oscura genérica (para testimonios, cursos, lead-form)
   ========================================================= */
.section-dark{
  background: #1F2A33;
  color: #fff;
  padding: 70px 0;
}
.section-dark .section-title h2{ color:#fff; }
.section-dark .section-title p{ color: rgba(255,255,255,.6); }
.section-dark .eyebrow{
  display:block;
  text-align:center;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  color: #00D2FF;
  margin-bottom: 10px;
}

/* =========================================================
   Tarjetas de curso con badge de certificación
   Por defecto: fondo claro (fácil de leer, confiable).
   Dentro de .section-dark: variante oscura para el hero/CTA.
   ========================================================= */
.pc-course-card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, border-color .2s ease;
}
.pc-course-card:hover{ transform: translateY(-4px); border-color: #0097D8; }
.pc-course-card.is-popular{ border-color: rgba(0,151,216,.5); }
.pc-course-card .ribbon{
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, #0097D8, #005B99);
  color:#fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-bottom-left-radius: 10px;
}
.pc-course-badge{
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0097D8, #005B99);
  display:flex; align-items:center; justify-content:center;
}
.pc-course-badge .material-symbols-outlined{ color:#fff; font-size: 30px; }
.pc-course-badge-img{
  display: block;
  width: 60px; height: 60px;
  max-width: 60px; max-height: 60px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.pc-level-label{
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(31,42,51,.5);
  margin-bottom: 4px;
}
.pc-level-stars{ margin-bottom: 10px; }
.pc-level-stars .material-symbols-outlined{ font-size: 15px; font-variation-settings: 'FILL' 1; }
.pc-level-stars .is-filled{ color: #ffb020; }
.pc-level-stars .is-empty{ color: rgba(0,0,0,.15); }

.section-dark .pc-level-label{ color: rgba(255,255,255,.5); }
.section-dark .pc-level-stars .is-empty{ color: rgba(255,255,255,.2); }
.pc-course-card .code{
  display:block;
  color: #005B99;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.pc-course-card h3{ color: #1F2A33; font-size: 17px; margin-bottom: 8px; }
.pc-course-card p{ color: rgba(31,42,51,.75); font-size: 14px; margin:0 0 16px; }
.pc-course-cta{ width: 100%; justify-content: center; margin-top: auto; }

.section-dark .pc-course-cta{ color:#fff; border-color: rgba(255,255,255,.4); }

.section-dark .pc-course-card{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow:none; }
.section-dark .pc-course-card .code{ color: #00D2FF; }
.section-dark .pc-course-card h3{ color:#fff; }
.section-dark .pc-course-card p{ color: rgba(255,255,255,.65); }

/* =========================================================
   Checklist "Por qué es oficial" (señales de confianza sin logos)
   ========================================================= */
.pc-trust-checklist{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.pc-trust-item{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.pc-trust-item .material-symbols-outlined{
  color: #0097D8;
  font-size: 22px;
  flex-shrink: 0;
}
.pc-trust-item span.label{ color: rgba(31,42,51,.8); font-size: 14px; line-height: 1.5; }
@media (max-width: 700px){ .pc-trust-checklist{ grid-template-columns: 1fr; } }

.section-dark .pc-trust-item{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow:none; }
.section-dark .pc-trust-item .material-symbols-outlined{ color: #00D2FF; }
.section-dark .pc-trust-item span.label{ color: rgba(255,255,255,.85); }

/* =========================================================
   Testimonios (prueba social)
   ========================================================= */
.pc-testimonial-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.pc-testimonial-stars{ color: #ffb020; letter-spacing: 2px; margin-bottom: 12px; font-size: 15px; }
.pc-testimonial-quote{ color: #1F2A33; font-style: italic; line-height: 1.6; margin-bottom: 20px; }
.pc-testimonial-author{ display:flex; align-items:center; gap: 12px; }
.pc-testimonial-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0097D8, #00D2FF);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  display:flex; align-items:center; justify-content:center;
  font-size: 14px;
}
.pc-testimonial-name{ color: #1F2A33; font-weight: 700; font-size: 14px; }
.pc-testimonial-role{ color: rgba(31,42,51,.65); font-size: 12px; }

.section-dark .pc-testimonial-card{ background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow:none; }
.section-dark .pc-testimonial-quote{ color: rgba(255,255,255,.85); }
.section-dark .pc-testimonial-name{ color:#fff; }
.section-dark .pc-testimonial-role{ color: rgba(255,255,255,.55); }

/* =========================================================
   Formulario de lead avanzado (dos columnas, sobre fondo oscuro)
   ========================================================= */
.pc-lead-form{
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 32px;
}
.pc-lead-form .eyebrow{ text-align:left; }
.pc-lead-form h3{ color:#fff; margin: 0 0 4px; }
.pc-lead-form .subtitle{ color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 24px; }
.pc-lead-form .pc-form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px){ .pc-lead-form .pc-form-row{ grid-template-columns: 1fr; } }
.pc-lead-form label{
  display:block; font-family: 'Roboto', sans-serif; font-weight:700;
  font-size:13px; margin-bottom:6px; color: rgba(255,255,255,.85);
}
.pc-lead-form input,
.pc-lead-form select,
.pc-lead-form textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
}
.pc-lead-form input::placeholder,
.pc-lead-form textarea::placeholder{ color: rgba(255,255,255,.35); }
.pc-lead-form textarea{ min-height: 90px; resize: vertical; }
.pc-lead-form .btn-primary{ width:100%; justify-content:center; }
.pc-lead-form .trust-note{
  text-align:center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 14px;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.pc-lead-form .trust-note a{ color: rgba(255,255,255,.7); }

/* =========================================================
   Botón flotante de WhatsApp
   ========================================================= */
.pc-whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 9999;
  transition: transform .2s ease;
}
.pc-whatsapp-float:hover{ transform: scale(1.08); }
.pc-whatsapp-float .material-symbols-outlined{ color:#fff; font-size: 30px; }

.card .badge{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color: #0097D8;
  background: rgba(0,151,216,.1);
  padding:4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Feature cards con ícono */
.pc-feature-card{ text-align: left; }
.pc-feature-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0097D8, #005B99);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pc-feature-icon .material-symbols-outlined{ color: #fff; font-size: 26px; }

/* Barra de estadísticas (social proof) */
.pc-stats-bar{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
  margin: 2em 0;
}
.pc-stat-number{
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 40px;
  background: linear-gradient(135deg, #0097D8, #00D2FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pc-stat-label{
  font-size: 14px;
  color: rgba(31,42,51,.65);
  margin-top: 4px;
}

/* =========================================================
   Trainings (CPT)
   ========================================================= */
.training-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 14px 0;
}
.training-meta span{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  color: rgba(31,42,51,.75);
}

.training-cta{
  margin-top: 40px;
  padding: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6,15,30,.95), #1F2A33);
  color:#fff;
}
.training-cta h2{ color:#fff; font-size: 26px; }
.training-cta p{ color: rgba(255,255,255,.85); max-width: 760px; }

/* =========================================================
   Formulario de contacto (custom, sin plugin)
   ========================================================= */
.pc-form{
  max-width: 640px;
  margin: 0 auto;
  background:#fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.pc-form label{
  display:block;
  font-family: 'Roboto', sans-serif;
  font-weight:700;
  font-size:14px;
  margin-bottom:6px;
  color: #1F2A33;
}
.pc-form input,
.pc-form select,
.pc-form textarea{
  width:100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  margin-bottom: 18px;
}
.pc-form textarea{ min-height: 120px; resize: vertical; }
.pc-form .pc-form-msg{
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
}
.pc-form .pc-form-msg.success{ background: rgba(0,151,216,.12); color: #005B99; }
.pc-form .pc-form-msg.error{ background: rgba(200,40,40,.1); color: #a41f1f; }

/* =========================================================
   Contenido enriquecido (imported/editor content)
   Aplica a cualquier texto traído del sitio viejo vía WXR,
   para que se vea pulido sin tener que re-diseñar cada página.
   ========================================================= */
.single-content h1{ font-size: 34px; margin-top: 1.2em; }
.single-content h1:first-child{ margin-top: 0; }

.single-content h2{
  font-size: 24px;
  margin-top: 2em;
  padding-left: 18px;
  border-left: 5px solid #0097D8;
  line-height: 1.3;
}
.single-content h3{ font-size: 19px; color: #005B99; margin-top: 1.6em; }
.single-content p{ margin: 0 0 1.1em; }
.single-content p:first-of-type{ font-size: 18px; color: rgba(31,42,51,.75); }
.single-content strong{ color: #1F2A33; }
.single-content a{ text-decoration: underline; text-decoration-color: rgba(0,151,216,.35); text-underline-offset: 3px; }

.single-content ul, .single-content ol{ padding-left: 4px; margin: 0 0 1.4em; list-style: none; }
.single-content ul li{ position: relative; padding-left: 30px; margin-bottom: 10px; line-height: 1.55; }
.single-content ul li::before{
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(135deg, #0097D8, #005B99);
}
.single-content ol{ counter-reset: pc-counter; padding-left: 0; }
.single-content ol li{ position: relative; padding-left: 34px; margin-bottom: 10px; counter-increment: pc-counter; }
.single-content ol li::before{
  content: counter(pc-counter);
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: #F6FBFF; color: #005B99;
  font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.single-content blockquote{
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 4px solid #00D2FF;
  background: #F6FBFF; border-radius: 0 12px 12px 0;
  font-style: italic; color: #005B99;
}
.single-content table{ width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.single-content table th{ background: #005B99; color: #fff; padding: 10px 14px; text-align: left; }
.single-content table td{ padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,.08); }
.single-content img{ border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.single-content hr{ border: none; border-top: 1px solid rgba(0,0,0,.1); margin: 2.4em 0; }

/* =========================================================
   Shortcodes reutilizables: CTA, precio, badges
   ========================================================= */
.pc-badge{
  display:inline-block; font-size:12px; font-weight:700;
  text-transform:uppercase; letter-spacing:.04em;
  color: #005B99; background: rgba(0,151,216,.12);
  padding:5px 12px; border-radius: 999px; margin: 0 6px 6px 0;
}
.pc-cta-box{
  margin: 2.4em 0; padding: 34px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(6,15,30,.95), #1F2A33); color:#fff;
}
.pc-cta-box h2, .pc-cta-box h3{ color:#fff; border-left: none; padding-left: 0; margin-top: 0; }
.pc-cta-box p{ color: rgba(255,255,255,.85); max-width: 760px; }

.pc-price-card{
  border: 2px solid #0097D8; border-radius: 14px;
  padding: 30px; text-align: center; background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); max-width: 360px; margin: 0 auto 2em;
}
.pc-price-card .amount{ font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 42px; color: #005B99; margin: 6px 0; }
.pc-price-card .period{ font-size: 14px; color: rgba(31,42,51,.6); }
.pc-price-card .btn{ width: 100%; justify-content: center; margin-top: 16px; }

.pc-course-layout{ display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.pc-course-sidebar{ position: sticky; top: 100px; }
@media (max-width: 900px){
  .pc-course-layout{ grid-template-columns: 1fr; }
  .pc-course-sidebar{ position: static; }
}

/* =========================================================
   Blog
   ========================================================= */
.post-card{ margin-bottom: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(0,0,0,.08); }
.post-card .post-date{ font-size:13px; color: rgba(31,42,51,.6); text-transform:uppercase; letter-spacing:.04em; }
.post-card h2{ font-size: 26px; margin: 8px 0 12px; }
.post-card h2 a{ color: #1F2A33; }
.post-card h2 a:hover{ color: #0097D8; }

/* =========================================================
   Tarjetas de blog con imagen (home: "Últimos Artículos")
   ========================================================= */
.pc-blog-card{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform .2s ease;
}
.pc-blog-card:hover{ transform: translateY(-4px); }
.pc-blog-card .thumb{
  display:block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.pc-blog-card .thumb-placeholder{
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0097D8, #005B99);
  display:flex; align-items:center; justify-content:center;
}
.pc-blog-card .thumb-placeholder .material-symbols-outlined{ color: rgba(255,255,255,.6); font-size: 46px; }
.pc-blog-card .body{ padding: 22px; }
.pc-blog-card .cat-pill{
  display:inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #005B99;
  background: rgba(0,151,216,.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pc-blog-card h3{ font-size: 18px; line-height: 1.35; margin-bottom: 12px; }
.pc-blog-card h3 a{ color: #1F2A33; }
.pc-blog-card h3 a:hover{ color: #0097D8; }
.pc-blog-card .meta{
  display:flex; align-items:center; gap:6px;
  font-size: 13px; color: rgba(31,42,51,.55);
}
.pc-blog-card .meta .material-symbols-outlined{ font-size: 16px; }

.single-content{ max-width: 780px; margin: 0 auto; }
.single-content h1{ font-size: 36px; }
.single-content img{ border-radius: 14px; margin: 24px 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: linear-gradient(135deg, #1F2A33 0%, #005B99 100%);
  color: rgba(255,255,255,.75);
  padding: 56px 0 26px;
  margin-top: 60px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p{ max-width: 320px; }
.footer-social{ margin-top: 16px; display:flex; gap: 10px; }
.footer-social a{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.footer-social a:hover{ background: #00D2FF; color: #1F2A33; }
.site-footer h4{ color:#fff; font-size:16px; margin-bottom:14px; }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer ul li{ margin-bottom: 10px; }
.site-footer a{ color: rgba(255,255,255,.75); }
.site-footer a:hover{ color: #00D2FF; }
.footer-bottom{
  text-align:center;
  font-size:13px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   Página de Contacto (split layout)
   ========================================================= */
.pc-contact-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.pc-contact-media{
  position: relative;
  overflow: hidden;
}
.pc-contact-map{
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  filter: grayscale(.15) contrast(1.05);
}
.pc-contact-info-card{
  position: absolute;
  left: 24px; bottom: 24px;
  max-width: 360px;
  background: linear-gradient(160deg, rgba(6,15,30,.95), rgba(0,91,153,.92));
  color: #fff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  z-index: 2;
}
.pc-contact-info-card .eyebrow{ color: #00D2FF; text-align:left; }
.pc-contact-info-card h1{ color:#fff; font-size: 26px; margin-bottom: 14px; }
.pc-contact-info-card p{ color: rgba(255,255,255,.85); margin: 4px 0; font-size: 14px; }
.pc-contact-info-card .footer-social{ margin-top: 16px; }
.pc-contact-form-wrap{
  background: #fff;
  padding: 80px 60px;
  display: flex;
  align-items: center;
}
.pc-contact-form-wrap .pc-form{
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: none;
  width: 100%;
}
@media (max-width: 900px){
  .pc-contact-split{ grid-template-columns: 1fr; }
  .pc-contact-media{ height: 420px; }
  .pc-contact-form-wrap{ padding: 50px 28px; }
  .pc-contact-info-card{ left:16px; right:16px; max-width:none; }
}
