:root {
  --burgundy: #a70033;
  --burgundy-deep: #5d1428;
  --wine: #761a34;
  --teal: #006f78;
  --teal-deep: #004d56;
  --teal-soft: #dff4f2;
  --sand: #f3e4c9;
  --sand-light: #faf4e9;
  --ink: #172126;
  --muted: #66747a;
  --white: #ffffff;
  --line: rgba(23, 33, 38, .12);
  --shadow: 0 18px 55px rgba(28, 22, 30, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", Arial, sans-serif; color: var(--ink); background: #f8f3ec; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 92px 0; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,33,38,.08); }
.nav-wrap { min-height: 104px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 16px; min-width: 320px; }
.brand-logo { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; box-shadow: 0 9px 28px rgba(80, 10, 35, .20); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: "Manrope"; font-size: 17px; }
.brand-copy small { color: var(--muted); margin-top: 6px; font-size: 13px; font-weight: 600; }
.main-nav { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: var(--burgundy); }
.header-cta { background: var(--burgundy); color: var(--white); padding: 11px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; }

.hero-section { position: relative; overflow: hidden; padding: 88px 0 82px; color: var(--white); background: linear-gradient(125deg, #541022 0%, #811738 45%, #005b64 100%); }
.hero-section::after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; right: -120px; top: -140px; background: rgba(64, 230, 219, .19); }
.hero-glow-two { width: 350px; height: 350px; left: -130px; bottom: -140px; background: rgba(255, 153, 176, .18); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 68px; align-items: center; }
.badge, .section-kicker { display: inline-flex; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.badge { color: #ffe4d7; border: 1px solid rgba(255,255,255,.28); padding: 8px 12px; border-radius: 999px; }
.hero-content h1 { font-family: "Manrope"; font-size: clamp(48px, 6.2vw, 78px); letter-spacing: -.05em; line-height: .98; margin: 22px 0 22px; }
.hero-content h1 span { color: #9de4dd; }
.hero-lead { max-width: 700px; color: rgba(255,255,255,.82); font-size: 18px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 0; border-radius: 12px; font-weight: 800; font-size: 14px; }
.btn-primary { background: var(--sand); color: var(--burgundy-deep); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.05); }
.btn-sand { background: var(--sand); color: var(--burgundy-deep); }
.btn-light { background: #fff; color: var(--burgundy-deep); }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: rgba(255,255,255,.72); font-size: 13px; }

.hero-visual { min-height: 530px; position: relative; }
.photo-card { margin: 0; position: absolute; overflow: hidden; border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.22); background: #fff; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 800; }
.photo-main { width: 74%; height: 405px; right: 0; top: 30px; transform: rotate(2deg); }
.photo-small { width: 43%; height: 220px; }
.photo-office { left: 0; top: 0; transform: rotate(-5deg); }
.photo-tech { left: 4%; bottom: 0; transform: rotate(4deg); }

.quick-strip { background: var(--sand); border-bottom: 1px solid rgba(93,20,40,.08); }
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.quick-grid div { padding: 22px 18px; display: flex; gap: 12px; align-items: center; border-right: 1px solid rgba(93,20,40,.1); }
.quick-grid div:last-child { border-right: 0; }
.quick-grid strong { font-family: "Manrope"; color: var(--burgundy); font-size: 18px; }
.quick-grid span { font-size: 13px; font-weight: 700; }

.catalog-section { background: linear-gradient(180deg, #f9f2e9 0%, #fff 100%); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.row-head { max-width: none; display: flex; justify-content: space-between; gap: 36px; align-items: end; }
.section-kicker { color: var(--teal-deep); }
.section-kicker.light { color: #b8f1ea; }
.section-head h2, .business-copy h2, .quote-intro h2, .contact-banner h2 { font-family: "Manrope"; letter-spacing: -.04em; line-height: 1.05; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 54px); margin: 10px 0 14px; }
.section-head p { color: var(--muted); max-width: 700px; margin: 0; }
.catalog-tools { min-width: 280px; }
.search-box { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.search-box input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 13px 15px; outline: none; }
.search-box input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,111,120,.12); }
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { border: 1px solid rgba(93,20,40,.15); background: rgba(255,255,255,.7); color: var(--burgundy-deep); border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 800; }
.filter-btn.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.product-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid rgba(23,33,38,.1); box-shadow: 0 12px 34px rgba(45,30,35,.07); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e9e7e4; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-category { position: absolute; left: 13px; top: 13px; background: var(--teal-deep); color: #fff; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 800; }
.reference-label { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.9); border-radius: 8px; padding: 5px 7px; font-size: 9px; color: #586166; }
.product-body { padding: 20px; }
.product-body h3 { font-family: "Manrope"; font-size: 19px; margin: 0 0 8px; }
.product-body p { color: var(--muted); font-size: 14px; margin: 0 0 18px; min-height: 67px; }
.product-actions { display: flex; gap: 8px; }
.btn-mini { border-radius: 10px; padding: 9px 12px; border: 1px solid transparent; font-size: 12px; font-weight: 800; }
.btn-mini-primary { background: var(--burgundy); color: #fff; }
.btn-mini-ghost { background: #fff; color: var(--teal-deep); border-color: rgba(0,111,120,.25); }
.empty-state { padding: 30px; background: #fff; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }

.business-section { color: #fff; background: linear-gradient(130deg, #004c54, #006f78 55%, #145b62); }
.business-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.business-photo-wrap { position: relative; border-radius: 26px; overflow: hidden; min-height: 540px; box-shadow: 0 28px 75px rgba(0,0,0,.24); }
.business-photo-wrap img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }
.business-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.48)); }
.business-photo-tag { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: #fff; font-weight: 800; font-size: 13px; }
.business-copy h2 { font-size: clamp(36px, 4.5vw, 56px); margin: 10px 0 18px; }
.business-copy > p { color: rgba(255,255,255,.78); font-size: 17px; }
.benefit-list { display: grid; gap: 12px; margin: 30px 0; }
.benefit-list article { display: flex; gap: 15px; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.07); }
.benefit-list article > span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--burgundy-deep); font-family: "Manrope"; font-weight: 800; }
.benefit-list strong { display: block; }
.benefit-list p { margin: 2px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }

.quote-section { background: #fff; }
.quote-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 62px; align-items: start; }
.quote-intro h2 { font-size: clamp(38px, 4vw, 52px); margin: 10px 0 14px; }
.quote-intro > p { color: var(--muted); }
.quote-contact-list { display: grid; gap: 10px; margin-top: 28px; }
.quote-contact-list a { padding: 14px 16px; border-radius: 14px; background: var(--sand-light); display: flex; flex-direction: column; }
.quote-contact-list span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.quote-form { padding: 28px; border-radius: 22px; background: linear-gradient(160deg, #f9f2e9, #f1f8f7); border: 1px solid rgba(23,33,38,.08); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.quote-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; color: #39464b; }
.quote-form input, .quote-form textarea { width: 100%; border: 1px solid rgba(23,33,38,.13); background: rgba(255,255,255,.92); border-radius: 11px; padding: 13px 14px; outline: none; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,111,120,.1); }
.full-label { margin: 16px 0 18px; }
.quote-form small { display: block; color: var(--muted); margin-top: 10px; }
.quote-form .btn-primary { background: var(--burgundy); color: #fff; }

.contact-section { padding: 0 0 70px; background: #fff; }
.contact-banner { display: flex; justify-content: space-between; align-items: center; gap: 40px; color: #fff; padding: 42px; border-radius: 26px; background: linear-gradient(110deg, #671329, #a30034 58%, #00646d); box-shadow: var(--shadow); }
.contact-banner h2 { font-size: clamp(32px, 4vw, 48px); margin: 8px 0 8px; }
.contact-banner p { margin: 0; color: rgba(255,255,255,.78); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; background: #16875c; color: #fff; border-radius: 999px; padding: 12px 16px; font-size: 13px; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.18); }

.site-footer { color: #dce5e5; background: #121b1e; padding: 46px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.footer-brand p { margin: 4px 0 0; color: #8fa0a4; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #72868b; font-size: 11px; }

@media (max-width: 1020px) {
  .header-cta { display: none; }
  .brand { min-width: unset; }
  .hero-grid, .business-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .business-photo-wrap { min-height: 430px; }
  .business-photo-wrap img { min-height: 430px; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 98px; display: none; flex-direction: column; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-radius: 9px; }
  .main-nav a:hover { background: var(--sand-light); }
  .row-head { align-items: stretch; flex-direction: column; }
  .catalog-tools { min-width: 0; }
  .contact-banner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 68px 0; }
  .brand-copy small { display: none; }
  .brand-logo { width: 62px; height: 62px; }
  .hero-section { padding-top: 64px; }
  .hero-content h1 { font-size: 48px; }
  .hero-visual { min-height: 430px; }
  .photo-main { width: 78%; height: 300px; }
  .photo-small { width: 46%; height: 165px; }
  .product-grid, .form-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid div { padding: 16px 10px; }
  .business-photo-wrap, .business-photo-wrap img { min-height: 330px; }
  .quote-form { padding: 20px; }
  .footer-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 9px; }
}

/* V3: catálogo ampliado */
.product-body p{min-height:88px}.product-grid{align-items:stretch}


/* ============================
   V4 - COTIZACIÓN MÚLTIPLE
   ============================ */
.selection-strip{
  margin: 18px 0 26px;
  padding: 17px 20px;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(111,23,48,.09), rgba(0,111,122,.10));
  border: 1px solid rgba(111,23,48,.14);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.selection-strip>div{display:flex;flex-direction:column;gap:2px}
.selection-strip strong{font-family:"Manrope";font-size:16px}
.selection-strip span{color:var(--muted);font-size:13px}

.product-selected{
  border-color: rgba(0,111,122,.55) !important;
  box-shadow: 0 14px 34px rgba(0,111,122,.12) !important;
}
.selected-badge{
  position:absolute;
  top:14px;
  right:14px;
  background:#006f7a;
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-size:11px;
  font-weight:800;
  box-shadow:0 5px 16px rgba(0,0,0,.18);
}
.btn-mini-remove{
  background:#fff;
  color:#7a2331;
  border:1px solid rgba(122,35,49,.25);
}
.btn-mini-remove:hover{background:#fff2f4}

.selected-products-box{
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,#fafcfc);
  border-radius:18px;
  padding:20px;
  margin-bottom:24px;
}
.selected-products-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:12px;
}
.selected-products-head h3{
  margin:3px 0 0;
  font-family:"Manrope";
  font-size:22px;
}
.clear-selection{
  border:0;
  background:transparent;
  color:#8b233c;
  text-decoration:underline;
  font-weight:700;
  cursor:pointer;
}
.selected-products{display:flex;flex-direction:column;gap:9px}
.selected-empty{
  margin:0;
  color:var(--muted);
  padding:12px 0;
}
.selected-row{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto 32px;
  align-items:center;
  gap:12px;
  padding:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
}
.selected-row img{
  width:56px;height:50px;object-fit:cover;border-radius:9px;background:#eef2f2;
}
.selected-row-copy{display:flex;flex-direction:column;min-width:0}
.selected-row-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selected-row-copy span{font-size:11px;color:var(--muted)}
.quantity-control{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.quantity-control button{
  width:30px;height:34px;border:0;background:#f3f6f6;font-weight:900;cursor:pointer;
}
.quantity-control input{
  width:48px;height:34px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);
  padding:0;text-align:center;border-radius:0;
}
.selected-remove{
  border:0;background:transparent;color:#9d213f;font-size:24px;cursor:pointer;line-height:1;
}
.selection-actions{display:flex;justify-content:flex-end;margin-top:14px}
.btn-whatsapp-list{background:#148b60;color:#fff}
.btn-whatsapp-list:hover{background:#0f704e}
.span-2{grid-column:1/-1}

.quote-float{
  position:fixed;
  right:22px;
  bottom:82px;
  z-index:44;
  border:0;
  background:#6f1730;
  color:#fff;
  font-family:"DM Sans";
  font-weight:800;
  padding:12px 15px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(65,9,28,.28);
}
.quote-float span{
  display:inline-grid;
  place-items:center;
  min-width:22px;height:22px;
  margin-left:6px;
  background:#fff;
  color:#6f1730;
  border-radius:50%;
  font-size:11px;
}

@media(max-width:720px){
  .selection-strip{align-items:flex-start;flex-direction:column}
  .selected-row{
    grid-template-columns:48px minmax(0,1fr) 28px;
  }
  .selected-row img{width:48px;height:46px}
  .quantity-control{grid-column:2/3;width:max-content}
  .selected-remove{grid-column:3;grid-row:1}
  .quote-float{right:14px;bottom:78px}
}
