nosotros + blog en curso
This commit is contained in:
+17
-111
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user