/*
Theme Name: BRICODIPAGINA
Theme URI: https://bricody.com
Author: BRICODY
Description: Tema WordPress para BRICODY
Version: 4.8
Text Domain: bricodipagina
*/

:root {
  --primary-blue: #2c5aa0;
  --dark-blue: #1e3d6f;
  --light-blue: #eef4ff;
  --gray: #667085;
  --light-gray: #f7f8fb;
  --border: #e7ecf3;
  --white: #ffffff;
  --accent: #ff6b35;
  --text: #17212f;
  --muted: #5e6b7b;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 30, 54, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.topbar { background: var(--primary-blue); color: rgba(255,255,255,.95); }
.topbar-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.topbar-contact a, .topbar-contact span { color: rgba(255,255,255,.95); }
.topbar-cta {
  display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px;
  background: var(--accent); color: #fff; border-radius: 12px; font-weight: 700;
}
.navbar-wrap { border-bottom: 1px solid var(--border); }
.navbar { min-height: 84px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; min-width: 260px; }
.logo-img { width: 52px; height: 52px; object-fit: cover; border-radius: 14px; }
.brand { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--primary-blue); line-height: 1; }
.logo-text .tagline { font-size: 12px; color: var(--muted); margin-top: 4px; }
.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-links, .mobile-nav-links, .sub-menu, .footer-links, .footer-contact, .hero-points, .check-list { list-style: none; padding: 0; margin: 0; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 12px; font-weight: 600;
}
.nav-links > li > a:hover, .nav-links > li:hover > a { background: var(--light-blue); color: var(--primary-blue); }
.menu-caret { font-size: 12px; opacity: .7; }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s ease; z-index: 10;
}
.menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--text); }
.sub-menu a:hover { background: var(--light-blue); color: var(--primary-blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.header-icon-link, .cart-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 14px; border-radius: 12px; background: #fff;
}
.cart-link { border: 1px solid var(--border); }
.cart-count {
  min-width: 24px; height: 24px; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}

.section { padding: 88px 0; }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; color: var(--primary-blue); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-bottom: 14px; }
.section-heading h2, .inner-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.08; margin: 0 0 14px; }
.section-heading p, .inner-hero p, .hero-copy p, .page-content-prose { color: var(--muted); font-size: 17px; line-height: 1.75; }

