/*
Theme Name: Mihaidobre Child
Theme URI: https://mihaidobre.es
Description: Tema hijo de GeneratePress para la portada V3 de mihaidobre.es.
Author: Mihai Dobrescu
Author URI: https://mihaidobre.es
Template: generatepress
Version: 1.0.0
Text Domain: mihaidobre-child
*/

:root {
  --md-bg: #ffffff;
  --md-bg-soft: #f5f7f9;
  --md-bg-dark: #0b1220;
  --md-bg-dark-2: #111827;
  --md-text: #0f172a;
  --md-muted: #526071;
  --md-border: #e2e8f0;
  --md-primary: #0f766e;
  --md-primary-dark: #0b5f58;
  --md-accent: #f97316;
  --md-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --md-shadow-md: 0 24px 60px rgba(15, 23, 42, 0.12);
  --md-radius: 8px;
  --md-radius-sm: 6px;
  --md-container: 1200px;
  --md-space-desktop: 80px;
  --md-space-tablet: 64px;
  --md-space-mobile: 56px;
}

.md-front-page {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--md-text);
  background: var(--md-bg);
}

.md-front-page *,
.md-front-page *::before,
.md-front-page *::after {
  box-sizing: border-box;
}

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

@media (max-width: 1024px) {
  .md-container {
    padding: 0 48px;
  }
}

@media (max-width: 768px) {
  .md-container {
    padding: 0 24px;
  }
}

@media (max-width: 430px) {
  .md-container {
    padding: 0 16px;
  }
}


.md-section {
  padding: var(--md-space-desktop) 0;
  width: 100%;
}

.md-section-heading {
  max-width: 1080px;
  margin-bottom: 48px;
}

.md-eyebrow {
  margin: 0 0 18px;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-primary);
}

.md-front-page h1,
.md-front-page h2,
.md-front-page h3 {
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--md-text);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.md-front-page h1 {
  font-size: clamp(1.5rem, 3.3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 635px;
}

.md-front-page h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.35;
}

.md-front-page h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
}

.md-front-page p {
  margin: 0 0 18px;
  color: var(--md-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.md-lead {
  max-width: 680px;
  font-size: 1.18rem;
}

.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 200px;
  padding: 0 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.md-btn:hover {
  transform: translateY(-2px);
}

.md-btn:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 3px;
}

.md-btn-primary {
  background: var(--md-primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.md-btn-primary:hover {
  background: var(--md-primary-dark);
}

.md-btn-secondary {
  background: #ffffff;
  color: var(--md-primary);
  border-color: var(--md-primary);
}

.md-btn-secondary:hover {
  background: #f0fdfa;
}

.md-btn-light {
  background: #ffffff;
  color: var(--md-bg-dark);
}

.md-btn-light:hover {
  background: #f8fafc;
}

.md-btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

.md-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.md-hero {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(135deg, #0b1220 0%, #12324a 48%, #0f766e 100%);
  color: #ffffff;
  overflow: hidden;
}

.md-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.10), transparent 34%);
  pointer-events: none;
}

.md-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.md-hero-copy {
  max-width: 640px;
}

.md-hero-copy {
  max-width: 640px;
  color: #ffffff;
}

.md-hero-copy .md-lead {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.82);
}

.md-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.md-hero-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
}

.md-hero-visual {
  position: relative;
  min-height: auto;
  width: 100%;
}

.md-hero-visual {
  position: relative;
  min-height: 420px;
  width: 100%;
}

.md-hero-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.md-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.md-hero-card--back {
  width: 72%;
  top: 0;
  right: 4%;
  transform: rotate(8deg);
  z-index: 1;
}

.md-hero-card--mid {
  width: 68%;
  top: 96px;
  right: 18%;
  transform: rotate(-6deg);
  z-index: 2;
}

.md-hero-card--front {
  width: 64%;
  top: 192px;
  right: 30%;
  transform: rotate(4deg);
  z-index: 3;
}

.md-storefront {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  box-shadow: var(--md-shadow-md);
  overflow: hidden;
}

