/* Base Styles for WebAdmin2 template */
:root {
  --font-primary: 'Montserrat', Arial, sans-serif;
  --font-secondary: 'Poppins', Arial, sans-serif;
  --color-primary: #27c1a8;
  --color-primary-dark: #19947f;
  --color-secondary: #24324a;
  --color-accent: #55b1ff;
  --color-text: #4c4f5a;
  --color-muted: #787b87;
  --color-divider: #eaeef3;
  --color-background: #f7f9fc;
  --color-warning: #f5a623;
  --shadow-soft: 0 16px 32px rgba(25, 148, 127, 0.18);
  --shadow-card: 0 24px 48px rgba(18, 34, 56, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-background);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

.container {
  width: min(1140px, 92%);

  .blog-card figure img {
    height: 260px;
  }

  .blog-card .card-body {
    padding: 1.75rem;
  }

  .post-content {
    padding: 2rem;
  }

  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #1ed3b8, #21c08d);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-outline {
  background: #fff;
  border: 1px solid var(--color-divider);
  color: var(--color-secondary);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(39, 193, 168, 0.12);
  color: var(--color-primary);
}

.badge-info {
  background: rgba(85, 177, 255, 0.12);
  color: var(--color-accent);
}

header.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(28, 38, 53, 0.06);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 950;
}

.menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.topbar {
  background: #101828;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem 0;
  text-align: center;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 2.5rem;
  padding: 1.25rem 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-nav {
  display: flex;
  gap: 1.75rem;
  font-weight: 500;
}

.navbar-nav a {
  position: relative;
  color: var(--color-secondary);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--color-primary);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--color-primary);
}

.navbar-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--color-divider);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-secondary);
  box-shadow: 0 12px 24px rgba(18, 34, 56, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-toggle:focus-visible {
  outline: 3px solid rgba(33, 192, 141, 0.35);
  outline-offset: 3px;
}

.navbar-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(18, 34, 56, 0.16);
}

.navbar-toggle .hamburger-icon {
  position: relative;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, background 0.25s ease;
}

.navbar-toggle .hamburger-icon::before,
.navbar-toggle .hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggle .hamburger-icon::before {
  transform: translateY(-6px);
}

.navbar-toggle .hamburger-icon::after {
  transform: translateY(6px);
}

.navbar-toggle.is-active .hamburger-icon {
  background: transparent;
}

.navbar-toggle.is-active .hamburger-icon::before {
  transform: rotate(45deg);
}

.navbar-toggle.is-active .hamburger-icon::after {
  transform: rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.menu-open,
body.drawer-open {
  overflow: hidden;
}

.navbar .logo {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.15rem;
}

.hero-banner {
  position: relative;
  color: #fff;
  background: linear-gradient(110deg, rgba(24, 188, 166, 0.92), rgba(29, 96, 204, 0.88)), url('../productos/hero-banner.svg') center/cover;
  padding: 6rem 0;
  text-align: center;
}

.hero-banner .breadcrumb {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.main-content {
  padding: 4rem 0 5rem;
}

.product-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.product-gallery {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 120px;
}

.product-thumb-strip {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.product-thumb-strip img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-thumb-strip img:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.product-summary {
  padding: 0 0 1rem;
}

.product-summary > * {
  margin-bottom: 1.5rem;
}

.product-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.product-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.price-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-row small {
  color: var(--color-muted);
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: rgba(9, 17, 34, 0.08);
  margin: 1.5rem 0;
}

.benefit-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
  display: grid;
  gap: 0.6rem;
}

.quantity-group {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--color-divider);
  background: #fff;
  padding: 0.4rem;
  gap: 0.5rem;
}

.quantity-group button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: var(--color-background);
  font-weight: 600;
  cursor: pointer;
}

