/*
 * coolosa.css — Diseño completo del tema Coolosa Clearbook Child
 * Replica pixel-perfect el proyecto HTML original.
 * Incluye: reset base, header, footer, animaciones, hojas flotantes,
 * secciones de home, servicios, portafolio, publicaciones y contacto.
 */

/* ================================================================
   VARIABLES (alias de Tailwind para uso en CSS puro)
   ================================================================ */
:root {
    --clx:           #0891b2;   /* cyan-600  — controlado por Customizer */
    --clx-light:     #06b6d4;   /* cyan-500  */
    --teal-pastel:   #7dd3c0;
    --aqua-light:    #a8e6e1;
    --mint-pale:     #c3f0ec;
    --cream:         #F9F7F4;
    --stone:         #f5f3f0;
    --slate-900:     #0f172a;
    --slate-800:     #1e293b;
    --gray-300:      #d1d5db;
    --gray-400:      #9ca3af;
    --gray-600:      #4b5563;
    --transition-speed: 0.35s;
}

/* ================================================================
   RESET / BASE  — por encima de Clearbook
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--slate-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Oculta cualquier estilo base de Clearbook que sobresalga */
    overflow-x: hidden;
}

/* Elimina padding/margin que Clearbook añade al body/page */
#page, .site, .site-content, #content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* Clearbook puede poner un wrapper con max-width, lo reseteamos */
.site-main, main#primary { max-width: none !important; padding: 0 !important; }

/* ================================================================
   TIPOGRAFÍA BASE
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

p { line-height: 1.75; }

a { color: var(--clx); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--clx-light); }

img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   SCROLLBAR PERSONALIZADO
   ================================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--clx), var(--teal-pastel));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, var(--clx-light), var(--aqua-light)); }

/* ================================================================
   HEADER
   ================================================================ */
#coolosa-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background-color: var(--cream);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}
#coolosa-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.coolosa-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.coolosa-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.coolosa-logo-link img { height: 64px; width: auto; }
.coolosa-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--slate-900);
    font-weight: 600;
}

/* Desktop nav */
.coolosa-nav-desktop { display: flex; align-items: center; gap: 2.5rem; }

.coolosa-nav-desktop .coolosa-nav-list,
.coolosa-nav-desktop ul.coolosa-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0; padding: 0;
}

.coolosa-nav-desktop .coolosa-nav-list li a,
.coolosa-nav-desktop ul.coolosa-nav-list li a,
.coolosa-nav-desktop .coolosa-nav-list a,
/* WordPress agrega clases como menu-item */
.coolosa-nav-desktop .menu-item a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.25s ease;
    white-space: nowrap;
}
.coolosa-nav-desktop .menu-item a:hover,
.coolosa-nav-desktop .coolosa-nav-list a:hover,
.coolosa-nav-desktop .menu-item.current-menu-item > a { color: var(--clx); }

/* Botón + y submenú desktop */
.coolosa-more-menu { position: relative; }
.coolosa-more-btn {
    background: none; border: none; cursor: pointer;
    font-size: 1.5rem; line-height: 1; font-weight: 400;
    color: var(--gray-600);
    font-family: 'Inter', sans-serif;
    transition: color 0.25s ease;
    padding: 0.25rem;
}
.coolosa-more-btn:hover { color: var(--clx); }

.coolosa-more-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 12rem;
    background: var(--cream);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--gray-300);
    z-index: 100;
}
.coolosa-more-submenu.is-open { display: block; }
.coolosa-more-submenu a {
    display: block;
    padding: 0.625rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: background 0.2s ease, color 0.2s ease;
}
.coolosa-more-submenu a:hover {
    background: var(--clx);
    color: #fff;
}

/* Hamburger (mobile) */
.coolosa-hamburger {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0.25rem;
    flex-direction: column;
    gap: 5px;
}
.coolosa-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--slate-900);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
.coolosa-nav-mobile {
    display: none;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--gray-300);
}
.coolosa-nav-mobile.is-open { display: block; }

.coolosa-nav-mobile-list,
.coolosa-nav-mobile ul.coolosa-nav-mobile-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.25rem;
    margin: 0; padding: 0;
}
.coolosa-nav-mobile .menu-item a,
.coolosa-nav-mobile-list a {
    display: block; padding: 0.625rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem; font-weight: 500;
    color: var(--gray-600);
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease;
}
.coolosa-nav-mobile .menu-item a:hover,
.coolosa-nav-mobile-list a:hover { color: var(--clx); }

