:root {
    --bg: #0F1B22;
    --bg-deep: #0F1B22;
    --card: #1C2C4A;
    --aqua: #65F5DC;
    --turquoise: #65F5DC;
    --text: #fff;
    --muted: #b9c9d8;
    --border: #33527D
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    margin: 0;
    font-family: Montserrat,Arial,sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55
}

a {
    color: inherit;
    text-decoration: none
}

button,input,textarea {
    font: inherit
}

.container {
    width: min(1120px,calc(100% - 40px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0b1d29f5;
    border-bottom: 1px solid #2b4150;
    backdrop-filter: blur(12px)
}

.nav-wrap {
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1
}

.brand-name {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -3px
}

.brand-o {
    color: var(--aqua)
}

.brand-sub {
    font-size: 6.5px;
    letter-spacing: 2px;
    font-weight: 800;
    margin-top: 4px
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 13px;
    color: #d5e1e8
}

.nav-links a:hover,.footer-links a:hover {
    color: var(--aqua)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    padding: 12px 23px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s,background .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--aqua);
    color: #09252d
}

.btn-outline {
    border-color: #dce8eb;
    color: #fff;
    background: #0e27354d
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer
}

.hero {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:url('assets/soliv-hero.png') center center/cover no-repeat;
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(transparent,var(--bg));
    pointer-events: none
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 15px;
    padding-bottom: 65px
}

.hero h1 {
    font-size: clamp(66px,9vw,130px);
    line-height: .79;
    letter-spacing: -.085em;
    margin: 0;
    font-weight: 900;
    text-shadow: 0 4px 30px #10263588
}

.hero h1 span {
    display: block
}

.hero h1 .aqua {
    color: var(--turquoise)
}

.hero h1 .small-line {
    font-size: .57em;
    letter-spacing: -.065em;
    line-height: 1.2
}

.hero-content>p {
    font-size: clamp(16px,2vw,23px);
    font-weight: 800;
    margin: 14px 0 42px 65px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-left: 75px
}

.section {
    padding: 94px 0
}

.section-heading {
    text-align: center;
    max-width: 690px;
    margin: 0 auto 48px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--aqua);
    font-weight: 800
}

.section h2 {
    font-size: clamp(28px,3vw,40px);
    line-height: 1.12;
    letter-spacing: -.035em;
    margin: 12px 0 14px
}

.section-heading p,.about p,.cta-panel p {
    color: var(--muted);
    font-size: 14px
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px
}

.service-card {
    position: relative;
    min-height: 215px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px;
    transition: transform .2s,border-color .2s
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--aqua)
}

.service-icon {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: #224659;
    align-items: center;
    justify-content: center;
    color: var(--aqua);
    font-size: 28px;
    margin-bottom: 18px
}

.service-card h3 {
    font-size: 17px;
    margin: 0 0 10px
}

.service-card p {
    font-size: 13px;
    color: #b5c3d8;
    margin: 0
}

.service-card.featured {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 1px #00d8cc50
}

.featured-label {
    display: block;
    color: var(--aqua);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .3px;
    margin-bottom: 10px
}

.card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--aqua);
    font-weight: 700;
    font-size: 12px
}

.about {
    background: var(--bg-deep)
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 90px;
    align-items: center
}

.about h2 {
    max-width: 520px
}

.about p {
    max-width: 520px
}

.values {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    color: var(--aqua);
    font-size: 12px
}

.stats {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px
}