.quantity-group input {
  width: 40px;
  border: none;
  text-align: center;
  font-weight: 600;
  background: transparent;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.purchase-actions .btn {
  flex: 1;
  min-width: 220px;
}

.social-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-actions a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-divider);
  color: var(--color-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-actions a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.info-card strong {
  font-size: 1rem;
  display: block;
  color: var(--color-secondary);
}

.product-attributes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.product-attributes li {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(11, 21, 38, 0.06);
}

.tab-section {
  margin-top: 4rem;
}

.tab-header {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tab-header button {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(36, 50, 74, 0.06);
  color: var(--color-muted);
  font-weight: 600;
  cursor: pointer;
}

.tab-header button.active {
  background: #fff;
  border-color: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: var(--shadow-soft);
}

.tab-content {
  margin-top: 2rem;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 50px rgba(9, 17, 34, 0.08);
}

.related-section {
  margin-top: 4rem;
}

.product-carousel {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 38px rgba(12, 25, 44, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.product-card .rating {
  color: var(--color-warning);
  font-weight: 600;
}

.shop-section {
  padding: 4rem 0 5rem;
}

.shop-toolbar {
  background: #fff;
  border-radius: 28px;
  padding: 1.75rem 2rem;
  box-shadow: 0 32px 64px rgba(13, 28, 49, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: -3.5rem;
  position: relative;
  z-index: 1;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tabs button {
  border: 1px solid rgba(9, 17, 34, 0.08);
  background: #f7f9fc;
  color: var(--color-secondary);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tabs button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.shop-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f0f4fa;
  border-radius: 999px;
  padding: 0.35rem;
  gap: 0.4rem;
}

.view-toggle button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.view-toggle button.active {
  background: #fff;
  color: var(--color-secondary);
  box-shadow: 0 10px 20px rgba(13, 28, 49, 0.16);
}

.shop-actions select {
  border: 1px solid rgba(9, 17, 34, 0.09);
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  background: #fff;
  color: var(--color-secondary);
  cursor: pointer;
}

.shop-meta {
  margin: 2.5rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-muted);
}

.shop-meta strong {
  color: var(--color-secondary);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  justify-items: center;
}

.shop-card {
  background: #fff;
  border-radius: 30px;
  padding: 2.5rem 1.75rem;
  box-shadow: 0 30px 60px rgba(13, 28, 49, 0.09);
  display: grid;
  gap: 1.2rem;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: min(100%, 320px);
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px rgba(13, 28, 49, 0.15);
}

.shop-card.active {
  border-color: var(--color-primary);
}

.shop-card img {
  width: 160px;
  margin: 0 auto;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-badge.exclusive {
  background: rgba(40, 219, 202, 0.18);
  color: var(--color-primary);
  border-color: rgba(40, 219, 202, 0.36);
}

.status-badge.sale {
  background: rgba(45, 123, 240, 0.16);
  color: #1f6be2;
  border-color: rgba(45, 123, 240, 0.28);
}

.status-badge.new {
  background: rgba(255, 183, 77, 0.22);
  color: #ff9800;
  border-color: rgba(255, 183, 77, 0.3);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(9, 17, 34, 0.08);
  font-weight: 700;
  color: var(--color-secondary);
}

.shop-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--color-secondary);
}

.shop-card .meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.shop-card .btn {
  align-self: center;
}

.shop-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.shop-pagination a,
.shop-pagination span.page-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(9, 17, 34, 0.1);
  background: #fff;
  color: var(--color-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shop-pagination a {
  cursor: pointer;
}

.shop-pagination a:hover {
  border-color: var(--color-primary);
}

.shop-pagination .active {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff;
}

.shop-pagination .disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-badges article {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 20px 36px rgba(11, 23, 41, 0.08);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-badges i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(40, 219, 202, 0.18);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-badges p {
  margin: 0;
  color: var(--color-muted);
}

.share-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.share-links {
  display: flex;
  gap: 0.75rem;
}

.share-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  background: #fff;
  border: 1px solid rgba(9, 17, 34, 0.1);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.share-links a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.blog-section {
  padding: 4rem 0 5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}

.blog-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 32px 64px rgba(13, 28, 49, 0.08);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.blog-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.blog-card figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.blog-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 17, 34, 0.45), transparent 55%);
  opacity: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.2s ease;
}

.blog-card .card-overlay span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: 1.3rem;
}

.blog-card:hover .card-overlay {
  opacity: 1;
}

.blog-card .card-body {
  padding: 2.25rem 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.post-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-muted);
  align-items: center;
}

.post-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.post-meta strong {
  color: var(--color-secondary);
}

.blog-card p {
  color: var(--color-muted);
  margin: 0;
}

.blog-card .btn {
  justify-self: start;
}

.blog-sidebar {
  display: grid;
  gap: 2rem;
}

.blog-widget {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(11, 23, 41, 0.08);
  padding: 1.75rem;
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--color-secondary);
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-form input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(9, 17, 34, 0.12);
  padding: 0.65rem 1.1rem;
}

