/* ============================================================
   TecnoSolución C.A. — Hoja de Estilos Principal
   tecnosolucion.com.ve
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ts-blue:       #1a4e8c;
  --ts-blue-dark:  #0d3060;
  --ts-blue-mid:   #2563b0;
  --ts-green:      #3a9c4e;
  --ts-green-dark: #2a7a3b;
  --ts-green-lt:   #4db863;
  --ts-purple:     #7a3fa0;
  --ts-gray-bg:    #f5f6f8;
  --ts-white:      #ffffff;
  --ts-text:       #1c2a3a;
  --ts-muted:      #5a6a7a;
  --ts-border:     #dde3ea;
  --radius-md:     8px;
  --radius-lg:     14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  color: var(--ts-text);
  background: var(--ts-gray-bg);
  line-height: 1.65;
}

/* ── PROTECCIÓN CONTENIDO ── */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-delay-1       { transition-delay: 0.1s; }
.reveal-delay-2       { transition-delay: 0.2s; }
.reveal-delay-3       { transition-delay: 0.3s; }
.reveal-delay-4       { transition-delay: 0.4s; }
.reveal-delay-5       { transition-delay: 0.5s; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAV ── */
nav {
  background: var(--ts-blue-dark);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 14px rgba(0,0,0,0.28);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.5rem; max-width: 1080px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 42px; width: auto; transition: transform 0.3s; pointer-events: auto; }
.nav-brand img:hover { transform: scale(1.07); }
.nav-brand span { color: #fff; font-size: 18px; font-weight: 700; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14px;
  transition: color 0.2s; position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--ts-green-lt);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--ts-green-lt); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--ts-green); color: #fff;
  padding: 8px 20px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--ts-green-dark); transform: scale(1.04); }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--ts-blue-dark); padding: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-menu.open { max-height: 400px; padding: 0.75rem 1.5rem 1rem; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 15px; padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--ts-green-lt); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--ts-blue-dark) 0%, var(--ts-blue) 55%, var(--ts-blue-mid) 100%);
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center; position: relative; overflow: hidden;
}
.hero-circle1 {
  position: absolute; top: -70px; right: -70px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(58,156,78,0.1);
  animation: floatA 7s ease-in-out infinite;
}
.hero-circle2 {
  position: absolute; bottom: -60px; left: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: floatB 9s ease-in-out infinite;
}
.hero-circle3 {
  position: absolute; top: 30%; left: 10%;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,0.03);
  animation: floatA 11s ease-in-out infinite reverse;
}
@keyframes floatA {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-18px) scale(1.04); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(14px) scale(0.97); }
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12); color: #a8d5b8;
  font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase;
  padding: 5px 18px; border-radius: 20px; margin-bottom: 1.3rem;
  animation: fadeInDown 0.7s ease both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  color: #fff; font-size: 2.6rem; font-weight: 800;
  line-height: 1.25; margin-bottom: 1.2rem;
  animation: fadeInUp 0.7s 0.15s ease both;
}
.hero h1 em { color: var(--ts-green-lt); font-style: normal; }
.hero-content > p {
  color: rgba(255,255,255,0.82); font-size: 1.02rem;
  max-width: 620px; margin: 0 auto 2.2rem;
  animation: fadeInUp 0.7s 0.25s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cert-seal {
  position: relative;
  width: 108px; height: 108px;
  margin: 0 auto 1.1rem;
  animation: sealPop 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}
.cert-seal-svg {
  width: 100%; height: 100%;
  animation: sealSpin 16s linear infinite;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
}
.cert-seal-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; pointer-events: none;
}
.cert-seal-inner i { font-size: 24px; margin-bottom: 3px; color: #fff; }
.cert-seal-inner span {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.4px;
  line-height: 1.25; text-transform: uppercase;
}
@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sealPop {
  0%   { opacity: 0; transform: scale(0.4) rotate(-25deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.35s ease both;
}
.hero-trust {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-top: 2.2rem;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  width: 190px; min-height: 168px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.26);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 22px 16px 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  opacity: 0; animation: fadeInUp 0.6s ease both;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.trust-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}
.trust-item:nth-child(1) { animation-delay: 0.55s; }
.trust-item:nth-child(2) { animation-delay: 0.68s; }
.trust-item:nth-child(3) { animation-delay: 0.81s; }
.trust-icon {
  width: 62px; height: 62px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  margin-bottom: 14px;
}
.trust-icon i { font-size: 1.7rem; color: var(--ts-green-lt); }
.trust-item span {
  color: #fff; font-size: 0.92rem; font-weight: 700;
  line-height: 1.4; text-align: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ts-green); color: #fff;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(58,156,78,0.35);
}
.btn-primary:hover { background: var(--ts-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(58,156,78,0.45); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 12px 28px; border-radius: var(--radius-md);
  font-size: 14px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* ── STATS BAR ── */
.stats-bar { background: var(--ts-blue); padding: 1.2rem 1.5rem; }
.stats-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px;
}
.stat { text-align: center; }
.stat-num { color: var(--ts-green-lt); font-size: 1.9rem; font-weight: 800; display: block; }
.stat-lbl { color: rgba(255,255,255,0.72); font-size: 12px; margin-top: 2px; }

/* ── SECTIONS ── */
section { padding: 4.5rem 1.5rem; }
section.bg-white { background: var(--ts-white); }
.section-header { text-align: center; margin-bottom: 2.8rem; }
.section-header h2 { font-size: 1.75rem; font-weight: 800; color: var(--ts-blue-dark); margin-bottom: 0.4rem; }
.section-header p { color: var(--ts-muted); font-size: 0.95rem; }
.divider {
  width: 52px; height: 3px; margin: 0.65rem auto 0.9rem;
  background: linear-gradient(90deg, var(--ts-blue), var(--ts-green));
  border-radius: 2px;
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px; max-width: 1080px; margin: 0 auto;
}
.product-card {
  background: var(--ts-white);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  border-color: var(--ts-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26,78,140,0.12);
}
.product-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.product-icon {
  width: 54px; height: 54px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; margin-bottom: 1.1rem; transition: transform 0.3s;
}
.product-card:hover .product-icon { transform: scale(1.1) rotate(-3deg); }
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ts-blue-dark); margin-bottom: 0.5rem; }
.product-card > p { font-size: 0.875rem; color: var(--ts-muted); line-height: 1.68; margin-bottom: 1rem; }