.stats>div {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.stats strong {
    font-size: 34px;
    color: var(--aqua);
    line-height: 1.2
}

.stats span {
    color: var(--muted);
    font-size: 12px
}

.why {
    background: #1e2e4c
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.why-decoration {
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: 1.03;
}

.why-decoration img {
    width: 100%;
    height: auto;
}

.aqua {
    color: var(--aqua)
}

.check-list {
    padding: 0;
    list-style: none;
    margin-top: 28px
}

.check-list li {
    margin: 12px 0;
    color: #d1dce8;
    font-size: 14px
}

.check-list li:before {
    content: '⊙';
    color: var(--aqua);
    margin-right: 12px
}

.cta-section {
    background: var(--bg)
}

.cta-panel {
    text-align: center;
    background: linear-gradient(130deg,#203252,#10222c);
    border-radius: 16px;
    padding: 54px 32px;
    max-width: 740px;
    margin: auto
}

.cta-panel h2 {
    font-size: 28px
}

.cta-panel p {
    max-width: 460px;
    margin: 12px auto 25px
}

.contact {
    background: var(--bg-deep)
}

.contact-form {
    max-width: 620px;
    margin: auto;
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

input,textarea {
    width: 100%;
    border: 1px solid #37506c;
    border-radius: 7px;
    background: #10222d;
    color: #fff;
    padding: 14px 16px;
    outline: none;
    margin-bottom: 14px
}

input:focus,textarea:focus {
    border-color: var(--aqua)
}

input::placeholder,textarea::placeholder {
    color: #92a2b2
}

.form-submit {
    width: 100%;
    border-radius: 6px
}

#form-feedback {
    font-size: 13px;
    color: var(--aqua);
    margin: 12px 0 0;
    min-height: 0
}

.footer {
    background: #1a2b42;
    border-top: 1px solid #2b4562;
    padding: 30px 0
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.footer-links {
    display: flex;
    gap: 20px;
    color: #b9c6d4;
    font-size: 12px
}

.footer small {
    font-size: 10px;
    color: #8e9eaf
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

@media(max-width: 850px) {
    .services-grid {
        grid-template-columns:repeat(2,1fr)
    }

    .about-grid {
        gap: 35px
    }

    .footer-grid {
        flex-wrap: wrap
    }

    .hero {
        min-height: 510px
    }

    .hero h1 {
        font-size: clamp(60px,10vw,90px)
    }
	
	.hero-actions {
		margin: 0 auto -250px auto;
	}
}

@media(max-width: 620px) {
    .container {
        width:min(100% - 32px,1120px)
    }

    .nav-wrap {
        height: 64px
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .nav-cta {
        display: none
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #0b1d29;
        padding: 22px;
        flex-direction: column;
        gap: 20px;
        border-bottom: 1px solid #365277
    }

    .nav-links.is-open {
        display: flex
    }

    .hero {
        min-height: 510px;
        align-items: flex-start
    }

    .hero-backdrop {
        background-position: 60% center
    }

    .hero-content {
        padding-top: 88px
    }

    .hero h1 {
        font-size: clamp(58px,13vw,82px)
    }

    .hero-content>p {
        margin: 14px 0 26px 8px
    }

    .hero-actions {
        margin-left: 0;
        flex-wrap: wrap
    }

    .section {
        padding: 65px 0
    }

    .services-grid,.about-grid,.why-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 0
    }

    .why-decoration {
        display: none
    }

    .stats {
        gap: 10px
    }

    .stats>div {
        min-height: 110px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-grid {
        flex-direction: column;
        text-align: center
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center
    }

    .contact-form {
        padding: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*:before,*:after {
        transition: none!important
    }
}

/* La imagen original del hero ya incluye la frase y el símbolo: evitamos duplicarlos. */
.hero h1,.hero-content>p {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.hero-content {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.hero-actions {
    margin: 0 auto -290px auto;
}

@media(max-width: 480px) {
    .hero-backdrop{
        background:url('assets/colimg.jpeg') center center/cover no-repeat;
    }
}

@media(max-width: 620px) {
    .hero-content {
        padding-top:0;
        padding-bottom: 44px
    }

    .hero-backdrop {
        background-size: cover;
        background-position: 55% center
    }
}

/* Identidad oficial SOLIV — Brand Guidelines 2025 */
.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.brand-logo {
    display: block;
    width: 200px;
    height: auto;
    object-fit: contain
}

.footer .brand-logo {
    width: 185px;
}

.site-header {
    background: rgba(15,27,34,.96);
    border-bottom-color: #33527D
}

.nav-links {
    font-weight: 600
}

.services {
    background: #0F1B22
}

.service-card {
    background: #1C2C4A;
    border-color: #33527D
}

.service-card.featured {
    border-color: #65F5DC;
    box-shadow: 0 0 0 1px rgba(101,245,220,.22)
}

.service-icon {
    background: #28465B;
    color: #65F5DC
}

.why {
    background: #1C2C4A
}

.cta-panel {
    background: linear-gradient(125deg,#1C2C4A,#0F1B22)
}

.contact-form {
    background: #1C2C4A
}

.footer {
    background: #1C2C4A
}

.stats-values strong {
    font-size: clamp(16px,2vw,22px)
}

.stats-values>div {
    padding: 12px
}

@media(max-width: 620px) {
    .brand-logo {
        width:112px;
        max-height: 55px
    }

    .footer .brand-logo {
        width: 130px
    }
	
	.hero-actions {
		margin: 0 auto -250px auto;
	}	
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 99999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

.instagram-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:30px auto 10px auto;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    background: transparent;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-button svg {
    width: 22px;
    height: 22px;
}

.instagram-button:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-3px);
}

.social-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    background: transparent;
    text-decoration: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-button svg {
    width: 22px;
    height: 22px;
}

.social-button:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-3px);
}