.search-form button {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(9, 17, 34, 0.06);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}

.tag-cloud a:hover {
  background: rgba(30, 211, 184, 0.18);
  color: var(--color-primary);
}

.ad-card img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.blog-pagination button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(9, 17, 34, 0.1);
  background: #fff;
  color: var(--color-secondary);
  font-weight: 600;
  cursor: pointer;
}

.blog-pagination button.active {
  background: var(--color-primary);
  border-color: transparent;
  color: #fff;
}

.blog-pagination button:hover {
  border-color: var(--color-primary);
}

.post-content {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 28px 58px rgba(11, 23, 41, 0.08);
  padding: 2.75rem;
  display: grid;
  gap: 1.75rem;
}

.post-content img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(9, 17, 34, 0.12);
}

.post-content h2,
.post-content h3 {
  color: var(--color-secondary);
}

.post-content p {
  color: var(--color-muted);
  line-height: 1.75;
}

.post-content blockquote {
  margin: 0;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--color-primary);
  background: rgba(30, 211, 184, 0.1);
  border-radius: 18px;
  color: var(--color-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.post-tags a {
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(9, 17, 34, 0.06);
  color: var(--color-secondary);
  font-weight: 600;
}

.post-tags a:hover {
  background: rgba(30, 211, 184, 0.2);
  color: var(--color-primary);
}

.post-share {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.post-nav a {
  display: grid;
  gap: 0.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 34px rgba(11, 23, 41, 0.08);
  color: var(--color-secondary);
}

.post-nav span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.related-posts {
  margin-top: 4rem;
}

.comment-area {
  margin-top: 3rem;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 48px rgba(11, 23, 41, 0.08);
}

.comment-area h3 {
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form textarea {
  min-height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(9, 17, 34, 0.12);
  padding: 1rem 1.25rem;
  resize: vertical;
}

.comment-form input[type="text"],
.comment-form input[type="email"] {
  border-radius: 999px;
  border: 1px solid rgba(9, 17, 34, 0.12);
  padding: 0.65rem 1.2rem;
}

.blog-feed {
  display: grid;
  gap: 2.5rem;
}

.widget-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 1150;
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, #1ed3b8, #21c08d);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(18, 34, 56, 0.26);
  cursor: pointer;
}

.widget-toggle i {
  font-size: 1.1rem;
}

.widget-toggle.is-active {
  box-shadow: 0 24px 52px rgba(18, 34, 56, 0.32);
}

.widget-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 34, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

.widget-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.widget-drawer {
  position: static;
  width: 100%;
}

.widget-drawer .blog-sidebar {
  display: grid;
  gap: 2rem;
}

.widget-drawer .blog-widget {
  width: 100%;
}

.comment-form .form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  margin-top: 5rem;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 3rem;
}

.footer .footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.3fr repeat(3, minmax(180px, 1fr));
}

.footer h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer a {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.social-list {
  display: flex;
  gap: 0.75rem;
}

.social-list a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .post-content,
  .comment-area {
    padding: 2.25rem;
  }

  .widget-toggle {
    display: inline-flex;
  }

  .widget-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 360px);
    background: #fff;
    box-shadow: -24px 0 48px rgba(9, 17, 34, 0.25);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.3s ease;
    z-index: 1155;
  }

  .widget-drawer.is-open {
    transform: translateX(0);
  }

  .widget-drawer .blog-sidebar {
    display: grid;
    gap: 1.75rem;
  }

  .widget-drawer .blog-widget {
    width: auto;
  }
}