/* Screenshots */
.screenshot-area {
  width: 100%; margin: 1rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ts-gray-bg);
  border: 1px dashed var(--ts-border);
  min-height: 160px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  transition: border-color 0.2s;
}
.screenshot-area img {
  width: 100%; height: auto;
  display: block; border-radius: var(--radius-md);
  pointer-events: none;
}
.screenshot-placeholder {
  text-align: center; padding: 1.5rem 1rem;
  color: var(--ts-muted);
}
.screenshot-placeholder i { font-size: 2rem; margin-bottom: 0.5rem; display: block; color: var(--ts-border); }
.screenshot-placeholder span { font-size: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 1rem; }
.tag { display: inline-block; font-size: 11px; padding: 3px 10px; border-radius: 20px; background: #e8f0fb; color: var(--ts-blue); }
.tag.green  { background: #e8f5ec; color: var(--ts-green-dark); }
.tag.purple { background: #f3eafa; color: var(--ts-purple); }

.modules { list-style: none; margin-bottom: 1.2rem; }
.modules li {
  font-size: 0.83rem; color: var(--ts-muted);
  padding: 3px 0; display: flex; align-items: flex-start; gap: 7px;
}
.modules li::before { content: '✓'; color: var(--ts-green); font-weight: 800; font-size: 12px; flex-shrink: 0; margin-top: 2px; }

.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 700;
  color: var(--ts-blue); text-decoration: none;
  border: 1.5px solid currentColor;
  padding: 9px 20px; border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.product-link:hover       { background: var(--ts-blue);      color: #fff; transform: translateY(-1px); }
.product-link.green:hover { background: var(--ts-green-dark); border-color: var(--ts-green-dark); }
.product-link.purple:hover{ background: var(--ts-purple);    border-color: var(--ts-purple); }

/* ── VENTAJAS ── */
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 18px; max-width: 1080px; margin: 0 auto;
}
.ventaja-card {
  background: var(--ts-gray-bg);
  border: 1px solid var(--ts-border); border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ventaja-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,78,140,0.1); border-color: var(--ts-blue); }
.ventaja-icon { font-size: 2rem; color: var(--ts-blue); margin-bottom: 0.8rem; transition: transform 0.3s; }
.ventaja-card:hover .ventaja-icon { transform: scale(1.18) rotate(-5deg); }
.ventaja-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--ts-blue-dark); margin-bottom: 0.4rem; }
.ventaja-card p  { font-size: 0.83rem; color: var(--ts-muted); line-height: 1.62; }