.coolosa-more-mobile { margin-top: 1rem; }
.coolosa-more-mobile-btn {
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem; font-weight: 500;
    color: var(--gray-600); padding: 0.625rem 0;
    width: 100%; text-align: left;
    transition: color 0.25s ease;
}
.coolosa-more-mobile-btn:hover { color: var(--clx); }
.coolosa-more-mobile-submenu { display: none; padding-left: 1rem; }
.coolosa-more-mobile-submenu.is-open { display: flex; flex-direction: column; gap: 0.25rem; }
.coolosa-more-mobile-submenu a {
    display: block; padding: 0.5rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem; font-weight: 500;
    color: var(--gray-600);
    transition: color 0.25s ease;
}
.coolosa-more-mobile-submenu a:hover { color: var(--clx); }

/* ================================================================
   HOJAS FLOTANTES
   ================================================================ */
.coolosa-hero { position: relative; overflow: hidden; }

.floating-leaf {
    position: absolute;
    pointer-events: none;
    user-select: none;
    font-size: 2rem;
    opacity: 0.08;
    animation: floatLeaf 24s ease-in-out infinite;
    will-change: transform;
}
.floating-leaf:nth-child(1) { left: 8%;  top: 18%; animation-delay: 0s;  animation-duration: 26s; font-size: 2.5rem; }
.floating-leaf:nth-child(2) { right: 12%; top: 35%; animation-delay: 4s;  animation-duration: 31s; font-size: 1.75rem; transform: scaleX(-1); }
.floating-leaf:nth-child(3) { left: 22%; bottom: 25%; animation-delay: 7s;  animation-duration: 28s; font-size: 2rem; }
.floating-leaf:nth-child(4) { right: 8%;  bottom: 18%; animation-delay: 11s; animation-duration: 33s; font-size: 1.5rem; transform: scaleX(-1); }

@keyframes floatLeaf {
    0%   { transform: translate(0,0) rotate(0deg);    opacity: 0.04; }
    20%  { transform: translate(18px,-38px) rotate(12deg);  opacity: 0.14; }
    45%  { transform: translate(35px,5px) rotate(-6deg);    opacity: 0.09; }
    70%  { transform: translate(10px,28px) rotate(20deg);   opacity: 0.12; }
    100% { transform: translate(0,0) rotate(0deg);    opacity: 0.04; }
}

/* ================================================================
   SECCIONES COMUNES
   ================================================================ */
.coolosa-section { padding: 8rem 1.5rem; }
.coolosa-section-inner { max-width: 1280px; margin: 0 auto; }
.coolosa-section-header { text-align: center; margin-bottom: 4rem; }
.coolosa-section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}
.coolosa-section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
}

/* ================================================================
   HERO (INDEX)
   ================================================================ */
.coolosa-hero-home {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--slate-900);
}
.coolosa-hero-bg {
    position: absolute; inset: 0;
}
.coolosa-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.coolosa-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,.7) 0%, rgba(15,23,42,.85) 100%);
}
.coolosa-hero-content {
    position: relative; z-index: 10;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}
.coolosa-hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--clx);
    margin-bottom: 1.5rem;
}
.coolosa-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2rem;
}
.coolosa-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 38rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}
.coolosa-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.coolosa-btn-primary {
    background: var(--clx);
    color: #fff;
}
.coolosa-btn-primary:hover {
    background: var(--clx-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(8,145,178,.3);
    color: #fff;
}
.coolosa-btn-dark {
    background: var(--slate-900);
    color: #fff;
}
.coolosa-btn-dark:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15,23,42,.3);
    color: #fff;
}
.coolosa-btn-white {
    background: #fff;
    color: var(--clx);
}
.coolosa-btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    color: var(--clx);
}

/* ================================================================
   SECCIÓN PROPUESTA DE VALOR
   ================================================================ */
.coolosa-section-cream { background: var(--cream); }
.coolosa-section-white { background: #fff; }
.coolosa-section-dark  { background: var(--slate-900); color: #fff; }
.coolosa-section-gray  { background: #f3f4f6; }
.coolosa-section-cyan  { background: var(--clx); color: #fff; }
.coolosa-section-amber { background: #d97706; color: var(--slate-900); }

.coolosa-prose {
    max-width: 48rem; margin: 0 auto; text-align: center;
}
.coolosa-prose h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 2rem;
    line-height: 1.25;
}
.coolosa-prose p {
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ================================================================
   SECCIÓN CLIENTES (logos)
   ================================================================ */
.coolosa-clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
    margin-top: 2rem;
}
.coolosa-client-logo {
    opacity: .45;
    transition: opacity .3s ease;
    display: flex; align-items: center;
}
.coolosa-client-logo:hover { opacity: 1; }
.coolosa-client-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.coolosa-client-placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,.2);
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

/* ================================================================
   SECCIÓN SERVICIOS (cards)
   ================================================================ */
.coolosa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 3rem;
}
.coolosa-service-card { text-align: center; }
.coolosa-service-icon {
    width: 4rem; height: 4rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--clx);
}
.coolosa-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--slate-900);
}
.coolosa-service-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================================================
   SERVICIOS — layout detalle (imagen + texto)
   ================================================================ */