.hero-home { padding: 80px 0 64px; background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.hero-copy h1 { font-family: 'Playfair Display', serif; font-size: clamp(42px, 6vw, 72px); line-height: 1; margin: 0 0 18px; }
.hero-copy h1 em, .section-heading h2 em { color: var(--primary-blue); font-style: normal; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; border-radius: 14px; font-weight: 700;
}
.btn-primary { background: var(--primary-blue); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
.hero-points { display: grid; gap: 10px; color: var(--muted); }
.hero-points li::before, .check-list li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 800; }
.hero-card { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); min-height: 520px; background: #eef2f7; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-badge { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.95); padding: 12px 16px; border-radius: 999px; font-weight: 700; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.category-card {
  min-height: 180px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #ffffff 0%, #edf4ff 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between;
}
.category-label { font-size: 24px; font-weight: 800; max-width: 220px; }
.category-link { color: var(--primary-blue); font-weight: 700; }
.two-col, .about-grid, .content-grid-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.service-list { display: grid; gap: 16px; }
.service-item, .trust-card, .contact-card, .info-panel {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow);
}
.service-item h3, .trust-card h3, .info-panel h3, .contact-card strong { margin: 0 0 10px; }
.info-panel { background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.panel-kicker { color: var(--primary-blue); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.text-link { color: var(--primary-blue); font-weight: 700; }
.about-media img { border-radius: 28px; box-shadow: var(--shadow); }

.about-page-grid { align-items: start; }
.about-copy { padding-top: 8px; }
.about-media { align-self: start; }
.about-media img { width: 100%; min-height: 520px; object-fit: cover; }
body.page-template-default.page .inner-hero + .section { padding-top: 40px; }
body.page-template-default.page.page-id-0 .inner-hero + .section { padding-top: 40px; }
body.page-slug-acerca-de-nosotros .inner-hero + .section { padding-top: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.visit-box {
  background: linear-gradient(135deg, #1f4b8f 0%, #2c5aa0 100%); color: #fff; border-radius: 30px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.visit-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.visit-box .btn-secondary { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.visit-box .eyebrow { color: rgba(255,255,255,.82); }

.inner-hero { padding: 72px 0 32px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); }
.page-shell { display: grid; gap: 28px; }
.page-content-prose { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.contact-card-list { display: grid; gap: 14px; }
.contact-card { display: grid; gap: 8px; }
.contact-card a { color: var(--primary-blue); font-weight: 700; }

.site-footer { background: #0f1724; color: rgba(255,255,255,.85); margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 56px 0; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 34px; color: #fff; }
.footer-copy { color: rgba(255,255,255,.72); line-height: 1.8; }
.site-footer h3 { color: #fff; margin-top: 0; }
.footer-links, .footer-contact { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); }
.footer-mini { border-top: 1px solid rgba(255,255,255,.08); }
.footer-mini-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.desktop-only { display: inline-flex; }

@media (max-width: 1100px) {
  .hero-grid, .two-col, .about-grid, .content-grid-two, .footer-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar-inner, .navbar, .visit-box, .footer-mini-inner { flex-direction: column; align-items: flex-start; }
  .hero-grid, .two-col, .about-grid, .content-grid-two, .footer-grid, .category-grid, .trust-grid { grid-template-columns: 1fr; }
  .navbar { min-height: 76px; }
  .logo { min-width: 0; }
  .brand { font-size: 24px; }
  .desktop-only { display: none; }
  .section { padding: 64px 0; }
  .hero-home { padding-top: 48px; }
}


/* ===== HOME LEGACY RESTORE (v3) ===== */
body.home .hero{margin-top:0;}
body.home .site-header + .hero{margin-top:0;}
body.home .hero + .product-intro{margin-top:0;}
/* ── HERO CAROUSEL ───────────────────── */
.hero {
  position: relative;
  height: calc(100vh - 116px);
  min-height: 600px;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform .9s cubic-bezier(.77,0,.175,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.07);
  transition: transform 8s linear;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-1 .slide-bg { background-image: url('assets/21.png'); }
.slide-2 .slide-bg { background-image: url('assets/2.jpg'); }
.slide-3 .slide-bg { background-image: url('https://images.pexels.com/photos/11701125/pexels-photo-11701125.jpeg?auto=compress&cs=tinysrgb&w=1920&v=2024'); }
.slide-4 .slide-bg { background-image: url('assets/4.jpg'); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  padding: 0 80px;
}

.slide-inner {
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s .4s ease, transform .8s .4s ease;
}

.slide.active .slide-inner {
  opacity: 1;
  transform: translateY(0);
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: var(--dark-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.slide-badge span {
  width: 6px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.slide-title em {
  font-style: italic;
  font-weight: 400;
}

.slide-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 30px;
}

.slide-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all .3s ease;
  z-index: 10;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 40px; }
.carousel-arrow.next { right: 40px; }

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s ease;
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.slide-counter {
  position: absolute;
  bottom: 40px;
  right: 60px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
}

.slide-counter strong {
  font-size: 24px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  animation: progress 5s linear infinite;
}

@keyframes progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ── PRODUCT INTRO ───────────────────── */
.product-intro {
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
}

.intro-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-desc {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ── PRODUCT CARDS 4.0 ───────────────── */
.product-cards {
  background: #fff;
  padding: 100px 40px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #f8f8f8;
  display: block;
}

.product-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(1);
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: all 0.4s ease;
}

.overlay-content {
  color: #fff;
  width: 100%;
}

.overlay-content span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.overlay-action {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.product-card:hover .overlay-action {
  opacity: 1;
  transform: translateX(5px);
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .cards-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cards-container { grid-template-columns: 1fr; }
  .product-card { height: 350px; }
}

/* ── FEATURES ─────────────────────────── */
/* ── GOOGLE REVIEWS ───────────────────── */
.google-reviews {
  padding: 100px 60px;
  background: #f8fbff;
  border-top: 1px solid rgba(0,0,0,0.03);
}

.reviews-header {
  text-align: center;
  margin-bottom: 70px;
}

.reviews-tag {
  display: inline-block;
  background: #eef4ff;
  color: #2c5aa0;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.reviews-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 800;
  color: #17212f;
  margin: 0;
  line-height: 1.1;
}

/*
.reviews-container {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.reviews-summary {
  flex: 0 0 320px;
  text-align: center;
}

.summary-box {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(16, 30, 54, 0.08);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.4s ease;
}

.summary-box:hover {
  transform: translateY(-8px);
}

.summary-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #17212f;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.summary-stars {
  color: #fbbc05;
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: 4px;
}

.summary-box p {
  color: #5e6b7b;
  font-size: 16px;
  margin-bottom: 25px;
}

.reviews-cta {
  margin-top: 40px;
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 1px solid #f0f3f7;
}

.reviews-cta p {
  color: #5e6b7b;
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1e3d6f;
  border: 1.5px solid #e2e8f0;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
}

.btn-write-review:hover {
  background: #1e3d6f;
  color: #fff;
  border-color: #1e3d6f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 61, 111, 0.15);
}

.btn-write-review img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
/*
.btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #1e3d6f;
  border: 1px solid #e2e8f0;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-write-review:hover {
  background: #fff;
  border-color: #2c5aa0;
  color: #2c5aa0;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.1);
  transform: translateY(-2px);
}
*/

.google-logo-big {
  width: 110px;
  margin: 0 auto;
}

.reviews-grid {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scrollbar-width: none; 
}

.reviews-grid::-webkit-scrollbar {
  display: none; 
}

.review-card {
  flex: 0 0 360px;
  background: #fff;
  padding: 35px;
  border-radius: 26px;
  box-shadow: 0 15px 45px rgba(16, 30, 54, 0.06);
  border: 1px solid rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 65px rgba(16, 30, 54, 0.12);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.user-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.user-meta strong {
  display: block;
  font-size: 17px;
  color: #17212f;
  margin-bottom: 2px;
}

.user-meta span {
  font-size: 13px;
  color: #94a3b8;
}

.google-icon-small img {
  width: 20px;
}

.review-stars {
  color: #fbbc05;
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-check {
  width: 16px;
  height: 16px;
  color: #34a853;
  margin-left: 4px;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: #5e6b7b;
  margin: 0;
}

/* Review Arrows Mockup */
.reviews-grid::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 40px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 1024px) {
  .reviews-container {
    flex-direction: column;
    gap: 40px;
  }
  .reviews-summary {
    flex: 1;
    width: 100%;
    max-width: 400px;
  }
  .review-card {
    flex: 0 0 300px;
  }
}

@media (max-width: 640px) {
  .google-reviews {
    padding: 60px 20px;
  }
  .reviews-header {
    margin-bottom: 40px;
  }
  .review-card {
    flex: 0 0 85%;
    padding: 25px;
  }
}

/* ── VISITA TIENDA ───────────────────── */
/* ── SHOWROOM EXPERIENCE ──────────────── */
.showroom-experience {
  padding: 120px 60px;
  background: #f8fafc;
  overflow: hidden;
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

.showroom-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 30px;
}

.showroom-copy h2 em {
  font-style: italic;
  color: var(--primary-blue);
  opacity: 0.8;
}

.showroom-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 540px;
}

.showroom-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(44,90,160,0.05);
  transition: transform 0.3s ease;
}

.feature-pill:hover {
  transform: translateX(10px);
}

.feature-pill svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-pill strong {
  font-size: 14px;
  color: var(--primary-blue);
  display: block;
}

.feature-pill span {
  font-size: 13px;
  color: var(--muted);
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-blue);
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-location svg {
  width: 18px;
  height: 18px;
}

.btn-location:hover {
  background: var(--dark-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44,90,160,0.2);
}

.showroom-visuals {
  position: relative;
}

.showroom-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  height: 600px;
}

.mosaic-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-item:hover img {
  transform: scale(1.08);
}

.mosaic-item.main {
  grid-row: span 2;
}

.showroom-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--dark-blue);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 5;
}

@media (max-width: 1024px) {
  .showroom-experience {
    padding: 80px 40px;
  }
  .showroom-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .showroom-mosaic {
    height: 450px;
  }
}

/* ── BLOG SECTION ────────────────────── */
.blog-section {
  padding: 100px 60px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.blog-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 25px;
  line-height: 1.2;
}

.blog-left p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 30px;
}

.btn-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}

.btn-blog:hover {
  background: var(--dark-blue);
}

.blog-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  color: var(--text);
  transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-card-img {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  color: white;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.badge-trends { background: #3a86ff; }
.badge-guide { background: #06d6a0; }
.badge-pro { background: #ffbe0b; color: #333; }

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: white;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-date svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.4;
  margin: 0;
  transition: color 0.2s ease;
}

.blog-card:hover h3 {
  color: #3a86ff;
}

.blog-card-body span {
  font-size: 13px;
  color: #9ab5cc;
  font-weight: 600;
  margin-top: auto;
}

/* ── PRODUCTOS GRID ──────────────────── */
.categoria-section {
  margin-bottom: 60px;
}

.categoria-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 30px;
  text-align: center;
}

.categoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.producto-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44,90,160,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(44,90,160,0.12);
}

.producto-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.producto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.producto-card:hover .producto-image img {
  transform: scale(1.05);
}

.producto-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.producto-categoria {
  background: rgba(255,255,255,0.95);
  color: var(--primary-blue);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(5px);
}

.producto-content {
  padding: 30px 25px;
}

.producto-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.producto-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 20px;
}

.producto-especificaciones {
  margin-bottom: 20px;
}

.especificacion {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.especificacion:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.producto-precio {
  margin-bottom: 25px;
}

.precio {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-blue);
}

.btn-producto {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.btn-producto:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-producto.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-producto.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}



/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1200px) {
  .topbar,
  .navbar {
    padding-left: 40px;
    padding-right: 40px;
  }

  .slide-content,
  .product-intro,
  .product-cards,
  .features,
  .visita-tienda,
  .blog-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .nav-links > li > a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .visita-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 980px) {
  .topbar-contact,
  .btn-cita,
  .nav-social,
  .main-navigation,
  .desktop-only {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .navbar {
    height: 64px;
    padding: 0 14px;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .logo-text .brand {
    font-size: 18px;
  }

  .logo-text .tagline {
    font-size: 9px;
  }

  .hero {
    height: calc(100vh - 64px);
    min-height: 500px;
  }

  .slide-content {
    padding: 0 40px;
  }

  .slide-title {
    font-size: clamp(28px, 8vw, 56px);
  }

  .slide-desc {
    font-size: 16px;
  }

  .product-intro,
  .product-cards,
  .features,
  .visita-tienda,
  .blog-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .categoria-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .categoria-titulo {
    font-size: 28px;
  }

  .producto-image {
    height: 200px;
  }

  .producto-content {
    padding: 25px 20px;
  }

  .producto-title {
    font-size: 20px;
  }

  .precio {
    font-size: 20px;
  }

  .navbar {
    padding: 0 10px;
  }

  .slide-content {
    padding: 0 20px;
  }

  .slide-inner {
    max-width: 400px;
  }

  .slide-title {
    font-size: clamp(24px, 10vw, 48px);
  }

  .slide-desc {
    font-size: 15px;
  }

  .slide-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .carousel-arrow {
    display: none;
  }

  .product-intro {
    padding: 40px 20px;
  }

  .product-cards {
    padding: 40px 20px;
  }

  .features {
    padding: 40px 20px;
  }

  .visita-tienda {
    padding: 60px 20px;
  }

  .blog-section {
    padding: 40px 20px;
  }

  .footer-mini {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 10px;
  }

  .logo-text .brand {
    font-size: 17px;
  }

  .logo-text .tagline {
    font-size: 8px;
  }

  .mobile-menu-panel {
    width: 100vw;
  }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-floating-wrapper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: end;
  gap: 12px;
}

.whatsapp-message-box {
  background: #ffffff;
  color: #1f2937;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  max-width: 220px;
  line-height: 1.35;
  animation: whatsappFloatIn 0.4s ease;
}

.whatsapp-message-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.whatsapp-message-box span {
  display: block;
  font-size: 13px;
  color: #4b5563;
}

.whatsapp-floating-button {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-floating-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-floating-button svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsappFloatIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .whatsapp-floating-wrapper {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-message-box {
    display: none;
  }

  .whatsapp-floating-button {
    width: 56px;
    height: 56px;
  }
}


/* ===== FIXES MOBILE HEADER + HOME CARDS + SHOP ===== */
.product-card.is-flipped .product-card-inner,
.product-card:focus-within .product-card-inner {
  transform: rotateY(180deg);
}

.bricody-shop-hero {
  padding: 54px 0 18px;
}
.bricody-shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.bricody-shop-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-blue);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(16,30,54,.05);
}
.bricody-shop-shell { padding-top: 28px; }
.bricody-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count { color: var(--muted); margin: 0; }
.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering { margin: 0; }
.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font-family: inherit;
  background: #fff;
}
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16,30,54,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #d5e2f7;
  box-shadow: 0 18px 42px rgba(16,30,54,.10);
}
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: 270px !important;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 0 16px !important;
  background: #f7f8fb;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 20px;
  line-height: 1.35;
  color: var(--text);
  padding: 0;
  margin: 0 0 10px;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  color: var(--primary-blue) !important;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  background: var(--primary-blue);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: 10px;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 12px;
  border: 1px solid var(--border);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .topbar { display: none !important; }
  .site-header { position: sticky; top: 0; }
  .navbar-wrap { border-bottom: 1px solid var(--border); }
  .navbar {
    min-height: 78px !important;
    height: auto !important;
    padding: 10px 14px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }
  .logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 auto;
  }
  .logo-text {
    min-width: 0;
  }
  .logo-text .brand,
  .brand {
    font-size: 16px !important;
    line-height: 1;
  }
  .logo-text .tagline {
    display: block !important;
    font-size: 9px !important;
    line-height: 1.25;
    margin-top: 3px;
    max-width: 150px;
  }
  .nav-actions {
    margin-left: 0 !important;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  .cart-link {
    display: inline-flex !important;
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
  }
  .cart-link .cart-icon {
    font-size: 18px;
    line-height: 1;
  }
  .cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    margin-left: -4px;
    margin-top: -18px;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
  }
  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: var(--text);
  }
  .hero {
    height: calc(100vh - 78px) !important;
    min-height: 540px;
  }
  .cards-container {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .product-card {
    height: 340px;
  }
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 14px;
    border-radius: 18px;
  }
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: 190px !important;
    border-radius: 14px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .product-cards,
  .features,
  .visita-tienda,
  .blog-section,
  .product-intro { padding-left: 16px !important; padding-right: 16px !important; }
  .slide-content { padding: 0 16px !important; }
  .slide-inner { max-width: 100%; }
  .slide-title { font-size: clamp(28px, 10vw, 42px); }
  .slide-desc { font-size: 15px; max-width: 92%; }
  .slide-actions { width: 100%; }
  .btn-primary, .btn-outline { width: 100%; }
  .bricody-shop-chips { gap: 8px; }
  .bricody-shop-chips a { font-size: 13px; min-height: 38px; padding: 8px 14px; }
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; }
}