/* ── NOSOTROS ── */
.about-intro {
  text-align: center; max-width: 730px; margin: 0 auto 2.5rem;
  font-size: 0.97rem; color: var(--ts-muted); line-height: 1.82;
}
.about-intro strong { color: var(--ts-blue-dark); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 18px; max-width: 1080px; margin: 0 auto;
}
.team-card {
  border: 1px solid var(--ts-border); border-radius: var(--radius-md);
  padding: 1.4rem; text-align: center; background: var(--ts-white);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,0.08); }
.team-icon { font-size: 2rem; color: var(--ts-green); margin-bottom: 0.65rem; transition: transform 0.3s; }
.team-card:hover .team-icon { transform: scale(1.15); }
.team-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--ts-blue-dark); margin-bottom: 0.3rem; }
.team-card p  { font-size: 0.83rem; color: var(--ts-muted); line-height: 1.58; }

/* ── FORMULARIO ── */
.contact-form-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--ts-white);
  border: 1px solid var(--ts-border); border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ts-blue-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--ts-border); border-radius: var(--radius-md);
  padding: 10px 14px; font-size: 14px; font-family: inherit;
  color: var(--ts-text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--ts-white);
  -webkit-user-select: text; -moz-user-select: text; user-select: text;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ts-blue);
  box-shadow: 0 0 0 3px rgba(26,78,140,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; margin-top: 8px;
  background: var(--ts-blue); color: #fff;
  border: none; border-radius: var(--radius-md);
  padding: 13px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover  { background: var(--ts-blue-dark); transform: translateY(-1px); }
.form-submit:active { transform: scale(0.98); }
.form-success {
  display: none; text-align: center; padding: 2rem;
  color: var(--ts-green-dark); font-weight: 600;
}
.form-success i { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

/* ── CONTACTO DIRECTO ── */
.contact-section { background: var(--ts-blue-dark); padding: 4.5rem 1.5rem; text-align: center; }
.contact-section h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 0.65rem; }
.contact-section > p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 2.2rem; }
.contact-cards {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  max-width: 820px; margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-lg);
  padding: 1.2rem 1.7rem;
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; min-width: 215px;
  transition: background 0.2s, transform 0.2s;
}
.contact-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.contact-card i { font-size: 1.7rem; color: var(--ts-green-lt); }
.contact-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-value { font-size: 14px; color: #fff; font-weight: 700; }

/* ── MAPA DEL SITIO ── */
.sitemap-section { background: var(--ts-gray-bg); padding: 3.5rem 1.5rem; }
.sitemap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; max-width: 1080px; margin: 0 auto;
}
.sitemap-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ts-blue);
  margin-bottom: 0.85rem; padding-bottom: 6px;
  border-bottom: 2px solid var(--ts-green-lt);
  display: inline-block;
}
.sitemap-col ul { list-style: none; }
.sitemap-col ul li { margin-bottom: 6px; }
.sitemap-col ul li a {
  color: var(--ts-muted); text-decoration: none; font-size: 13.5px;
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s, gap 0.2s;
}
.sitemap-col ul li a i { font-size: 11px; color: var(--ts-green); }
.sitemap-col ul li a:hover { color: var(--ts-blue); gap: 10px; }