.md-storefront-top {
  height: 58px;
  display: grid;
  grid-template-columns: 110px 1fr 42px;
  gap: 14px;
  align-items: center;
  padding: 0 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--md-border);
}

.md-storefront-logo {
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--md-primary), #14b8a6);
}

.md-storefront-nav {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.md-storefront-cart {
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
}

.md-storefront-hero {
  height: 132px;
  margin: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.20), rgba(249, 115, 22, 0.12)),
    #f8fafc;
  position: relative;
  overflow: hidden;
}

.md-storefront-hero::before {
  content: "";
  position: absolute;
  inset: 22px 24px auto 24px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.md-storefront-hero::after {
  content: "";
  position: absolute;
  inset: 46px 24px auto 24px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  width: 62%;
}

.md-storefront-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 18px 18px;
}

.md-storefront-card {
  border: 1px solid var(--md-border);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
}

.md-storefront-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.md-storefront-line {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  margin-bottom: 6px;
}

.md-storefront-line.short {
  width: 64%;
}

.md-storefront-footer {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 14px;
  padding: 0 18px 18px;
}

.md-storefront-footer span {
  height: 42px;
  border-radius: 8px;
  background: #f1f5f9;
}

.md-storefront-footer span:last-child {
  background: var(--md-primary);
}

.md-floating-panel {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--md-shadow-sm);
  backdrop-filter: blur(10px);
  max-width: 210px;
}

.md-floating-panel strong {
  display: block;
  font-size: 0.9rem;
  color: var(--md-text);
}

.md-floating-panel small {
  display: block;
  font-size: 0.76rem;
  color: var(--md-muted);
}

.md-floating-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0fdfa;
  color: var(--md-primary);
  font-weight: 800;
}

.md-floating-top {
  right: -10px;
  top: 26px;
}

.md-floating-bottom {
  left: -18px;
  bottom: 40px;
}

.md-dropship {
  background: linear-gradient(135deg, var(--md-bg-dark) 0%, #12324a 100%);
  color: #ffffff;
}

.md-dropship-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.md-dropship .md-eyebrow {
  color: #5eead4;
}

.md-dropship h2,
.md-dropship p {
  color: #ffffff;
}

.md-dropship p {
  opacity: 0.82;
}

.md-dropship-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 36px;
  display: grid;
  gap: 14px;
}

.md-dropship-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.md-dropship-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 0 5px rgba(94, 234, 212, 0.16);
}

.md-dropship-panel {
  display: grid;
  gap: 18px;
}

.md-dropship-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.md-dropship-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.md-dropship-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.md-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.md-service-card {
  padding: 34px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--md-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.md-service-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: var(--md-shadow-md);
}

.md-service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0fdfa;
  color: var(--md-primary);
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
}

.md-service-card h3 {
  font-size: 1.2rem;
}

.md-service-card p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.md-service-card a {
  color: var(--md-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.md-service-card a::after {
  content: " →";
  transition: transform 0.2s ease;
  display: inline-block;
}

.md-service-card a:hover::after {
  transform: translateX(4px);
}

.md-work {
  background: var(--md-bg-soft);
}

.md-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.md-work-step {
  padding: 32px 26px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--md-border);
  box-shadow: var(--md-shadow-sm);
}

.md-step-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--md-bg-dark);
  color: #ffffff;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  margin-bottom: 20px;
}

.md-work-step h3 {
  font-size: 1.1rem;
}

.md-work-step p {
  font-size: 0.98rem;
  margin-bottom: 0;
}

.md-about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.md-about-card {
  padding: 34px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  box-shadow: var(--md-shadow-sm);
}

.md-about-card h3 {
  margin-bottom: 16px;
}

.md-about-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--md-muted);
}

.md-about-card li {
  margin-bottom: 10px;
}

.md-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.md-advantage-card {
  padding: 32px 28px;
  border: 1px solid var(--md-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--md-shadow-sm);
}

.md-advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.md-advantage-card p {
  font-size: 0.98rem;
  margin-bottom: 0;
}

