/* =========================================================
   CRIARE3D — catálogo Bambu Lab
   ========================================================= */
.nav-links a[aria-current="page"]::after{ width:100%; }

.catalog-intro{
  color:#fff;
  background:
    linear-gradient(120deg, rgba(14,34,54,.98), rgba(22,57,85,.94)),
    repeating-linear-gradient(135deg, transparent 0 34px, rgba(255,255,255,.04) 34px 35px);
  padding:72px 0 64px;
}
.catalog-intro-grid{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:72px;
  align-items:end;
}
.catalog-intro .eyebrow{ color:var(--teal-light); }
.catalog-intro h1{
  color:#fff;
  font-size:clamp(2.35rem,5vw,4.3rem);
  line-height:1;
  max-width:10ch;
}
.catalog-intro p{
  color:rgba(255,255,255,.78);
  font-size:1.08rem;
  max-width:56ch;
  margin:18px 0 0;
}
.purchase-summary{
  display:grid;
  border-top:1px solid rgba(255,255,255,.2);
}
.purchase-summary div{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.2);
}
.purchase-summary span{
  color:rgba(255,255,255,.58);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.purchase-summary strong{
  color:#fff;
  font-family:var(--font-display);
  font-size:.98rem;
  text-align:right;
}

.catalog-section{ padding:86px 0 104px; }
.catalog-heading{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:70px;
  align-items:end;
  margin-bottom:42px;
}
.catalog-heading h2{
  font-size:clamp(1.8rem,3vw,2.55rem);
  margin-bottom:0;
}
.catalog-heading > p{
  color:var(--muted);
  font-size:1rem;
  margin:0;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.product-card{
  display:grid;
  grid-template-rows:330px 1fr;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(14,34,54,.06);
  overflow:hidden;
}
.product-card--premium{
  grid-column:1/-1;
  grid-template-columns:minmax(330px,.75fr) minmax(0,1.25fr);
  grid-template-rows:auto;
  border-color:rgba(90,131,142,.45);
}
.product-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  padding:24px;
  background:
    linear-gradient(135deg, rgba(140,198,214,.1), transparent 45%),
    #f4f4f1;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.product-card--premium .product-media{
  min-height:520px;
  border-bottom:none;
  border-right:1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(14,34,54,.12), transparent 50%),
    #e8e9e6;
}
.product-media::after{
  content:"";
  position:absolute;
  right:-28px;
  bottom:-28px;
  width:94px;
  height:94px;
  border:1px solid rgba(90,131,142,.22);
  transform:rotate(45deg);
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  transition:transform .35s ease;
}
.product-card:hover .product-media img{ transform:scale(1.025); }
.product-badge{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  color:#fff;
  background:var(--navy-deep);
  padding:7px 11px;
  font-family:var(--font-display);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.product-badge--color{ background:var(--olive-deep); }
.product-badge--premium{ background:var(--teal-deep); }

.product-body{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:30px;
}
.product-card--premium .product-body{
  justify-content:center;
  padding:46px;
}
.product-title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:18px;
}
.product-family{
  display:block;
  color:var(--teal-deep);
  font-family:var(--font-display);
  font-size:.73rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:3px;
}
.product-title-row h3{
  font-size:1.72rem;
  line-height:1.1;
  margin:0;
}
.product-price{
  flex:none;
  text-align:right;
}
.product-price strong{
  display:block;
  color:var(--olive-deep);
  font-family:var(--font-display);
  font-size:1.35rem;
  line-height:1.1;
}
.product-price span{
  display:block;
  color:var(--muted);
  font-size:.78rem;
  margin-top:4px;
}
.product-lede{
  color:var(--muted);
  min-height:3.2em;
  margin-bottom:20px;
}
.product-card--premium .product-lede{ min-height:0; }

.quick-specs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin:0 0 22px;
  background:var(--line);
  border:1px solid var(--line);
}
.quick-specs li{
  min-width:0;
  padding:12px 13px;
  background:#fff;
}
.quick-specs span,
.quick-specs strong{
  display:block;
}
.quick-specs span{
  color:var(--muted);
  font-size:.74rem;
  line-height:1.25;
  margin-bottom:3px;
}
.quick-specs strong{
  color:var(--navy-deep);
  font-family:var(--font-display);
  font-size:.88rem;
  line-height:1.3;
}

.technical-details{
  margin-bottom:24px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.technical-details summary{
  position:relative;
  padding:13px 28px 13px 0;
  color:var(--navy);
  font-family:var(--font-display);
  font-size:.88rem;
  font-weight:600;
  cursor:pointer;
  list-style:none;
}
.technical-details summary::-webkit-details-marker{ display:none; }
.technical-details summary::after{
  content:"+";
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  color:var(--olive-deep);
  font-size:1.3rem;
  font-weight:400;
}
.technical-details[open] summary::after{ content:"−"; }
.technical-content{
  padding:2px 0 12px;
  color:var(--muted);
  font-size:.87rem;
}
.technical-content p{ margin-bottom:8px; }
.technical-content strong{ color:var(--ink); }

.product-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:auto;
}
.btn-product{
  flex:none;
  color:#fff;
  background:var(--navy-deep);
  padding:12px 18px;
}
.btn-product:hover{ background:var(--olive-deep); }
.product-actions > span{
  color:var(--muted);
  font-size:.75rem;
  line-height:1.35;
  text-align:right;
}