@media (max-width: 640px) {
  .blog-section {
    padding: 3rem 0 4rem;
  }

  .blog-card {
    margin-bottom: 2rem;
  }

  .blog-card figure img {
    height: 220px;
  }

  .blog-card .card-body {
    padding: 1.75rem;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }

  .blog-pagination {
    gap: 0.5rem;
  }

  .blog-pagination button {
    width: 38px;
    height: 38px;
  }

  .post-content {
    padding: 2rem 1.5rem;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .post-meta img {
    margin-bottom: 0.25rem;
  }

  .post-meta span {
    margin-left: 0 !important;
  }

  .post-share {
    align-items: flex-start;
  }

  .share-links {
    width: 100%;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .comment-area {
    padding: 2rem 1.5rem;
  }

  .comment-form .form-row {
    grid-template-columns: 1fr;
  }
}

.cookies-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 20px 38px rgba(11, 21, 38, 0.12);
  font-size: 0.85rem;
}

.cookies-bar button {
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.contact-hero {
  background: linear-gradient(120deg, rgba(30, 211, 184, 0.88), rgba(35, 120, 240, 0.88)), url('../contacto/contact-hero.svg') center/cover;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.contact-section {
  padding: 4rem 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.contact-info-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 26px 52px rgba(13, 28, 49, 0.1);
  display: grid;
  gap: 1rem;
}

.contact-info-card span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 211, 184, 0.16);
  color: var(--color-primary);
  font-size: 1.35rem;
}

.contact-info-card h3 {
  margin: 0;
  color: var(--color-secondary);
}

.contact-info-card p {
  margin: 0;
  color: var(--color-muted);
}

.contact-info-card a {
  font-weight: 600;
  color: var(--color-secondary);
}

.contact-info-card a:hover {
  color: var(--color-primary);
}

.contact-form-section {
  padding: 4.5rem 0;
}

.contact-form-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: stretch;
  justify-items: stretch;
  background: linear-gradient(120deg, rgba(249, 251, 255, 0.92), rgba(233, 245, 255, 0.92));
  border-radius: 36px;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../contacto/contact-form-bg.svg') center/cover;
  opacity: 0.4;
  pointer-events: none;
}

.contact-form-intro,
.contact-form-panel {
  position: relative;
  z-index: 1;
}

.contact-form-intro {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  justify-items: flex-start;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(120, 150, 190, 0.18);
  box-shadow: 0 18px 40px rgba(15, 39, 74, 0.12);
}

.contact-form-intro h2 {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(1.9rem, 3vw, 2.3rem);
}

.contact-form-intro p {
  margin: 0;
  color: var(--color-muted);
}

.contact-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--color-secondary);
}

.contact-highlights i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.contact-form-info {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.25rem);
}

