/*
Theme Name: DPE - Diseño y Procesos Educativos
Theme URI: https://example.com/dpe
Author: DPE
Author URI: https://example.com
Description: Tema corporativo oficial de DPE — Diseño y Procesos Educativos ("unidos diseñamos el saber"). Diseñado con la identidad visual de la empresa (azul #2541CF, verdes, naranja y amarillo) y tipografía Montserrat. Incluye portada con hero, soluciones/servicios, misión y visión, estadísticas, testimonios y llamada a la acción. Responsivo y rápido.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: academia-dpe
Tags: education, blog, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, two-columns, right-sidebar
*/

/* =========================================================
   Academia DPE — Hoja de estilos principal
   (Los estilos de componentes están en assets/css/theme.css)
   ========================================================= */

:root {
  /* Paleta oficial DPE — Diseño y Procesos Educativos */
  --color-primary: #2541CF;       /* Azul DPE */
  --color-primary-dark: #1a2d72;  /* Azul marino DPE */
  --color-blue-light: #6699FF;    /* Azul claro DPE */
  --color-green: #009933;         /* Verde DPE */
  --color-lime: #99CC33;          /* Verde lima DPE */
  --color-accent: #F58634;        /* Naranja DPE */
  --color-yellow: #FFCC29;        /* Amarillo DPE */
  --color-purple: #A8518A;        /* Morado DPE */

  --color-success: #009933;
  --color-danger: #dc2626;
  --color-dark: #1a2d72;
  --color-text: #3a4356;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fe;
  --color-border: #e3e8f3;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(26, 45, 114, 0.06);
  --shadow: 0 10px 30px rgba(37, 65, 207, 0.10);
  --shadow-lg: 0 20px 50px rgba(37, 65, 207, 0.16);

  --container: 1200px;
  --font-base: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Montserrat', var(--font-base);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--color-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

p { margin: 0 0 1rem; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--color-bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-dark); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { color: var(--color-primary-dark); }

/* WordPress core helpers */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--color-muted); text-align: center; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