/* Robust mobile menu icon fix */
.mobile-menu-toggle {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0;
  line-height: 0;
  color: #17212f !important;
}
.mobile-menu-toggle .mobile-menu-line,
.mobile-menu-toggle > span {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  margin: 3px 0 !important;
  border-radius: 999px;
  background: #17212f !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-line:nth-child(1),
.mobile-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(8px) rotate(45deg) !important;
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-line:nth-child(2),
.mobile-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0 !important;
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-line:nth-child(3),
.mobile-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg) !important;
}
@media (max-width: 760px) {
  .mobile-menu-toggle {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    border: 1px solid #e7ecf3 !important;
    border-radius: 14px !important;
    background: #fff !important;
    overflow: visible !important;
  }
}






/* ── PREMIUM FOOTER 4.2 ───────────── */
.site-footer {
  background: #060c18;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
}

/* Layer 1: Back to Top */
.footer-back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0d1a30;
  padding: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
}

.footer-back-to-top:hover {
  background: #152847;
}

/* Layer 2: Main Grid */
.footer-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 25px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.site-footer h3 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-contact-info li {
  margin-bottom: 15px;
}

.footer-links a, .footer-contact-info li, .footer-contact-info a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
  display: inline-block;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-info svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-hours {
  margin-top: 30px;
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Layer 3: Trust & Bottom */
.footer-bottom {
  background: #030810;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 25px;
}

.badge-label {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.badge-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.p-badge {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.p-badge:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.p-badge.visa {
  color: #fff;
  font-style: italic;
  font-weight: 900;
  text-shadow: 1px 1px 0 #1a1f71, 2px 2px 0 #1a1f71;
}

.p-badge.mastercard {
  color: #fff;
}

.mc-circles {
  width: 16px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.mc-circles::before, .mc-circles::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 1px;
}

.mc-circles::before {
  background: #eb001b;
  left: 0;
}

.mc-circles::after {
  background: #f79e1b;
  right: 0;
  opacity: 0.9;
}

.p-badge.paypal {
  color: #003087;
  font-style: italic;
  background: #fff;
}

.p-badge.klarna {
  background: #ffb3c7;
  color: #000;
}

.ssl-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(76, 175, 80, 0.05);
}

.footer-legal {
  text-align: right;
}

.legal-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  margin-top: 8px;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.7;
}

.legal-links a:hover {
  opacity: 1;
  color: #fff;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-trust-badges {
    flex-direction: column;
    gap: 15px;
  }
  .footer-legal {
    text-align: center;
  }
  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.legal-page {
  display: grid;
  gap: 26px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

.legal-card h2,
.legal-card h3 {
  margin-top: 0;
  color: var(--primary-blue);
}

.legal-card p,
.legal-card li {
  line-height: 1.8;
  color: var(--gray);
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-note {
  background: #f7f9fc;
  border-left: 4px solid var(--primary-blue);
}

@media (max-width: 760px) {
  .footer-legal-links {
    gap: 8px;
  }
}

.page-acerca-de-nosotros .inner-hero + .section,
.page-id-0 .inner-hero + .section { padding-top: 40px; }