.comparison-section{
  padding:96px 0 88px;
  background:var(--paper-dim);
}
.comparison-wrap{
  overflow-x:auto;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 12px 30px rgba(14,34,54,.05);
}
.comparison-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  text-align:left;
}
.comparison-table th,
.comparison-table td{
  padding:16px 18px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}
.comparison-table tr > *:last-child{ border-right:none; }
.comparison-table tbody tr:last-child > *{ border-bottom:none; }
.comparison-table thead th{
  color:#fff;
  background:var(--navy-deep);
  font-family:var(--font-display);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.comparison-table tbody th{
  color:var(--navy-deep);
  font-family:var(--font-display);
  font-size:.95rem;
  white-space:nowrap;
}
.comparison-table td{ color:var(--muted); font-size:.9rem; }
.comparison-table td:last-child{
  color:var(--olive-deep);
  font-family:var(--font-display);
  font-weight:700;
  white-space:nowrap;
}
.comparison-premium{ background:rgba(140,198,214,.12); }
.comparison-note{
  color:var(--muted);
  font-size:.8rem;
  margin:12px 0 0;
}

.support-section{
  color:#fff;
  background:var(--navy-deep);
  padding:88px 0;
}
.support-grid{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:72px;
  align-items:start;
}
.support-section .eyebrow{ color:var(--teal-light); }
.support-section h2{
  color:#fff;
  font-size:clamp(1.75rem,3vw,2.45rem);
}
.support-items{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:rgba(255,255,255,.14);
}
.support-items div{
  padding:24px;
  background:var(--navy-deep);
}
.support-items strong{
  display:block;
  color:#fff;
  font-family:var(--font-display);
  font-size:.98rem;
  margin-bottom:8px;
}
.support-items p{
  color:rgba(255,255,255,.66);
  font-size:.86rem;
  margin:0;
}

.catalog-cta{
  padding:76px 0;
  background:var(--teal-light);
}
.catalog-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:42px;
}
.catalog-cta .eyebrow{ color:var(--navy); }
.catalog-cta h2{
  color:var(--navy-deep);
  font-size:clamp(1.7rem,3vw,2.4rem);
  margin-bottom:6px;
}
.catalog-cta p{ color:var(--navy); margin:0; }
.catalog-cta .btn-primary{
  flex:none;
  color:#fff;
  background:var(--navy-deep);
}
.catalog-cta .btn-primary:hover{ background:var(--olive-deep); }

.terms-section{
  padding:26px 0;
  background:#e3e1d8;
}
.terms-section p{
  color:var(--muted);
  font-size:.78rem;
  line-height:1.55;
  margin:0;
}
.terms-section strong{ color:var(--ink); }

@media (max-width: 1050px){
  .product-actions{ align-items:flex-start; flex-direction:column; }
  .product-actions > span{ text-align:left; }
  .product-card--premium{ grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr); }
  .product-card--premium .product-body{ padding:36px; }
  .support-grid{ grid-template-columns:1fr; gap:30px; }
}

@media (max-width: 820px){
  .catalog-intro-grid,
  .catalog-heading{
    grid-template-columns:1fr;
    gap:34px;
  }
  .catalog-intro h1{ max-width:none; }
  .product-grid{ grid-template-columns:1fr; }
  .product-card--premium{
    grid-column:auto;
    grid-template-columns:1fr;
    grid-template-rows:360px 1fr;
  }
  .product-card--premium .product-media{
    min-height:0;
    border-right:none;
    border-bottom:1px solid var(--line);
  }
  .support-items{ grid-template-columns:1fr; }
}

@media (max-width: 560px){
  .catalog-intro{ padding:52px 0 48px; }
  .catalog-intro h1{ font-size:2.55rem; }
  .catalog-section{ padding:64px 0 72px; }
  .product-card{ grid-template-rows:280px 1fr; }
  .product-card--premium{ grid-template-rows:310px 1fr; }
  .product-body,
  .product-card--premium .product-body{ padding:24px 20px; }
  .product-title-row{ flex-direction:column; gap:10px; }
  .product-price{ text-align:left; }
  .product-lede{ min-height:0; }
  .quick-specs{ grid-template-columns:1fr; }
  .product-actions .btn{ width:100%; justify-content:center; }
  .comparison-section{ padding:70px 0 64px; }
  .catalog-cta-inner{ align-items:flex-start; flex-direction:column; }
  .catalog-cta .btn{ width:100%; justify-content:center; }
}
