/* ═══════════════════════════════════════════ RESETEA.NET — Design System Paleta: blanco / negro / gris / caoba / verde salvia ═══════════════════════════════════════════ */ @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap'); @font-face { font-family: 'Recion'; src: url('fonts/RECION.otf') format('opentype'), url('fonts/RECION.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Italiana'; src: url('fonts/Italiana-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } /* ── Variables ── */ :root { --bg: #f8f7f4; /* blanco cálido */ --surface: #ffffff; --surface2: #f0ede8; /* gris cálido claro */ --border: #d8d2c8; /* gris arena */ --border-dark: #b0a898; --text: #1a1714; /* casi negro */ --muted: #6b635a; /* gris caoba apagado */ --subtle: #9e9589; --caoba: #7b3f2e; /* caoba */ --caoba-mid: #a0522d; /* siena */ --caoba-lt: #f0e6df; /* caoba muy claro */ --sage: #1a7a4a; /* verde irlandés */ --sage-lt: #e0f4ea; /* verde irlandés muy claro */ --lime: #96c21a; /* verde lima */ --lime-lt: #f4fae0; /* verde lima muy claro */ --acid: #c8ff00; /* verde ácido */ --acid-dark: #7aaa00; /* verde ácido oscuro (texto sobre blanco) */ --acid-lt: #f2ffe0; /* verde ácido muy clarito (fondos) */ --shadow-sm: 0 1px 3px rgba(26,23,20,0.08), 0 1px 2px rgba(26,23,20,0.06); --shadow-md: 0 4px 12px rgba(26,23,20,0.10), 0 2px 4px rgba(26,23,20,0.06); --shadow-lg: 0 8px 30px rgba(26,23,20,0.12), 0 4px 8px rgba(26,23,20,0.06); /* Botón 3D */ --btn-shadow: 0 4px 0 0 #b0a898, 0 6px 16px rgba(26,23,20,0.12); --btn-shadow-hover:0 6px 0 0 #9e9589, 0 10px 24px rgba(26,23,20,0.16); --btn-shadow-active:0 1px 0 0 #b0a898, 0 2px 6px rgba(26,23,20,0.10); --caoba-shadow: 0 4px 0 0 #5c2d1e, 0 6px 16px rgba(123,63,46,0.25); --caoba-shadow-hover:0 6px 0 0 #4a2318, 0 10px 24px rgba(123,63,46,0.30); --caoba-shadow-active:0 1px 0 0 #5c2d1e, 0 2px 6px rgba(123,63,46,0.15); } /* ── Reset ── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 1.05rem; font-weight: 400; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; } /* ── Títulos con Recion ── */ h1, h2, h3 { font-family: 'Recion', 'Georgia', serif; font-weight: normal; letter-spacing: 0.02em; line-height: 1.2; } h1 { font-size: clamp(2rem, 5vw, 3rem); } h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; } h3 { font-size: 1.15rem; margin-bottom: 0.75rem; } a { color: var(--caoba); text-decoration: none; transition: color 140ms ease; } a:hover { color: var(--caoba-mid); text-decoration: underline; } .container { width: 100%; max-width: 1440px; padding: 0 clamp(1rem, 4vw, 4rem); margin: 0 auto; } /* ═══════════════════════════════════════════ HEADER / TOPBAR ═══════════════════════════════════════════ */ .topbar { background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); } .topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 1rem; } .brand { display: flex; gap: 0.75rem; align-items: center; min-width: 200px; } .brand-logo { width: 40px; height: 40px; background: var(--caoba); color: #fff; font-family: 'Recion', serif; font-size: 1.2rem; display: grid; place-items: center; border-radius: 10px; box-shadow: 0 3px 0 0 #5c2d1e, 0 4px 12px rgba(123,63,46,0.2); letter-spacing: 0.05em; } .brand-name { font-family: 'Recion', serif; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--text); } .brand-name span { color: var(--caoba); } .brand-tag { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.03em; } /* ═══════════════════════════════════════════ NAV — BOTONES 3D ═══════════════════════════════════════════ */ .nav { display: flex; gap: 0.5rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; } .nav-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 0.95rem; border-radius: 10px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--btn-shadow); cursor: pointer; text-decoration: none; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease; user-select: none; } .nav-btn:hover { background: var(--surface2); border-color: var(--border-dark); box-shadow: var(--btn-shadow-hover); transform: translateY(-2px); text-decoration: none; color: var(--text); } .nav-btn:active { box-shadow: var(--btn-shadow-active); transform: translateY(3px); } /* Botón activo/primario */ .nav-btn--primary { background: var(--caoba); color: #fff; border-color: #5c2d1e; box-shadow: var(--caoba-shadow); } .nav-btn--primary:hover { background: var(--caoba-mid); border-color: #4a2318; box-shadow: var(--caoba-shadow-hover); color: #fff; } .nav-btn--primary:active { box-shadow: var(--caoba-shadow-active); transform: translateY(3px); } /* ═══════════════════════════════════════════ BOTONES GENERALES ═══════════════════════════════════════════ */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.4rem; border-radius: 10px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease; user-select: none; } .btn:active { transform: translateY(3px); } /* Primario — caoba */ .btn.primary { background: var(--caoba); color: #fff; border-color: #5c2d1e; box-shadow: var(--caoba-shadow); } .btn.primary:hover { background: var(--caoba-mid); border-color: #4a2318; box-shadow: var(--caoba-shadow-hover); transform: translateY(-2px); text-decoration: none; color: #fff; } .btn.primary:active { box-shadow: var(--caoba-shadow-active); } /* Ghost */ .btn.ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--btn-shadow); } .btn.ghost:hover { background: var(--surface2); border-color: var(--border-dark); box-shadow: var(--btn-shadow-hover); transform: translateY(-2px); text-decoration: none; color: var(--text); } /* ═══════════════════════════════════════════ HERO ═══════════════════════════════════════════ */ .hero { padding: 4rem 0; background: var(--bg); } .hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start; } .hero h1 { color: var(--text); } .hero p { margin-top: 1.2rem; color: var(--muted); font-size: 1.02rem; } .hero-actions { margin-top: 2rem; display: flex; gap: 0.85rem; flex-wrap: wrap; } /* Notice / callout */ .notice { margin-top: 1.8rem; padding: 1rem 1.1rem; background: var(--caoba-lt); border-left: 3px solid var(--caoba); border-radius: 0 10px 10px 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; } .notice strong { color: var(--caoba); } /* ── Hero card ── */ .hero-card { background: var(--surface); border: 1px solid var(--border); padding: 1.6rem; border-radius: 16px; box-shadow: var(--shadow-md); } .stats { display: flex; justify-content: space-between; margin-bottom: 1.5rem; gap: 0.75rem; } .stat-num { font-family: 'Recion', serif; font-size: 1.8rem; color: var(--caoba); line-height: 1; } .stat-label { font-size: 0.72rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.3; } .steps { list-style: none; } .steps li { display: flex; gap: 0.75rem; margin-bottom: 0.65rem; color: var(--text); font-size: 0.9rem; align-items: center; } .steps span { background: var(--caoba); color: #fff; width: 22px; height: 22px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; border-radius: 6px; flex-shrink: 0; box-shadow: 0 2px 0 0 #5c2d1e; } /* ═══════════════════════════════════════════ PANEL (checklist grid) ═══════════════════════════════════════════ */ .panel { padding: 3.5rem 0 4rem; background: linear-gradient(150deg, #f2ead8 0%, #e5efe8 45%, #ede4d5 78%, #e8f0e6 100%); background-size: 300% 300%; animation: heroGradientShift 24s ease infinite 4s; border-top: 1px solid var(--border); } .panel-title { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 0.4rem; } .section-desc { color: var(--muted); margin-bottom: 0; font-size: 0.93rem; max-width: 72ch; line-height: 1.5; } /* Barra de progreso compacta */ .progress-track { display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0 1.8rem; } .progress-track .progress-bar { flex: 1; margin: 0; } .progress-track .progress-label { white-space: nowrap; } /* ── Secciones del panel ── */ .panel-global-header { margin-bottom: 0.5rem; } .panel-title { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 0.4rem; } .panel-section { background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 1.6rem 1.8rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; } .panel-section:last-child { margin-bottom: 0; } .panel-section-header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem; flex-wrap: wrap; } .panel-section-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 1.2rem; border-radius: 20px; background: var(--caoba); color: #fff; font-family: 'Recion', 'Georgia', serif; font-size: 1.05rem; font-weight: 400; letter-spacing: 0.04em; flex-shrink: 0; } .btn-mark-section { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.85rem; border-radius: 20px; border: 1.5px solid var(--sage); background: var(--sage-lt); color: var(--sage); cursor: pointer; transition: background 150ms ease, color 150ms ease; white-space: nowrap; margin-left: auto; } .btn-mark-section:hover { background: var(--sage); color: #fff; } .panel-section-footer { margin-top: 1.1rem; display: flex; justify-content: flex-end; } .btn--section-send { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.88rem; font-weight: 600; padding: 0.55rem 1.4rem; } /* ── Grid de cards ── */ .pitem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.9rem; } /* ── Card individual ── */ .pitem-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 1.1rem 1.1rem 0.9rem; box-shadow: 0 2px 0 0 var(--border-dark); display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease; } .pitem-card:hover { border-color: #a8d4bc; box-shadow: 0 3px 0 0 #a8d4bc; } /* Checked state — verde irlandés */ .pitem-card:has(.progress-cb:checked) { background: var(--sage-lt); border-color: var(--sage); box-shadow: 0 2px 0 0 #0f5c34; } /* Label del checkbox */ .pitem-label { display: flex; align-items: flex-start; gap: 0.55rem; cursor: pointer; line-height: 1.3; } .pitem-label input[type="checkbox"] { accent-color: var(--sage); width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.1rem; cursor: pointer; } .pitem-icon { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; vertical-align: middle; display: inline-block; } .pitem-card:has(.progress-cb:checked) .pitem-icon { filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(400%) hue-rotate(110deg); } .pitem-name { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.97rem; font-weight: 600; color: var(--text); transition: color 150ms ease; display: flex; align-items: center; gap: 0.45rem; } .pitem-card:has(.progress-cb:checked) .pitem-name { text-decoration: line-through; color: var(--sage); } /* ── Action links dentro de card ── */ .pitem-card .actions { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; } /* ── Responsive del panel ── */ @media (max-width: 900px) { .pitem-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } } @media (max-width: 600px) { .pitem-grid { grid-template-columns: 1fr 1fr; } .progress-track { flex-direction: column; align-items: flex-start; gap: 0.4rem; } .progress-track .progress-bar { width: 100%; } } .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .group { background: var(--surface); border: 1px solid var(--border); padding: 1.4rem; border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow 200ms ease, transform 200ms ease; } .group:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } .item { margin-bottom: 1.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--surface2); } .item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } .item label { display: flex; gap: 0.5rem; font-size: 0.88rem; align-items: center; cursor: pointer; color: var(--text); } .item label input[type="checkbox"] { accent-color: var(--caoba); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; } /* Tachado al marcar */ .item label:has(input:checked) { text-decoration: line-through; color: var(--subtle); } .actions { margin-left: 1.5rem; margin-top: 0.4rem; display: flex; flex-wrap: wrap; gap: 0.3rem; } .actions a { display: inline-block; padding: 0.35rem 0.85rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; border-radius: 8px; background: var(--surface2); color: var(--caoba); border: 1.5px solid var(--border); transition: background 120ms ease, border-color 120ms ease, transform 100ms ease, box-shadow 100ms ease; text-decoration: none; box-shadow: 0 2px 0 0 var(--border-dark); } .actions a:hover { background: var(--caoba-lt); border-color: var(--caoba); color: var(--caoba); transform: translateY(-1px); box-shadow: 0 3px 0 0 var(--border-dark); text-decoration: none; } .actions a:active { transform: translateY(1px); box-shadow: 0 1px 0 0 var(--border-dark); } /* ── Variante verde salvia para links "descarga" ── */ .actions a[href*="download"], .actions a[href*="data-and-privacy"], .actions a[href*="dyi"], .actions a[href*="data-export"], .actions a[href*="downloadmydata"], .actions a[href*="download_your_data"], .actions a[href*="data-request"], .actions a[href*="privacy.apple"] { background: var(--sage-lt); color: var(--sage); border-color: #a8d4bc; box-shadow: 0 2px 0 0 #a8d4bc; } .actions a[href*="download"]:hover, .actions a[href*="data-and-privacy"]:hover, .actions a[href*="dyi"]:hover, .actions a[href*="data-export"]:hover, .actions a[href*="downloadmydata"]:hover, .actions a[href*="download_your_data"]:hover, .actions a[href*="data-request"]:hover, .actions a[href*="privacy.apple"]:hover { background: #d6edde; border-color: var(--sage); color: var(--sage); } /* ═══════════════════════════════════════════ SECCIONES INFO ═══════════════════════════════════════════ */ .info { padding: 3.5rem 0; border-top: 1px solid var(--border); background: linear-gradient(150deg, #f2ead8 0%, #e5efe8 45%, #ede4d5 78%, #e8f0e6 100%); background-size: 300% 300%; animation: heroGradientShift 26s ease infinite 6s; } .info.alt { background: linear-gradient(150deg, #f2ead8 0%, #e5efe8 45%, #ede4d5 78%, #e8f0e6 100%); background-size: 300% 300%; animation: heroGradientShift 26s ease infinite 6s; } .info h2 { margin-bottom: 1rem; } .info p { color: var(--muted); max-width: 72ch; font-size: 0.97rem; } /* ═══════════════════════════════════════════ BARRA DE PROGRESO ═══════════════════════════════════════════ */ .progress-bar { width: 100%; height: 5px; background: var(--surface2); border-radius: 3px; margin: 1.2rem 0 0.3rem; overflow: hidden; border: 1px solid var(--border); } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--caoba), var(--sage)); border-radius: 3px; transition: width 400ms cubic-bezier(.4,0,.2,1); } .progress-label { font-size: 0.72rem; color: var(--muted); text-align: right; letter-spacing: 0.02em; } /* ═══════════════════════════════════════════ FOOTER ═══════════════════════════════════════════ */ .footer { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; font-size: 0.78rem; color: var(--subtle); background: var(--surface); } /* ═══════════════════════════════════════════ RESPONSIVE ═══════════════════════════════════════════ */ @media (max-width: 1100px) { .grid { grid-template-columns: repeat(2, 1fr); } .intro-inner { gap: 2.5rem; } } @media (max-width: 720px) { .hero-inner { grid-template-columns: 1fr; } .grid { grid-template-columns: 1fr; } .main-title { font-size: clamp(2.2rem, 11vw, 3.2rem); margin-bottom: 0.85rem; } .email-input { font-size: 1rem; } .btn--lg { width: 100%; justify-content: center; } .landing-nav { gap: 0.45rem; } .landing-nav-btn { padding: 0.55rem 1rem; font-size: 0.95rem; } .topbar-inner { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; } .brand { min-width: unset; } .nav { width: 100%; justify-content: flex-start; } .nav-btn { flex: 1 1 auto; text-align: center; font-size: 0.78rem; } h1 { font-size: 1.85rem; } } /* ═══════════════════════════════════════════ HERO LANDING — título + nav buttons (compacto) ═══════════════════════════════════════════ */ .hero-landing { padding: 2rem 0 2.2rem; background: linear-gradient(135deg, #4a8a00 0%, #c8ff00 35%, #7b3f2e 65%, #a0522d 100%); background-size: 300% 300%; animation: heroGradientShift 9s ease infinite; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.10); } @keyframes heroGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .hero-landing-inner { display: flex; flex-direction: column; align-items: center; gap: 0; } .main-title { font-family: 'Recion', 'Georgia', serif; font-size: clamp(2.8rem, 8vw, 5.5rem); color: #f8f7f4; letter-spacing: 0.04em; line-height: 1; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,0.30); } /* ── Carrusel de citas — ahora en sección footer ── */ .hero-quote { display: none; flex-direction: column; gap: 0.4rem; font-size: clamp(0.88rem, 1.8vw, 1.05rem); color: rgba(248,247,244,0.72); font-style: italic; line-height: 1.6; padding: 0 1rem; animation: quoteIn 600ms ease; text-align: center; max-width: 72ch; margin: 0 auto; } .hero-quote.active { display: flex; } @keyframes quoteIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .q-mark { font-family: 'Recion', Georgia, serif; font-size: 1.2em; color: var(--acid); font-style: normal; line-height: 1; } .hero-quote cite { font-size: 0.78rem; font-style: normal; font-weight: 600; color: rgba(248,247,244,0.38); letter-spacing: 0.04em; } /* ── Sección de citas al pie ── */ .quotes-footer-section { padding: 3.5rem 0; background: linear-gradient(180deg, #1a1714 0%, #22190f 100%); border-top: 1px solid rgba(255,255,255,0.06); text-align: center; position: relative; overflow: hidden; } .quotes-footer-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(123,63,46,0.12) 0%, transparent 65%); pointer-events: none; } .quotes-footer-section .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; } .quotes-footer-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,247,244,0.28); } .quotes-footer-carousel { width: 100%; min-height: 5rem; display: flex; align-items: center; justify-content: center; } .landing-nav { display: flex; justify-content: center; gap: 0.65rem; flex-wrap: wrap; } .landing-nav-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.65rem 1.5rem; border-radius: 12px; font-family: 'Recion', 'Georgia', serif; font-size: 1.05rem; font-weight: normal; letter-spacing: 0.05em; color: #f8f7f4; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.22); box-shadow: 0 4px 0 0 rgba(0,0,0,0.20), 0 6px 14px rgba(0,0,0,0.14); text-decoration: none; transition: transform 140ms cubic-bezier(.2,.8,.4,1), box-shadow 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease; user-select: none; backdrop-filter: blur(4px); } .landing-nav-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.40); box-shadow: 0 6px 0 0 rgba(0,0,0,0.25), 0 10px 24px rgba(0,0,0,0.18); transform: translateY(-3px); text-decoration: none; color: #f8f7f4; } .landing-nav-btn:active { box-shadow: 0 1px 0 0 #b8906a; transform: translateY(2px); } .landing-nav-btn--highlight { background: var(--acid); color: var(--text); border-color: #9dcc00; box-shadow: 0 4px 0 0 #7aaa00, 0 6px 16px rgba(200,255,0,0.28); font-weight: 700; } .landing-nav-btn--highlight:hover { background: #d4ff1a; border-color: var(--acid-dark); box-shadow: 0 6px 0 0 #6a9800, 0 10px 24px rgba(200,255,0,0.38); color: var(--text); transform: translateY(-3px); } /* ═══════════════════════════════════════════ SECCIÓN FORMULARIO — email + redes ═══════════════════════════════════════════ */ .erase-form-section { padding: 3rem 0 4rem; background: linear-gradient(150deg, #f2ead8 0%, #e5efe8 45%, #ede4d5 78%, #e8f0e6 100%); background-size: 300% 300%; animation: heroGradientShift 22s ease infinite 2s; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); } .erase-form-wrap { max-width: 1100px; margin: 0 auto; } /* ── Layout dos columnas ── */ .form-two-col { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; } .form-col-email { background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: sticky; top: 1.5rem; } .form-col-networks { background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); } /* ── Step badge ── */ .form-step-badge { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--caoba); color: #fff; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; } .form-col-title { font-size: clamp(1.2rem, 2.5vw, 1.55rem); margin-bottom: 0.5rem; line-height: 1.2; } .form-col-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.5; } /* ── Email input ── */ .email-input { width: 100%; padding: 0.9rem 1.1rem; font-size: 1.05rem; border: 2px solid var(--border); border-radius: 12px; background: var(--surface2); color: var(--text); outline: none; box-shadow: var(--shadow-sm); transition: border-color 150ms ease, box-shadow 150ms ease; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; letter-spacing: 0.01em; box-sizing: border-box; } .email-input:focus { border-color: var(--caoba); box-shadow: 0 0 0 3px rgba(123,63,46,0.12); } .email-input::placeholder { color: var(--subtle); } .form-privacy-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; gap: 0.4rem; } .form-privacy-list li { font-size: 0.82rem; color: var(--muted); line-height: 1.4; } /* ── Networks header ── */ .form-col-networks-header { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.2rem; } .form-col-networks-header .form-col-title { margin-bottom: 0; flex: 1; } .form-col-networks-header .form-step-badge { margin-bottom: 0; flex-shrink: 0; } .btn-select-all { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 20px; border: 1.5px solid var(--sage); background: var(--sage-lt); color: var(--sage); cursor: pointer; transition: background 150ms ease, color 150ms ease; white-space: nowrap; flex-shrink: 0; } .btn-select-all:hover { background: var(--sage); color: #fff; } /* ── Group labels ── */ .networks-group-label { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sage); margin: 0 0 0.6rem; } .networks-group-label--manual { color: var(--muted); margin-top: 1.4rem; } /* ── Grid de botones ── */ .networks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.5rem; margin-bottom: 0.2rem; } /* ── Logos oficiales dentro de chips ── */ .chip-icon { width: 17px; height: 17px; object-fit: contain; flex-shrink: 0; vertical-align: middle; display: inline-block; } .net-chip.selected .chip-icon { filter: brightness(0) invert(1); } /* ── Botones de red — grandes, legibles ── */ .net-chip { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.97rem; font-weight: 500; padding: 0.7rem 0.6rem; border-radius: 10px; cursor: pointer; background: var(--surface2); color: var(--text); border: 1.5px solid var(--border); box-shadow: 0 2px 0 0 var(--border-dark); transition: transform 120ms cubic-bezier(.2,.8,.4,1), box-shadow 120ms ease, background 120ms ease, border-color 120ms ease, color 120ms ease; user-select: none; line-height: 1.3; text-align: center; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.4rem; } .net-chip:hover { border-color: var(--acid); background: var(--acid-lt); color: var(--acid-dark); transform: translateY(-2px); box-shadow: 0 4px 0 0 #9dcc00, 0 6px 16px rgba(200,255,0,0.18); } .net-chip:hover .chip-icon { filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(600%) hue-rotate(40deg); } .net-chip:active { transform: translateY(1px); box-shadow: 0 1px 0 0 var(--border-dark); } /* Auto-GDPR seleccionado — verde irlandés */ .net-chip.selected { background: var(--sage); color: #fff; border-color: #0f5c34; box-shadow: 0 3px 0 0 #0f5c34, 0 4px 12px rgba(26,122,74,0.28); } .net-chip.selected:hover { background: #168a52; color: #fff; border-color: var(--acid); box-shadow: 0 5px 0 0 #9dcc00, 0 7px 18px rgba(200,255,0,0.22); transform: translateY(-2px); } /* Chips manuales — acción directa, no seleccionables */ .net-chip--manual { background: var(--surface); color: var(--muted); border-color: var(--border); border-style: dashed; } .net-chip--manual:hover { background: var(--surface2); border-color: var(--sage); border-style: solid; color: var(--sage); transform: translateY(-2px); box-shadow: 0 3px 0 0 #0f5c34; } .net-chip--manual:hover .chip-icon { filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(400%) hue-rotate(110deg); } .net-chip--manual:active { transform: translateY(0); } /* Flash al abrir enlace manual */ @keyframes chipFlash { 0% { background: var(--sage-lt); border-color: var(--sage); } 100% { background: var(--surface); border-color: var(--border); } } .chip--opened { animation: chipFlash 1.2s ease forwards; } .chip-arrow { font-size: 0.75rem; opacity: 0.5; flex-shrink: 0; } /* Nota explicativa sección manual */ .networks-manual-note { font-size: 0.78rem; color: var(--subtle); margin: -0.2rem 0 0.6rem; font-style: italic; line-height: 1.4; } /* ── Contador ── */ .form-counter { margin-top: 1.1rem; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--sage); text-align: right; letter-spacing: 0.01em; } /* ── Fila de envío ── */ .form-send-row { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; } .btn--send-main { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 1.15rem; font-weight: 700; padding: 1rem 2.8rem; border-radius: 14px; letter-spacing: 0.01em; min-width: 280px; justify-content: center; } .form-note { font-size: 0.77rem; color: var(--subtle); text-align: center; max-width: 52ch; line-height: 1.55; } /* ── Responsive: una columna en móvil ── */ @media (max-width: 720px) { .form-two-col { grid-template-columns: 1fr; gap: 1.2rem; } .form-col-email { position: static; } .networks-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } .btn--send-main { width: 100%; min-width: 0; } } /* Resultados */ .results-wrap { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.45rem; } .result-item { padding: 0.6rem 0.95rem; border-radius: 8px; font-size: 0.84rem; line-height: 1.4; } .result-item code { font-family: 'Courier New', monospace; font-size: 0.82em; background: rgba(0,0,0,0.06); padding: 0.1em 0.3em; border-radius: 3px; } .result-ok { background: var(--sage-lt); color: var(--sage); border: 1px solid #a8d4bc; } .result-form, .result-manual { background: var(--caoba-lt); color: var(--caoba); border: 1px solid #e0c4b8; } .result-error { background: #fef2f2; color: #c0392b; border: 1px solid #f5c6c6; } /* ═══════════════════════════════════════════ UTILIDADES ═══════════════════════════════════════════ */ .text-caoba { color: var(--caoba); } .text-sage { color: var(--sage); } .text-muted { color: var(--muted); } /* ═══════════════════════════════════════════ SECCIÓN INTRO — salud digital / por qué resetear ═══════════════════════════════════════════ */ .intro-section { padding: 4rem 0 4.5rem; background: linear-gradient(150deg, #f2ead8 0%, #e5efe8 45%, #ede4d5 78%, #e8f0e6 100%); background-size: 300% 300%; animation: heroGradientShift 20s ease infinite; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; } .intro-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 50% at 8% 50%, rgba(123,63,46,0.07) 0%, transparent 60%), radial-gradient(ellipse 45% 55% at 92% 30%, rgba(26,122,74,0.06) 0%, transparent 60%); pointer-events: none; } .intro-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } .intro-left .intro-label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--sage-lt); color: var(--sage); border: 1px solid #a8d4bc; margin-bottom: 1.2rem; } .intro-left .intro-label::before { content: '●'; font-size: 0.5rem; animation: pulse-dot 2s infinite; } @keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } .intro-title { font-family: 'Recion', 'Georgia', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--text); line-height: 1.15; letter-spacing: 0.02em; margin-bottom: 1.1rem; } .intro-title em { font-style: normal; color: var(--caoba); } .intro-desc { font-size: 1.02rem; color: var(--muted); line-height: 1.7; max-width: 52ch; margin-bottom: 2rem; } .intro-bullets { list-style: none; padding: 0; margin: 0 0 2.2rem; display: flex; flex-direction: column; gap: 0.85rem; } .intro-bullets li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.96rem; color: var(--text); line-height: 1.5; } .intro-bullets li .bullet-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 0.9rem; margin-top: 0.05rem; } .bullet-icon--caoba { background: var(--caoba-lt); border: 1px solid #e0c4b8; } .bullet-icon--sage { background: var(--sage-lt); border: 1px solid #a8d4bc; } .bullet-icon--acid { background: var(--lime-lt); border: 1px solid #c8dd80; } .bullet-icon--blue { background: #e8ecff; border: 1px solid #b8c4f8; } .intro-bullets li strong { color: var(--text); font-weight: 600; } .intro-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; } .intro-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.6rem; border-radius: 12px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; transition: transform 140ms cubic-bezier(.2,.8,.4,1), box-shadow 140ms ease, background 140ms ease, border-color 140ms ease; user-select: none; cursor: pointer; } .intro-btn--primary { background: var(--acid); color: #1a1714; border: 1.5px solid #9dcc00; box-shadow: 0 4px 0 0 #6a9800, 0 6px 20px rgba(200,255,0,0.25); } .intro-btn--primary:hover { background: #d4ff1a; transform: translateY(-3px); box-shadow: 0 7px 0 0 #5a8800, 0 12px 28px rgba(200,255,0,0.35); text-decoration: none; color: #1a1714; } .intro-btn--primary:active { transform: translateY(1px); box-shadow: 0 1px 0 0 #6a9800; } .intro-btn--ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--btn-shadow); } .intro-btn--ghost:hover { background: var(--surface2); border-color: var(--border-dark); transform: translateY(-3px); box-shadow: var(--btn-shadow-hover); text-decoration: none; color: var(--text); } .intro-btn--ghost:active { transform: translateY(1px); box-shadow: var(--btn-shadow-active); } .intro-btn--caoba { background: var(--caoba); color: #fff; border: 1.5px solid #5c2d1e; box-shadow: 0 4px 0 0 #4a1e10, 0 6px 18px rgba(123,63,46,0.30); } .intro-btn--caoba:hover { background: var(--caoba-mid); transform: translateY(-3px); box-shadow: 0 7px 0 0 #3a150a, 0 12px 26px rgba(123,63,46,0.38); text-decoration: none; color: #fff; } .intro-btn--caoba:active { transform: translateY(1px); box-shadow: 0 1px 0 0 #4a1e10; } /* Cards del lado derecho del intro */ .intro-right { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; } .intro-stat-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 1.4rem 1.6rem; box-shadow: 0 2px 0 0 var(--border-dark), var(--shadow-sm); transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease; } .intro-stat-card:hover { background: #faf8f4; border-color: var(--caoba); box-shadow: 0 3px 0 0 var(--caoba), var(--shadow-md); } .intro-stat-card .stat-row { display: flex; align-items: flex-start; gap: 1rem; } .intro-stat-card .stat-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; } .intro-stat-card .stat-val { font-family: 'Recion', 'Georgia', serif; font-size: 2rem; color: var(--caoba); line-height: 1; letter-spacing: 0.02em; } .intro-stat-card .stat-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.45; margin-top: 0.2rem; } .intro-stat-card .stat-source { font-size: 0.72rem; color: var(--subtle); margin-top: 0.5rem; font-style: italic; } /* Responsive intro */ @media (max-width: 860px) { .intro-inner { grid-template-columns: 1fr; gap: 2.5rem; } .intro-right { padding-top: 0; } } @media (max-width: 480px) { .intro-ctas { flex-direction: column; } .intro-btn { justify-content: center; text-align: center; } } /* ═══════════════════════════════════════════ ARTÍCULO — layout para salud-digital.html ═══════════════════════════════════════════ */ .article-hero { padding: 4rem 0 3rem; background: linear-gradient(160deg, #1a1714 0%, #2a1a10 60%, #1a2b20 100%); text-align: center; position: relative; overflow: hidden; } .article-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(26,122,74,0.15) 0%, transparent 60%); pointer-events: none; } .article-hero-inner { position: relative; z-index: 1; } .article-label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(26,122,74,0.20); color: #6de8a2; border: 1px solid rgba(26,122,74,0.35); margin-bottom: 1.2rem; } .article-title { font-family: 'Recion', 'Georgia', serif; font-size: clamp(2rem, 5vw, 3.4rem); color: #f8f7f4; line-height: 1.15; letter-spacing: 0.02em; margin-bottom: 1rem; max-width: 18ch; margin-left: auto; margin-right: auto; } .article-title em { font-style: normal; color: var(--acid); } .article-subtitle { font-size: 1.1rem; color: rgba(248,247,244,0.65); max-width: 60ch; margin: 0 auto 2rem; line-height: 1.65; } .article-meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(248,247,244,0.40); letter-spacing: 0.03em; } .article-meta span { display: flex; align-items: center; gap: 0.35rem; } /* Cuerpo del artículo */ .article-body { padding: 3.5rem 0 5rem; background: var(--bg); } .article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3.5rem; align-items: start; } .article-content h2 { font-size: clamp(1.3rem, 2.8vw, 1.75rem); margin-top: 2.5rem; margin-bottom: 0.75rem; padding-top: 2rem; border-top: 1px solid var(--border); color: var(--text); } .article-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; } .article-content h3 { font-size: 1.1rem; margin-top: 1.6rem; margin-bottom: 0.55rem; color: var(--caoba); } .article-content p { color: var(--muted); font-size: 1.02rem; line-height: 1.72; margin-bottom: 1rem; max-width: 72ch; } .article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--muted); font-size: 1rem; line-height: 1.7; } .article-content li { margin-bottom: 0.4rem; } .article-content strong { color: var(--text); font-weight: 600; } /* Callout boxes */ .callout { margin: 1.8rem 0; padding: 1.2rem 1.4rem; border-radius: 14px; font-size: 0.96rem; line-height: 1.6; } .callout--sage { background: var(--sage-lt); border-left: 3px solid var(--sage); color: #0f4a2a; } .callout--caoba { background: var(--caoba-lt); border-left: 3px solid var(--caoba); color: #5c2d1e; } .callout--acid { background: var(--acid-lt); border-left: 3px solid var(--acid-dark); color: #4a5a00; } .callout--dark { background: #1a1714; border-left: 3px solid var(--acid); color: rgba(248,247,244,0.80); } .callout p { color: inherit; margin-bottom: 0; font-size: inherit; max-width: 100%; } .callout strong { color: inherit; font-weight: 700; } /* Paper card — cita académica */ .paper-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 0.6rem 0; box-shadow: var(--shadow-sm); transition: box-shadow 200ms ease, border-color 200ms ease; } .paper-card:hover { border-color: var(--caoba); box-shadow: var(--shadow-md); } .paper-card .paper-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; } .paper-card .paper-title { font-size: 0.93rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 0.3rem; } .paper-card .paper-meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; } .paper-card .paper-finding { font-size: 0.88rem; color: var(--muted); line-height: 1.55; border-top: 1px solid var(--border); padding-top: 0.6rem; margin-top: 0.4rem; } .paper-card a { font-size: 0.78rem; font-weight: 600; color: var(--sage); } .paper-card a:hover { color: var(--caoba); } /* Stat highlights */ .stat-highlight { display: flex; align-items: center; gap: 1.1rem; background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px; padding: 1.1rem 1.3rem; margin: 0.5rem 0; box-shadow: var(--shadow-sm); } .stat-highlight .sh-val { font-family: 'Recion', 'Georgia', serif; font-size: 2.2rem; color: var(--caoba); line-height: 1; flex-shrink: 0; letter-spacing: 0.02em; } .stat-highlight .sh-text { font-size: 0.88rem; color: var(--muted); line-height: 1.45; } .stat-highlight .sh-text strong { color: var(--text); } /* Sidebar del artículo */ .article-sidebar { position: sticky; top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; } .sidebar-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); } .sidebar-card h4 { font-family: 'Recion', 'Georgia', serif; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 0.9rem; color: var(--text); } .sidebar-card ul { list-style: none; padding: 0; margin: 0; } .sidebar-card ul li { font-size: 0.87rem; color: var(--muted); padding: 0.45rem 0; border-bottom: 1px solid var(--surface2); line-height: 1.4; } .sidebar-card ul li:last-child { border-bottom: none; } .sidebar-card ul li a { font-weight: 600; font-size: 0.87rem; } .sidebar-card .toc-link { display: block; font-size: 0.87rem; color: var(--muted); padding: 0.4rem 0; border-bottom: 1px solid var(--surface2); text-decoration: none; transition: color 130ms ease, padding-left 130ms ease; } .sidebar-card .toc-link:hover { color: var(--caoba); padding-left: 0.4rem; text-decoration: none; } .sidebar-card .toc-link:last-child { border-bottom: none; } .sidebar-action-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.8rem 1rem; border-radius: 10px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease; margin-top: 0.5rem; } .sidebar-action-btn--primary { background: var(--caoba); color: #fff; border: 1.5px solid #5c2d1e; box-shadow: 0 3px 0 0 #4a1e10; } .sidebar-action-btn--primary:hover { background: var(--caoba-mid); transform: translateY(-2px); box-shadow: 0 5px 0 0 #3a150a; text-decoration: none; color: #fff; } /* Tip list */ .tips-list { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.7rem; } .tips-list li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.97rem; color: var(--muted); line-height: 1.5; } .tips-list li .tip-num { flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; background: var(--caoba); color: #fff; font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 0 0 #5c2d1e; margin-top: 0.1rem; } .tips-list li strong { color: var(--text); } /* References section */ .references-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--border); } .references-section h2 { border-top: none; padding-top: 0; margin-top: 0; } .ref-list { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.75rem; } .ref-list li { font-size: 0.86rem; color: var(--muted); line-height: 1.55; padding: 0.7rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; display: flex; gap: 0.75rem; align-items: flex-start; } .ref-list li .ref-num { font-weight: 700; color: var(--caoba); font-size: 0.82rem; flex-shrink: 0; margin-top: 0.05rem; } .ref-list a { font-weight: 600; color: var(--sage); font-size: 0.82rem; } .ref-list a:hover { color: var(--caoba); } /* Responsive article */ @media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-sidebar { position: static; } } /* Article back nav */ .article-backnav { padding: 1.2rem 0; border-bottom: 1px solid var(--border); background: var(--surface); } .article-backnav a { font-size: 0.87rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.35rem; } .article-backnav a:hover { color: var(--caoba); text-decoration: none; } /* ═══════════════════════════════════════════ STUDIES SECTION — Lo que dice la ciencia ═══════════════════════════════════════════ */ .studies-section { padding: 4.5rem 0 5rem; background: var(--bg); border-top: 1px solid var(--border); } .studies-header { text-align: center; max-width: 65ch; margin: 0 auto 3rem; } .studies-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--sage-lt); color: var(--sage); border: 1px solid #a8d4bc; margin-bottom: 1rem; } .studies-title { font-family: 'Recion', 'Georgia', serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--text); margin-bottom: 0.75rem; } .studies-subtitle { font-size: 1rem; color: var(--muted); line-height: 1.65; margin: 0; } .studies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; } .study-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px; padding: 1.8rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.6rem; transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; } .study-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); } .study-card--brain { border-top: 3px solid var(--caoba); } .study-card--attention { border-top: 3px solid var(--acid-dark); } .study-card--sleep { border-top: 3px solid #6b7eff; } .study-card--data { border-top: 3px solid var(--sage); } .study-card-icon { font-size: 1.8rem; line-height: 1; } .study-card-stat { font-family: 'Recion', serif; font-size: 2.3rem; line-height: 1; color: var(--caoba); letter-spacing: 0.02em; } .study-card--attention .study-card-stat { color: var(--acid-dark); } .study-card--sleep .study-card-stat { color: #6b7eff; } .study-card--data .study-card-stat { color: var(--sage); } .study-card-title { font-family: 'Recion', serif; font-size: 1.05rem; color: var(--text); letter-spacing: 0.02em; margin: 0; } .study-card-text { font-size: 0.86rem; color: var(--muted); line-height: 1.55; flex: 1; } .study-card-source { font-size: 0.70rem; color: var(--subtle); font-style: italic; margin-top: auto; padding-top: 0.4rem; border-top: 1px solid var(--surface2); } .studies-banner { display: grid; grid-template-columns: 400px 1fr; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--border); box-shadow: var(--shadow-md); } .studies-banner-photo { background-image: url('img/studies-banner.jpg'); background-size: cover; background-position: center; background-color: #1a1714; position: relative; min-height: 300px; } .studies-banner-photo-inner { position: absolute; inset: 0; padding: 2.2rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; background: linear-gradient(to top, rgba(26,23,20,0.95) 0%, rgba(26,23,20,0.40) 60%, rgba(26,23,20,0.20) 100%); } .sbp-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); } .sbp-stat { font-family: 'Recion', serif; font-size: 2.2rem; color: #f8f7f4; line-height: 1; } .sbp-desc { font-size: 0.85rem; color: rgba(248,247,244,0.52); line-height: 1.45; max-width: 26ch; } .studies-banner-text { padding: 2.5rem 2.8rem; background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 1rem; } .studies-banner-text h3 { font-family: 'Recion', serif; font-size: 1.45rem; color: var(--text); letter-spacing: 0.02em; margin: 0; } .studies-banner-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; max-width: 60ch; margin: 0; } .studies-banner-text em { font-style: italic; color: var(--caoba); } @media (max-width: 1100px) { .studies-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 860px) { .studies-banner { grid-template-columns: 1fr; } .studies-banner-photo { min-height: 200px; } .studies-banner-text { padding: 2rem; } } @media (max-width: 600px) { .studies-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 400px) { .studies-grid { grid-template-columns: 1fr; } } /* ═══════════════════════════════════════════ DARK THEME — index.html (body.page-dark) ═══════════════════════════════════════════ */ .page-dark { --bg: #1a1714; --surface: #221f1b; --surface2: #2a2620; --border: rgba(248,247,244,0.09); --border-dark: rgba(248,247,244,0.16); --text: #f8f7f4; --muted: rgba(248,247,244,0.55); --subtle: rgba(248,247,244,0.32); --shadow-sm: 0 1px 3px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.30); --shadow-md: 0 4px 12px rgba(0,0,0,0.55), 0 2px 4px rgba(0,0,0,0.30); --shadow-lg: 0 8px 30px rgba(0,0,0,0.65), 0 4px 8px rgba(0,0,0,0.30); --btn-shadow: 0 4px 0 0 #090806, 0 6px 16px rgba(0,0,0,0.40); --btn-shadow-hover: 0 6px 0 0 #090806, 0 10px 24px rgba(0,0,0,0.50); --btn-shadow-active:0 1px 0 0 #090806, 0 2px 6px rgba(0,0,0,0.30); } .page-dark h2, .page-dark h3 { color: var(--acid); } /* Override hardcoded light gradients */ .page-dark .intro-section, .page-dark .erase-form-section, .page-dark .info, .page-dark .info.alt { background: var(--surface2); animation: none; } .page-dark .intro-section::before { background: radial-gradient(ellipse 55% 50% at 8% 50%, rgba(200,255,0,0.04) 0%, transparent 60%), radial-gradient(ellipse 45% 55% at 92% 30%, rgba(26,122,74,0.07) 0%, transparent 60%); } /* Hero-landing on index: same dark gradient, nav buttons become white pills with dark text */ .page-dark .landing-nav-btn { color: #1a1714; background: rgba(248,247,244,0.88); border-color: rgba(248,247,244,0.60); box-shadow: 0 4px 0 0 rgba(248,247,244,0.35), 0 6px 14px rgba(0,0,0,0.22); backdrop-filter: none; } .page-dark .landing-nav-btn:hover { color: #1a1714; background: rgba(248,247,244,0.96); border-color: rgba(248,247,244,0.80); box-shadow: 0 6px 0 0 rgba(248,247,244,0.50), 0 10px 24px rgba(0,0,0,0.28); } .page-dark .landing-nav-btn--highlight, .page-dark .landing-nav-btn--highlight:hover { color: #1a1714; } /* Pill badges */ .page-dark .intro-left .intro-label, .page-dark .studies-eyebrow { background: rgba(26,122,74,0.14); border-color: rgba(26,122,74,0.28); } /* Stat cards */ .page-dark .intro-title em { color: var(--acid); } .page-dark .intro-stat-card .stat-val { color: var(--acid); } .page-dark .intro-stat-card:hover { background: #2e2a24; border-color: var(--acid); box-shadow: 0 3px 0 0 var(--acid-dark), var(--shadow-md); } /* ─── Photo slider separator ─────────────────── */ .photo-slider { position: relative; min-height: 440px; overflow: hidden; } .photo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; background-size: cover; background-position: center 35%; display: flex; align-items: flex-end; } .photo-slide.active { opacity: 1; z-index: 1; } .photo-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient( to bottom, rgba(26,23,20,0.10) 0%, rgba(26,23,20,0.62) 52%, rgba(26,23,20,0.94) 100% ); } .photo-slide--1 { background-image: url('img/crowd-phones.jpg'); } .photo-slide--2 { background-image: url('img/times-square.jpg'); background-position: center center; } .photo-slide--3 { background-image: url('img/legal-action.jpg'); background-position: center 30%; } .photo-slide--4 { background-image: url('img/garden-japan.jpg'); background-position: center 40%; } .photo-slide--5 { background-image: url('img/forest-aerial.jpg'); background-position: center center; } .photo-slide-inner { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 2.5rem 3rem 4rem; } .photo-slide-label { display: block; font-size: 0.70rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--acid); margin-bottom: 0.65rem; } .photo-slide-headline { font-family: 'Recion', 'Georgia', serif; font-size: clamp(1.8rem, 3.5vw, 3rem); color: #f8f7f4; line-height: 1.2; max-width: 22ch; margin: 0 0 0.8rem; letter-spacing: 0.02em; } .page-dark .photo-slide-headline { color: #f8f7f4; } .photo-slide-sub { font-size: 1rem; color: rgba(248,247,244,0.65); max-width: 54ch; line-height: 1.65; margin: 0; } .slider-dots { position: absolute; bottom: 1.4rem; right: 3rem; z-index: 3; display: flex; gap: 0.5rem; align-items: center; } .slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(248,247,244,0.30); border: none; cursor: pointer; padding: 0; transition: background 250ms ease, transform 250ms ease; } .slider-dot.active { background: var(--acid); transform: scale(1.35); } @media (max-width: 700px) { .photo-slider { min-height: 340px; } .photo-slide-inner { padding: 2rem 1.5rem 3.5rem; } .slider-dots { right: 1.5rem; } } /* ─── RESETEA hero CTA ───────────────────────── */ .intro-cta-hero { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; padding: 3rem 1rem 1rem; grid-column: 1 / -1; } .btn-resetea-hero { font-family: 'Recion', 'Georgia', serif; font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: 0.18em; background: var(--acid); color: #1a1714; padding: 1rem 4.5rem; border-radius: 14px; text-decoration: none; border: 2px solid #9dcc00; box-shadow: 0 8px 0 0 #5a8800, 0 14px 36px rgba(200,255,0,0.22); transition: transform 90ms ease, box-shadow 90ms ease; display: inline-block; } .btn-resetea-hero:hover { color: #1a1714; text-decoration: none; transform: translateY(-4px); box-shadow: 0 12px 0 0 #4a7200, 0 20px 48px rgba(200,255,0,0.30); } .btn-resetea-hero:active { color: #1a1714; transform: translateY(5px); box-shadow: 0 3px 0 0 #5a8800, 0 4px 12px rgba(200,255,0,0.12); } .btn-resetea-sub { font-size: 0.88rem; color: var(--muted); text-align: center; } /* ─── Study card source link ─────────────────── */ .study-card-link { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.38rem 0.75rem; border-radius: 8px; font-size: 0.73rem; font-weight: 600; letter-spacing: 0.02em; color: var(--subtle); border: 1px solid var(--border); text-decoration: none; margin-top: 0.6rem; align-self: flex-start; transition: color 140ms ease, border-color 140ms ease, background 140ms ease; } .study-card--brain .study-card-link:hover { color: var(--caoba); border-color: var(--caoba); background: var(--caoba-lt); text-decoration: none; } .study-card--attention .study-card-link:hover { color: var(--acid-dark); border-color: var(--acid-dark); background: var(--acid-lt); text-decoration: none; } .study-card--sleep .study-card-link:hover { color: #4b5eff; border-color: #6b7eff; background: rgba(107,126,255,0.08); text-decoration: none; } .study-card--data .study-card-link:hover { color: var(--sage); border-color: var(--sage); background: var(--sage-lt); text-decoration: none; } /* ─── Right-card source link (concienciacion.html) ── */ .right-card-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 7px; font-size: 0.72rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border); text-decoration: none; transition: color 140ms ease, border-color 140ms ease, background 140ms ease; } .right-card-link:hover { color: var(--caoba); border-color: var(--caoba); background: var(--caoba-lt); text-decoration: none; }