:root {
  --blue-electric: #19c6ff;
  --fuchsia: #f72fd6;
  --violet: #6c2bff;
  --deep-blue: #202b6e;
  --lavender: #f3f0fa;
  --pearl: #e7e4ef;
  --graphite: #1f2230;
  --ink: #101322;
  --muted: #6c7184;
  --white: #ffffff;
  --gradient: linear-gradient(120deg, var(--blue-electric), var(--violet) 52%, var(--fuchsia));
  --gradient-soft: linear-gradient(120deg, rgba(25,198,255,.14), rgba(108,43,255,.12) 52%, rgba(247,47,214,.13));
  --shadow-sm: 0 12px 30px rgba(24, 31, 67, .08);
  --shadow-md: 0 24px 70px rgba(25, 30, 75, .14);
  --shadow-glow: 0 24px 90px rgba(108,43,255,.30);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(25,198,255,.12), transparent 26rem),
    radial-gradient(circle at 90% 13%, rgba(247,47,214,.10), transparent 24rem),
    #fbfafe;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(32,43,110,.11) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 62%);
  z-index: -4;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .13;
  pointer-events: none;
  z-index: -3;
}
.ambient-one { top: 20%; left: -180px; background: var(--blue-electric); }
.ambient-two { right: -180px; top: 60%; background: var(--fuchsia); }

.topbar {
  background: #11152c;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  letter-spacing: .03em;
}
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-actions { display: flex; gap: 24px; }
.topbar a:hover { color: #fff; }

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(32,43,110,.08);
  background: rgba(251,250,254,.78);
  backdrop-filter: blur(18px);
}
.navbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 178px; }
.brand img { width: 42px; height: 52px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: Montserrat, Poppins, sans-serif; font-size: 17px; letter-spacing: .16em; }
.brand small { font-size: 7px; letter-spacing: .36em; margin-top: 6px; color: var(--violet); }

