/* Página pública de cubiclens.com (app sitio, 2026-11-17).
   Traducción 1:1 de los estilos en línea del diseño aprobado (sitio-nuevo.zip).
   Inicio usa las clases .s-*, Life Stories las .ls-* (body.ls). Lo único que no
   viene del diseño está al final: el selector EN/ES, mensajes del formulario,
   honeypot, fotos, el menú de celular y los ajustes para pantallas angostas. */

body { margin: 0; }
.s-page { font-family: Inter, system-ui, sans-serif; color: #141416; background: #FFFFFF; width: 100%; }
.s-page a { color: #1A6FC4; }
.s-page a:hover { color: #14569A; }
.s-wrap { max-width: 1240px; margin: 0 auto; }
.s-grotesk { font-family: 'Space Grotesk', sans-serif; }

/* NAV */
.s-header { background: #FFFFFF; color: #141416; border-bottom: 1px solid #E6E7EB; }
.s-nav { max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.s-nav-logo { display: flex; align-items: center; margin-right: auto; }
.s-nav-logo img { height: 64px; width: auto; display: block; }
.s-nav-der { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-size: 15px; }
/* Sin caja propia en escritorio: los enlaces se reparten en .s-nav-der como antes
   del menú de celular. En celular (.s-menu-js) es el panel desplegable. */
.s-nav-links { display: contents; }
.s-page .s-nav-links a { color: #36373D; text-decoration: none; }
.s-page .s-nav a.s-btn-nav { background: #1A6FC4; color: #FFFFFF; text-decoration: none; padding: 12px 20px; font-weight: 600; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }

/* Comunes */
.s-eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #6A6C75; }
.s-h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 48px; line-height: 1.05; letter-spacing: -0.015em; }
.s-section { padding: 112px 32px; }
.s-section-gray { background: #F5F6F8; }
.s-col { display: flex; flex-direction: column; }
.s-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.s-head-free { display: flex; flex-direction: column; gap: 12px; }
.s-muted { margin: 0; color: #55575F; line-height: 1.55; }
.s-ph { display: flex; align-items: center; justify-content: center; text-align: center; }

/* HERO */
.s-hero { background: #0F1012; color: #FFFFFF; padding: 72px 32px 96px; }
.s-hero-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.s-hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.s-hero-eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #9FA2AD; }
.s-hero h1 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 64px; line-height: 1.02; letter-spacing: -0.02em; }
.s-hero-lead { margin: 0; font-size: 19px; line-height: 1.55; color: #C9CBD3; max-width: 540px; }
.s-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.s-page a.s-btn-primary { background: #1A6FC4; color: #FFFFFF; text-decoration: none; padding: 16px 28px; font-weight: 600; font-size: 16px; }
.s-page a.s-btn-ghost { border: 1px solid #4A4C55; color: #FFFFFF; text-decoration: none; padding: 16px 28px; font-weight: 500; font-size: 16px; }
.s-hero-cities { margin: 8px 0 0; font-size: 14px; color: #9FA2AD; }
.s-hero-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-tile { aspect-ratio: 1; background: #2A2C33; color: #9FA2AD; display: flex; align-items: center; justify-content: center; font-size: 12px; text-align: center; padding: 8px; }
.s-tile-word { display: flex; align-items: flex-end; justify-content: flex-start; text-align: left; padding: 14px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.1; }
.s-tile-blue { background: #1A6FC4; color: #FFFFFF; }
.s-tile-pink { background: #D86A84; color: #141416; }
.s-tile-gold { background: #E8A317; color: #141416; }

/* BENEFICIOS */
.s-benefits { border-bottom: 1px solid #E6E7EB; padding: 48px 32px; }
.s-benefits-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.s-benefit { display: flex; flex-direction: column; gap: 8px; }
.s-benefit h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 19px; }
.s-benefit p { margin: 0; color: #55575F; font-size: 15px; line-height: 1.5; }

/* SERVICIOS */
.s-stack48 { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.s-lead { margin: 0; font-size: 18px; line-height: 1.55; color: #55575F; }
.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.s-card { border: 1px solid #E6E7EB; display: flex; flex-direction: column; }
.s-card-img { aspect-ratio: 4 / 3; color: #55575F; font-size: 14px; }
.s-bg-blue { background: #EEF0F6; }
.s-bg-pink { background: #F7ECEF; }
.s-bg-gold { background: #FBF2DE; }
.s-card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.s-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; }
.s-tag-blue { background: #1A6FC4; color: #FFFFFF; }
.s-tag-rose { background: #B4475E; color: #FFFFFF; }
.s-tag-gold { background: #E8A317; color: #141416; }
.s-card h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 26px; }
.s-card ul { margin: 0; padding-left: 18px; color: #36373D; line-height: 1.8; font-size: 15px; }
.s-page a.s-card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.s-page a.s-card-link-rose { color: #B4475E; }
.s-page a.s-card-link-gold { color: #8A5C00; }

/* COMO FUNCIONA */
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.s-step { background: #FFFFFF; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.s-step-num { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; color: #1A6FC4; }
.s-step h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 20px; }

/* GALERIA */
.s-stack32 { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.s-gal-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.s-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.s-filter { font: inherit; font-size: 14px; background: #FFFFFF; color: #141416; border: 1px solid #C9CBD3; padding: 10px 16px; min-height: 44px; cursor: pointer; }
.s-filter-on { font-weight: 600; background: #141416; color: #FFFFFF; border-color: #141416; }
/* 4 columnas fijas (2 filas de 4 con los 8 cuadros); 2 en celular, abajo. */
.s-gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-gal-item { aspect-ratio: 1; color: #55575F; font-size: 13px; }
.s-page a.s-more { align-self: flex-start; font-weight: 600; text-decoration: none; }

/* CLIENTES */
.s-clients { border-top: 1px solid #E6E7EB; border-bottom: 1px solid #E6E7EB; padding: 48px 32px; }
.s-clients-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.s-clients-label { margin: 0; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #6A6C75; }
.s-logos { display: flex; flex-wrap: wrap; gap: 16px; }
.s-logo-box { width: 140px; height: 56px; background: #F5F6F8; color: #6A6C75; font-size: 12px; }

/* COBERTURA */
.s-stack40 { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.s-loc { background: #0F1012; color: #FFFFFF; padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.s-loc-country { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #9FA2AD; }
.s-loc h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 32px; }
.s-loc p.s-loc-text { margin: 0; color: #C9CBD3; line-height: 1.55; }

/* COTIZAR */
.s-quote-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; }
.s-quote-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.s-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; font-size: 16px; }
.s-page .s-contact a { text-decoration: none; font-weight: 600; }
.s-discount { margin: 12px 0 0; font-size: 15px; color: #55575F; line-height: 1.5; }
.s-form { flex: 1 1 560px; min-width: 0; background: #FFFFFF; padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.s-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.s-field input, .s-field select, .s-field textarea { font: inherit; font-weight: 400; border: 1px solid #C9CBD3; padding: 12px; min-height: 44px; box-sizing: border-box; }
.s-field select { background: #FFFFFF; }
.s-field textarea { resize: vertical; }
.s-wide { grid-column: 1 / -1; }
.s-submit { grid-column: 1 / -1; font: inherit; font-weight: 600; font-size: 16px; background: #1A6FC4; color: #FFFFFF; border: 0; padding: 16px; min-height: 52px; cursor: pointer; }

/* FOOTER */
.s-footer { background: #0F1012; color: #C9CBD3; padding: 72px 32px 40px; }
.s-foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.s-foot-brand { display: flex; flex-direction: column; gap: 12px; }
.s-foot-brand img { height: 96px; width: auto; display: block; align-self: flex-start; }
.s-foot-brand p { margin: 0; font-size: 15px; line-height: 1.5; }
.s-foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.s-foot-col .s-foot-title { margin: 0 0 4px; color: #FFFFFF; font-weight: 600; }
.s-page .s-foot-col a { color: #C9CBD3; text-decoration: none; }
.s-foot-bottom { border-top: 1px solid #2A2C33; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: #9FA2AD; }
.s-page .s-foot-bottom a { color: #9FA2AD; text-decoration: none; }

/* ============ LIFE STORIES ============ */
.ls .s-page { color: #2A1E22; background: #FBF7F4; }
.ls .s-page a { color: #9A3349; }
.ls .s-page a:hover { color: #7A2437; }
.ls-serif { font-family: 'Cormorant Garamond', serif; }
.ls-header { border-bottom: 1px solid #EADFD9; }
.ls-nav { max-width: 1240px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ls .s-page a.ls-brand { display: flex; align-items: center; gap: 14px; color: #2A1E22; text-decoration: none; margin-right: auto; }
.ls-brand img { height: 56px; width: auto; display: block; align-self: center; }
.ls-brand span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; color: #9A3349; }
.ls .s-page .s-nav-links a { color: #5A4A50; text-decoration: none; }
.ls .s-page .ls-nav a.ls-btn-nav { background: #9A3349; color: #FFFFFF; text-decoration: none; padding: 12px 20px; font-weight: 600; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; border-radius: 999px; }
.ls-eyebrow { margin: 0; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: #8A6F78; }
.ls-hero { padding: 80px 32px 96px; }
.ls-hero h1 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 76px; line-height: 1; letter-spacing: -0.01em; }
.ls-accent { font-style: italic; color: #9A3349; }
.ls-lead { margin: 0; font-size: 19px; line-height: 1.6; color: #5A4A50; max-width: 540px; }
.ls .s-page a.ls-btn { background: #9A3349; color: #FFFFFF; text-decoration: none; padding: 16px 28px; font-weight: 600; border-radius: 999px; }
.ls .s-page a.ls-btn-ghost { border: 1px solid #C9B4BA; color: #2A1E22; text-decoration: none; padding: 16px 28px; font-weight: 500; border-radius: 999px; }
.ls-bg1 { background: #F3E6E9; }
.ls-bg2 { background: #EFE2DD; }
.ls-bg3 { background: #E9DCD4; }
.ls-white { background: #FFFFFF; }
.ls-section { padding: 104px 32px; }
.ls-h2-events { max-width: 760px; }
.ls-h2 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 56px; line-height: 1.05; }
.ls-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.ls-event { display: flex; flex-direction: column; gap: 16px; }
.ls-event-img { aspect-ratio: 1; color: #6E5A61; font-size: 13px; }
.ls-event h3 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px; }
.ls-text { margin: 0; color: #5A4A50; line-height: 1.55; }
.ls-inc-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; }
.ls-inc-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ls-lead18 { margin: 0; font-size: 18px; line-height: 1.6; color: #5A4A50; }
.ls-inc-list { flex: 1 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1px; background: #EADFD9; border: 1px solid #EADFD9; }
.ls-inc-list li { background: #FBF7F4; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.ls-inc-list h3 { margin: 0; font-size: 18px; font-weight: 600; }
.ls-ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; }
.ls-ig { aspect-ratio: 1; color: #6E5A61; font-size: 12px; }
.ls .s-page a.ls-follow { border: 1px solid #C9B4BA; color: #2A1E22; text-decoration: none; padding: 14px 24px; font-weight: 500; border-radius: 999px; }
.ls-quote { background: #2A1E22; color: #FFFFFF; padding: 104px 32px; }
.ls-quote-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.ls-quote-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ls-quote-lead { margin: 0; font-size: 18px; line-height: 1.6; color: #E3D5D9; }
.ls-quote-small { margin: 0; font-size: 15px; line-height: 1.55; color: #E3D5D9; }
.ls .s-page a.ls-quote-mail { color: #F2C4CF; font-weight: 600; text-decoration: none; }
.ls-form { flex: 1 1 520px; min-width: 0; background: #FBF7F4; color: #2A1E22; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; border-radius: 6px; }
.ls-form .s-field input, .ls-form .s-field select { border-color: #C9B4BA; background: #FFFFFF; }
.ls-form .s-submit { background: #9A3349; border-radius: 999px; }
.ls-footer { padding: 40px 32px; border-top: 1px solid #EADFD9; }
.ls-footer-in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; font-size: 14px; color: #6E5A61; }
.ls-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.ls .s-page .ls-footer-links a { text-decoration: none; }

/* ============ Agregado (no está en el diseño) ============ */

/* Selector EN / ES: se ve como el texto "EN / ES" del menú; el idioma activo en negrita. */
.s-lang { display: inline-flex; align-items: center; gap: 0.3em; margin: 0; }
.s-lang button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.s-lang button[aria-current="true"] { font-weight: 600; }
.s-page .s-nav-links .s-lang { color: #36373D; }
.ls .s-page .s-nav-links .s-lang { color: #5A4A50; }

/* Mensajes del formulario */
.s-ok { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: #E8F2EA; color: #1E5B2C; font-size: 15px; }
.s-err { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: #FBE9EA; color: #8F1D25; font-size: 15px; }
.s-field .s-field-err { color: #B3261E; font-size: 13px; font-weight: 400; }
.s-field input[aria-invalid="true"], .s-field select[aria-invalid="true"] { border-color: #B3261E; }

/* Honeypot: fuera de la vista y del lector de pantalla. */
.s-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Fotos reales (MAPA.md de fotos-sitio.zip). El <img> llena el recuadro, que
   conserva su aspect-ratio. Foto: cover. Collage: contain sobre fondo blanco,
   para que no se corten los nombres. */
.s-foto { position: relative; overflow: hidden; padding: 0; }
.s-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.s-foto > img.s-contain { object-fit: contain; }
.s-foto > img.s-pos35 { object-position: center 35%; }
.s-foto-blanco { background: #FFFFFF; }

/* Portada de Life Stories: dos collages 4:5 lado a lado, el derecho 64 px abajo. */
.ls-hero-pair { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ls-collage { aspect-ratio: 4 / 5; box-shadow: 0 18px 40px rgba(42,30,34,.14); }
.ls-collage-baja { margin-top: 64px; }

/* Menú de hamburguesa (celular, < 760 px). Todo depende de .s-menu-js, que pone
   menu.js en el <header>: sin JS el menú se ve como en escritorio. En escritorio
   el botón no se muestra y nada de esto aplica. */
.s-menu-btn { display: none; }
.s-menu-btn .s-ic-cerrar { display: none; }
.s-menu-btn[aria-expanded="true"] .s-ic-abrir { display: none; }
.s-menu-btn[aria-expanded="true"] .s-ic-cerrar { display: block; }
@media (max-width: 759.98px) {
  .s-header.s-menu-js, .ls-header.s-menu-js { position: sticky; top: 0; z-index: 50; }
  .ls-header.s-menu-js { background: #FBF7F4; }
  .s-menu-js .s-nav, .s-menu-js .ls-nav { padding: 8px 16px; gap: 8px; flex-wrap: nowrap; }
  .s-menu-js .s-nav-der { flex-wrap: nowrap; gap: 8px; }
  .s-menu-js .s-nav-logo img, .s-menu-js .ls-brand img { height: 44px; }
  .ls .s-page .s-menu-js a.ls-brand { gap: 10px; min-width: 0; }
  .s-menu-js .ls-brand span { font-size: 18px; white-space: nowrap; }
  .s-page .s-menu-js a.s-btn-nav, .ls .s-page .s-menu-js a.ls-btn-nav { padding: 8px 14px; min-height: 40px; font-size: 14px; white-space: nowrap; flex-shrink: 0; }
  .s-menu-js .s-menu-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; margin-right: -12px; padding: 0; border: 0; background: none; color: #36373D; cursor: pointer; }
  .ls .s-menu-js .s-menu-btn { color: #2A1E22; }
  /* Panel: debajo del encabezado, a todo lo ancho, un enlace por renglón. */
  .s-menu-js .s-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 4px 0; font-size: 16px; background: #FFFFFF; border-bottom: 1px solid #E6E7EB; box-shadow: 0 12px 24px rgba(20,20,22,.08); }
  .ls .s-menu-js .s-nav-links { background: #FBF7F4; border-bottom-color: #EADFD9; }
  .s-menu-abierto .s-nav-links { display: flex; }
  .s-menu-js .s-nav-links > a, .s-menu-js .s-nav-links > .s-lang { min-height: 48px; box-sizing: border-box; display: flex; align-items: center; padding: 0 16px; }
  .s-menu-js .s-nav-links > * + * { border-top: 1px solid #EEF0F3; }
  .ls .s-menu-js .s-nav-links > * + * { border-top-color: #F0E6E1; }
  .s-menu-js .s-lang button { min-height: 48px; padding: 0 6px; }
  .s-menu-js .s-lang button:first-child { margin-left: -6px; }
  /* Que los anclas del menú no queden tapados por el encabezado fijo. */
  section[id] { scroll-margin-top: 72px; }
}

/* Pantallas angostas (celular). En escritorio no cambia nada. Las rejillas
   usan min(Npx, 100%) arriba, que en escritorio vale lo mismo que Npx. */
@media (max-width: 600px) {
  .s-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-hero h1 { font-size: 40px; }
  .s-h2 { font-size: 34px; }
  .ls-hero h1 { font-size: 48px; }
  .ls-h2 { font-size: 38px; }
  .ls-collage-baja { margin-top: 0; }
}
