nosotros + blog en curso

This commit is contained in:
2026-09-20 11:18:14 -03:00
parent 2a0cfbde0e
commit cd67fca3dc
10 changed files with 1649 additions and 310 deletions
+962
View File
@@ -0,0 +1,962 @@
/* ============================================
HERO COMPACTO DEL BLOG
============================================ */
.blog-hero-compact {
padding: calc(var(--spacing-lg) + 2rem) var(--spacing-md) var(--spacing-lg);
background-color: var(--bg-base);
text-align: center;
position: relative;
}
.hero-compact-content {
max-width: 700px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--spacing-sm);
}
.blog-hero-compact .badge-filosofia {
display: inline-block;
padding: 0.4rem 1rem;
border-radius: 999px;
background-color: var(--badge-bg);
color: var(--badge-text);
font-family: var(--font-small);
font-weight: 600;
font-size: 0.85rem;
letter-spacing: 0.5px;
text-transform: uppercase;
opacity: 0;
animation: fadeInUp 0.9s ease-out 0s forwards;
}
.blog-hero-compact .hero-compact-title {
font-family: var(--font-title);
font-style: italic;
font-weight: 700;
font-size: clamp(2.5rem, 6vw, 4rem);
line-height: 1.1;
color: var(--text-primary);
opacity: 0;
animation: fadeInUp 0.9s ease-out 0.2s forwards;
}
.blog-hero-compact .hero-compact-subtitle {
font-family: var(--font-body);
font-size: clamp(1rem, 2vw, 1.15rem);
color: var(--text-muted);
line-height: 1.6;
max-width: 600px;
opacity: 0;
animation: fadeInUp 0.9s ease-out 0.4s forwards;
}
/* ============================================
SECCIÓN FILTROS Y BUSCADOR (INTEGRADOS, NO STICKY)
============================================ */
.blog-filters-section {
padding: var(--spacing-md) var(--spacing-md);
background-color: var(--bg-surface);
border-bottom: 1px solid var(--border);
position: relative; /* Sin sticky, fluye normal */
z-index: 1;
}
.filters-container {
max-width: 1400px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
}
/* Fila superior: Buscador + Filtros principales */
.filters-top-row {
display: flex;
gap: var(--spacing-sm);
align-items: center;
flex-wrap: wrap;
}
/* Buscador con forma redondeada (pill) */
.search-wrapper-compact {
flex: 1;
min-width: 280px;
max-width: 480px;
position: relative;
display: flex;
align-items: center;
background-color: var(--bg-base);
border: 1.5px solid var(--border);
border-radius: 999px; /* Forma redondeada como los botones */
padding: 0.5rem 0.5rem 0.5rem 1.1rem;
transition: all 0.3s ease;
}
.search-wrapper-compact:focus-within {
border-color: var(--brand-crimson);
box-shadow: 0 0 0 3px rgba(186, 18, 77, 0.1);
background-color: var(--bg-surface);
}
.search-wrapper-compact .search-icon {
color: var(--text-muted);
margin-right: 0.6rem;
flex-shrink: 0;
display: flex;
align-items: center;
}
.search-wrapper-compact input {
flex: 1;
border: none;
background: transparent;
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--text-primary);
padding: 0.4rem 0;
outline: none;
min-width: 0;
}
.search-wrapper-compact input::placeholder {
color: var(--text-muted);
}
.search-clear {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 0.4rem;
display: none;
border-radius: 50%;
transition: all 0.2s ease;
flex-shrink: 0;
}
.search-clear:hover {
background-color: var(--bg-surface-elevated);
color: var(--brand-crimson);
}
.search-clear.visible {
display: flex;
align-items: center;
justify-content: center;
}
/* Filtros principales (Todos / Destacados) */
.filter-group-compact {
display: flex;
gap: 0.5rem;
flex-shrink: 0;
}
.filter-btn {
font-family: var(--font-small);
font-size: 0.85rem;
font-weight: 600;
padding: 0.5rem 1rem;
border: 1.5px solid var(--border);
border-radius: 999px;
background-color: transparent;
color: var(--text-primary);
cursor: pointer;
transition: all 0.25s ease;
white-space: nowrap;
}
.filter-btn:hover {
border-color: var(--brand-crimson);
color: var(--brand-crimson);
}
.filter-btn.active {
background-color: var(--brand-crimson);
border-color: var(--brand-crimson);
color: var(--text-on-accent);
}
/* Fila inferior: Categorías + Ordenamiento */
.filters-bottom-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--spacing-sm);
flex-wrap: wrap;
padding-top: var(--spacing-xs);
border-top: 1px solid var(--border);
}
.filter-categories-compact {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
flex: 1;
}
.category-btn {
font-family: var(--font-small);
font-size: 0.8rem;
font-weight: 600;
padding: 0.4rem 0.85rem;
border: 1px solid var(--border);
border-radius: 999px;
background-color: var(--bg-base);
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.category-btn:hover {
border-color: var(--brand-teal);
color: var(--brand-teal);
}
.category-btn.active {
background-color: var(--brand-teal);
border-color: var(--brand-teal);
color: var(--text-on-accent);
}
.filter-secondary-compact {
flex-shrink: 0;
}
.sort-select-compact {
font-family: var(--font-small);
font-size: 0.85rem;
padding: 0.45rem 2rem 0.45rem 0.9rem;
border: 1px solid var(--border);
border-radius: 999px;
background-color: var(--bg-base);
color: var(--text-primary);
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23170c1d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
transition: all 0.2s ease;
}
.sort-select-compact:hover {
border-color: var(--brand-teal);
}
/* Info de resultados */
.results-info-compact {
display: flex;
justify-content: space-between;
align-items: center;
font-family: var(--font-small);
font-size: 0.85rem;
color: var(--text-muted);
padding-top: var(--spacing-xs);
}
.reset-filters-compact {
background: none;
border: none;
color: var(--brand-crimson);
font-family: var(--font-small);
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
padding: 0.3rem 0.6rem;
border-radius: 6px;
transition: all 0.2s ease;
}
.reset-filters-compact:hover {
background-color: rgba(186, 18, 77, 0.1);
}
/* ============================================
TAGS CON MEJOR CONTRASTE (UNIFICADO)
============================================ */
.category-tag {
font-family: var(--font-small);
font-size: 0.75rem;
font-weight: 700;
padding: 0.35rem 0.85rem;
border-radius: 999px;
text-transform: uppercase;
letter-spacing: 0.5px;
border: 1.5px solid transparent;
transition: all 0.2s ease;
}
/* Branding */
.category-tag.branding {
background-color: var(--brand-crimson);
color: #ffffff;
border-color: var(--brand-crimson);
}
[data-theme="dark"] .category-tag.branding {
background-color: rgba(186, 18, 77, 0.95);
color: #ffffff;
border-color: rgba(186, 18, 77, 1);
}
/* Web */
.category-tag.web {
background-color: var(--brand-teal);
color: #ffffff;
border-color: var(--brand-teal);
}
[data-theme="dark"] .category-tag.web {
background-color: rgba(0, 63, 82, 0.95);
color: #ffffff;
border-color: rgba(0, 63, 82, 1);
}
/* Automatizaciones */
.category-tag.automatizaciones {
background-color: var(--brand-plum);
color: #ffffff;
border-color: var(--brand-plum);
}
[data-theme="dark"] .category-tag.automatizaciones {
background-color: rgba(23, 12, 29, 0.95);
color: var(--brand-sage-light);
border-color: rgba(23, 12, 29, 1);
}
/* Redes */
.category-tag.redes {
background-color: #00a88c;
color: #ffffff;
border-color: #00a88c;
}
[data-theme="dark"] .category-tag.redes {
background-color: rgba(5, 104, 87, 0.95);
color: #ffffff;
border-color: rgba(0, 168, 140, 1);
}
/* Paid Media */
.category-tag.paid {
background-color: #6b4c9a;
color: #ffffff;
border-color: #6b4c9a;
}
[data-theme="dark"] .category-tag.paid {
background-color: rgba(107, 76, 154, 0.95);
color: #ffffff;
border-color: rgba(107, 76, 154, 1);
}
/* Estrategia */
.category-tag.estrategia {
background-color: #d97706;
color: #ffffff;
border-color: #d97706;
}
[data-theme="dark"] .category-tag.estrategia {
background-color: rgba(217, 119, 6, 0.95);
color: #ffffff;
border-color: rgba(217, 119, 6, 1);
}
/* Casos */
.category-tag.casos {
background-color: #475569;
color: #ffffff;
border-color: #475569;
}
[data-theme="dark"] .category-tag.casos {
background-color: rgba(71, 85, 105, 0.95);
color: #ffffff;
border-color: rgba(71, 85, 105, 1);
}
.category-tag:hover {
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* ============================================
ARTÍCULOS DESTACADOS (VERSIÓN SIMÉTRICA)
============================================ */
.featured-posts {
padding: var(--spacing-lg) var(--spacing-md);
background-color: var(--bg-base);
position: relative;
}
.featured-posts .section-header {
max-width: 1400px;
margin: 0 auto var(--spacing-lg);
text-align: left;
padding-left: var(--spacing-sm);
position: relative;
}
.featured-posts .section-header::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 60px;
background: linear-gradient(180deg, var(--brand-crimson) 0%, var(--brand-teal) 100%);
border-radius: 2px;
}
.featured-posts .section-title {
font-family: var(--font-title);
font-style: italic;
font-size: clamp(2rem, 4vw, 2.8rem);
color: var(--text-primary);
margin-bottom: var(--spacing-xs);
line-height: 1.2;
padding-left: var(--spacing-md);
}
.featured-posts .section-subtitle {
font-family: var(--font-body);
font-size: 1.1rem;
color: var(--text-muted);
line-height: 1.6;
padding-left: var(--spacing-md);
max-width: 600px;
}
.featured-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--spacing-md);
max-width: 1400px;
margin: 0 auto;
}
.featured-card {
background-color: var(--bg-surface);
border: 1.5px solid var(--border);
border-radius: 20px;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
position: relative;
display: flex;
flex-direction: column;
min-height: 480px;
}
/* Glow sutil para destacar en hover */
.featured-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 20px;
padding: 2px;
background: linear-gradient(135deg,
rgba(186, 18, 77, 0.3) 0%,
rgba(0, 63, 82, 0.3) 50%,
rgba(186, 18, 77, 0.3) 100%
);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.featured-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}
.featured-card:hover::before {
opacity: 1;
}
.featured-badge {
position: absolute;
top: var(--spacing-sm);
left: var(--spacing-sm);
background-color: var(--brand-crimson);
color: var(--text-on-accent);
font-family: var(--font-small);
font-size: 0.7rem;
font-weight: 700;
padding: 0.35rem 0.8rem;
border-radius: 999px;
text-transform: uppercase;
letter-spacing: 0.5px;
z-index: 2;
box-shadow: 0 2px 8px rgba(186, 18, 77, 0.3);
}
.featured-image {
position: relative;
overflow: hidden;
aspect-ratio: 16/10;
flex-shrink: 0;
}
.featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.featured-card:hover .featured-image img {
transform: scale(1.05);
}
.featured-content {
padding: var(--spacing-md);
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
flex: 1;
}
.featured-meta {
display: flex;
align-items: center;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-xs);
}
.featured-title {
font-family: var(--font-title);
font-style: italic;
font-size: 1.3rem;
color: var(--text-primary);
line-height: 1.3;
margin-bottom: var(--spacing-xs);
}
.featured-excerpt {
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--text-muted);
line-height: 1.6;
flex: 1;
}
.featured-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: var(--spacing-sm);
padding-top: var(--spacing-sm);
border-top: 1px solid var(--border);
}
.reading-time {
font-family: var(--font-small);
font-size: 0.85rem;
color: var(--text-muted);
}
.btn-read {
font-family: var(--font-small);
font-size: 0.9rem;
font-weight: 600;
color: var(--brand-crimson);
text-decoration: none;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 0.4rem;
}
.btn-read:hover {
transform: translateX(4px);
color: var(--brand-teal);
}
/* ============================================
GRID DE ARTÍCULOS
============================================ */
.blog-grid-section {
padding: var(--spacing-lg) var(--spacing-md);
background-color: var(--bg-surface);
}
.blog-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--spacing-md);
max-width: 1400px;
margin: 0 auto;
}
.blog-card {
background-color: var(--bg-base);
border: 1px solid var(--border);
border-radius: 16px;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
flex-direction: column;
}
.blog-card:hover {
transform: translateY(-6px);
box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
border-color: var(--brand-teal);
}
.card-image {
position: relative;
aspect-ratio: 16/10;
overflow: hidden;
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.blog-card:hover .card-image img {
transform: scale(1.08);
}
.card-category {
position: absolute;
top: var(--spacing-sm);
left: var(--spacing-sm);
font-family: var(--font-small);
font-size: 0.75rem;
font-weight: 700;
padding: 0.3rem 0.8rem;
border-radius: 999px;
background-color: var(--bg-surface);
color: var(--brand-crimson);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.card-content {
padding: var(--spacing-md);
display: flex;
flex-direction: column;
gap: var(--spacing-xs);
flex: 1;
}
.card-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-family: var(--font-small);
font-size: 0.85rem;
color: var(--text-muted);
}
.reading-time-mini {
font-weight: 600;
}
.card-title {
font-family: var(--font-title);
font-style: italic;
font-size: 1.2rem;
color: var(--text-primary);
line-height: 1.3;
margin-bottom: var(--spacing-xs);
}
.card-excerpt {
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--text-muted);
line-height: 1.6;
flex: 1;
}
.card-tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: var(--spacing-xs);
}
.tag {
font-family: var(--font-small);
font-size: 0.75rem;
padding: 0.25rem 0.7rem;
background-color: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 999px;
color: var(--text-secondary);
}
.card-link {
font-family: var(--font-small);
font-size: 0.9rem;
font-weight: 600;
color: var(--brand-crimson);
text-decoration: none;
margin-top: var(--spacing-xs);
display: inline-flex;
align-items: center;
gap: 0.4rem;
transition: all 0.2s ease;
}
.card-link:hover {
color: var(--brand-teal);
gap: 0.6rem;
}
/* Estado vacío */
.empty-state {
text-align: center;
padding: var(--spacing-lg) var(--spacing-md);
grid-column: 1 / -1;
display: none;
}
.empty-icon {
font-size: 4rem;
margin-bottom: var(--spacing-sm);
opacity: 0.5;
}
.empty-state h3 {
font-family: var(--font-title);
font-style: italic;
font-size: 1.5rem;
color: var(--text-primary);
margin-bottom: var(--spacing-xs);
}
.empty-state p {
color: var(--text-muted);
margin-bottom: var(--spacing-md);
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
.load-more-container {
text-align: center;
margin-top: var(--spacing-lg);
}
/* ============================================
NEWSLETTER
============================================ */
.newsletter-section {
padding: var(--spacing-lg) var(--spacing-md);
background-color: var(--bg-base);
}
.newsletter-card {
max-width: 900px;
margin: 0 auto;
background-color: var(--brand-teal);
border-radius: 24px;
padding: var(--spacing-lg) var(--spacing-md);
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: var(--spacing-lg);
align-items: center;
position: relative;
overflow: hidden;
}
.newsletter-card::before {
content: "";
position: absolute;
top: -100px;
right: -100px;
width: 300px;
height: 300px;
border-radius: 50%;
background: radial-gradient(circle, var(--brand-crimson) 0%, transparent 70%);
opacity: 0.3;
filter: blur(60px);
}
.newsletter-content {
position: relative;
z-index: 1;
}
.newsletter-title {
font-family: var(--font-title);
font-style: italic;
font-size: clamp(1.8rem, 3vw, 2.5rem);
color: #ffffff;
margin-bottom: var(--spacing-xs);
}
.newsletter-subtitle {
font-family: var(--font-body);
font-size: 1rem;
color: rgba(255, 255, 255, 0.85);
line-height: 1.6;
}
.newsletter-form {
display: flex;
gap: var(--spacing-sm);
position: relative;
z-index: 1;
}
.newsletter-form input {
flex: 1;
padding: 0.85rem 1.2rem;
border: none;
border-radius: 999px;
font-family: var(--font-body);
font-size: 0.95rem;
background-color: rgba(255, 255, 255, 0.95);
color: var(--text-primary);
}
.newsletter-form input::placeholder {
color: var(--text-muted);
}
.newsletter-form .btn {
white-space: nowrap;
background-color: var(--brand-crimson);
color: var(--text-on-accent);
border: 1.5px solid var(--brand-crimson);
}
.newsletter-form .btn:hover {
background-color: #ffffff;
color: var(--brand-teal);
border-color: #ffffff;
}
/* ============================================
RESPONSIVE BLOG
============================================ */
@media (max-width: 1024px) {
.blog-grid,
.featured-grid {
grid-template-columns: repeat(2, 1fr);
}
.featured-card {
min-height: 420px;
}
}
@media (max-width: 768px) {
.blog-hero-compact {
padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
}
.blog-filters-section {
padding: var(--spacing-sm);
}
.filters-top-row {
flex-direction: column;
align-items: stretch;
}
.search-wrapper-compact {
max-width: 100%;
min-width: 100%;
}
.filter-group-compact {
justify-content: center;
}
.filters-bottom-row {
flex-direction: column;
align-items: stretch;
}
.filter-categories-compact {
overflow-x: auto;
flex-wrap: nowrap;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
padding-bottom: 4px;
}
.filter-categories-compact::-webkit-scrollbar {
display: none;
}
.category-btn {
flex-shrink: 0;
}
.filter-secondary-compact {
align-self: flex-end;
}
.blog-grid,
.featured-grid {
grid-template-columns: 1fr;
max-width: 500px;
}
.featured-card {
min-height: auto;
}
.newsletter-card {
grid-template-columns: 1fr;
text-align: center;
}
.newsletter-form {
flex-direction: column;
}
.newsletter-form .btn {
width: 100%;
}
}
@media (max-width: 480px) {
.blog-hero-compact .hero-compact-title {
font-size: 2rem;
}
.search-wrapper-compact {
padding: 0.4rem 0.4rem 0.4rem 1rem;
}
.search-wrapper-compact input {
font-size: 0.9rem;
}
.filter-btn {
font-size: 0.8rem;
padding: 0.4rem 0.8rem;
}
.featured-title,
.card-title {
font-size: 1.2rem;
}
}
@media (prefers-reduced-motion: reduce) {
.blog-card,
.featured-card,
.filter-btn,
.category-btn,
.search-wrapper-compact,
.category-tag {
transition: none;
}
}
+16 -5
View File
@@ -1,7 +1,15 @@
/* ============================================
FUENTES DE MARCA
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Literata:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;500;600;700&family=Windsong&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Literata:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;500;600;700&family=WindSong&display=swap');
@font-face {
font-family: 'Kaleagnetta';
src: url(../assets/fonts/Kaleagnetta.woff2);
font-weight: 400;
font-style: normal;
font-display: swap;
}
/* ============================================
VARIABLES DE TEMA (modo claro por defecto)
@@ -47,6 +55,7 @@
--font-body: 'Raleway', sans-serif;
--font-small: 'Jost', sans-serif;
--font-signature: 'Windsong', cursive;
--font-signature2: 'Kaleagnetta', cursive;
--font-family-base: var(--font-body);
--font-size-base: 16px;
@@ -65,6 +74,8 @@
--bg-surface: #170c1d;
--bg-surface-elevated: #221728;
--bg-icon-contrast: var(--brand-sage-light);
--brand-teal-contraste: #116c88;
--brand-crimson-contraste: #d81a5c;
--text-primary: var(--brand-sage-light);
--text-secondary: var(--brand-rose-muted);
@@ -833,9 +844,9 @@ PANTALLA DE BIENVENIDA
.bienvenida-icono {
width: 80px;
height: 80px;
border-radius: 50%;
/*border-radius: 50%;
background-color: var(--bg-surface-elevated);
border: 2px solid var(--border);
border: 2px solid var(--border);*/
display: flex;
align-items: center;
justify-content: center;
@@ -843,8 +854,8 @@ PANTALLA DE BIENVENIDA
}
.icono-diagnostico {
width: 40px;
height: 40px;
width: 70px;
height: 70px;
display: block;
background-color: var(--btn-primary-bg);
-webkit-mask-image: url("../assets/iconos/ad_hoc.svg");
+17 -111
View File
@@ -1,107 +1,3 @@
/* ============================================
FUENTES DE MARCA
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Literata:ital,wght@0,400;0,700;1,400;1,700&family=Raleway:wght@400;500;600;700&family=Windsong&display=swap');
/* ============================================
VARIABLES DE TEMA (modo claro por defecto)
============================================ */
:root {
--brand-plum: #170c1d;
--brand-crimson: #ba124d;
--brand-teal: #003f52;
--brand-sage-light: #eaf0ee;
--brand-rose-muted: #dfbdb9;
--bg-dark-web: #110916;
--brand-teal-contraste: var(--brand-teal);
--brand-crimson-contraste: var(--brand-crimson);
--bg-base: var(--brand-sage-light);
--bg-surface: #ffffff;
--bg-surface-elevated: #f5f9f8;
--bg-icon-contrast: var(--brand-teal);
--text-primary: var(--brand-plum);
--text-secondary: var(--brand-teal);
--text-muted: rgba(34, 23, 40, 0.65);
--text-on-accent: #ffffff;
--btn-primary-bg: var(--brand-crimson);
--btn-primary-hover: #9c0f40;
--btn-secondary-bg: var(--brand-teal);
--btn-secondary-hover: #002c3a;
--badge-bg: var(--brand-rose-muted);
--badge-text: var(--brand-plum);
--border: rgba(0, 63, 82, 0.12);
--shadow: 0 4px 20px -2px rgba(34, 23, 40, 0.08);
--glow-animation: rgba(186, 18, 77, 0.25);
--bg-contraste-teal: rgba(0,63,82, 1);
--font-title: 'Literata', serif;
--font-subtitle: 'Literata', serif;
--font-body: 'Raleway', sans-serif;
--font-small: 'Jost', sans-serif;
--font-signature: 'Windsong', cursive;
--font-family-base: var(--font-body);
--font-size-base: 16px;
--spacing-xs: 0.5rem;
--spacing-sm: 1rem;
--spacing-md: 2rem;
--spacing-lg: 4rem;
--header-height: 72px;
}
[data-theme="dark"] {
--bg-base: var(--bg-dark-web);
--bg-surface: #170c1d;
--bg-surface-elevated: #221728;
--bg-icon-contrast: var(--brand-sage-light);
--text-primary: var(--brand-sage-light);
--text-secondary: var(--brand-rose-muted);
--text-muted: rgba(234, 240, 238, 0.65);
--text-on-accent: #ffffff;
--btn-primary-bg: var(--brand-crimson);
--btn-primary-hover: #d81a5c;
--btn-secondary-bg: #0b5066;
--btn-secondary-hover: #10637d;
--badge-bg: rgba(223, 189, 185, 0.18);
--badge-text: var(--brand-rose-muted);
--border: rgba(234, 240, 238, 0.12);
--shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.45);
--glow-animation: rgba(186, 18, 77, 0.45);
--bg-contraste-teal: rgba(0,63,82, 0.5);
}
/* ============================================
RESET BÁSICO
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body {
font-family: var(--font-family-base);
background-color: var(--bg-base);
color: var(--text-primary);
line-height: 1.5;
min-height: 100vh;
display: flex;
flex-direction: column;
transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3 { font-family: var(--font-title); font-style: italic; font-weight: 700; }
h4, h5, h6 { font-family: var(--font-subtitle); font-style: italic; font-weight: 400; }
small { font-family: var(--font-small); }
button, .btn, [class*="btn-"] { font-family: var(--font-small); }
.signature, .firma { font-family: var(--font-signature); font-weight: 400; }
body.menu-open { overflow: hidden; padding-right: var(--scrollbar-width, 0px); }
main { flex: 1; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
/* ============================================
HEADER, MENÚ Y FOOTER (Base)
============================================ */
@@ -344,6 +240,7 @@ ul { list-style: none; }
}
.caso-card {
position: relative;
background-color: var(--bg-surface);
border: 1.5px solid var(--border);
border-radius: 16px;
@@ -351,9 +248,12 @@ ul { list-style: none; }
display: flex;
flex-direction: column;
gap: var(--spacing-sm);
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
min-height: 320px;
position: relative;
overflow: hidden; /* recorta la barra en las esquinas */
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
border-color 0.3s ease;
will-change: transform; /* opcional, para suavizar en hover */
}
.caso-card::before {
@@ -361,12 +261,18 @@ ul { list-style: none; }
position: absolute;
top: 0;
left: 0;
width: 100%;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--brand-teal), var(--brand-crimson));
border-radius: 16px 16px 0 0;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none; /* no interfiere con el hover */
z-index: 0;
}
.caso-card > * {
position: relative;
z-index: 1; /* contenido por encima de la barra */
}
.caso-card:hover {
@@ -614,7 +520,7 @@ ul { list-style: none; }
.transparencia-titulo {
font-family: var(--font-body);
font-size: 0.85rem;
font-weight: 500;
font-weight: 600;
letter-spacing: 2px;
color: var(--text-muted);
margin-bottom: var(--spacing-sm);
@@ -625,7 +531,7 @@ ul { list-style: none; }
font-style: italic;
font-size: clamp(1.5rem, 3vw, 1rem);
font-weight: 500;
color: var(--brand-teal);
color: var(--brand-teal-contraste);
margin-bottom: var(--spacing-sm);
line-height: 1.2;
}
@@ -736,7 +642,7 @@ ul { list-style: none; }
/* Firma / Nombre en tipografía script */
.equipo-firma {
font-family: var(--font-signature);
font-family: var(--font-signature2);
font-weight: 400;
font-size: clamp(2.2rem, 4vw, 3rem);
color: var(--text-primary);
+6 -6
View File
@@ -70,7 +70,7 @@
PLANES - SELECTOR (TABS + PILLS)
============================================ */
.planes-selector-section {
padding: var(--spacing-md) var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-xs);
background-color: var(--bg-surface);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
@@ -188,7 +188,7 @@
display: none;
background-color: var(--bg-surface);
border-radius: 16px;
padding: var(--spacing-md);
padding: var(--spacing-sm);
box-shadow: var(--shadow);
border: 1px solid var(--border);
animation: slideInPanel 0.5s ease-out;
@@ -212,7 +212,7 @@
/* Header del panel */
.panel-header {
margin-bottom: var(--spacing-sm);
padding-bottom: var(--spacing-sm);
padding-bottom: var(--spacing-xs);
border-bottom: 1px solid var(--border);
text-align: center;
}
@@ -255,7 +255,7 @@
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: var(--spacing-sm);
margin-bottom: var(--spacing-md);
margin-bottom: var(--spacing-xs);
}
.dimension-card {
@@ -331,7 +331,7 @@
}
.dimension-lista .fa-check {
color: var(--brand-teal);
color: var(--btn-secondary-hover);
}
.dimension-lista .fa-times {
@@ -384,7 +384,7 @@
}
.precio-monto {
font-size: 2rem;
font-size: 1.5rem;
font-weight: 700;
font-family: var(--font-title);
}
+14 -14
View File
@@ -194,9 +194,9 @@
SERVICIOS - PANEL DE CONTENIDO
============================================ */
.servicios-panel-section {
padding: var(--spacing-lg) var(--spacing-md);
padding: var(--spacing-md) var(--spacing-xs);
background-color: var(--bg-base);
min-height: 600px;
min-height: 400px;
}
.servicios-panel-container {
@@ -209,7 +209,7 @@
display: none;
background-color: var(--bg-surface);
border-radius: 20px;
padding: var(--spacing-lg);
padding: var(--spacing-md);
box-shadow: var(--shadow);
border: 1px solid var(--border);
animation: slideInPanel 0.5s ease-out;
@@ -232,8 +232,8 @@
/* icono */
.panel-icono-decorativo {
position: absolute;
top: var(--spacing-lg);
right: var(--spacing-lg);
top: var(--spacing-md);
right: var(--spacing-md);
width: 160px;
height: 160px;
display: flex;
@@ -303,7 +303,7 @@
/* Header del panel */
.panel-header {
margin-bottom: var(--spacing-md);
padding-bottom: var(--spacing-md);
padding-bottom: var(--spacing-xs);
border-bottom: 1px solid var(--border);
}
@@ -318,14 +318,14 @@
background-color: var(--bg-contraste-teal);
color: var(--text-on-accent);
border-radius: 999px;
margin-bottom: var(--spacing-sm);
margin-bottom: var(--spacing-xs);
}
.panel-titulo {
font-size: clamp(1.8rem, 3.5vw, 2.5rem);
color: var(--text-primary);
margin-bottom: var(--spacing-xs);
line-height: 1.2;
margin-bottom: var(--spacing-md);
line-height: 1;
opacity: 0;
animation: fadeInUp 0.6s ease-out 0.1s forwards;
}
@@ -334,7 +334,7 @@
font-size: 1.1rem;
color: var(--text-muted);
max-width: 700px;
line-height: 1.6;
line-height: 1.4;
opacity: 0;
animation: fadeInUp 0.6s ease-out 0.2s forwards;
}
@@ -343,8 +343,8 @@
.panel-body {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--spacing-md);
margin-bottom: var(--spacing-md);
gap: var(--spacing-xs);
margin-bottom: var(--spacing-xs);
}
.panel-columna {
@@ -400,10 +400,10 @@
display: flex;
justify-content: space-between;
align-items: center;
padding-top: var(--spacing-md);
padding-top: var(--spacing-xs);
border-top: 1px solid var(--border);
flex-wrap: wrap;
gap: var(--spacing-sm);
gap: var(--spacing-xs);
opacity: 0;
animation: fadeInUp 0.6s ease-out 0.5s forwards;
}