.md-faq-list {
  display: grid;
  gap: 14px;
  max-width: 960px;
}

.md-faq-list details {
  border: 1px solid var(--md-border);
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
}

.md-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--md-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.md-faq-list summary::-webkit-details-marker {
  display: none;
}

.md-faq-list summary::after {
  content: "+";
  color: var(--md-primary);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.md-faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.md-faq-list details p {
  padding: 0 24px 20px;
  margin: 0;
}

.md-final-cta {
  background: linear-gradient(135deg, var(--md-bg-dark) 0%, #115e59 100%);
  color: #ffffff;
  padding: 100px 0;
}

.md-final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.md-final-cta .md-eyebrow {
  color: #5eead4;
}

.md-final-cta h2,
.md-final-cta p {
  color: #ffffff;
}

.md-final-cta p {
  opacity: 0.82;
}

.md-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive: tablet */
@media (max-width: 1024px) {
  .md-hero-grid,
  .md-dropship-grid,
  .md-about-grid {
    grid-template-columns: 1fr;
  }

  .md-hero-visual {
    min-height: 440px;
    max-width: 680px;
    margin: 0 auto;
  }

  .md-storefront {
    margin: 0 auto;
  }

  .md-services-grid {
    grid-template-columns: 1fr;
  }

  .md-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md-final-cta-inner {
    grid-template-columns: 1fr;
  }
}

/* Responsive: mobile */
@media (max-width: 768px) {
  .md-section {
    padding: 48px 0;
  }

  .md-hero {
    padding: 40px 0 56px;
  }


  .md-hero-actions,
  .md-final-actions {
    flex-direction: column;
  }

  .md-hero-actions .md-btn,
  .md-final-actions .md-btn {
    width: 100%;
  }

  .md-storefront {
    max-width: 100%;
  }

  .md-storefront-top {
    grid-template-columns: 90px 1fr 38px;
    padding: 0 16px;
  }

  .md-storefront-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 12px 12px;
  }

  .md-storefront-footer {
    grid-template-columns: 1fr 88px;
    padding: 0 12px 12px;
  }

  .md-floating-panel {
    display: none;
  }

  .md-work-grid {
    grid-template-columns: 1fr;
  }

  .md-advantages-grid {
    grid-template-columns: 1fr;
  }

  .md-final-cta {
    padding: 80px 0;
  }

  .home .site-header .inside-header, .front-page .site-header .inside-header {
    min-height: 56px;
  }
}

@media (max-width: 480px) {
  .md-storefront-grid {
    grid-template-columns: 1fr;
  }

  .md-storefront-top {
    grid-template-columns: 80px 1fr 34px;
  }
}

/* GeneratePress header/footer only on home */
.home .site-header, .front-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.home .site-header .inside-header, .front-page .site-header .inside-header {
  min-height: 76px;
}

.home .main-navigation, .front-page .main-navigation a,
.home .menu-toggle, .front-page .menu-toggle {
  font-weight: 600;
}

.home .site-footer, .front-page .site-footer {
  background: #0b1220;
  color: #cbd5e1;
}

.home .site-footer, .front-page .site-footer a {
  color: #94a3b8;
}

.home .site-footer, .front-page .site-footer a:hover {
  color: #ffffff;
}

.md-announcement {
  background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 20px 0;
  text-align: center;
}

.md-announcement a {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 8px;
}

/* Correccion de regresiones: cabecera y navegacion alineadas con el hero */
.home .site-header .inside-header, .front-page .site-header .inside-header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 24px;
  gap: 24px;
}

.home .site-branding, .front-page .site-branding a,
.home .site-title, .front-page .site-title a {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}

.home .main-navigation, .front-page .main-navigation {
  margin-left: auto;
}