.contact-form-panel {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 28px 58px rgba(13, 28, 49, 0.12);
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.contact-support-grid .support-card {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 40px rgba(15, 39, 74, 0.08);
}

.contact-form-panel form {
  display: grid;
  gap: 1.5rem;
}

.contact-form-panel label {
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--color-divider);
  padding: 0.9rem 1.1rem;
  padding-right: 2.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f9fbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-panel textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-panel select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-secondary) 50%),
    linear-gradient(135deg, var(--color-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 5px), calc(100% - 12px) calc(50% - 5px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(30, 211, 184, 0.16);
  outline: none;
}

.contact-form-panel .form-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.checkbox-field {
  display: inline-flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.checkbox-field input {
  margin-top: 0.25rem;
}

.contact-support {
  padding: 4rem 0 1rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.support-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 24px 48px rgba(11, 23, 41, 0.1);
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.support-card span {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(45, 123, 240, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f6be2;
  font-size: 1.3rem;
}

.support-card h3 {
  margin: 0;
  color: var(--color-secondary);
}

.support-card p {
  margin: 0;
  color: var(--color-muted);
}

.contact-faq {
  padding: 4rem 0;
  background: linear-gradient(120deg, rgba(30, 211, 184, 0.08), rgba(45, 123, 240, 0.08));
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.75rem;
  box-shadow: 0 20px 36px rgba(11, 23, 41, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-secondary);
}

.faq-list p {
  margin-top: 0.75rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.map-banner {
  margin-top: 4rem;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 64px rgba(12, 25, 44, 0.16);
}

.map-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.35rem;
  box-shadow: 0 16px 32px rgba(24, 41, 63, 0.18);
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 600;
}

.map-overlay span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5fdff 40%, rgba(30, 211, 184, 0.18));
  padding: 6rem 0 4rem;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(36, 204, 172, 0.28), transparent 70%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content span.badge {
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4vw, 3.15rem);
  color: var(--color-secondary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  padding: 1.5rem;
}

.hero-media img {
  border-radius: 40px 40px 0 0;
  box-shadow: 0 40px 80px rgba(13, 28, 49, 0.18);
}

.service-section {
  padding: 4rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 30px 60px rgba(13, 28, 49, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(30, 211, 184, 0.24);
}

.service-card.active {
  background: var(--color-primary);
  color: #fff;
}

.services-intro {
  padding: 4rem 0;
}

.services-process {
  padding: 5rem 0;
  color: #fff;
  background: linear-gradient(120deg, rgba(9, 17, 34, 0.92), rgba(15, 36, 68, 0.88)), url('../servicios/process-background.svg') center/cover;
}

.process-flow {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%);
  max-width: 960px;
  margin: 0 auto;
  pointer-events: none;
}

.process-node {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  width: 240px;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 48px rgba(9, 17, 34, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.node-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(30, 211, 184, 0.2);
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.services-highlight {
  padding: 4rem 0;
}

.highlight-banner {
  background: url('../servicios/services-highlight.svg') center/cover, linear-gradient(120deg, rgba(30, 211, 184, 0.88), rgba(44, 128, 244, 0.9));
  border-radius: 56px;
  padding: 3rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 32px 72px rgba(13, 28, 49, 0.2);
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.pricing-section {
  padding: 4rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: #fff;
  border-radius: 26px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 24px 48px rgba(13, 28, 49, 0.1);
  border: 2px solid transparent;
  display: grid;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card.active {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(30, 211, 184, 0.22);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--color-muted);
}

.pricing-card .btn {
  margin-top: 0.5rem;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.split-section .media-card img {
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(13, 28, 49, 0.12);
}

.process-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, rgba(29, 211, 184, 0.08), rgba(30, 211, 184, 0.02));
}

.process-steps {
  display: grid;
  gap: 2.5rem;
  font-size: 1.05rem;
}

.process-steps article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.process-steps .step-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.projects-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
  color: var(--color-secondary);
}

.section-header p {
  color: var(--color-muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(13, 28, 49, 0.1);
  position: relative;
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 25, 47, 0.55));
}

.project-card span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: #fff;
  font-weight: 600;
  z-index: 1;
}

.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #edf9f6 100%);
}

.testimonial-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(13, 28, 49, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.18;
  position: absolute;
  top: 20px;
  left: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.brand-strip {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 0.65;
}

.cta-section {
  padding: 4rem 0 5rem;
}

.cta-banner {
  background: linear-gradient(130deg, rgba(30, 211, 184, 0.88), rgba(40, 120, 240, 0.9));
  border-radius: 999px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #fff;
  box-shadow: 0 30px 60px rgba(9, 17, 34, 0.22);
}

.cta-banner h3 {
  margin: 0;
  font-size: 1.8rem;
}

.cta-banner p {
  margin: 0;
  opacity: 0.85;
}

.cta-banner .btn {
  background: #fff;
  color: var(--color-secondary);
  box-shadow: none;
}

@media (max-width: 960px) {
  .navbar {
    gap: 1rem;
  }

  .navbar-toggle {
    display: inline-flex;
  }

  .navbar-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(28, 38, 53, 0.08);
    border-radius: 24px;
    box-shadow: 0 28px 58px rgba(13, 28, 49, 0.18);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    z-index: 1000;
  }

  .site-header.menu-open .navbar-menu {
    display: flex;
  }

  .site-header.menu-open .navbar-toggle i {
    transform: rotate(90deg);
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-nav a {
    width: 100%;
    padding: 0.75rem 0;
  }

  .navbar-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .navbar-actions .btn {
    width: 100%;
  }

  .product-gallery {
    position: static;
  }

  .cta-banner {
    border-radius: 36px;
    text-align: center;
  }

  .project-card img {
    height: 200px;
  }

  .process-flow::before {
    display: none;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .purchase-actions {
    flex-direction: column;
  }

  .shop-actions {
    justify-content: flex-start;
    gap: 1rem;
  }

  .view-toggle {
    width: 100%;
    justify-content: center;
  }

  .shop-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookies-bar {
    flex-direction: column;
    text-align: center;
  }
}
