@layer base {.home_gallery { display: grid; gap: 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); place-content: center; h2, h3{ font-size: 18px; color: var(--grisFuentes); &:hover{color: var(--accion);} }}.home_gallery article { display: flex; gap: 16px; align-items: center; border-bottom: dotted 2px var(--gris); padding-bottom: 1em;}.home_gallery article img { width: 112px; height: 112px;}.home_gallery article div p { line-height: 1.2; font-size: 18px;}.home_gallery .boton { grid-column: 1 / -1;}}@layer base {.gallery{ display: flex; flex-wrap: wrap; gap: 2em 1em; justify-content: space-around; padding: 4em 0; li{ list-style: none; display: grid; gap: 20px; width: min(100%, 320px); margin: 0; img{ width: 320px; max-height: 400px; object-fit: cover; } h3{ font-size: 1.4rem; text-align: center; } }}.nosotros { background: rgb(193,175,228);background: linear-gradient(309deg, rgba(193,175,228,1) 0%, rgba(154,242,226,1) 0%, rgba(196,177,228,1) 1%, rgba(149,232,227,1) 23%, rgba(177,225,225,1) 36%, rgba(247,206,220,1) 51%, rgba(241,202,221,1) 65%, rgba(193,175,228,1) 85%, rgba(136,249,227,1) 100%); background-size: cover; background-position: center; background-repeat: no-repeat, no-repeat; h2{ color: var(--titulos); } img{ box-shadow: none; } }.sedes{ display: grid; gap: 20px; .sede{ margin: 6em 0; } .sede > img{ align-self: start; position: sticky; top: calc(var(--altura-cabecera) + 1.5rem); }}}@layer componentes { .carousel_container { position: relative; width: 100%; overflow: hidden; padding-block: 1rem; mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); } .carousel { display: flex; width: max-content; } .carousel__lista { display: flex; gap: 1rem; padding-inline-end: 1rem; list-style: none; li { margin: 0; max-width: none; } } .carousel .item { display: block; width: clamp(11rem, 9rem + 8vw, 16rem); max-width: none; line-height: 0; } .pagina aside .carousel .item { width: 9.5rem; } .carousel .item img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 1.25rem; box-shadow: none; transition: transform var(--transicion); } .carousel .item:hover img { transform: scale(1.03); } .carousel__pausa { position: absolute; inset: auto 0.75rem 1.5rem auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: color-mix(in srgb, #fff 88%, transparent); color: var(--titulos); font-size: 0.75rem; letter-spacing: -0.1em; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4); cursor: pointer; } .carousel__pausa[aria-pressed="false"] .carousel__icono:last-child, .carousel__pausa[aria-pressed="true"] .carousel__icono:first-child { display: none; } @media (prefers-reduced-motion: no-preference) { .carousel { animation: carrusel-desliza 70s linear infinite; } .carousel_container:hover .carousel, .carousel_container:focus-within .carousel, .carousel_container.esta-pausado .carousel { animation-play-state: paused; } } @media (prefers-reduced-motion: reduce) { .carousel_container { overflow-x: auto; mask-image: none; scroll-snap-type: x mandatory; } .carousel .item { scroll-snap-align: start; } .carousel__lista[aria-hidden="true"] { display: none; } } @keyframes carrusel-desliza { to { transform: translateX(-50%); } }}@layer componentes { .resenas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; list-style: none; li { margin: 0; max-width: none; } } @media (min-width: 64rem) { .resenas { align-items: start; padding-block-end: 3rem; } .resena:nth-child(2) { margin-block-start: 1.5rem; } .resena:nth-child(3) { margin-block-start: 3rem; } } .resena figure { display: grid; gap: 0.75rem; height: 100%; padding: 1.25rem; border-radius: 1.5rem; background: color-mix(in srgb, #fff 88%, transparent); box-shadow: 0 12px 32px -20px rgba(60, 20, 110, 0.5); } .resena blockquote { padding: 0; border: 0; border-radius: 0; background: none; text-align: start; p { font-size: 1rem; line-height: 1.5; } } .resena figcaption { font-size: 0.875rem; color: #4b4453; } .resena cite { font-style: normal; font-weight: 700; color: var(--grisFuentes); } .resena__nota { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: #4b4453; } .resena__estrellas { display: inline-flex; gap: 0.125rem; font-size: 1.125rem; line-height: 1; color: #f4b400; span { display: inline-block; } } .estado-sede { display: inline-flex; align-items: center; gap: 0.5rem; min-block-size: 2lh; font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: #4b4453; &::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #9ca3af; } &[data-estado="abierta"] { color: #166534; } &[data-estado="abierta"]::before { background: #16a34a; } &:empty { visibility: hidden; } } .sedes-wa__mensaje { margin-block: 0.75rem 0; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #f1fdf6; color: #14532d; font-size: 0.9375rem; q { font-weight: 700; } } .mapa-sede { display: grid; gap: 0.5rem; max-width: 40rem; iframe { width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; border-radius: 1.25rem; background: #ece8f5; box-shadow: 0 16px 32px -24px rgba(60, 20, 110, 0.6); } figcaption { font-size: 0.9375rem; color: #4b4453; } } .cierre { padding-block: clamp(4rem, 10vw, 7rem); background: linear-gradient(180deg, #fff 0%, #f7f2ff 100%); } .cierre__contenido { width: min(calc(100% - 2rem), 52rem); margin-inline: auto; text-align: center; h2 { margin-inline: auto; font-size: clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem); } p { margin-inline: auto; } } .cierre__etiqueta { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accion); } .cierre__acciones { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; } .cierre__sedes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; padding-block-start: 1.5rem; border-block-start: 1px solid color-mix(in srgb, var(--principal) 50%, transparent); list-style: none; li { margin: 0; max-width: none; } address { display: grid; gap: 0.25rem; font-style: normal; font-size: 1rem; } strong { background: none; padding: 0; color: var(--titulos); } span, a { font-size: 1rem; } } .boton-whatsapp { position: fixed; inset: auto 1.25rem 5.5rem auto; z-index: 30; display: flex; align-items: center; gap: 0.5rem; padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; transition: opacity var(--transicion), transform var(--transicion); img { position: relative; z-index: 1; width: 3.25rem; height: 3.25rem; border-radius: 50%; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); } &:hover img { transform: scale(1.06); } } .boton-whatsapp__texto { order: -1; padding: 0.375rem 0.75rem; border-radius: 0.5rem; background: #fff; color: #14532d; font-size: 0.875rem; font-weight: 700; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.35); } .boton-whatsapp::before { content: ""; position: absolute; inset: auto 0 0 auto; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--principal); opacity: 0; pointer-events: none; } @media (prefers-reduced-motion: no-preference) { .boton-whatsapp:not([data-oculto]):not(.es-oculto) img { animation: latido-wa 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) 2; } .boton-whatsapp:not([data-oculto]):not(.es-oculto)::before { animation: onda-wa 600ms ease-out 2.2s 1; } @media (max-width: 50rem) { .boton-whatsapp:not([data-oculto]):not(.es-oculto) .boton-whatsapp__texto { animation: etiqueta-wa 4.5s ease both; } } } @media (prefers-reduced-motion: reduce) { .boton-whatsapp img { box-shadow: 0 0 0 3px #25d36659, 0 16px 40px -12px rgba(0, 0, 0, 0.45); } } @media (max-width: 50rem) { .boton-whatsapp__texto { opacity: 0; pointer-events: none; } } @media (max-width: 50rem) and (prefers-reduced-motion: reduce) { .boton-whatsapp__texto { display: none; } } @keyframes latido-wa { 0%, 100% { scale: 1; } 20% { scale: 1.14; } 40% { scale: 0.96; } 60% { scale: 1.05; } } @keyframes onda-wa { 0% { opacity: 0.7; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } } @keyframes etiqueta-wa { 0% { opacity: 0; transform: translateX(0.5rem); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(0.5rem); } } .boton-whatsapp[data-oculto], .boton-whatsapp.es-oculto { opacity: 0; transform: translateY(1rem); pointer-events: none; } .volver-arriba { position: fixed; inset: auto 1.25rem 1.25rem auto; z-index: 30; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; color: var(--titulos); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; transition: opacity var(--transicion), visibility var(--transicion); svg { width: 1.25rem; height: 1.25rem; } &.es-visible { opacity: 1; visibility: visible; } } .gallery li { justify-items: center; text-align: center; } .blog-mas { padding-block-start: 2rem; text-align: center; } .pagina__enlaces { display: grid; gap: 0.75rem; padding-block-start: 1.5rem; list-style: none; li { margin: 0; } }}@layer componentes { .cta-helados-container { margin-block: 2rem; padding: clamp(1.25rem, 4vw, 2rem); border: 2px solid #e8d4f8; border-radius: 1.5rem; background: linear-gradient(135deg, #f8f5ff 0%, #fff5f1 100%); } .cta-helados-content { display: grid; gap: 1.5rem; align-items: center; margin-block-end: 1.5rem; @media (min-width: 48rem) { grid-template-columns: 2fr 1fr; } } .cta-helados-text { h3 { margin-block-end: 0.5rem; color: var(--titulos); font-size: 1.5rem; } p { margin-block-end: 1rem; color: #444; line-height: 1.6; } } .cta-ubicacion { margin-block: 1rem; padding: 1rem; border-inline-start: 4px solid var(--principal); border-radius: 4px; background: #fff; small { display: block; margin-block-start: 0.5rem; color: #555; } } .cta-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-block-start: 1.5rem; .boton { width: auto; margin: 0; } } .cta-helados-imagen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .cta-destacados { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; } .highlight { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border-radius: 0.75rem; background: #fff; .icon { flex-shrink: 0; font-size: 1.5rem; } p { margin: 0; font-size: 0.95rem; line-height: 1.4; } }}@layer componentes {.anuncio { display: grid; gap: 0.5rem; max-width: 44rem; margin-block: 2.5rem; padding: 1.25rem 1.25rem 1.5rem; border: 1px solid #e3dcf1; border-radius: 1.25rem; background: #fff; box-shadow: 0 12px 32px -24px rgba(60, 20, 110, 0.55); p { max-width: none; margin: 0; }}.anuncio__cabecera { display: grid; gap: 0.5rem; font-size: 0.8125rem; color: #4d5156;}.anuncio__etiqueta { font-weight: 700; color: #202124;}.anuncio__marca { display: grid; grid-template-columns: 1.75rem auto; grid-template-rows: auto auto; column-gap: 0.625rem; align-items: center; font-size: 0.875rem; line-height: 1.3; color: #202124; img, .anuncio__inicial { grid-row: 1 / 3; } img { display: block; width: 1.75rem; height: 1.75rem; margin: 0; padding: 2px; border: 1px solid #e3dcf1; border-radius: 50%; box-shadow: none; background: #fff; }}.anuncio__inicial { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: #241048; color: #fff; font-size: 0.8125rem; font-weight: 800;}.anuncio__url { font-size: 0.8125rem; color: #4d5156;}.anuncio__titulo a { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); font-weight: 600; line-height: 1.3; color: #1a0dab;}.anuncio__titulo a:hover { text-decoration: underline; }.anuncio__texto { font-size: 0.9375rem; line-height: 1.55; color: #4d5156;}.anuncio__extras { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.875rem; font-weight: 600; color: #166534;}.anuncio__acciones { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem;}.anuncio--web { border-color: #d9ccff; background: linear-gradient(180deg, #fff 0%, #faf7ff 100%); }}@layer base {.post{ width: min(100%, 720px); img{ display: block; margin-inline: auto; margin-bottom: 1em; } }.enlace-flecha::after { content: " →"; content: " →" / "";}.autor-card { margin: 4em auto 2em; padding: 2em; background-color: #fcfaff; border: 2px solid var(--principal); border-radius: var(--radius); max-width: 720px;}.autor-flex { display: flex; flex-wrap: wrap; gap: 1.5em; align-items: center;}.autor-img { flex: 0 0 100px;}.autor-img img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--principal); box-shadow: var(--shadow-button);}.autor-info { flex: 1 0 300px;}.autor-info small { text-transform: uppercase; letter-spacing: 1px; color: var(--gris2);}.autor-nombre { margin: 0 0 0.5em !important;}.autor-bio { font-size: 1rem !important; line-height: 1.4 !important; margin-bottom: 1em !important;}.autor-social { display: flex; gap: 1em; flex-wrap: wrap;}.autor-social a { font-size: 0.9rem; background: white; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--principal); white-space: nowrap;}.autor-footer { margin-top: 1.5em; padding-top: 1em; border-top: 1px dashed var(--principal); text-align: center;}@media (max-width: 600px) { .autor-flex { flex-direction: column; text-align: center; } .autor-social { justify-content: center; }}}@layer base {.share{ background-color: var(--secundario); padding: 1em; border-radius: var(--radius); box-shadow: var(--shadow);}#share-buttons { display: inline-block; vertical-align: middle; margin: 0;}#share-buttons:after { content: ""; display: block; clear: both;}#share-buttons>div { position: relative; text-align: left; height: 40px; width: 40px; float: left; text-align: center;}#share-buttons>div>svg { height: 20px; fill: white; margin-top: 10px; transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);}#share-buttons>div>svg:hover { fill: var(--accion); transform: scale(1.5);}#share-buttons>div:hover { cursor: pointer;}}@layer componentes { .pie { padding-block: clamp(3rem, 8vw, 5rem) 1.5rem; padding-inline: max(1rem, (100% - 1360px) / 2); background: #241048; color: #ede7fb; a { color: #d9ccff; font-size: inherit; font-weight: 600; text-decoration: underline 1px transparent; text-underline-offset: 0.25em; transition: color var(--transicion), text-decoration-color var(--transicion); } a:hover { color: #fff; text-decoration-color: currentColor; } p, li, address, span { max-width: none; font-size: 0.9375rem; line-height: 1.6; } li { margin: 0; } } .pie__contenido { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); padding-block-end: 2.5rem; border-block-end: 1px solid rgba(237, 231, 251, 0.15); } .pie__marca { display: grid; gap: 1rem; align-content: start; p { color: #cfc4ea; } } .pie__logo { justify-self: start; padding: 0.75rem 1rem; border-radius: 1rem; background: #fff; line-height: 0; } .pie__logo img { width: 9rem; height: auto; border-radius: 0; box-shadow: none; } .pie__titulo { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #88f9e3; } .pie__redes { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.375rem 0.875rem; border: 1px solid rgba(217, 204, 255, 0.35); border-radius: 999px; font-size: 0.875rem; } a:hover { border-color: #fff; text-decoration-color: transparent; } } .pie__sedes { display: grid; gap: 1.25rem; align-content: start; address { display: grid; gap: 0.25rem; font-style: normal; } strong { padding: 0; background: none; color: #fff; font-size: 1rem; } span { color: #cfc4ea; } } .pie__enlaces { display: grid; gap: 1rem; align-content: start; ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 1rem; list-style: none; } a { display: inline-block; padding-block: 0.25rem; } } .pie__legal { display: grid; gap: 0.5rem; padding-block-start: 1.5rem; p { font-size: 0.8125rem; color: #b9addb; } }}@layer componentes { @media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .resena__estrellas span { animation: estrella-enciende linear both; animation-timeline: view(); animation-range: entry 10% entry 70%; } .resena__estrellas span:nth-child(2) { animation-range: entry 18% entry 76%; } .resena__estrellas span:nth-child(3) { animation-range: entry 26% entry 82%; } .resena__estrellas span:nth-child(4) { animation-range: entry 34% entry 88%; } .resena__estrellas span:nth-child(5) { animation-range: entry 42% entry 94%; } } .estado-sede:not(:empty) { transition: opacity 200ms ease-out, translate 200ms ease-out; @starting-style { opacity: 0; translate: 0 0.25rem; } } .sedes-wa__mensaje:not([hidden]) { transition: opacity 200ms ease-out, translate 200ms ease-out; @starting-style { opacity: 0; translate: 0 0.25rem; } } } @keyframes estrella-enciende { from { opacity: 0.25; scale: 0.6; } to { opacity: 1; scale: 1; } } .sede[data-sede] { position: relative; isolation: isolate; &::before { content: ""; position: absolute; inset: -3rem calc(50% - 50vw); z-index: -1; opacity: 0.6; pointer-events: none; } } .sede[data-sede="pitalito"]::before { background: linear-gradient(180deg, #e6fbf4 0%, #d6f7ec 100%); } .sede[data-sede="san-agustin"]::before { background: linear-gradient(180deg, #fdeef3 0%, #fbe0e9 100%); } @media (prefers-reduced-motion: no-preference) { @supports (animation-timeline: view()) { .sede[data-sede]::before { animation: tinte-sede linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }  .gallery li img, .sede > img { animation: revela-mascara linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }  .resena { animation: sube-aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; } .resena:nth-child(2) { animation-range: entry 10% entry 80%; } .resena:nth-child(3) { animation-range: entry 20% entry 90%; }  .home_gallery article { animation: sube-aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; } .home_gallery article:nth-child(3n + 2) { animation-range: entry 8% entry 68%; } .home_gallery article:nth-child(3n) { animation-range: entry 16% entry 76%; }  main h2:not(.portada h2) { animation: titulo-sube linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; } } } @keyframes tinte-sede { 0%, 100% { opacity: 0; } 25%, 75% { opacity: 1; } } @keyframes revela-mascara { from { clip-path: inset(0 100% 0 0 round var(--radius)); opacity: 0.4; } to { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; } } @keyframes sube-aparece { from { opacity: 0.8; translate: 0 2.5rem; scale: 0.97; } to { opacity: 1; translate: 0 0; scale: 1; } } @keyframes titulo-sube { from { opacity: 0.8; translate: 0 1rem; } to { opacity: 1; translate: 0 0; } }}