.home .main-navigation, .front-page .main-navigation ul {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .main-navigation, .front-page .main-navigation a {
  padding: 10px 14px;
  font-weight: 600;
  color: #3d3d3d;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.home .main-navigation, .front-page .main-navigation a:hover,
.home .main-navigation .current-menu-item, .front-page .main-navigation .current-menu-item > a,
.home .main-navigation .current-menu-parent, .front-page .main-navigation .current-menu-parent > a {
  color: #0f766e;
  background-color: #f0fdfa;
}

.home .menu-toggle, .front-page .menu-toggle {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 600;
  color: #3d3d3d;
  background: #ffffff;
}

/* Correccion estructural: anular contenedor limitado de GeneratePress solo en portada */
.home #page,
.front-page #page,
.home .grid-container,
.front-page .grid-container {
  max-width: 100%;
}

.md-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.md-media-copy h2 {
  max-width: 100%;
}

.md-media-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--md-shadow-md);
  border: 1px solid var(--md-border);
}

.md-bg-soft {
  background: var(--md-bg-soft);
}

@media (max-width: 1024px) {
  .md-media-grid,
  .md-media-grid--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .md-storefront {
    max-width: 100%;
  }

  .md-hero-visual {
    min-height: auto;
  }

  .md-storefront-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 14px 14px;
  }

  .md-storefront-top {
    grid-template-columns: 90px 1fr 38px;
    padding: 0 16px;
  }

  .md-storefront-footer {
    grid-template-columns: 1fr 96px;
    padding: 0 14px 14px;
  }

  .md-floating-panel {
    display: none;
  }
}

@media (max-width: 480px) {
  .md-storefront-grid {
    grid-template-columns: 1fr;
  }
}

/* Accesibilidad y movimiento */
.md-front-page a:focus-visible,
.md-front-page button:focus-visible,
.md-front-page summary:focus-visible,
.md-front-page .md-btn:focus-visible {
  outline: 3px solid var(--md-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .md-front-page *,
  .md-front-page *::before,
  .md-front-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Listas sobre fondos claros */
.md-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 10px;
}

.md-feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--md-text);
  font-weight: 500;
}

.md-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--md-primary);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

/* Top bar compacta en movil */
@media (max-width: 768px) {
  .md-announcement {
    font-size: 0.85rem;
    padding: 28px 0;
  }

  .md-announcement .md-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    line-height: 1.3;
  }

  .md-announcement a {
    margin-left: 0;
  }
}

/* Cabecera compacta en movil */
@media (max-width: 768px) {
  .home .site-header .inside-header, .front-page .site-header .inside-header {
    min-height: 50px;
    padding: 10px 16px;
    gap: 12px;
  }

  .home .site-branding, .front-page .site-branding a,
  .home .site-title, .front-page .site-title a {
    font-size: 1.05rem;
  }

  .home .menu-toggle, .front-page .menu-toggle {
    padding: 8px 12px;
    min-height: 40px;
  }
}

/* Mockup compacto en movil */
@media (max-width: 768px) {
  .md-storefront-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 12px 12px;
  }

  .md-storefront-card {
    padding: 6px;
  }

  .md-storefront-image {
    margin-bottom: 4px;
  }

  .md-storefront-line {
    height: 5px;
    margin-bottom: 3px;
  }

  .md-storefront-top {
    height: 44px;
    padding: 0 12px;
  }

  .md-storefront-hero {
    height: 84px;
    margin: 10px;
  }
}

.md-hero h1,
.md-hero h2 {
  color: #ffffff;
}

.md-eyebrow--light {
  color: #5eead4;
}

.md-btn-secondary--light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.45);
}

.md-btn-secondary--light:hover {
  background: rgba(255,255,255,0.08);
}

/* Sistema tipográfico reutilizable */
:root {
  --md-font-display: "Manrope", "Inter", system-ui, sans-serif;
  --md-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-type-display: clamp(2rem, 4vw, 3.25rem);
  --md-type-h1: clamp(1.75rem, 3vw, 2.25rem);
  --md-type-h2: clamp(1.5rem, 2.2vw, 1.875rem);
  --md-type-h3: 1.25rem;
  --md-type-h4: 1.125rem;
  --md-type-h5: 1rem;
  --md-type-h6: 0.875rem;
  --md-type-body: 1rem;
  --md-type-small: 0.875rem;
  --md-leading-tight: 1.15;
  --md-leading-normal: 1.6;
  --md-leading-relaxed: 1.75;
}