.nav-menu { display: flex; align-items: center; gap: 23px; font-size: 14px; font-weight: 600; }
.nav-menu > a:not(.button) { position: relative; }
.nav-menu > a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px;
  background: var(--gradient); transition: right .25s ease;
}
.nav-menu > a:not(.button):hover::after { right: 0; }
.nav-login { color: var(--violet); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; display: block; background: var(--ink); margin: 5px 0; border-radius: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 15px 23px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gradient { background: var(--gradient); color: #fff; box-shadow: 0 14px 30px rgba(108,43,255,.24); }
.button-gradient:hover { box-shadow: 0 18px 42px rgba(108,43,255,.34); }
.button-ghost { background: rgba(255,255,255,.8); border: 1px solid rgba(32,43,110,.12); }
.button-outline { border: 1px solid rgba(32,43,110,.18); background: #fff; }
.button-light { background: #fff; color: var(--deep-blue); box-shadow: var(--shadow-sm); }
.button-sm { padding: 11px 16px; font-size: 12px; }
.text-link { font-weight: 700; color: #fff; display: inline-flex; gap: 8px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow span { width: 28px; height: 2px; background: var(--gradient); }
.eyebrow.light { color: rgba(255,255,255,.85); }
.eyebrow.light span { background: linear-gradient(90deg, #fff, var(--blue-electric)); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 92px;
}
.hero-content h1,
.section-heading h2,
.promotion-copy h2,
.capacity-copy h2,
.cta-copy h2 {
  font-family: Montserrat, Poppins, sans-serif;
  margin: 0;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.hero-content h1 { font-size: clamp(52px, 6vw, 82px); max-width: 760px; }
.hero-content h1 em,
.section-heading h2 em,
.promotion-copy h2 em,
.capacity-copy h2 em,
.cta-copy h2 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-content h1 span { color: var(--deep-blue); }
.hero-content > p { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 620px; margin: 26px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 34px; margin-top: 44px; }
.hero-metrics div { display: grid; gap: 2px; padding-right: 30px; border-right: 1px solid rgba(32,43,110,.12); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { font-family: Montserrat, sans-serif; font-size: 24px; color: var(--deep-blue); }
.hero-metrics span { font-size: 12px; color: var(--muted); }

.hero-visual { min-height: 580px; position: relative; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 410px; height: 410px; border-radius: 50%; background: conic-gradient(from 20deg, var(--blue-electric), var(--violet), var(--fuchsia), var(--blue-electric)); filter: blur(48px); opacity: .34; }
.hero-logo-card {
  width: min(430px, 82vw);
  aspect-ratio: 1 / 1.08;
  border-radius: 50% 50% 42% 42%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,.96), rgba(246,243,255,.80) 55%, rgba(231,228,239,.88));
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow-glow), inset 0 0 45px rgba(255,255,255,.7);
  position: relative;
  overflow: hidden;
}
.hero-logo-card::before,
.hero-logo-card::after { content: ""; position: absolute; border: 1px solid rgba(108,43,255,.14); border-radius: 50%; inset: 9%; }
.hero-logo-card::after { inset: 19%; border-color: rgba(25,198,255,.16); }
.hero-logo-card img { width: 60%; filter: drop-shadow(0 18px 30px rgba(67,37,160,.26)); position: relative; z-index: 2; }
.logo-orbit { position: absolute; border: 1px solid rgba(108,43,255,.16); border-radius: 50%; animation: rotate 18s linear infinite; }
.logo-orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--fuchsia); top: 11%; left: 16%; box-shadow: 0 0 18px var(--fuchsia); }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 560px; height: 560px; animation-direction: reverse; animation-duration: 24s; border-style: dashed; }
.orbit-two::after { background: var(--blue-electric); box-shadow: 0 0 18px var(--blue-electric); top: auto; bottom: 10%; left: auto; right: 18%; }
@keyframes rotate { to { transform: rotate(360deg); } }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.94); backdrop-filter: blur(18px); padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-md); z-index: 5; }
.floating-card div { display: grid; gap: 2px; }
.floating-card strong { font-size: 13px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.card-top { right: -15px; top: 18%; }
.card-bottom { left: -10px; bottom: 18%; }
.mini-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--gradient); }
.status-dot { width: 11px; height: 11px; background: #25cc75; border-radius: 50%; box-shadow: 0 0 0 5px rgba(37,204,117,.14); margin-left: 5px; }

.trust-strip { background: #fff; border-block: 1px solid rgba(32,43,110,.08); }
.trust-grid { min-height: 76px; display: grid; grid-template-columns: repeat(5,1fr); align-items: center; text-align: center; gap: 20px; }
.trust-grid span { position: relative; color: var(--deep-blue); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.trust-grid span:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--fuchsia); }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.section-heading.compact { align-items: center; }
.section-heading h2 { font-size: clamp(38px, 4.2vw, 58px); }
.section-heading > p { margin: 0; line-height: 1.75; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 30px; background: rgba(255,255,255,.82); border: 1px solid rgba(32,43,110,.08); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: auto -40px -70px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--gradient-soft); filter: blur(1px); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(108,43,255,.22); }
.service-card.featured { background: linear-gradient(150deg, #1b245b, #392277 55%, #6b258b); color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.70); }
.service-card.featured a { color: #fff; }
.service-number { position: absolute; right: 24px; top: 22px; font: 700 12px Montserrat, sans-serif; color: rgba(108,43,255,.5); }
.featured .service-number { color: rgba(255,255,255,.45); }
.service-icon { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 24px; background: var(--gradient-soft); color: var(--violet); }
.featured .service-icon { background: rgba(255,255,255,.12); color: #fff; }
.service-card h3 { font: 800 21px/1.25 Montserrat, sans-serif; margin: 28px 0 15px; }
.service-card p { color: var(--muted); line-height: 1.65; font-size: 14px; margin-bottom: 28px; }
.service-card a { font-size: 13px; font-weight: 800; color: var(--violet); display: inline-flex; gap: 8px; }

.promotion-band { overflow: hidden; background: linear-gradient(120deg, #111638, #25216a 48%, #5e2185); color: #fff; position: relative; }
.promotion-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 24%, rgba(25,198,255,.25), transparent 22rem), radial-gradient(circle at 10% 80%, rgba(247,47,214,.20), transparent 26rem); }
.promotion-layout { min-height: 530px; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.promotion-copy h2 { font-size: clamp(38px, 4.6vw, 60px); }
.promotion-copy p { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; max-width: 620px; }
.promotion-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.promotion-image { height: 530px; display: grid; place-items: end center; position: relative; }
.promotion-image img { width: 370px; max-height: 510px; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0; box-shadow: 0 0 70px rgba(25,198,255,.24); transform: rotate(2deg); }
.promo-badge { position: absolute; left: 0; bottom: 48px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-md); display: grid; }
.promo-badge strong { color: var(--violet); }
.promo-badge span { font-size: 10px; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.category-card { min-height: 430px; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #171a34; }
.category-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .55s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,17,45,.97), rgba(13,17,45,.04) 62%); }
.category-content { position: absolute; inset: auto 24px 25px; color: #fff; }
.category-content > span { font-size: 11px; letter-spacing: .16em; color: var(--blue-electric); font-weight: 800; }
.category-content h3 { font: 800 22px Montserrat, sans-serif; margin: 8px 0; }
.category-content p { color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.45; min-height: 36px; }
.category-content strong { font-size: 12px; display: inline-block; margin-top: 12px; }

.workflow-section { background: linear-gradient(180deg, rgba(243,240,250,.65), rgba(255,255,255,.4)); border-block: 1px solid rgba(32,43,110,.06); }
.workflow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; position: relative; }
.workflow-grid::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 1px; background: linear-gradient(90deg, rgba(25,198,255,.2), rgba(108,43,255,.34), rgba(247,47,214,.2)); }
.workflow-card { position: relative; padding: 0 16px; text-align: center; }
.workflow-step { width: 54px; height: 54px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--gradient); font: 800 12px Montserrat, sans-serif; box-shadow: 0 10px 26px rgba(108,43,255,.24); position: relative; z-index: 2; border: 6px solid #f8f7fc; }
.workflow-card h3 { font: 800 18px Montserrat, sans-serif; }
.workflow-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.portfolio-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2,260px); gap: 18px; }
.portfolio-card { position: relative; overflow: hidden; border-radius: var(--radius); background: #151833; }
.portfolio-card.large { grid-row: 1 / 3; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,17,45,.92), transparent 60%); }
.portfolio-info { position: absolute; left: 26px; right: 26px; bottom: 24px; color: #fff; z-index: 2; }
.portfolio-info span { color: var(--blue-electric); text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 800; }
.portfolio-info h3 { margin: 8px 0 0; font: 800 22px/1.25 Montserrat, sans-serif; }

.capacity-section { background: linear-gradient(120deg, #121735, #28206d 55%, #61237f); color: #fff; position: relative; overflow: hidden; }
.capacity-section::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -120px; top: -160px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.capacity-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; position: relative; z-index: 2; }
.capacity-copy h2 { font-size: clamp(42px, 5vw, 65px); }
.capacity-copy p { color: rgba(255,255,255,.70); line-height: 1.75; max-width: 670px; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 34px; }
.check-list li { color: rgba(255,255,255,.82); font-size: 13px; display: flex; gap: 10px; align-items: center; }
.check-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: rgba(25,198,255,.15); color: var(--blue-electric); display: grid; place-items: center; font-size: 11px; }
.capacity-panel { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.capacity-stat { min-height: 170px; border-radius: var(--radius); padding: 25px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(12px); display: flex; flex-direction: column; justify-content: flex-end; }
.capacity-stat strong { font: 800 32px Montserrat, sans-serif; background: linear-gradient(120deg, #fff, var(--blue-electric)); -webkit-background-clip: text; color: transparent; }
.capacity-stat span { color: rgba(255,255,255,.65); font-size: 12px; margin-top: 6px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testimonial-card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(32,43,110,.08); box-shadow: var(--shadow-sm); }
.stars { letter-spacing: 3px; color: #ffb21a; }
.testimonial-card blockquote { margin: 22px 0 28px; color: #444a60; font-size: 15px; line-height: 1.75; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-soft); color: var(--violet); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.testimonial-card footer div:last-child { display: grid; }
.testimonial-card footer strong { font-size: 13px; }
.testimonial-card footer span { color: var(--muted); font-size: 10px; }

.cta-section { padding: 0 0 110px; }
.cta-card { background: linear-gradient(125deg, #111637, #31236f 55%, #69247f); color: #fff; border-radius: var(--radius-lg); padding: 58px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; position: relative; overflow: hidden; box-shadow: var(--shadow-glow); }
.cta-card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(25,198,255,.16); filter: blur(70px); left: -140px; bottom: -220px; }
.cta-copy, .contact-form { position: relative; z-index: 2; }
.cta-copy h2 { font-size: clamp(38px, 4.5vw, 58px); }
.cta-copy p { color: rgba(255,255,255,.70); line-height: 1.7; }
.cta-actions { display: flex; gap: 20px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.contact-form { padding: 27px; border-radius: 24px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 7px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.10); color: #fff; border-radius: 12px; padding: 13px 14px; outline: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.42); }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-electric); box-shadow: 0 0 0 3px rgba(25,198,255,.10); }
.contact-form small { color: rgba(255,255,255,.52); line-height: 1.5; }

.site-footer { background: #0d1025; color: rgba(255,255,255,.72); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 50px; }
.site-footer .brand strong { color: #fff; }
.footer-brand p { max-width: 330px; line-height: 1.7; font-size: 13px; }
.footer-slogan { color: var(--blue-electric); font-size: 13px; }
.footer-grid h3 { color: #fff; font: 800 13px Montserrat, sans-serif; margin: 0 0 18px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 45px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; }

.floating-whatsapp { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: #22c56e; color: #fff; box-shadow: 0 16px 36px rgba(34,197,110,.32); font-size: 12px; }
.floating-whatsapp span { font-size: 20px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #11162f; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 13px 18px; box-shadow: var(--shadow-md); transition: all .25s ease; font-size: 12px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }

/* Catalog */
.subpage-header { min-height: 410px; display: grid; align-items: center; padding: 65px 0 75px; background: linear-gradient(125deg, #111638, #2c226e 55%, #6b257f); color: #fff; position: relative; overflow: hidden; }
.subpage-header::after { content: ""; position: absolute; width: 520px; height: 520px; right: -100px; top: -160px; border-radius: 50%; background: conic-gradient(from 90deg, rgba(25,198,255,.22), rgba(247,47,214,.18), transparent); filter: blur(20px); }
.subpage-content { position: relative; z-index: 2; max-width: 760px; }
.breadcrumb { color: rgba(255,255,255,.55); font-size: 12px; margin-bottom: 28px; }
.subpage-header h1 { margin: 0; font: 800 clamp(46px,6vw,76px)/1 Montserrat, sans-serif; letter-spacing: -.04em; }
.subpage-header p { color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.7; max-width: 680px; }
.catalog-tools { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 28px; }
.search-box { position: relative; }
.search-box input { width: 100%; border: 1px solid rgba(32,43,110,.12); background: #fff; border-radius: 999px; padding: 15px 52px 15px 18px; outline: none; box-shadow: var(--shadow-sm); }
.search-box span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-toggle { white-space: nowrap; }
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.catalog-sidebar { position: sticky; top: 20px; background: #fff; border: 1px solid rgba(32,43,110,.08); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-sm); }
.catalog-sidebar h3 { font: 800 14px Montserrat, sans-serif; margin: 0 0 18px; }
.filter-list { display: grid; gap: 8px; }
.filter-button { border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 12px; }
.filter-button:hover, .filter-button.active { background: var(--gradient-soft); color: var(--violet); font-weight: 700; }
.catalog-result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.catalog-result-meta select { border: 1px solid rgba(32,43,110,.12); border-radius: 10px; padding: 9px 12px; background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid rgba(32,43,110,.08); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-image { aspect-ratio: 1 / .88; overflow: hidden; background: var(--lavender); position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--violet); border-radius: 999px; padding: 7px 10px; font-size: 9px; font-weight: 800; box-shadow: var(--shadow-sm); }
.product-info { padding: 18px; }
.product-code { color: var(--violet); font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.product-info h3 { font: 800 16px/1.25 Montserrat, sans-serif; margin: 8px 0; }
.product-info p { color: var(--muted); font-size: 11px; line-height: 1.55; min-height: 52px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.product-meta strong { font-size: 13px; color: var(--deep-blue); }
.product-meta button { border: 0; border-radius: 999px; background: var(--gradient); color: #fff; padding: 9px 12px; font-size: 10px; font-weight: 800; cursor: pointer; }
.empty-state { display: none; padding: 50px; background: #fff; border-radius: 20px; text-align: center; color: var(--muted); }

/* Dashboards */
.dashboard-body { background: #f4f4f9; min-height: 100vh; }
.dashboard-shell { display: grid; grid-template-columns: 255px 1fr; min-height: 100vh; }
.dashboard-sidebar { background: #11152f; color: rgba(255,255,255,.72); padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dashboard-sidebar .brand { padding: 0 10px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dashboard-sidebar .brand strong { color: #fff; }
.dashboard-nav { display: grid; gap: 6px; margin-top: 24px; }
.dashboard-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; font-size: 12px; }
.dashboard-nav a:hover, .dashboard-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.dashboard-nav span { width: 23px; text-align: center; color: var(--blue-electric); }
.dashboard-nav-group { margin-top: 22px; padding: 0 12px; color: rgba(255,255,255,.32); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.dashboard-main { padding: 26px 30px 60px; min-width: 0; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.dashboard-top h1 { margin: 0; font: 800 28px Montserrat, sans-serif; }
.dashboard-top p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.user-chip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 12px 8px 8px; box-shadow: var(--shadow-sm); }
.user-chip .avatar { width: 34px; height: 34px; }
.user-chip div { display: grid; }
.user-chip strong { font-size: 11px; }
.user-chip span { font-size: 9px; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.metric-card { background: #fff; border-radius: 17px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(32,43,110,.05); }
.metric-card .metric-label { color: var(--muted); font-size: 10px; }
.metric-card strong { display: block; font: 800 28px Montserrat, sans-serif; margin: 9px 0 6px; }
.metric-trend { font-size: 9px; color: #25a866; }
.metric-trend.down { color: #d55468; }
.dashboard-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 18px; margin-top: 18px; }
.panel { background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(32,43,110,.05); overflow: hidden; }
.panel-header { padding: 18px 20px; border-bottom: 1px solid rgba(32,43,110,.07); display: flex; justify-content: space-between; align-items: center; }
.panel-header h2 { font: 800 14px Montserrat, sans-serif; margin: 0; }
.panel-header a, .panel-header button { font-size: 10px; color: var(--violet); border: 0; background: transparent; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.data-table th { text-align: left; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; padding: 13px 20px; background: #fafafd; }
.data-table td { padding: 15px 20px; border-top: 1px solid rgba(32,43,110,.06); font-size: 11px; }
.status { display: inline-flex; align-items: center; padding: 7px 9px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.status.blue { background: rgba(25,198,255,.12); color: #1680a4; }
.status.purple { background: rgba(108,43,255,.10); color: var(--violet); }
.status.green { background: rgba(37,204,117,.12); color: #178a4b; }
.status.orange { background: rgba(255,172,45,.13); color: #ad6a00; }
.pipeline { padding: 20px; display: grid; gap: 14px; }
.pipeline-item { display: grid; gap: 8px; }
.pipeline-item > div { display: flex; justify-content: space-between; font-size: 10px; }
.pipeline-bar { height: 8px; background: #eeeefa; border-radius: 999px; overflow: hidden; }
.pipeline-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gradient); }
.quick-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 20px; }
.quick-action { border: 1px solid rgba(32,43,110,.08); border-radius: 14px; min-height: 95px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.quick-action span { color: var(--violet); font-size: 21px; }
.quick-action strong { font-size: 10px; }
.order-timeline { padding: 24px; }
.timeline-step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 24px; }
.timeline-step:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 28px; bottom: 0; width: 2px; background: #e5e4ef; }
.timeline-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e8e7f1; color: var(--muted); font-size: 10px; position: relative; z-index: 2; }
.timeline-step.done .timeline-dot { background: var(--gradient); color: #fff; }
.timeline-step.current .timeline-dot { background: #fff; border: 2px solid var(--violet); color: var(--violet); box-shadow: 0 0 0 5px rgba(108,43,255,.08); }
.timeline-copy { padding-top: 4px; }
.timeline-copy strong { display: block; font-size: 11px; }
.timeline-copy span { color: var(--muted); font-size: 9px; }
.file-list { padding: 18px; display: grid; gap: 10px; }
.file-item { display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(32,43,110,.07); border-radius: 12px; padding: 12px; }
.file-item div { display: flex; align-items: center; gap: 10px; }
.file-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--gradient-soft); display: grid; place-items: center; color: var(--violet); }
.file-item strong { display: block; font-size: 10px; }
.file-item span { font-size: 8px; color: var(--muted); }
.file-item button { border: 0; background: transparent; color: var(--violet); font-size: 10px; cursor: pointer; }

@media (max-width: 1080px) {
  .nav-menu { gap: 15px; }
  .nav-menu > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 25px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .topbar-actions { display: none; }
  .topbar-inner { justify-content: center; text-align: center; }
  .navbar { min-height: 72px; }
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 112px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(32,43,110,.08);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > a:not(.button) { display: block; padding: 7px 4px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-content { text-align: center; }
  .hero-content > p { margin-inline: auto; }
  .hero-actions, .hero-metrics { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 18px 0; }
  .trust-grid span:last-child { grid-column: 1 / 3; }
  .trust-grid span::after { display: none; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .promotion-layout, .capacity-layout, .cta-card { grid-template-columns: 1fr; }
  .promotion-layout { padding-top: 70px; }
  .promotion-image { height: 460px; }
  .workflow-grid { grid-template-columns: repeat(2,1fr); gap: 38px 16px; }
  .workflow-grid::before { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3,360px); }
  .portfolio-card.large { grid-row: auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; display: none; }
  .catalog-sidebar.open { display: block; }
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: relative; height: auto; }
  .dashboard-nav { grid-template-columns: repeat(3,1fr); }
  .dashboard-nav-group { grid-column: 1 / -1; }
  .dashboard-main { padding: 22px 16px 45px; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .brand span { display: none; }
  .brand { min-width: auto; }
  .hero-content h1 { font-size: 45px; }
  .hero-metrics { gap: 12px; }
  .hero-metrics div { padding-right: 12px; }
  .hero-logo-card { width: 315px; }
  .orbit-one { width: 370px; height: 370px; }
  .orbit-two { width: 420px; height: 420px; }
  .card-top { right: -4px; }
  .card-bottom { left: -3px; }
  .service-grid, .category-grid, .capacity-panel, .product-grid, .metric-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 480px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .cta-card { padding: 34px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp strong { display: none; }
  .catalog-tools { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .dashboard-nav { grid-template-columns: repeat(2,1fr); }
  .dashboard-top { align-items: flex-start; }
  .user-chip div { display: none; }
}


/* Official contact and payment modules */
.contact-directory { padding-top: 88px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  min-height: 210px; display: flex; gap: 16px; align-items: flex-start; padding: 25px;
  border: 1px solid rgba(32,43,110,.09); border-radius: var(--radius); background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(108,43,255,.28); }
.contact-card-icon { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--gradient); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 12px 28px rgba(108,43,255,.22); }
.contact-card small { color: var(--violet); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.contact-card h3 { margin: 7px 0 8px; font-size: 19px; }
.contact-card p { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-card strong { color: var(--deep-blue); font-size: 12px; }
.payment-section { align-items: stretch; }
.payment-card-content { padding: 18px; display: grid; gap: 10px; }
.payment-line { position: relative; display: grid; grid-template-columns: minmax(115px,.7fr) minmax(0,1.6fr) auto; gap: 12px; align-items: center; padding: 12px 13px; border: 1px solid rgba(32,43,110,.07); border-radius: 12px; background: rgba(255,255,255,.72); }
.payment-line > span { color: var(--muted); font-size: 10px; }
.payment-line > strong { font-size: 10px; overflow-wrap: anywhere; }
.copy-button { border: 1px solid rgba(108,43,255,.16); border-radius: 999px; background: rgba(108,43,255,.07); color: var(--violet); padding: 7px 10px; font-size: 9px; font-weight: 700; cursor: pointer; }
.copy-button:hover { background: rgba(108,43,255,.13); }
.payment-notice { padding: 14px; border-radius: 13px; background: var(--gradient-soft); border: 1px solid rgba(108,43,255,.11); }
.payment-notice strong { display: block; color: var(--deep-blue); font-size: 11px; margin-bottom: 5px; }
.payment-notice p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.payment-notice a { color: var(--violet); font-weight: 700; }
.channel-list { padding: 18px; display: grid; gap: 9px; }
.channel-list a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 13px; border: 1px solid rgba(32,43,110,.07); border-radius: 12px; background: rgba(255,255,255,.72); }
.channel-list a:hover { border-color: rgba(108,43,255,.24); background: rgba(108,43,255,.035); }
.channel-list span { color: var(--muted); font-size: 10px; }
.channel-list strong { font-size: 10px; text-align: right; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 590px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: auto; }
  .payment-line { grid-template-columns: 1fr auto; }
  .payment-line > span { grid-column: 1 / -1; }
}

/* Inventiva 360 — acceso interno y paneles por rol */
.login-body { min-height: 100vh; margin: 0; background: #f4f5fb; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px,.9fr) minmax(480px,1.1fr); }
.login-brand-panel { position: relative; overflow: hidden; padding: 46px clamp(34px,6vw,88px); color: #fff; background: linear-gradient(145deg,#202b6e 0%,#4225a6 42%,#9b1bc9 70%,#f72fd6 100%); display: flex; flex-direction: column; }
.login-brand-panel::before,.login-brand-panel::after { content:""; position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,.16); }
.login-brand-panel::before { width:560px;height:560px;right:-260px;top:-170px; }
.login-brand-panel::after { width:380px;height:380px;left:-190px;bottom:-170px; }
.login-brand { position: relative; z-index: 2; color:#fff; }
.login-brand img { filter: drop-shadow(0 10px 26px rgba(0,0,0,.2)); }
.login-brand small { color: rgba(255,255,255,.72); }
.login-brand-copy { position:relative; z-index:2; margin:auto 0 42px; max-width:620px; }
.login-brand-copy h1 { margin:18px 0; font-size:clamp(42px,5vw,76px); line-height:.98; letter-spacing:-.055em; }
.login-brand-copy h1 em { color:#fff; font-style:normal; text-shadow:0 0 35px rgba(25,198,255,.45); }
.login-brand-copy p { max-width:590px; margin:0; color:rgba(255,255,255,.78); font-size:16px; line-height:1.8; }
.login-feature-list { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.login-feature-list > div { display:flex; gap:10px; padding:16px; border:1px solid rgba(255,255,255,.14); border-radius:16px; background:rgba(255,255,255,.07); backdrop-filter:blur(10px); }
.login-feature-list > div > span { width:26px;height:26px;flex:0 0 26px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);font-size:11px; }
.login-feature-list p { margin:0; }
.login-feature-list strong { display:block;font-size:11px; }
.login-feature-list small { display:block;margin-top:4px;color:rgba(255,255,255,.62);font-size:9px;line-height:1.45; }
.login-form-panel { padding:38px; display:grid; place-items:center; }
.login-form-card { width:min(100%,510px); padding:42px; border:1px solid rgba(32,43,110,.08); border-radius:28px; background:rgba(255,255,255,.92); box-shadow:0 28px 90px rgba(32,43,110,.11); }
.login-kicker { color:var(--violet); font-size:10px; font-weight:800; letter-spacing:.16em; }
.login-form-heading h2 { margin:8px 0 8px; font-size:38px; letter-spacing:-.04em; }
.login-form-heading p { margin:0; color:var(--muted); font-size:13px; }
.login-form { display:grid; gap:17px; margin-top:30px; }
.login-form label { display:grid; gap:8px; color:var(--deep-blue); font-size:11px; font-weight:700; }
.login-form input[type="text"],.login-form input[type="password"] { width:100%; min-height:52px; border:1px solid rgba(32,43,110,.12); border-radius:13px; background:#fff; padding:0 15px; color:var(--deep-blue); outline:none; }
.login-form input:focus { border-color:rgba(108,43,255,.5); box-shadow:0 0 0 4px rgba(108,43,255,.08); }
.password-field { position:relative; }
.password-field input { padding-right:72px !important; }
.password-field button { position:absolute; right:9px; top:50%; transform:translateY(-50%); border:0; border-radius:9px; background:var(--gradient-soft); color:var(--violet); padding:8px 10px; cursor:pointer; font-size:9px; font-weight:800; }
.remember-row { display:flex !important; align-items:center; gap:9px !important; color:var(--muted) !important; font-weight:500 !important; }
.remember-row input { accent-color:var(--violet); }
.login-submit { width:100%; border:0; cursor:pointer; min-height:52px; justify-content:center; }
.login-error { min-height:18px; margin:0; color:#b42318; font-size:10px; font-weight:700; }
.demo-access { margin-top:22px; padding:16px; border:1px solid rgba(108,43,255,.11); border-radius:16px; background:var(--gradient-soft); display:grid; gap:7px; }
.demo-access strong { display:block; font-size:11px; }
.demo-access span,.demo-access small { display:block; color:var(--muted); font-size:9px; line-height:1.5; }
.demo-access code { width:max-content; padding:7px 10px; border-radius:8px; background:#fff; color:var(--violet); font-weight:800; }
.login-help { display:flex; justify-content:space-between; gap:16px; margin-top:20px; color:var(--muted); font-size:9px; }
.login-help a { color:var(--violet); font-weight:700; }
.sidebar-role-card { margin:20px 10px 14px; padding:14px; border-radius:14px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.09); color:#fff; }
.sidebar-role-card span { display:block; color:#8de8ff; font-size:8px; text-transform:uppercase; letter-spacing:.12em; }
.sidebar-role-card strong { display:block; margin:5px 0 3px; font-size:13px; }
.sidebar-role-card small { color:rgba(255,255,255,.58); font-size:8px; }
.sidebar-logout { margin:18px 10px 0; min-height:40px; border:1px solid rgba(255,255,255,.12); border-radius:11px; color:#fff; background:rgba(255,255,255,.06); cursor:pointer; font-size:9px; font-weight:700; }
.sidebar-logout:hover { background:rgba(255,255,255,.12); }
.dashboard-nav [hidden], [data-section-permission][hidden] { display:none !important; }
.quick-action { background:#fff; cursor:pointer; text-align:left; }
.quick-action:hover { border-color:rgba(108,43,255,.25); background:rgba(108,43,255,.035); transform:translateY(-2px); }
.rule-list { padding:18px; display:grid; gap:9px; }
.rule-list > div { display:grid; grid-template-columns:minmax(120px,.75fr) minmax(0,1.6fr); gap:18px; padding:13px; border:1px solid rgba(32,43,110,.07); border-radius:12px; }
.rule-list span { color:var(--muted); font-size:9px; }
.rule-list strong { font-size:10px; line-height:1.55; }
.task-list { padding:18px; display:grid; gap:10px; }
.task-list article { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; padding:13px; border:1px solid rgba(32,43,110,.07); border-radius:12px; }
.task-list article div strong,.task-list article div small { display:block; }
.task-list article div strong { font-size:10px; }
.task-list article div small { margin-top:4px; color:var(--muted); font-size:8px; }
.task-list article b { font-size:9px; color:var(--deep-blue); }
.workflow-mini { padding:28px 20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:9px; }
.workflow-mini span { padding:10px 12px; border-radius:999px; background:var(--gradient-soft); color:var(--violet); font-size:9px; font-weight:700; }
.workflow-mini i { color:var(--muted); font-style:normal; }
.quality-summary { padding:26px; display:grid; gap:9px; }
.quality-summary strong { font-size:38px; letter-spacing:-.04em; }
.quality-summary span { font-size:11px; font-weight:700; }
.quality-summary small { color:var(--muted); font-size:9px; line-height:1.6; }
.quality-summary progress { width:100%; height:9px; accent-color:var(--violet); }
.catalog-admin-summary { padding:24px; display:grid; grid-template-columns:auto 1fr; align-items:end; gap:5px 12px; }
.catalog-admin-summary > strong { font-size:48px; letter-spacing:-.05em; }
.catalog-admin-summary > span { color:var(--muted); font-size:10px; padding-bottom:9px; }
.catalog-admin-summary > div { grid-column:1/-1; margin-top:10px; padding:14px; border-radius:13px; background:var(--gradient-soft); }
.catalog-admin-summary b,.catalog-admin-summary small { display:block; }
.catalog-admin-summary b { font-size:10px; }
.catalog-admin-summary small { margin-top:4px; color:var(--muted); font-size:9px; }
.panel-wide { grid-column:1/-1; }

@media (max-width: 920px) {
  .login-shell { grid-template-columns:1fr; }
  .login-brand-panel { min-height:540px; }
  .login-feature-list { grid-template-columns:1fr; }
}
@media (max-width: 590px) {
  .login-brand-panel { min-height:470px; padding:30px 22px; }
  .login-brand-copy { margin-top:70px; }
  .login-feature-list { display:none; }
  .login-form-panel { padding:18px; }
  .login-form-card { padding:28px 22px; border-radius:22px; }
  .login-help { flex-direction:column; }
  .rule-list > div { grid-template-columns:1fr; gap:5px; }
  .task-list article { grid-template-columns:1fr; }
}

/* Inventiva 360 — módulos funcionales del prototipo */
html { scroll-behavior: smooth; }
.app-overview { margin-top: 22px; }
.app-panel-header { align-items: flex-end; flex-wrap: wrap; }
.app-panel-header > div:first-child span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-primary,.app-secondary,.row-action { border-radius: 10px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.app-primary { border: 0; padding: 10px 13px; color: #fff; background: linear-gradient(105deg,var(--blue-electric),var(--violet),var(--fuchsia)); box-shadow: 0 8px 22px rgba(108,43,255,.22); font-size: 9px; }
.app-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(108,43,255,.24); }
.app-secondary { border: 1px solid rgba(32,43,110,.12); padding: 9px 12px; color: var(--deep-blue); background: #fff; font-size: 9px; }
.table-search,.table-filter { min-height: 36px; border: 1px solid rgba(32,43,110,.11); border-radius: 10px; padding: 0 11px; background: #fff; color: var(--deep-blue); outline: none; font-size: 9px; }
.table-search { width: 190px; }
.table-search:focus,.table-filter:focus { border-color: rgba(108,43,255,.45); box-shadow: 0 0 0 3px rgba(108,43,255,.07); }
.app-table td strong,.app-table td small { display: block; }
.app-table td strong { font-size: 9px; line-height: 1.45; }
.app-table td small { margin-top: 3px; max-width: 280px; color: var(--muted); font-size: 7.5px; line-height: 1.4; }
.app-table td:last-child { width: 1%; white-space: nowrap; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.row-action { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(32,43,110,.11); padding: 6px 8px; color: var(--deep-blue); background: #fff; text-decoration: none; font-size: 7.5px; }
.row-action:hover { border-color: rgba(108,43,255,.35); color: var(--violet); }
.row-action.primary { border-color: transparent; color: #fff; background: var(--violet); }
.empty-state { margin: 0 18px 18px; padding: 26px; border: 1px dashed rgba(32,43,110,.16); border-radius: 13px; color: var(--muted); text-align: center; font-size: 10px; }
.progress-cell { display: grid; grid-template-columns: minmax(80px,1fr) auto; gap: 7px; align-items: center; }
.progress-cell progress { width: 100%; height: 7px; accent-color: var(--violet); }
.progress-cell span { color: var(--muted); font-size: 8px; }
.settings-form { display: grid; gap: 13px; padding: 20px; }
.settings-form label,.dialog-grid label { display: grid; gap: 7px; color: var(--deep-blue); font-size: 9px; font-weight: 750; }
.settings-form input,.settings-form select,.dialog-grid input,.dialog-grid select,.dialog-grid textarea { width: 100%; border: 1px solid rgba(32,43,110,.12); border-radius: 11px; background: #fff; padding: 10px 11px; color: var(--deep-blue); outline: none; font: inherit; font-weight: 500; }
.settings-form input:focus,.settings-form select:focus,.dialog-grid input:focus,.dialog-grid select:focus,.dialog-grid textarea:focus { border-color: rgba(108,43,255,.5); box-shadow: 0 0 0 3px rgba(108,43,255,.07); }

.app-dialog { width: min(760px,calc(100vw - 32px)); max-height: min(860px,calc(100vh - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--deep-blue); background: transparent; box-shadow: 0 35px 120px rgba(18,25,76,.3); }
.app-dialog::backdrop { background: rgba(12,18,57,.58); backdrop-filter: blur(8px); }
.dialog-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.55); border-radius: 24px; background: #f8f9fd; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 26px 18px; border-bottom: 1px solid rgba(32,43,110,.07); background: #fff; }
.dialog-header h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.035em; }
.dialog-close { width: 35px; height: 35px; border: 1px solid rgba(32,43,110,.1); border-radius: 50%; color: var(--deep-blue); background: #fff; cursor: pointer; font-size: 20px; }
.dialog-body { max-height: calc(100vh - 230px); overflow: auto; padding: 22px 26px; }
.dialog-grid { display: grid; gap: 15px; }
.dialog-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dialog-grid .span-two { grid-column: 1 / -1; }
.dialog-grid textarea { resize: vertical; min-height: 78px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 26px 22px; border-top: 1px solid rgba(32,43,110,.07); background: #fff; }
.dialog-note,.quote-calculator { padding: 14px 15px; border: 1px solid rgba(108,43,255,.12); border-radius: 13px; background: var(--gradient-soft); }
.dialog-note strong,.quote-calculator strong { display: block; font-size: 10px; }
.dialog-note p,.quote-calculator span { display: block; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

@media (max-width: 700px) {
  .panel-actions { width: 100%; }
  .table-search,.table-filter { flex: 1; width: auto; min-width: 140px; }
  .dialog-grid.two { grid-template-columns: 1fr; }
  .dialog-grid .span-two { grid-column: auto; }
  .app-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); border-radius: 18px; }
  .dialog-shell { border-radius: 18px; }
  .dialog-header,.dialog-body,.dialog-footer { padding-left: 18px; padding-right: 18px; }
}

/* Cotización imprimible */
.quote-page-body { min-height: 100vh; margin: 0; padding: 34px 18px 90px; background: #eef0f7; color: var(--deep-blue); }
.quote-document { width: min(100%,960px); margin: 0 auto; padding: 42px; border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(32,43,110,.13); }
.quote-document-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(32,43,110,.1); }
.quote-logo-wrap { display: flex; align-items: center; gap: 13px; }
.quote-logo-wrap img { width: 74px; height: 74px; object-fit: contain; }
.quote-logo-wrap strong,.quote-logo-wrap span { display: block; }
.quote-logo-wrap strong { font-size: 22px; letter-spacing: .12em; }
.quote-logo-wrap span { margin-top: 3px; color: var(--muted); font-size: 8px; letter-spacing: .16em; }
.quote-number-box { min-width: 210px; padding: 16px 18px; border-radius: 16px; color: #fff; background: linear-gradient(120deg,var(--deep-blue),var(--violet),var(--magenta)); text-align: right; }
.quote-number-box span,.quote-number-box strong,.quote-number-box small { display: block; }
.quote-number-box span { font-size: 8px; letter-spacing: .15em; }
.quote-number-box strong { margin: 6px 0 4px; font-size: 20px; }
.quote-number-box small { color: rgba(255,255,255,.76); font-size: 8px; }
.quote-meta-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; margin-top: 22px; }
.quote-meta-grid > div { padding: 14px; border: 1px solid rgba(32,43,110,.08); border-radius: 13px; background: #fafaff; }
.quote-meta-grid span,.quote-meta-grid strong,.quote-meta-grid small { display: block; }
.quote-meta-grid span { color: var(--muted); font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }
.quote-meta-grid strong { margin-top: 6px; font-size: 10px; line-height: 1.45; }
.quote-meta-grid small { margin-top: 4px; color: var(--muted); font-size: 7.5px; line-height: 1.4; }
.quote-table-section { margin-top: 28px; }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th { padding: 11px 12px; color: #fff; background: var(--deep-blue); text-align: left; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.quote-table th:first-child { border-radius: 10px 0 0 10px; }
.quote-table th:last-child { border-radius: 0 10px 10px 0; text-align: right; }
.quote-table td { padding: 18px 12px; border-bottom: 1px solid rgba(32,43,110,.08); font-size: 10px; vertical-align: top; }
.quote-table td:last-child { text-align: right; font-weight: 800; }
.quote-table td strong,.quote-table td small { display: block; }
.quote-table td small { margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.quote-total-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 35px; margin-top: 25px; }
.quote-notes > span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.quote-notes p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.quote-totals { display: grid; gap: 10px; }
.quote-totals > div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(32,43,110,.08); }
.quote-totals span { color: var(--muted); font-size: 8px; }
.quote-totals strong { font-size: 11px; }
.quote-totals .grand-total { padding: 14px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(105deg,var(--cyan),var(--violet),var(--magenta)); }
.quote-totals .grand-total span { color: rgba(255,255,255,.78); }
.quote-totals .grand-total strong { font-size: 16px; }
.quote-totals small { color: var(--muted); font-size: 7.5px; line-height: 1.5; }
.quote-terms { margin-top: 34px; padding-top: 27px; border-top: 1px solid rgba(32,43,110,.1); }
.quote-terms h2 { margin: 0 0 16px; font-size: 17px; }
.quote-terms-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.quote-terms article { padding: 14px; border-radius: 13px; background: var(--gradient-soft); }
.quote-terms strong { font-size: 9px; }
.quote-terms p { margin: 6px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.quote-footer { display: flex; justify-content: space-between; gap: 35px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(32,43,110,.1); }
.quote-footer > div { max-width: 54%; }
.quote-footer strong,.quote-footer span { display: block; }
.quote-footer strong { font-size: 9px; }
.quote-footer span { margin-top: 4px; color: var(--muted); font-size: 7.5px; line-height: 1.5; }
.quote-actions { position: fixed; right: 24px; bottom: 24px; display: flex; gap: 9px; padding: 10px; border: 1px solid rgba(32,43,110,.08); border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: 0 15px 50px rgba(32,43,110,.16); backdrop-filter: blur(12px); }
.quote-error { width: min(560px,calc(100% - 30px)); margin: 15vh auto; padding: 30px; border-radius: 18px; background: #fff; color: var(--muted); text-align: center; box-shadow: 0 20px 70px rgba(32,43,110,.12); }
@media (max-width: 760px) {
  .quote-document { padding: 24px 18px; border-radius: 18px; }
  .quote-document-header,.quote-footer { flex-direction: column; }
  .quote-number-box { width: 100%; text-align: left; }
  .quote-meta-grid,.quote-terms-grid { grid-template-columns: repeat(2,1fr); }
  .quote-total-row { grid-template-columns: 1fr; }
  .quote-footer > div { max-width: none; }
  .quote-actions { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
}
@media print {
  @page { size: A4; margin: 10mm; }
  body.quote-page-body { padding: 0; background: #fff; }
  .quote-document { width: 100%; padding: 0; border-radius: 0; box-shadow: none; }
  .no-print { display: none !important; }
  .quote-meta-grid > div,.quote-terms article { break-inside: avoid; }
}

/* Ajustes solicitados */
.app-primary,.app-secondary,.row-action { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.app-primary { min-height: 42px; min-width: 118px; font-size: 11px; letter-spacing: .01em; }
.app-secondary { min-height: 42px; min-width: 118px; font-size: 11px; }
.dialog-footer .app-primary,.dialog-footer .app-secondary { min-width: 150px; }
.dialog-footer .app-secondary { background: #f4f6fc; color: var(--deep-blue); border-color: rgba(32,43,110,.08); }
.dialog-footer .app-primary { color: #fff; }

.capacity-visual-grid { gap: 16px; }
.capacity-visual-card { overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.capacity-visual-card img { display: block; width: 100%; height: 150px; object-fit: cover; }
.capacity-visual-card div { padding: 14px 15px 16px; }
.capacity-visual-card strong,.capacity-visual-card span { display: block; }
.capacity-visual-card strong { font-size: 16px; }
.capacity-visual-card span { margin-top: 6px; color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.5; }

.about-hero { padding-top: 34px; align-items: center; }
.about-highlight { position: relative; min-height: 430px; }
.about-story,.about-principles,.about-capacity { padding-top: 24px; }
.about-grid,.principles-grid,.capacity-media-grid { display: grid; gap: 18px; }
.about-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.principles-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.capacity-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.about-card,.principle-card,.capacity-media-card { border: 1px solid rgba(32,43,110,.08); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 24px 60px rgba(17,24,59,.08); }
.about-card,.principle-card { padding: 24px; }
.about-card h3,.principle-card h3 { margin: 0 0 10px; font-size: 22px; color: var(--deep-blue); }
.about-card p,.principle-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.principle-card small { display: inline-block; margin-bottom: 10px; color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.capacity-media-card { overflow: hidden; }
.capacity-media-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.capacity-media-card div { padding: 18px 20px 22px; }
.capacity-media-card strong,.capacity-media-card span { display: block; }
.capacity-media-card strong { font-size: 20px; color: var(--deep-blue); }
.capacity-media-card span { margin-top: 8px; color: var(--muted); line-height: 1.65; }
@media (max-width: 980px) {
  .about-grid,.principles-grid,.capacity-media-grid { grid-template-columns: 1fr; }
}


/* Formularios: botones y carga visual de banners */
.dialog-footer #dialog-submit {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
  background: linear-gradient(105deg, var(--blue-electric), var(--violet) 55%, var(--fuchsia)) !important;
  border: 0 !important;
  box-shadow: 0 10px 26px rgba(108,43,255,.28) !important;
}
.dialog-footer #dialog-submit:hover { transform: translateY(-1px); box-shadow: 0 13px 32px rgba(108,43,255,.34) !important; }
.dialog-footer #dialog-cancel { display: inline-flex !important; visibility: visible !important; opacity: 1 !important; }
.upload-field { display: grid; gap: 9px; }
.upload-field input[type="file"] {
  width: 100%;
  min-height: 48px;
  padding: 8px;
  border: 1px dashed rgba(108,43,255,.38);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: var(--deep-blue);
  cursor: pointer;
}
.upload-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--deep-blue);
  font-weight: 800;
  cursor: pointer;
}
.upload-help { display: block; color: var(--muted); font-size: 8.5px; line-height: 1.55; font-weight: 500; }
.promotion-image-preview {
  overflow: hidden;
  min-height: 165px;
  border: 1px solid rgba(32,43,110,.09);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25,198,255,.08), rgba(108,43,255,.07), rgba(247,47,214,.08));
  display: grid;
  place-items: center;
}
.promotion-image-preview img { width: 100%; height: 190px; object-fit: cover; }
.promotion-image-preview span { padding: 28px; color: var(--muted); text-align: center; font-size: 9px; }

/* Cotizaciones con múltiples partidas */
.quote-items-editor { display: grid; gap: 12px; }
.quote-items-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.quote-items-heading strong,.quote-items-heading small { display: block; }
.quote-items-heading strong { font-size: 11px; color: var(--deep-blue); }
.quote-items-heading small { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }
#quote-items-list { display: grid; gap: 11px; }
.quote-item-row { display: grid; grid-template-columns: 1.1fr 1.6fr .55fr .75fr auto; gap: 9px; align-items: end; padding: 13px; border: 1px solid rgba(32,43,110,.08); border-radius: 14px; background: rgba(255,255,255,.8); }
.quote-item-row label { min-width: 0; }
.quote-item-remove { width: 38px; height: 40px; border: 1px solid rgba(180,35,24,.12); border-radius: 10px; color: #b42318; background: #fff4f3; cursor: pointer; font-size: 19px; }
.quote-item-remove:hover { background: #ffe8e5; }
@media (max-width: 820px) {
  .quote-items-heading { align-items: flex-start; flex-direction: column; }
  .quote-item-row { grid-template-columns: 1fr 1fr; }
  .quote-item-description { grid-column: 1 / -1; }
  .quote-item-remove { grid-column: 2; justify-self: end; }
}
@media (max-width: 560px) {
  .quote-item-row { grid-template-columns: 1fr; }
  .quote-item-description,.quote-item-remove { grid-column: auto; }
  .quote-item-remove { justify-self: end; }
}

/* Área de clientes con acceso por pedido */
.client-portal-body { min-height: 100vh; }
.client-access-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 20% 20%, rgba(25,198,255,.16), transparent 28rem), radial-gradient(circle at 80% 80%, rgba(247,47,214,.14), transparent 32rem), #f2f4fb; }
.client-access-card { width: min(100%,560px); padding: 38px; border: 1px solid rgba(32,43,110,.08); border-radius: 28px; background: rgba(255,255,255,.94); box-shadow: 0 28px 90px rgba(32,43,110,.13); }
.client-access-copy { margin-top: 34px; }
.client-access-copy h1 { margin: 9px 0 10px; color: var(--deep-blue); font-size: clamp(34px,5vw,52px); line-height: 1.02; letter-spacing: -.045em; }
.client-access-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.client-access-form { display: grid; gap: 15px; margin-top: 28px; }
.client-access-form label { display: grid; gap: 8px; color: var(--deep-blue); font-size: 11px; font-weight: 750; }
.client-access-form input { width: 100%; min-height: 52px; border: 1px solid rgba(32,43,110,.12); border-radius: 13px; padding: 0 15px; color: var(--deep-blue); background: #fff; outline: none; }
.client-access-form input:focus { border-color: rgba(108,43,255,.5); box-shadow: 0 0 0 4px rgba(108,43,255,.08); }
.client-access-submit { width: 100%; min-height: 52px; }
.client-access-error { min-height: 18px; margin: 0; color: #b42318; font-size: 10px; font-weight: 700; }
.client-demo-note { margin-top: 18px; padding: 14px; border: 1px solid rgba(108,43,255,.11); border-radius: 14px; background: var(--gradient-soft); }
.client-demo-note strong,.client-demo-note span { display: block; }
.client-demo-note strong { font-size: 10px; color: var(--deep-blue); }
.client-demo-note span { margin-top: 5px; color: var(--muted); font-size: 9px; }
.client-return-link { display: inline-flex; margin-top: 18px; color: var(--violet); font-size: 10px; font-weight: 750; }
.quick-action.disabled { pointer-events: none; opacity: .45; }
@media (max-width: 590px) {
  .client-access-shell { padding: 14px; }
  .client-access-card { padding: 26px 20px; border-radius: 22px; }
}

/* Pruebas digitales con archivos */
.proof-upload-section { display: grid; gap: 12px; padding: 16px; border: 1px solid rgba(32,43,110,.09); border-radius: 16px; background: #fff; }
.proof-upload-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.proof-upload-heading strong,.proof-upload-heading span { display: block; }
.proof-upload-heading > div > strong { font-size: 12px; color: var(--deep-blue); }
.proof-upload-heading > div > span { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.proof-file-picker { display: flex !important; align-items: center; gap: 12px !important; padding: 15px; border: 1px dashed rgba(108,43,255,.34); border-radius: 14px; background: var(--gradient-soft); cursor: pointer; }
.proof-file-picker > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 12px; color: #fff; background: var(--gradient); font-size: 18px; }
.proof-file-picker strong,.proof-file-picker small { display: block; }
.proof-file-picker strong { font-size: 11px; color: var(--deep-blue); }
.proof-file-picker small { margin-top: 3px; color: var(--muted); font-size: 8px; }
#proof-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.proof-upload-help { padding: 10px 12px; border-radius: 11px; color: var(--muted); background: #f5f7fc; font-size: 8.5px; line-height: 1.55; }
.proof-upload-help strong { color: var(--deep-blue); }
.proof-upload-empty,.client-proof-no-file { display: grid; gap: 4px; padding: 18px; border: 1px dashed rgba(32,43,110,.14); border-radius: 13px; color: var(--muted); text-align: center; }
.proof-upload-empty strong,.client-proof-no-file strong { color: var(--deep-blue); font-size: 10px; }
.proof-upload-empty span,.client-proof-no-file span { font-size: 8.5px; line-height: 1.5; }
.proof-image-preview { overflow: hidden; border: 1px solid rgba(32,43,110,.08); border-radius: 14px; background: #f7f8fc; }
.proof-image-preview img { display: block; width: 100%; max-height: 330px; object-fit: contain; background: #eef1f8; }
.proof-image-preview > div { padding: 11px 13px; }
.proof-image-preview strong,.proof-image-preview small { display: block; }
.proof-image-preview strong { font-size: 10px; color: var(--deep-blue); }
.proof-image-preview small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.proof-pdf-preview { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(32,43,110,.08); border-radius: 13px; background: #f7f8fc; }
.proof-pdf-preview > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 11px; color: #fff; background: var(--deep-blue); font-size: 10px; font-weight: 800; }
.proof-pdf-preview > div { min-width: 0; flex: 1; }
.proof-pdf-preview strong,.proof-pdf-preview small { display: block; overflow-wrap: anywhere; }
.proof-pdf-preview strong { font-size: 10px; }
.proof-pdf-preview small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.proof-pdf-preview a { color: var(--violet); font-size: 9px; font-weight: 800; }
.proof-file-indicator { color: #16845b !important; font-weight: 700; }
.proof-file-missing { color: #a35b00 !important; }

/* Vista de pruebas en el área del cliente */
#client-proof-list { display: grid; gap: 16px; padding: 18px; }
.client-proof-card { display: grid !important; grid-template-columns: 1fr !important; gap: 13px !important; align-items: stretch !important; padding: 16px !important; border: 1px solid rgba(32,43,110,.08) !important; border-radius: 16px !important; background: #fff !important; }
.client-proof-card-header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.client-proof-card-header > div { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.client-proof-card-header strong { font-size: 11px; }
.client-proof-card-header > small { color: var(--muted); font-size: 8px; }
.client-proof-media { overflow: hidden; border: 1px solid rgba(32,43,110,.08); border-radius: 15px; background: #f5f7fb; }
.client-proof-media > a { display: block; }
.client-proof-media img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #edf0f7; }
.client-proof-media-footer { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 13px 14px; }
.client-proof-media-footer strong,.client-proof-media-footer small { display: block; }
.client-proof-media-footer strong { font-size: 10px; overflow-wrap: anywhere; }
.client-proof-media-footer small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.client-proof-media-footer .button { flex: 0 0 auto; padding: 9px 12px; font-size: 9px; }
.client-proof-pdf { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid rgba(32,43,110,.08); border-radius: 14px; background: #f5f7fb; }
.client-proof-pdf > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 13px; color: #fff; background: var(--deep-blue); font-size: 11px; font-weight: 800; }
.client-proof-pdf > div { min-width: 0; flex: 1; }
.client-proof-pdf strong,.client-proof-pdf small { display: block; overflow-wrap: anywhere; }
.client-proof-pdf strong { font-size: 10px; }
.client-proof-pdf small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.client-proof-pdf .button { padding: 9px 12px; font-size: 9px; }
.client-proof-note { display: grid; gap: 5px; padding: 12px 13px; border-radius: 12px; background: var(--gradient-soft); }
.client-proof-note strong { font-size: 9px; color: var(--deep-blue); }
.client-proof-note p { margin: 0 0 5px; color: var(--muted); font-size: 8.5px; line-height: 1.55; }
.client-proof-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.client-proof-actions .app-primary,.client-proof-actions .app-secondary { min-width: 145px; }
@media (max-width: 650px) {
  .proof-upload-heading,.client-proof-card-header,.client-proof-media-footer,.client-proof-pdf { flex-direction: column; }
  .client-proof-media-footer .button,.client-proof-pdf .button { width: 100%; }
  .client-proof-actions { display: grid; grid-template-columns: 1fr; }
  .client-proof-actions .app-primary,.client-proof-actions .app-secondary { width: 100%; }
}

/* V7 — uso del logotipo oficial completo en cabeceras */
.brand {
  min-width: auto;
  flex-shrink: 0;
}
.brand img.brand-lockup {
  width: 238px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.site-footer .brand img.brand-lockup {
  width: 225px;
  max-height: 58px;
}
.dashboard-sidebar .brand img.brand-lockup {
  width: 190px;
  max-height: 52px;
}
.login-brand img.brand-lockup {
  width: 245px;
  max-height: 64px;
}
.client-access-card .brand img.brand-lockup {
  width: 225px;
  max-height: 60px;
}
.quote-logo-wrap img.quote-brand-lockup {
  width: 300px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 1100px) {
  .brand img.brand-lockup { width: 205px; }
  .nav-menu { gap: 16px; font-size: 13px; }
}
@media (max-width: 590px) {
  .brand img.brand-lockup {
    width: 178px;
    height: auto;
    max-height: 48px;
  }
  .navbar {
    min-height: 74px;
    gap: 14px;
  }
  .site-footer .brand img.brand-lockup,
  .client-access-card .brand img.brand-lockup {
    width: 195px;
    max-height: 54px;
  }
  .login-brand img.brand-lockup {
    width: 205px;
    max-height: 56px;
  }
  .quote-logo-wrap img.quote-brand-lockup {
    width: 240px;
    max-height: 68px;
  }
}

/* =========================================================
   V8 — Branding oficial, experiencia móvil y autenticación cloud
   ========================================================= */
body.auth-checking .dashboard-shell {
  visibility: hidden;
}
body.auth-checking::after {
  content: "Verificando acceso seguro…";
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  background:
    radial-gradient(circle at 20% 20%, rgba(25,198,255,.16), transparent 28rem),
    radial-gradient(circle at 80% 72%, rgba(247,47,214,.13), transparent 30rem),
    #fbfafe;
}
.login-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}
.cloud-access-note {
  border-color: rgba(25,198,255,.22);
  background: linear-gradient(120deg, rgba(25,198,255,.10), rgba(108,43,255,.08), rgba(247,47,214,.09));
}

.brand img.brand-lockup {
  width: 258px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}
.site-footer .brand img.brand-lockup { width: 244px; max-height: 66px; }
.dashboard-sidebar .brand img.brand-lockup { width: 204px; max-height: 58px; }
.login-brand img.brand-lockup { width: 258px; max-height: 68px; }
.client-access-card .brand img.brand-lockup { width: 240px; max-height: 64px; }
.quote-logo-wrap img.quote-brand-lockup { width: 315px; max-height: 86px; }

@media (max-width: 820px) {
  .site-header { background: rgba(255,255,255,.94); }
  .topbar { font-size: 10px; }
  .topbar-inner { min-height: 38px; padding-inline: 10px; }
  .navbar { min-height: 78px; }
  .brand img.brand-lockup { width: 218px; max-height: 58px; }
  .menu-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    border: 1px solid rgba(32,43,110,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.86);
  }
  .menu-toggle span { width: 26px; margin: 4px 0; }
  .nav-menu {
    top: 122px;
    gap: 5px;
    max-height: calc(100vh - 142px);
    overflow-y: auto;
  }
  .nav-menu > a:not(.button) { padding: 11px 10px; border-radius: 10px; }
  .nav-menu > a:not(.button):hover { background: var(--gradient-soft); }
  .nav-menu .button { margin-top: 8px; width: 100%; }
  .hero { padding-top: 50px; padding-bottom: 58px; gap: 28px; }
  .hero-visual { min-height: 430px; }
  .section { padding: 74px 0; }
  .promotion-image { height: 370px; }
}

@media (max-width: 590px) {
  :root { --container: min(100% - 24px, 540px); }
  .topbar-inner { font-size: 9.5px; line-height: 1.35; }
  .navbar { min-height: 74px; }
  .brand img.brand-lockup {
    width: min(205px, calc(100vw - 98px));
    max-height: 54px;
  }
  .site-footer .brand img.brand-lockup,
  .client-access-card .brand img.brand-lockup { width: 220px; max-height: 60px; }
  .login-brand img.brand-lockup { width: 222px; max-height: 60px; }
  .quote-logo-wrap img.quote-brand-lockup { width: min(255px, 100%); max-height: 72px; }

  .hero { padding-top: 42px; padding-bottom: 44px; }
  .hero-content h1 { font-size: clamp(42px, 12.4vw, 58px); line-height: .99; letter-spacing: -.055em; }
  .hero-content > p { font-size: 18px; line-height: 1.75; }
  .eyebrow { justify-content: center; font-size: 10px; line-height: 1.55; letter-spacing: .12em; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero-actions .button { width: 100%; min-height: 56px; }
  .hero-metrics { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 32px; }
  .hero-metrics div { padding: 0 8px; }
  .hero-metrics strong { font-size: 28px; }
  .hero-metrics span { font-size: 10px; line-height: 1.35; }
  .hero-visual { min-height: 360px; overflow: hidden; }
  .hero-logo-card { width: 255px; }
  .orbit-one { width: 300px; height: 300px; }
  .orbit-two { width: 345px; height: 345px; }
  .floating-card { max-width: 205px; padding: 11px 13px; }
  .floating-card strong { font-size: 10px; }
  .floating-card small { font-size: 8px; }
  .card-top { top: 28px; right: 2px; }
  .card-bottom { bottom: 18px; left: 2px; }

  .trust-grid { grid-template-columns: 1fr; gap: 9px; text-align: center; }
  .trust-grid span:last-child { grid-column: auto; }
  .section { padding: 62px 0; }
  .section-heading h2 { font-size: 38px; }
  .section-heading p { font-size: 15px; }
  .service-card { padding: 26px 22px; }
  .category-card { min-height: 360px; }
  .promotion-layout { padding-top: 52px; }
  .promotion-image { height: 300px; }
  .promotion-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; }
  .promotion-actions .button { width: 100%; }
  .portfolio-grid { grid-template-rows: repeat(3,300px); }
  .capacity-visual-card img { height: 130px; }
  .contact-card { padding: 21px; }
  .footer-grid { gap: 34px; }
  .footer-bottom { gap: 10px; text-align: center; }
  .floating-whatsapp { width: 58px; height: 58px; padding: 0; justify-content: center; }

  .login-brand-panel { min-height: 390px; }
  .login-brand-copy h1 { font-size: 43px; }
  .login-form-card { padding: 28px 20px; }
  .login-form-heading h2 { font-size: 32px; }
  .login-help { gap: 8px; }

  .dashboard-sidebar .brand img.brand-lockup { width: 210px; max-height: 60px; }
  .dashboard-nav { grid-template-columns: 1fr 1fr; }
  .dashboard-nav a { min-height: 48px; }
  .dashboard-main { padding: 18px 12px 44px; }
  .dashboard-top { gap: 12px; }
  .dashboard-top h1 { font-size: 29px; }
  .metric-card { padding: 18px; }
  .app-dialog { width: calc(100vw - 12px); max-height: calc(100vh - 12px); }
  .dialog-header { padding-top: 20px; }
  .dialog-header h2 { font-size: 23px; }
  .dialog-footer { display: grid; grid-template-columns: 1fr 1fr; }
  .dialog-footer .app-primary,.dialog-footer .app-secondary { width: 100%; min-width: 0; }
}
.login-security-note {
  padding: 11px 13px;
  border: 1px solid rgba(25,198,255,.16);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(25,198,255,.055);
  font-size: 9px;
  line-height: 1.55;
}
.dashboard-top-actions { display: flex; align-items: center; gap: 12px; }
.cloud-status { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(19,159,99,.14); border-radius: 999px; color: #117d50; background: rgba(19,159,99,.07); font-size: 9px; font-weight: 800; white-space: nowrap; }
.cloud-status i { width: 7px; height: 7px; border-radius: 50%; background: #17b26a; box-shadow: 0 0 0 4px rgba(23,178,106,.10); }
@media (max-width: 590px) {
  .dashboard-top-actions { align-items: flex-end; flex-direction: column-reverse; }
  .cloud-status { font-size: 8px; padding: 7px 9px; }
}

/* V10.1 · Diseño por partidas */
.design-selection-block {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(108,43,255,.13);
  border-radius: 16px;
  background: rgba(108,43,255,.045);
}
.design-selection-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.design-selection-heading strong,
.design-selection-heading small { display: block; }
.design-selection-heading strong { font-size: 11px; }
.design-selection-heading small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.design-selection-heading > div:last-child { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.design-selection-heading .app-secondary { min-width: auto; min-height: 34px; padding: 7px 10px; font-size: 8px; }
.design-item-options { display: grid; gap: 9px; }
.design-item-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 11px !important;
  padding: 12px 13px;
  border: 1px solid rgba(32,43,110,.08);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.design-item-option input { width: 17px !important; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--violet); }
.design-item-option span,
.design-item-option strong,
.design-item-option small { display: block; }
.design-item-option strong { font-size: 10px; line-height: 1.45; }
.design-item-option small { margin-top: 4px; color: var(--muted); font-size: 8px; }

.proof-items-batch { display: grid; gap: 14px; }
.proof-item-upload {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(32,43,110,.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32,43,110,.045);
}
.proof-item-upload-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.proof-item-check { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; cursor: pointer; }
.proof-item-check input { width: 17px !important; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--violet); }
.proof-item-check span,
.proof-item-check strong,
.proof-item-check small { display: block; }
.proof-item-check strong { font-size: 11px; line-height: 1.45; }
.proof-item-check small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.proof-version-badge { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: var(--gradient-soft); color: var(--violet); font-size: 8px; font-weight: 800; }
.proof-item-upload textarea { min-height: 62px; }

@media (max-width: 700px) {
  .design-selection-heading { flex-direction: column; }
  .design-selection-heading > div:last-child { width: 100%; justify-content: flex-start; }
  .proof-item-upload { padding: 13px; }
  .proof-item-upload-head { gap: 8px; }
}