.coolosa-service-detail {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.coolosa-service-detail.reverse { flex-direction: row-reverse; }
.coolosa-service-detail-img {
    flex: 0 0 50%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-900);
}
.coolosa-service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.coolosa-service-detail-content { flex: 1; min-width: 0; }
.coolosa-service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    color: var(--clx);
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: .4;
}
.coolosa-service-detail-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.coolosa-service-detail-content > p { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem; }

.coolosa-check-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.coolosa-check-list li { display: flex; align-items: flex-start; gap: 1rem; }
.coolosa-check-list i { color: var(--clx); margin-top: .25rem; flex-shrink: 0; }
.coolosa-check-list span { font-family: 'Inter', sans-serif; font-size: 1rem; color: #374151; line-height: 1.6; }

@media (max-width: 1024px) {
    .coolosa-service-detail,
    .coolosa-service-detail.reverse { flex-direction: column; }
    .coolosa-service-detail-img { flex: none; width: 100%; aspect-ratio: 16 / 9; }
}

/* ================================================================
   LINK UNDERLINE (botón de texto)
   ================================================================ */
.coolosa-link-underline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--slate-900);
    text-decoration: none;
    border-bottom: 2px solid var(--clx);
    padding-bottom: 2px;
    transition: color .3s ease;
}
.coolosa-link-underline:hover { color: var(--clx); }

/* ================================================================
   PORTAFOLIO (grid)
   ================================================================ */
.coolosa-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.coolosa-portfolio-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--slate-900);
    cursor: pointer;
}
.coolosa-portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter .5s ease, transform .5s ease;
}
.coolosa-portfolio-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}
.coolosa-portfolio-overlay {
    position: absolute; inset: 0;
    background: rgba(15,23,42,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}
.coolosa-portfolio-item:hover .coolosa-portfolio-overlay { opacity: 1; }
.coolosa-portfolio-overlay span {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--clx);
    font-size: 1.0625rem;
    text-align: center;
    padding: 1rem;
}

/* ================================================================
   MÉTRICAS (números grandes)
   ================================================================ */
.coolosa-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}
.coolosa-metric-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 600;
    color: var(--clx);
    display: block;
    margin-bottom: .5rem;
}
.coolosa-metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    color: var(--gray-400);
}

/* ================================================================
   TESTIMONIOS
   ================================================================ */
.coolosa-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.coolosa-testimonial-card {
    background: #fff;
    padding: 2rem;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.coolosa-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(8,145,178,.1);
}
.coolosa-stars { display: flex; gap: .25rem; margin-bottom: 1rem; color: var(--clx); font-size: .875rem; }
.coolosa-testimonial-quote { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.coolosa-testimonial-author { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--slate-900); font-size: .9375rem; }
.coolosa-testimonial-role   { font-family: 'Inter', sans-serif; color: var(--gray-400); font-size: .8125rem; }

/* ================================================================
   BLOG (publicaciones)
   ================================================================ */
.coolosa-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.coolosa-post-card { background: #fff; }
.coolosa-post-thumb {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--slate-900);
}
.coolosa-post-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%);
    transition: filter .4s ease;
}
.coolosa-post-card:hover .coolosa-post-thumb img { filter: grayscale(0%); }
.coolosa-post-body { padding: 1.5rem; }
.coolosa-post-cat {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--clx);
    margin-bottom: .75rem;
}
.coolosa-post-body h2 {
    font-size: 1.375rem;
    margin-bottom: .75rem;
    line-height: 1.35;
    color: var(--slate-900);
}
.coolosa-post-body p { font-size: .9375rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1rem; }
.coolosa-post-meta { display: flex; align-items: center; justify-content: space-between; }
.coolosa-post-date { font-family: 'Inter', sans-serif; font-size: .8125rem; color: var(--gray-400); }
.coolosa-post-more { font-family: 'Inter', sans-serif; font-size: .875rem; font-weight: 500; color: var(--clx); text-decoration: none; transition: color .25s ease; }
.coolosa-post-more:hover { color: var(--clx-light); }

/* ================================================================
   CONTACTO
   ================================================================ */