.md-type-display {
  font-family: var(--md-font-display);
  font-size: var(--md-type-display);
  line-height: var(--md-leading-tight);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.md-type-h1,
.md-type-h2,
.md-type-h3,
.md-type-h4,
.md-type-h5,
.md-type-h6 {
  font-family: var(--md-font-display);
  line-height: var(--md-leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.md-type-h1 { font-size: var(--md-type-h1); font-weight: 800; }
.md-type-h2 { font-size: var(--md-type-h2); font-weight: 700; }
.md-type-h3 { font-size: var(--md-type-h3); font-weight: 700; }
.md-type-h4 { font-size: var(--md-type-h4); font-weight: 600; }
.md-type-h5 { font-size: var(--md-type-h5); font-weight: 600; }
.md-type-h6 { font-size: var(--md-type-h6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.md-type-body {
  font-family: var(--md-font-body);
  font-size: var(--md-type-body);
  line-height: var(--md-leading-normal);
}

.md-type-small {
  font-family: var(--md-font-body);
  font-size: var(--md-type-small);
  line-height: var(--md-leading-normal);
}

.md-type-lead {
  font-family: var(--md-font-body);
  font-size: 1.125rem;
  line-height: var(--md-leading-relaxed);
}

/* Sistema tipográfico global */
:root {
  --md-font-display: "Manrope", "Inter", system-ui, sans-serif;
  --md-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --md-type-display: clamp(2rem, 4vw, 3.25rem);
  --md-type-h1: clamp(1.75rem, 3vw, 2.25rem);
  --md-type-h2: clamp(1.5rem, 2.2vw, 1.875rem);
  --md-type-h3: 1.25rem;
  --md-type-h4: 1.125rem;
  --md-type-h5: 1rem;
  --md-type-h6: 0.875rem;
  --md-type-body: 1rem;
  --md-type-small: 0.875rem;
  --md-leading-tight: 1.15;
  --md-leading-normal: 1.6;
  --md-leading-relaxed: 1.75;
}

.md-type-display,
.md-type-h1,
.md-type-h2,
.md-type-h3,
.md-type-h4,
.md-type-h5,
.md-type-h6 {
  font-family: var(--md-font-display);
  line-height: var(--md-leading-tight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--md-text);
}

.md-type-display { font-size: var(--md-type-display); font-weight: 800; }
.md-type-h1 { font-size: var(--md-type-h1); font-weight: 800; }
.md-type-h2 { font-size: var(--md-type-h2); font-weight: 700; }
.md-type-h3 { font-size: var(--md-type-h3); font-weight: 700; }
.md-type-h4 { font-size: var(--md-type-h4); font-weight: 600; }
.md-type-h5 { font-size: var(--md-type-h5); font-weight: 600; }
.md-type-h6 { font-size: var(--md-type-h6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

.md-type-body {
  font-family: var(--md-font-body);
  font-size: var(--md-type-body);
  line-height: var(--md-leading-normal);
  color: var(--md-muted);
}

.md-type-lead {
  font-family: var(--md-font-body);
  font-size: 1.125rem;
  line-height: var(--md-leading-relaxed);
  color: var(--md-muted);
}

.md-type-small {
  font-family: var(--md-font-body);
  font-size: var(--md-type-small);
  line-height: var(--md-leading-normal);
  color: var(--md-muted);
}

/* Portada sin sidebar y ancho completo */
.front-page .site,
.front-page .site-content,
.front-page .content-area,
.front-page .site-main,
.front-page #primary,
.front-page #content,
.front-page #page {
  width: 100%;
  max-width: 100%;
  float: none;
}

.front-page .site-content {
  display: block;
}

.front-page .site-main,
.front-page .content-area {
  margin: 0;
  padding: 0;
}

.front-page .grid-container {
  max-width: 100%;
  width: 100%;
}