/* ── FOOTER ── */
footer { background: #071a30; padding: 0; }
.footer-top {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { max-height: 64px; max-width: 160px; width: auto; height: auto; object-fit: contain; pointer-events: auto; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.7; }
.footer-col h5 {
  color: var(--ts-green-lt); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px;
  transition: color 0.2s; display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--ts-green-lt); }
.footer-col ul li a i { font-size: 11px; }
.footer-bottom {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding: 1.1rem 1.5rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-bottom a { color: var(--ts-green-lt); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; gap: 18px; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--ts-blue); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 100; border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--ts-green); transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .nav-links, .nav-cta   { display: none; }
  .nav-hamburger         { display: flex; }
  .mobile-menu           { display: flex; }
  .hero h1               { font-size: 1.85rem; }
  .form-grid             { grid-template-columns: 1fr; }
  .contact-form-wrap     { padding: 1.5rem; }
  .footer-top            { grid-template-columns: 1fr; gap: 1.5rem; }
  .cert-seal             { width: 88px; height: 88px; }
  .cert-seal-inner i     { font-size: 20px; }
  .cert-seal-inner span  { font-size: 7.5px; }
  .trust-item            { width: 150px; min-height: 152px; padding: 18px 12px 14px; }
  .trust-icon            { width: 52px; height: 52px; margin-bottom: 10px; }
  .trust-icon i          { font-size: 1.4rem; }
  .trust-item span       { font-size: 0.82rem; }
}

/* ── LIGHTBOX ── */
.screenshot-area {
  cursor: pointer;
}
.screenshot-area:hover {
  border-color: var(--ts-blue);
  background: #edf2fa;
}
.screenshot-area .screenshot-zoom-hint {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(26,78,140,0.75); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 20px;
  display: none; align-items: center; gap: 4px;
  pointer-events: none;
}
.screenshot-area {
  position: relative;
}
.screenshot-area:hover .screenshot-zoom-hint {
  display: flex;
}

#ts-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,26,48,0.88);
  align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: lbFadeIn 0.22s ease;
}
#ts-lightbox.open {
  display: flex;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#ts-lightbox-inner {
  position: relative;
  max-width: 1000px; width: 100%;
  animation: lbZoomIn 0.25s cubic-bezier(0.34,1.3,0.64,1) both;
}
@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
#ts-lightbox img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  pointer-events: none;
}
#ts-lightbox-caption {
  text-align: center; color: rgba(255,255,255,0.75);
  font-size: 13px; margin-top: 0.85rem;
}
#ts-lightbox-close {
  position: absolute; top: -14px; right: -14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ts-blue-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.15s;
  z-index: 1;
}
#ts-lightbox-close:hover {
  background: var(--ts-blue); color: #fff; transform: scale(1.1);
}

/* Flechas de navegación (foto anterior / siguiente) */
#ts-lightbox-prev,
#ts-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ts-blue-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.15s;
  z-index: 1;
}
#ts-lightbox-prev:hover,
#ts-lightbox-next:hover {
  background: var(--ts-blue); color: #fff;
  transform: translateY(-50%) scale(1.08);
}
#ts-lightbox-prev { left: -20px; }
#ts-lightbox-next { right: -20px; }

/* Ocultas cuando el producto tiene una sola foto disponible */
#ts-lightbox.single-photo #ts-lightbox-prev,
#ts-lightbox.single-photo #ts-lightbox-next {
  display: none;
}

#ts-lightbox-counter {
  text-align: center; color: rgba(255,255,255,0.6);
  font-size: 12px; margin-top: 0.3rem;
}

@media (max-width: 700px) {
  #ts-lightbox-prev, #ts-lightbox-next {
    width: 38px; height: 38px; font-size: 15px;
  }
  #ts-lightbox-prev { left: 6px; }
  #ts-lightbox-next { right: 6px; }
}