.coolosa-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.coolosa-contact-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.coolosa-contact-info p  { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.8; margin-bottom: 3rem; }
.coolosa-contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.coolosa-contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.coolosa-contact-list i  { color: var(--clx); font-size: 1.125rem; margin-top: .2rem; width: 1.25rem; flex-shrink: 0; }
.coolosa-contact-list h3 { font-family: 'Inter', sans-serif; font-size: .875rem; font-weight: 600; color: var(--slate-900); margin-bottom: .2rem; }
.coolosa-contact-list a,
.coolosa-contact-list span { font-size: .9375rem; color: var(--gray-600); }
.coolosa-contact-list a:hover { color: var(--clx); }

/* Formulario */
.coolosa-form { display: flex; flex-direction: column; gap: 2rem; }
.coolosa-form label { font-family: 'Inter', sans-serif; font-size: .8125rem; font-weight: 500; color: #374151; display: block; margin-bottom: .5rem; }
.coolosa-form input,
.coolosa-form textarea,
.coolosa-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    border-radius: 0;
    padding: .75rem 0;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    color: var(--slate-900);
    transition: border-color .3s ease, box-shadow .3s ease;
    outline: none;
    -webkit-appearance: none;
}
.coolosa-form input:focus,
.coolosa-form textarea:focus,
.coolosa-form select:focus {
    border-bottom-color: var(--clx);
    box-shadow: 0 2px 0 var(--clx);
}
.coolosa-form textarea { resize: none; min-height: 120px; }
.coolosa-form-submit {
    width: 100%;
    background: var(--slate-900);
    color: #fff;
    padding: 1.125rem;
    font-family: 'Inter', sans-serif;
    font-size: .9375rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background .3s ease;
    border-radius: 0;
}
.coolosa-form-submit:hover { background: var(--slate-800); }

/* ================================================================
   PAGE HERO (páginas internas)
   ================================================================ */
.coolosa-page-hero {
    background: var(--slate-900);
    padding: 8rem 1.5rem;
    text-align: center;
}
.coolosa-page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
}
.coolosa-page-hero p {
    color: var(--gray-400);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.75;
}
.coolosa-page-hero .coolosa-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--clx);
    margin-bottom: 1.5rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
#coolosa-footer {
    background: var(--slate-900);
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 2rem;
}
.coolosa-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.coolosa-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}
.footer-brand {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-desc { color: var(--gray-400); font-size: .9375rem; line-height: 1.75; }

.footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { font-size: .9375rem; color: var(--gray-400); text-decoration: none; transition: color .25s ease; }
.footer-nav a:hover { color: var(--clx); }

.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-contact li { display: flex; align-items: center; gap: .75rem; }
.footer-contact i  { color: var(--clx); width: 1.25rem; flex-shrink: 0; }
.footer-contact span { font-size: .9375rem; color: var(--gray-400); }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p { font-family: 'Inter', sans-serif; font-size: .8125rem; color: #6b7280; }

/* ================================================================
   EASTER EGG
   ================================================================ */
.coolosa-easter-egg {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 9998;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--clx);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: .35;
    transition: opacity .3s ease, transform .3s ease;
    font-size: 1.125rem;
}
.coolosa-easter-egg:hover { opacity: 1; transform: scale(1.1); }

.coolosa-easter-tooltip {
    position: absolute;
    bottom: 56px; right: 0;
    background: var(--slate-900);
    color: #fff;
    padding: 1rem 1.25rem;
    width: 240px;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    border-radius: 2px;
}
.coolosa-easter-egg:hover .coolosa-easter-tooltip {
    opacity: 1;
    transform: translateY(0);
}
.ee-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; line-height: 1.55; margin-bottom: .5rem; }
.ee-ref   { font-family: 'Inter', sans-serif; font-size: .75rem; color: #9ca3af; }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   UTILIDADES
   ================================================================ */
.text-center { text-align: center; }
.mt-16 { margin-top: 4rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .coolosa-footer-grid { grid-template-columns: 1fr 1fr; }
    .coolosa-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .coolosa-nav-desktop { display: none; }
    .coolosa-hamburger   { display: flex; }

    .coolosa-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .coolosa-services-grid { grid-template-columns: 1fr; gap: 2rem; }
    .coolosa-testimonials-grid { grid-template-columns: 1fr; }
    .coolosa-portfolio-grid { grid-template-columns: 1fr 1fr; }
    .coolosa-blog-grid { grid-template-columns: 1fr; }
    .coolosa-section { padding: 5rem 1.25rem; }
    .coolosa-metrics-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .coolosa-portfolio-grid { grid-template-columns: 1fr; }
    .coolosa-metrics-grid   { grid-template-columns: 1fr; }
    .coolosa-header-inner   { height: 72px; }
    .coolosa-logo-link img  { height: 48px; }
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */
:focus-visible { outline: 2px solid var(--clx); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
