Primer commit

This commit is contained in:
Isidoro Nevares Martín
2026-10-21 14:01:48 +02:00
commit baa388a6e5
4 changed files with 1293 additions and 0 deletions
+890
View File
@@ -0,0 +1,890 @@
/* =========================================================
Germinador de semillas — hoja de estilos principal
========================================================= */
:root {
--crema: #f7f2e7;
--crema-2: #efe9da;
--papel: #fffdf8;
--verde-bosque: #2f4a32;
--verde: #4a7c59;
--verde-claro: #a8c69f;
--verde-suave: #e9f0e4;
--arena: #e3d6bf;
--marron: #7b5230;
--tinta: #26302a;
--tinta-suave: #5a675e;
--linea: rgba(47, 74, 50, 0.14);
--fuente-texto: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
--fuente-titulo: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
"Times New Roman", serif;
--sombra-suave: 0 12px 30px rgba(47, 74, 50, 0.08);
--sombra-media: 0 20px 45px rgba(47, 74, 50, 0.14);
--radio: 20px;
}
/* ---------- Reset y base ---------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 6rem;
}
body {
margin: 0;
background-color: var(--crema);
color: var(--tinta);
font-family: var(--fuente-texto);
font-size: 1rem;
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
font-family: var(--fuente-titulo);
font-weight: 500;
line-height: 1.1;
letter-spacing: -0.02em;
margin: 0;
}
p {
margin: 0;
}
img {
max-width: 100%;
display: block;
}
a {
color: inherit;
}
ul,
ol,
dl,
dd {
margin: 0;
padding: 0;
}
::selection {
background-color: var(--verde-claro);
color: var(--verde-bosque);
}
:focus-visible {
outline: 3px solid var(--verde);
outline-offset: 3px;
border-radius: 4px;
}
.wrapper {
width: min(1120px, 100% - 2.5rem);
margin-inline: auto;
}
.skip-link {
position: absolute;
left: 1rem;
top: -100%;
z-index: 100;
padding: 0.7rem 1.1rem;
background: var(--verde-bosque);
color: var(--crema);
border-radius: 999px;
font-size: 0.9rem;
text-decoration: none;
}
.skip-link:focus {
top: 1rem;
}
/* ---------- Cabecera ---------- */
.site-header {
position: sticky;
top: 0;
z-index: 50;
background-color: rgba(247, 242, 231, 0.88);
border-bottom: 1px solid var(--linea);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
padding-block: 0.75rem;
}
.brand {
display: flex;
align-items: center;
gap: 0.8rem;
text-decoration: none;
}
.brand img {
width: 54px;
height: 54px;
border-radius: 50%;
flex-shrink: 0;
}
.brand-text {
display: flex;
flex-direction: column;
line-height: 1.25;
}
.brand-text strong {
font-family: var(--fuente-titulo);
font-size: 1.06rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.brand-text small {
font-size: 0.68rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--tinta-suave);
}
.site-header nav ul {
display: flex;
align-items: center;
gap: 1.9rem;
list-style: none;
}
.site-header nav a {
position: relative;
display: inline-block;
padding-block: 0.35rem;
color: var(--tinta-suave);
font-size: 0.92rem;
font-weight: 500;
text-decoration: none;
transition: color 0.2s ease;
}
.site-header nav a::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1.5px;
background-color: var(--verde);
border-radius: 2px;
transform: scaleX(0);
transform-origin: left;
transition: transform 0.25s ease;
}
.site-header nav a:hover {
color: var(--verde-bosque);
}
.site-header nav a:hover::after {
transform: scaleX(1);
}
/* ---------- Portada ---------- */
.hero {
position: relative;
overflow: hidden;
padding-block: clamp(3rem, 7vw, 5.5rem);
background:
radial-gradient(58% 75% at 88% 15%, rgba(168, 198, 159, 0.38), transparent 72%),
radial-gradient(50% 65% at 5% 85%, rgba(227, 214, 191, 0.65), transparent 72%);
}
.hero-grid {
display: grid;
grid-template-columns: 1.02fr 0.98fr;
align-items: center;
gap: clamp(2rem, 5vw, 4.5rem);
}
.eyebrow,
.kicker {
font-size: 0.73rem;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--verde);
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 1.15rem;
}
.eyebrow::before {
content: "";
width: 26px;
height: 1.5px;
background-color: var(--verde);
}
.hero h1 {
font-size: clamp(2.8rem, 6.2vw, 4.7rem);
line-height: 0.98;
letter-spacing: -0.03em;
}
.hero h1 em {
font-style: italic;
color: var(--verde);
}
.lead {
max-width: 46ch;
margin-top: 1.5rem;
font-size: 1.08rem;
color: var(--tinta-suave);
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 2.1rem;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.85rem 1.5rem;
border: 1px solid transparent;
border-radius: 999px;
font-size: 0.94rem;
font-weight: 600;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease,
background-color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
background-color: var(--verde-bosque);
color: var(--crema);
box-shadow: 0 10px 24px rgba(47, 74, 50, 0.22);
}
.btn-primary:hover {
background-color: #253c28;
transform: translateY(-2px);
box-shadow: 0 14px 28px rgba(47, 74, 50, 0.26);
}
.btn-ghost {
border-color: rgba(47, 74, 50, 0.28);
color: var(--verde-bosque);
}
.btn-ghost:hover {
background-color: rgba(255, 253, 248, 0.85);
border-color: var(--verde);
transform: translateY(-2px);
}
.hero-facts {
display: flex;
flex-wrap: wrap;
gap: 1.3rem 2.2rem;
margin-top: 2.8rem;
padding-top: 1.5rem;
border-top: 1px dashed rgba(47, 74, 50, 0.25);
list-style: none;
}
.hero-facts li {
font-size: 0.72rem;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--tinta-suave);
}
.hero-facts span {
display: block;
margin-bottom: 0.15rem;
font-family: var(--fuente-titulo);
font-size: 1.35rem;
font-weight: 600;
letter-spacing: -0.01em;
text-transform: none;
color: var(--tinta);
}
/* Ilustración de portada */
.hero-art {
position: relative;
display: grid;
place-items: center;
min-height: 360px;
}
.art-blob {
position: absolute;
inset: 4% 2%;
background: linear-gradient(145deg, #dce8d2 0%, #f1e7d0 60%, #e7dcc5 100%);
border: 1px solid rgba(255, 255, 255, 0.6);
border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.55);
}
.hero-logo {
position: relative;
width: min(400px, 86%);
height: auto;
filter: drop-shadow(0 26px 34px rgba(47, 74, 50, 0.2));
animation: flotar 7s ease-in-out infinite;
}
.chip {
position: absolute;
z-index: 2;
padding: 0.55rem 0.95rem;
background-color: var(--papel);
border: 1px solid var(--linea);
border-radius: 999px;
box-shadow: var(--sombra-suave);
font-size: 0.78rem;
font-weight: 600;
white-space: nowrap;
}
.chip-1 {
top: 7%;
left: -1%;
transform: rotate(-3deg);
}
.chip-2 {
right: -1%;
bottom: 9%;
transform: rotate(3deg);
}
@keyframes flotar {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-12px);
}
}
/* ---------- Secciones ---------- */
.section {
padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-alt {
background-color: var(--crema-2);
background-image: radial-gradient(rgba(47, 74, 50, 0.055) 1px, transparent 1px);
background-size: 22px 22px;
border-block: 1px solid rgba(47, 74, 50, 0.08);
}
.section-head {
max-width: 660px;
margin-bottom: clamp(2rem, 4vw, 3rem);
}
.kicker {
margin-bottom: 0.7rem;
}
.section-head h2 {
font-size: clamp(1.9rem, 3.6vw, 2.7rem);
margin-bottom: 1rem;
}
.section-head > p:last-child {
color: var(--tinta-suave);
}
.section-head strong {
color: var(--tinta);
}
/* ---------- Línea de tiempo ---------- */
.timeline {
position: relative;
max-width: 830px;
list-style: none;
}
.timeline::before {
content: "";
position: absolute;
left: 31px;
top: 20px;
bottom: 30px;
width: 2px;
background: repeating-linear-gradient(
to bottom,
rgba(74, 124, 89, 0.4) 0 6px,
transparent 6px 12px
);
}
.timeline > li {
position: relative;
display: grid;
grid-template-columns: 64px 1fr;
gap: 1.4rem;
padding-bottom: 2.4rem;
}
.timeline > li:last-child {
padding-bottom: 0;
}
.step-num {
position: relative;
z-index: 1;
display: grid;
place-items: center;
width: 64px;
height: 64px;
border: 1px solid rgba(74, 124, 89, 0.35);
border-radius: 50%;
background-color: var(--papel);
box-shadow: 0 8px 20px rgba(47, 74, 50, 0.07);
font-family: var(--fuente-titulo);
font-size: 1.15rem;
font-weight: 600;
color: var(--verde);
}
.step-body {
padding-top: 0.4rem;
}
.step-body h3 {
font-size: 1.3rem;
margin-bottom: 0.45rem;
}
.step-body p {
max-width: 62ch;
color: var(--tinta-suave);
}
.step-tag {
display: inline-block;
margin-top: 0.8rem;
padding: 0.22rem 0.65rem;
background-color: var(--verde-suave);
border-radius: 999px;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--verde-bosque);
}
/* Aviso */
.callout {
display: flex;
align-items: flex-start;
gap: 1rem;
max-width: 830px;
margin-top: 2.8rem;
padding: 1.3rem 1.6rem;
background-color: var(--verde-suave);
border-left: 4px solid var(--verde);
border-radius: 4px 18px 18px 4px;
color: var(--verde-bosque);
}
.callout-icon {
font-size: 1.3rem;
line-height: 1.4;
}
.callout p {
font-size: 0.95rem;
}
/* ---------- Tarjetas de cuidados ---------- */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(192px, 1fr));
gap: 1.2rem;
}
.card {
padding: 1.45rem;
background-color: var(--papel);
border: 1px solid var(--linea);
border-radius: var(--radio);
transition: transform 0.25s ease, box-shadow 0.25s ease,
border-color 0.25s ease;
}
.card:hover {
transform: translateY(-5px);
border-color: rgba(74, 124, 89, 0.4);
box-shadow: var(--sombra-media);
}
.card-icon {
display: grid;
place-items: center;
width: 48px;
height: 48px;
margin-bottom: 1.1rem;
background-color: var(--verde-suave);
border-radius: 14px;
font-size: 1.35rem;
}
.card h3 {
font-size: 1.12rem;
margin-bottom: 0.4rem;
}
.card p {
font-size: 0.92rem;
color: var(--tinta-suave);
}
.note {
margin-top: 2.2rem;
padding: 1.2rem 1.5rem;
background-color: rgba(255, 253, 248, 0.65);
border: 1px dashed rgba(47, 74, 50, 0.3);
border-radius: 16px;
font-size: 0.94rem;
color: var(--tinta-suave);
}
.note strong {
color: var(--tinta);
}
/* ---------- Ficha rápida ---------- */
.sheet {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1px;
overflow: hidden;
background-color: var(--linea);
border: 1px solid var(--linea);
border-radius: var(--radio);
}
.sheet-item {
padding: 1.3rem 1.6rem;
background-color: var(--papel);
}
.sheet dt {
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--verde);
}
.sheet dd {
margin-top: 0.3rem;
font-size: 1.02rem;
font-weight: 500;
}
/* ---------- Preguntas frecuentes ---------- */
.faq {
max-width: 830px;
border-top: 1px solid rgba(47, 74, 50, 0.2);
}
.faq details {
border-bottom: 1px solid rgba(47, 74, 50, 0.2);
}
.faq summary {
position: relative;
padding: 1.3rem 3rem 1.3rem 0;
cursor: pointer;
list-style: none;
font-weight: 600;
transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker {
display: none;
}
.faq summary::after {
content: "+";
position: absolute;
right: 0.2rem;
top: 50%;
transform: translateY(-50%);
font-family: var(--fuente-titulo);
font-size: 1.6rem;
font-weight: 400;
line-height: 1;
color: var(--verde);
transition: transform 0.2s ease;
}
.faq details[open] summary {
color: var(--verde);
}
.faq details[open] summary::after {
content: "–";
}
.faq summary:hover {
color: var(--verde);
}
.faq details p {
max-width: 70ch;
padding: 0 2.5rem 1.4rem 0;
color: var(--tinta-suave);
font-size: 0.96rem;
}
/* ---------- Pie de página ---------- */
.site-footer {
padding-top: clamp(2.8rem, 5vw, 4rem);
background-color: var(--verde-bosque);
color: #e9e4d6;
}
.footer-grid {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 2rem;
padding-bottom: 2.4rem;
}
.footer-brand {
display: flex;
align-items: center;
gap: 0.9rem;
}
.footer-brand img {
width: 48px;
height: 48px;
border-radius: 50%;
}
.footer-title {
font-family: var(--fuente-titulo);
font-size: 1.1rem;
font-weight: 600;
color: #f7f2e7;
}
.footer-tagline {
font-size: 0.85rem;
color: rgba(233, 228, 214, 0.65);
}
.footer-label {
margin-bottom: 0.6rem;
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
color: rgba(233, 228, 214, 0.5);
}
.footer-nav ul {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.4rem;
list-style: none;
}
.footer-nav a {
font-size: 0.9rem;
color: rgba(233, 228, 214, 0.85);
text-decoration: none;
transition: color 0.2s ease;
}
.footer-nav a:hover {
color: #ffffff;
text-decoration: underline;
text-underline-offset: 4px;
}
.footer-bottom {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.5rem 1.5rem;
padding-block: 1.4rem 1.6rem;
border-top: 1px solid rgba(233, 228, 214, 0.15);
font-size: 0.78rem;
color: rgba(233, 228, 214, 0.55);
}
/* ---------- Adaptación a pantallas pequeñas ---------- */
@media (max-width: 900px) {
.hero-grid {
grid-template-columns: 1fr;
}
.hero-copy {
max-width: 640px;
}
.hero-art {
min-height: 330px;
margin-top: 0.5rem;
}
.hero-logo {
width: min(330px, 72%);
}
.chip-1 {
left: 6%;
}
.chip-2 {
right: 6%;
}
}
@media (max-width: 720px) {
.brand-text small {
display: none;
}
.site-header nav ul {
gap: 1.2rem;
}
.site-header nav a {
font-size: 0.85rem;
}
.sheet {
grid-template-columns: 1fr;
}
}
@media (max-width: 620px) {
.brand-text {
display: none;
}
.brand img {
width: 46px;
height: 46px;
}
.header-inner {
gap: 1rem;
}
.site-header nav ul {
gap: 0.95rem;
}
.site-header nav a {
font-size: 0.8rem;
}
.hero-facts {
gap: 1rem 1.6rem;
}
.hero-facts span {
font-size: 1.2rem;
}
.timeline > li {
grid-template-columns: 48px 1fr;
gap: 1rem;
}
.timeline::before {
left: 23px;
}
.step-num {
width: 48px;
height: 48px;
font-size: 0.95rem;
}
.step-body {
padding-top: 0.15rem;
}
.callout {
padding: 1.1rem 1.2rem;
}
.sheet-item {
padding: 1.1rem 1.2rem;
}
.chip {
font-size: 0.7rem;
padding: 0.45rem 0.8rem;
}
}
/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
*,
*::before,
*::after {
animation-duration: 0.001ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.001ms !important;
}
}