/* MarketingPymes.es — style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --mp-primary: #1e3a5f;
  --mp-accent: #f97316;
  --mp-accent2: #3b82f6;
  --mp-text: #1f2937;
  --mp-text-light: #6b7280;
  --mp-bg: #ffffff;
  --mp-bg-soft: #f8fafc;
  --mp-border: #e5e7eb;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mp-text);
  background: var(--mp-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mp-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin-bottom: 1em; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.3; }

/* HEADER */
.mp-header {
  background: var(--mp-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.mp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mp-logo-mark {
  background: var(--mp-accent);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.mp-logo-year { color: var(--mp-accent); }
.mp-nav-list {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.mp-nav-list a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.mp-nav-list a:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.mp-nav-list .mp-nav-cta {
  background: var(--mp-accent);
  color: #fff !important;
  font-weight: 600;
}
.mp-nav-list .mp-nav-cta:hover { background: #ea6c00; }
.mp-nav-list .mp-nav-contact {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff !important;
}
.mp-nav-list .mp-nav-contact:hover { border-color: #fff; }

/* DROPDOWN */
.mp-nav-item { position: relative; }
.mp-nav-item:hover .mp-dropdown { display: block; }
.mp-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 200px;
  z-index: 200;
}
.mp-dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--mp-text) !important;
  font-size: 14px;
  border-radius: 0;
}
.mp-dropdown a:hover { background: var(--mp-bg-soft); color: var(--mp-accent) !important; }

/* HERO */
.mp-hero-section {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #2d5986 100%);
  padding: 90px 24px 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mp-hero-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.mp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.mp-hero-text h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}
.mp-hero-text h1 span { color: var(--mp-accent); }
.mp-hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.mp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.mp-btn-primary {
  background: var(--mp-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.mp-btn-primary:hover { background: #ea6c00; text-decoration: none; color: #fff; }
.mp-btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  text-decoration: none;
}
.mp-btn-outline:hover { border-color: #fff; text-decoration: none; color: #fff; }
.mp-hero-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* STATS BAR */
.mp-stats-bar {
  background: var(--mp-accent);
  padding: 20px 24px;
}
.mp-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.mp-stat-item { text-align: center; color: #fff; }
.mp-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  display: block;
}
.mp-stat-label { font-size: 13px; opacity: 0.9; }

/* SECTIONS */
.mp-section { padding: 80px 24px; }
.mp-section.mp-bg-soft { background: var(--mp-bg-soft); }
.mp-section-inner { max-width: 1200px; margin: 0 auto; }
.mp-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--mp-primary);
  margin-bottom: 12px;
}
.mp-section-sub {
  font-size: 17px;
  color: var(--mp-text-light);
  margin-bottom: 48px;
  max-width: 600px;
}

/* SERVICIOS GRID */
.mp-servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mp-servicio-item {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mp-servicio-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.mp-servicio-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}
.mp-servicio-item h3 {
  font-size: 20px;
  color: var(--mp-primary);
  margin-bottom: 10px;
}
.mp-servicio-item p { color: var(--mp-text-light); font-size: 15px; margin-bottom: 0; }
.mp-servicio-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--mp-accent);
  font-weight: 600;
  font-size: 14px;
}

/* SOBRE NOSOTROS */
.mp-sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.mp-sobre-text h2 { font-size: 34px; color: var(--mp-primary); margin-bottom: 16px; }
.mp-sobre-text p { color: var(--mp-text-light); }
.mp-sobre-img img { width: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }

/* TEAM GRID */
.mp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.mp-team-member {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--mp-border);
}
.mp-team-avatar {
  width: 80px; height: 80px;
  background: var(--mp-primary);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.mp-team-member h4 { font-size: 18px; color: var(--mp-primary); margin-bottom: 4px; }
.mp-team-member p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }

/* PROCESS */
.mp-proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.mp-paso {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--mp-border);
}
.mp-paso-num {
  width: 48px;
  height: 48px;
  background: var(--mp-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 16px;
  font-family: 'Poppins', sans-serif;
}
.mp-paso h4 { font-size: 16px; color: var(--mp-primary); margin-bottom: 8px; }
.mp-paso p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }

/* TARIFAS */
.mp-tarifas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mp-tarifa-item {
  background: #fff;
  border: 2px solid var(--mp-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.mp-tarifa-item:hover { border-color: var(--mp-accent); }
.mp-tarifa-item h3 { font-size: 22px; color: var(--mp-primary); margin-bottom: 12px; }
.mp-tarifa-item p { color: var(--mp-text-light); font-size: 15px; }
.mp-tarifa-tag {
  display: inline-block;
  background: var(--mp-bg-soft);
  color: var(--mp-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* PORTFOLIO */
.mp-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mp-portfolio-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mp-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mp-portfolio-item:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.mp-portfolio-item img { width: 100%; height: 200px; object-fit: cover; }
.mp-portfolio-content { padding: 20px; background: #fff; }
.mp-portfolio-content h3 { font-size: 17px; color: var(--mp-primary); margin-bottom: 6px; }
.mp-portfolio-content p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }
.mp-portfolio-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--mp-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* CASOS DE ÉXITO */
.mp-casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mp-caso-item {
  background: var(--mp-primary);
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}
.mp-caso-item img { width: 100%; height: 180px; object-fit: cover; }
.mp-caso-content { padding: 24px; }
.mp-caso-badge {
  background: var(--mp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}
.mp-caso-content h3 { font-size: 17px; margin-bottom: 8px; }
.mp-caso-content p { font-size: 14px; opacity: 0.8; margin-bottom: 0; }

/* BLOG */
.mp-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mp-blog-item {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}
.mp-blog-item:hover { transform: translateY(-4px); }
.mp-blog-item img { width: 100%; height: 180px; object-fit: cover; }
.mp-blog-content { padding: 20px; }
.mp-blog-content h3 { font-size: 17px; color: var(--mp-primary); margin-bottom: 8px; }
.mp-blog-content p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }
.mp-blog-meta { font-size: 12px; color: var(--mp-text-light); margin-bottom: 8px; }

/* CTA BANNER */
.mp-cta-banner {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #2d5986 100%);
  padding: 70px 24px;
  text-align: center;
  color: #fff;
}
.mp-cta-banner h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.mp-cta-banner p { font-size: 18px; opacity: 0.85; margin-bottom: 30px; }

/* CONTACTO */
.mp-contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.mp-contact-form input,
.mp-contact-form textarea,
.mp-contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--mp-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
  outline: none;
  background: #fff;
}
.mp-contact-form input:focus,
.mp-contact-form textarea:focus { border-color: var(--mp-accent); }
.mp-contact-form textarea { min-height: 120px; resize: vertical; }
.mp-contact-info h3 { font-size: 22px; color: var(--mp-primary); margin-bottom: 20px; }
.mp-contact-detail { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.mp-contact-detail-icon { font-size: 22px; flex-shrink: 0; }
.mp-contact-detail-text h4 { font-size: 15px; color: var(--mp-primary); margin-bottom: 2px; }
.mp-contact-detail-text p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }

/* BREADCRUMB */
.mp-breadcrumb {
  background: var(--mp-bg-soft);
  padding: 12px 24px;
  font-size: 13px;
  color: var(--mp-text-light);
}
.mp-breadcrumb a { color: var(--mp-text-light); }
.mp-breadcrumb a:hover { color: var(--mp-accent); }
.mp-breadcrumb span { color: var(--mp-text); font-weight: 500; }

/* FOOTER */
.mp-footer { background: var(--mp-primary); color: rgba(255,255,255,0.8); padding: 60px 24px 20px; }
.mp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mp-footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.mp-footer-col p { font-size: 14px; margin-bottom: 8px; }
.mp-footer-col ul { list-style: none; margin: 0; padding: 0; }
.mp-footer-col ul li { margin-bottom: 8px; }
.mp-footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.mp-footer-col ul li a:hover { color: var(--mp-accent); text-decoration: none; }
.mp-footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ARTICLE (DOCX) */
.mp-article-page { max-width: 860px; margin: 60px auto; padding: 0 24px 60px; }
.mp-article-page h1 { font-size: 32px; color: var(--mp-primary); margin-bottom: 16px; }
.mp-article-page h2 { font-size: 24px; color: var(--mp-primary); margin: 36px 0 14px; border-bottom: 2px solid var(--mp-accent); padding-bottom: 8px; }
.mp-article-page h3 { font-size: 19px; color: var(--mp-primary); margin: 24px 0 10px; }
.mp-article-page p { margin-bottom: 1em; color: var(--mp-text); line-height: 1.8; }
.mp-article-page ul, .mp-article-page ol { margin: 0.8em 0 1.4em 1.8em; }
.mp-article-page li { margin-bottom: 0.6em; line-height: 1.7; }
.mp-article-meta { display: flex; gap: 20px; margin-bottom: 24px; font-size: 14px; color: var(--mp-text-light); border-bottom: 1px solid var(--mp-border); padding-bottom: 20px; }
.mp-article-meta span { display: flex; align-items: center; gap: 6px; }
.article-table { width:100%; border-collapse:collapse; margin:24px 0; font-size:14px; }
.article-table th { background:var(--mp-primary); color:#fff; padding:12px; text-align:left; }
.article-table td { padding:10px 12px; border-bottom:1px solid var(--mp-border); }
.article-table tr:nth-child(even) td { background:#f8f9fa; }
.faq-section { margin: 32px 0; }
.faq-section .faq-q { background:#f0f4f8; padding:12px 16px; border-left:4px solid var(--mp-accent); margin:0 0 2px; font-family:'Poppins',sans-serif; font-size:16px; font-weight:600; color:var(--mp-primary); }
.faq-section .faq-a { padding:12px 16px; background:#fafafa; border-left:4px solid var(--mp-border); margin-bottom:16px; color:var(--mp-text); }

/* 404 */
.error-404 { text-align:center; padding:80px 20px; }
.big-404 { font-size:120px; font-weight:800; color:var(--mp-accent); line-height:1; font-family:'Poppins',sans-serif; }
.error-404 h2 { font-size:28px; margin:16px 0; color:var(--mp-primary); }
.error-404 p { color: var(--mp-text-light); margin-bottom: 24px; }
.btn-back { display:inline-block; background:var(--mp-primary); color:#fff; padding:12px 28px; border-radius:8px; font-weight:600; margin-top:16px; }
.btn-back:hover { background: #2d5986; text-decoration: none; color: #fff; }

/* PAGE HERO (inner pages) */
.mp-page-hero {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #2d5986 100%);
  padding: 60px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mp-page-hero::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.mp-page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; position: relative; }
.mp-page-hero p { font-size: 17px; opacity: 0.85; position: relative; }

/* SERVICE PAGE */
.mp-service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.mp-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--mp-bg-soft);
  border-radius: 10px;
}
.mp-feature-icon { font-size: 28px; flex-shrink: 0; }
.mp-feature-text h4 { font-size: 16px; color: var(--mp-primary); margin-bottom: 4px; }
.mp-feature-text p { font-size: 14px; color: var(--mp-text-light); margin-bottom: 0; }

/* HIGHLIGHT BOX */
.mp-highlight {
  background: linear-gradient(135deg, var(--mp-primary) 0%, #2d5986 100%);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  margin: 40px 0;
}
.mp-highlight h3 { font-size: 24px; margin-bottom: 12px; }
.mp-highlight p { opacity: 0.85; margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .mp-servicios-grid { grid-template-columns: 1fr 1fr; }
  .mp-casos-grid { grid-template-columns: 1fr 1fr; }
  .mp-blog-list { grid-template-columns: 1fr 1fr; }
  .mp-proceso-steps { grid-template-columns: 1fr 1fr; }
  .mp-footer-inner { grid-template-columns: 1fr 1fr; }
  .mp-portfolio-grid { grid-template-columns: 1fr 1fr; }
  .mp-team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mp-hero-inner { grid-template-columns: 1fr; }
  .mp-hero-img { display: none; }
  .mp-hero-text h1 { font-size: 32px; }
  .mp-sobre-inner { grid-template-columns: 1fr; }
  .mp-servicios-grid { grid-template-columns: 1fr; }
  .mp-casos-grid { grid-template-columns: 1fr; }
  .mp-blog-list { grid-template-columns: 1fr; }
  .mp-proceso-steps { grid-template-columns: 1fr 1fr; }
  .mp-contacto-grid { grid-template-columns: 1fr; }
  .mp-footer-inner { grid-template-columns: 1fr; }
  .mp-nav-list { display: none; }
  .mp-stats-inner { flex-direction: column; gap: 12px; }
  .mp-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .mp-service-features { grid-template-columns: 1fr; }
  .mp-portfolio-grid { grid-template-columns: 1fr; }
  .mp-tarifas-grid { grid-template-columns: 1fr; }
  .mp-team-grid { grid-template-columns: 1fr; }
  .mp-page-hero h1 { font-size: 28px; }
  .mp-section-title { font-size: 26px; }
}

