733 lines
15 KiB
CSS
733 lines
15 KiB
CSS
/* ============================================
|
|
SERVICIOS - HERO
|
|
============================================ */
|
|
.servicios-hero {
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
background-color: var(--bg-base);
|
|
min-height: 70vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.servicios-hero::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -50%;
|
|
right: -20%;
|
|
width: 600px;
|
|
height: 600px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, var(--glow-animation) 0%, transparent 70%);
|
|
filter: blur(60px);
|
|
opacity: 0.4;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.servicios-hero-content {
|
|
max-width: 800px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.servicios-hero-tag {
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
letter-spacing: 1.5px;
|
|
text-transform: uppercase;
|
|
color: var(--brand-crimson);
|
|
display: inline-block;
|
|
padding: 0.4rem 1rem;
|
|
border: 1px solid var(--brand-crimson);
|
|
border-radius: 999px;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.servicios-hero-title {
|
|
font-size: clamp(2.2rem, 5vw, 3.5rem);
|
|
color: var(--text-primary);
|
|
line-height: 1.15;
|
|
margin-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.servicios-hero-subtitle {
|
|
font-size: clamp(1rem, 2vw, 1.2rem);
|
|
color: var(--text-muted);
|
|
max-width: 600px;
|
|
margin: 0 auto var(--spacing-md);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.servicios-hero-cta {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - SELECTOR (TABS + PILLS)
|
|
============================================ */
|
|
.servicios-selector-section {
|
|
padding: var(--spacing-md) var(--spacing-sm);
|
|
background-color: var(--bg-surface);
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
[data-theme="dark"] .servicios-selector-section {
|
|
background-color: rgba(45, 32, 52, 0.95);
|
|
}
|
|
|
|
.servicios-selector-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Tabs desktop */
|
|
.servicios-tabs {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--spacing-xs);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.servicio-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
background: transparent;
|
|
border: 1.5px solid var(--border);
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
font-family: var(--font-small);
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.servicio-tab:hover {
|
|
border-color: var(--brand-crimson);
|
|
color: var(--brand-crimson);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.servicio-tab.active {
|
|
background-color: var(--brand-crimson);
|
|
border-color: var(--brand-crimson);
|
|
color: var(--text-on-accent);
|
|
box-shadow: 0 4px 14px -3px rgba(186, 18, 77, 0.35);
|
|
}
|
|
|
|
.tab-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
display: block;
|
|
background-color: currentColor;
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
mask-position: center;
|
|
-webkit-mask-size: contain;
|
|
mask-size: contain;
|
|
}
|
|
|
|
.icon-redes { -webkit-mask-image: url("../assets/iconos/redes_sociales.svg"); mask-image: url("../assets/iconos/redes_sociales.svg"); }
|
|
.icon-branding { -webkit-mask-image: url("../assets/iconos/branding.svg"); mask-image: url("../assets/iconos/branding.svg"); }
|
|
.icon-web { -webkit-mask-image: url("../assets/iconos/web.svg"); mask-image: url("../assets/iconos/web.svg"); }
|
|
.icon-automatizaciones { -webkit-mask-image: url("../assets/iconos/automatizaciones.svg"); mask-image: url("../assets/iconos/automatizaciones.svg"); }
|
|
.icon-paid { -webkit-mask-image: url("../assets/iconos/paid_media.svg"); mask-image: url("../assets/iconos/paid_media.svg"); }
|
|
|
|
/* Pills mobile (ocultas en desktop) */
|
|
.servicios-pills {
|
|
display: none;
|
|
overflow-x: auto;
|
|
gap: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.servicios-pills::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.servicio-pill {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.6rem 1rem;
|
|
background: var(--bg-surface-elevated);
|
|
border: 1.5px solid var(--border);
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.servicio-pill.active {
|
|
background-color: var(--brand-crimson);
|
|
border-color: var(--brand-crimson);
|
|
color: var(--text-on-accent);
|
|
}
|
|
|
|
.pill-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
background-color: currentColor;
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
mask-position: center;
|
|
-webkit-mask-size: contain;
|
|
mask-size: contain;
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - PANEL DE CONTENIDO
|
|
============================================ */
|
|
.servicios-panel-section {
|
|
padding: var(--spacing-md) var(--spacing-xs);
|
|
background-color: var(--bg-base);
|
|
min-height: 400px;
|
|
}
|
|
|
|
.servicios-panel-container {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.servicio-panel {
|
|
display: none;
|
|
background-color: var(--bg-surface);
|
|
border-radius: 20px;
|
|
padding: var(--spacing-md);
|
|
box-shadow: var(--shadow);
|
|
border: 1px solid var(--border);
|
|
animation: slideInPanel 0.5s ease-out;
|
|
}
|
|
|
|
.servicio-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
@keyframes slideInPanel {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
/* icono */
|
|
.panel-icono-decorativo {
|
|
position: absolute;
|
|
top: var(--spacing-md);
|
|
right: var(--spacing-md);
|
|
width: 160px;
|
|
height: 160px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.decorativo-icon {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
background-color: currentColor;
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
mask-position: center;
|
|
-webkit-mask-size: contain;
|
|
mask-size: contain;
|
|
color: var(--bg-icon-contrast);
|
|
}
|
|
|
|
/* Iconos específicos para el panel decorativo */
|
|
.icon-redes-deco {
|
|
-webkit-mask-image: url("../assets/iconos/redes_sociales.svg");
|
|
mask-image: url("../assets/iconos/redes_sociales.svg");
|
|
}
|
|
.icon-branding-deco {
|
|
-webkit-mask-image: url("../assets/iconos/branding.svg");
|
|
mask-image: url("../assets/iconos/branding.svg");
|
|
}
|
|
.icon-web-deco {
|
|
-webkit-mask-image: url("../assets/iconos/web.svg");
|
|
mask-image: url("../assets/iconos/web.svg");
|
|
}
|
|
.icon-automatizaciones-deco {
|
|
-webkit-mask-image: url("../assets/iconos/automatizaciones.svg");
|
|
mask-image: url("../assets/iconos/automatizaciones.svg");
|
|
}
|
|
.icon-paid-deco {
|
|
-webkit-mask-image: url("../assets/iconos/paid_media.svg");
|
|
mask-image: url("../assets/iconos/paid_media.svg");
|
|
}
|
|
|
|
/* Asegurar que el panel tenga position relative para el icono absoluto */
|
|
.servicio-panel {
|
|
position: relative;
|
|
}
|
|
|
|
/* En modo oscuro, el icono se ve un poco más visible */
|
|
[data-theme="dark"] .panel-icono-decorativo {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
/* Responsive: achicar el icono en mobile */
|
|
@media (max-width: 768px) {
|
|
.panel-icono-decorativo {
|
|
width: 70px;
|
|
height: 70px;
|
|
top: var(--spacing-sm);
|
|
right: var(--spacing-sm);
|
|
}
|
|
}
|
|
|
|
/* Header del panel */
|
|
.panel-header {
|
|
margin-bottom: var(--spacing-md);
|
|
padding-bottom: var(--spacing-xs);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.panel-categoria {
|
|
font-family: var(--font-small);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
display: inline-block;
|
|
padding: 0.3rem 0.8rem;
|
|
background-color: var(--bg-contraste-teal);
|
|
color: var(--text-on-accent);
|
|
border-radius: 999px;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.panel-titulo {
|
|
font-size: clamp(1.8rem, 3.5vw, 2.5rem);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-md);
|
|
line-height: 1;
|
|
opacity: 0;
|
|
animation: fadeInUp 0.6s ease-out 0.1s forwards;
|
|
}
|
|
|
|
.panel-subtitulo {
|
|
font-size: 1.1rem;
|
|
color: var(--text-muted);
|
|
max-width: 700px;
|
|
line-height: 1.4;
|
|
opacity: 0;
|
|
animation: fadeInUp 0.6s ease-out 0.2s forwards;
|
|
}
|
|
|
|
/* Body del panel */
|
|
.panel-body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: var(--spacing-xs);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.panel-columna {
|
|
opacity: 0;
|
|
animation: fadeInUp 0.6s ease-out 0.3s forwards;
|
|
}
|
|
|
|
.panel-columna:last-child {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
.panel-subtitulo-seccion {
|
|
font-size: 1.1rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: var(--spacing-xs);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.panel-texto {
|
|
font-size: 1rem;
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.panel-lista {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.panel-lista li {
|
|
font-size: 0.95rem;
|
|
color: var(--text-primary);
|
|
padding-left: 1.5rem;
|
|
position: relative;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.panel-lista li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0.5rem;
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--brand-teal);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* Footer del panel */
|
|
.panel-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: var(--spacing-xs);
|
|
border-top: 1px solid var(--border);
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-xs);
|
|
opacity: 0;
|
|
animation: fadeInUp 0.6s ease-out 0.5s forwards;
|
|
}
|
|
|
|
.panel-precio {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.precio-label {
|
|
font-family: var(--font-small);
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.precio-valor {
|
|
font-family: var(--font-title);
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.precio-periodo {
|
|
font-size: 0.9rem;
|
|
font-weight: 400;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.panel-cta {
|
|
padding: 0.85rem 2rem;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(15px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - SEPARADOR
|
|
============================================ */
|
|
.servicios-separador {
|
|
height: 1px;
|
|
background: linear-gradient(to right, transparent, var(--border), transparent);
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - CASOS DE ÉXITO
|
|
============================================ */
|
|
.servicios-casos {
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
background-color: var(--bg-base);
|
|
}
|
|
|
|
.servicios-casos-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.casos-header {
|
|
text-align: center;
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.casos-titulo {
|
|
font-size: clamp(1.8rem, 3vw, 2.5rem);
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.casos-subtitulo {
|
|
font-size: 1.1rem;
|
|
color: var(--text-muted);
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.casos-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.caso-card {
|
|
background-color: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: var(--spacing-md);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.caso-card:hover {
|
|
border-color: var(--brand-crimson);
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.caso-tag {
|
|
font-family: var(--font-small);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
color: #006d8f;
|
|
display: inline-block;
|
|
margin-bottom: var(--spacing-xs);
|
|
}
|
|
|
|
.caso-nombre {
|
|
font-size: 1.2rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: var(--spacing-xs);
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.caso-descripcion {
|
|
font-size: 0.9rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - CTA FINAL
|
|
============================================ */
|
|
.servicios-cta {
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
background-color: var(--bg-base);
|
|
}
|
|
|
|
.servicios-cta-card {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
background-color: var(--brand-teal);
|
|
border-radius: 24px;
|
|
padding: var(--spacing-lg) var(--spacing-md);
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 60px -10px rgba(0, 63, 82, 0.4);
|
|
}
|
|
|
|
.servicios-cta-card::before,
|
|
.servicios-cta-card::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 300px;
|
|
height: 300px;
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
opacity: 0.35;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.servicios-cta-card::before {
|
|
top: -100px;
|
|
left: -100px;
|
|
background: radial-gradient(circle, var(--brand-crimson) 0%, transparent 70%);
|
|
}
|
|
|
|
.servicios-cta-card::after {
|
|
bottom: -100px;
|
|
right: -100px;
|
|
background: radial-gradient(circle, var(--brand-rose-muted) 0%, transparent 70%);
|
|
}
|
|
|
|
.servicios-cta-titulo {
|
|
font-size: clamp(1.8rem, 3.5vw, 2.5rem);
|
|
color: #ffffff;
|
|
margin-bottom: var(--spacing-sm);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.servicios-cta-subtitle {
|
|
font-size: 1.1rem;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
max-width: 600px;
|
|
margin: 0 auto var(--spacing-md);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.servicios-cta-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--spacing-sm);
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn-cta-primary {
|
|
background-color: #ffffff;
|
|
color: var(--brand-teal);
|
|
border: 1.5px solid #ffffff;
|
|
padding: 0.85rem 2rem;
|
|
border-radius: 999px;
|
|
font-family: var(--font-small);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-cta-primary:hover {
|
|
background-color: var(--brand-crimson);
|
|
color: #ffffff;
|
|
border-color: var(--brand-crimson);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-cta-secondary {
|
|
background-color: transparent;
|
|
color: #ffffff;
|
|
border: 1.5px solid rgba(255, 255, 255, 0.6);
|
|
padding: 0.85rem 2rem;
|
|
border-radius: 999px;
|
|
font-family: var(--font-small);
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-cta-secondary:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-color: #ffffff;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* ============================================
|
|
SERVICIOS - CIERRE
|
|
============================================ */
|
|
.servicios-cierre {
|
|
height: var(--spacing-md);
|
|
}
|
|
|
|
/* ============================================
|
|
RESPONSIVE SERVICIOS
|
|
============================================ */
|
|
@media (max-width: 968px) {
|
|
.panel-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.servicios-hero {
|
|
min-height: 60vh;
|
|
padding: var(--spacing-md) var(--spacing-sm);
|
|
}
|
|
|
|
.servicios-tabs {
|
|
display: none;
|
|
}
|
|
|
|
.servicios-pills {
|
|
display: flex;
|
|
}
|
|
|
|
.servicios-selector-section {
|
|
position: static;
|
|
}
|
|
|
|
.servicios-panel-section {
|
|
padding: var(--spacing-md) var(--spacing-sm);
|
|
}
|
|
|
|
.servicio-panel {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
.panel-footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.panel-cta {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.casos-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.servicios-cta-card {
|
|
padding: var(--spacing-md) var(--spacing-sm);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.servicios-hero-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.servicio-panel {
|
|
padding: var(--spacing-sm);
|
|
}
|
|
|
|
.panel-titulo {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.precio-valor {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.servicio-panel,
|
|
.panel-titulo,
|
|
.panel-subtitulo,
|
|
.panel-columna,
|
|
.panel-footer {
|
|
animation: none;
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
} |