/* ==========================================
PRISMA BY GO-IS
========================================== */

:root {
--color-primary: #3d8ccc;
--color-secondary: #9bbe54;
--color-dark: #2d3748;
--color-light: #f7fafc;
--color-accent: #eef4ff;
--color-white: #ffffff;
}

/* ==========================================
BASE
========================================== */

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

@media (max-width: 768px) {

    html {
        scroll-padding-top: 240px;
    }

}

body {
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
background-color: var(--color-white);
color: var(--color-dark);
line-height: 1.6;
}

.container {
max-width: 1180px;
margin: 0 auto;
padding: 0 20px;
}

h1,
h2,
h3 {
font-family: 'Montserrat', sans-serif;
}

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

/* ==========================================
HEADER
========================================== */

.header {
position: sticky;
top: 0;
z-index: 1000;

background: rgba(255,255,255,0.92);
backdrop-filter: blur(8px);

border-bottom: 2px solid #e3edf5;
box-shadow: 0 2px 10px rgba(0,0,0,0.03);

padding: 1rem 2rem;
}

.header-flex {
max-width: 1180px;
margin: 0 auto;

display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
max-width: 280px;
}

.header nav {
display: flex;
gap: 36px;
align-items: center;
}

.header nav a {
text-decoration: none;
color: #4a5568;

font-size: 0.85rem;
font-weight: 600;

letter-spacing: 1px;
text-transform: uppercase;

transition: all 0.25s ease;
}

.header nav a:hover {
color: var(--color-primary);
}

/* ==========================================
CTA HEADER
========================================== */

.nav-cta {
background: var(--color-secondary);
color: white !important;

padding: 0.65rem 1.3rem;
border-radius: 8px;

box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-cta:hover {
background: #86a948;
}

/* ==========================================
HERO
========================================== */

.hero {
background: linear-gradient(
135deg,
#3d8ccc,
#9bbe54
);

color: white;
padding: 80px 0;
}

.hero-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 60px;
}

.hero-text {
flex: 1;
}

.hero-image {
flex: 1;
text-align: center;
}

.prisma-logo {
max-width: 320px;
margin-bottom: 25px;
}

.hero h1 {
font-size: 3rem;
line-height: 1.15;
margin-bottom: 25px;
}

.hero p {
font-size: 1.2rem;
max-width: 700px;
opacity: 0.96;
}

.hero-image img {
max-width: 100%;
border-radius: 14px;
box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.hero-actions {
display: flex;
gap: 16px;
margin-top: 30px;
flex-wrap: wrap;
}

/* ==========================================
BUTTONS
========================================== */

.btn-primary {
display: inline-block;

background: var(--color-secondary);
color: white;

padding: 0.9rem 2rem;
border-radius: 8px;

text-decoration: none;
font-weight: 600;

transition: all 0.2s ease;
}

.btn-primary:hover {
background: #86a948;
transform: translateY(-2px);
}

.btn-ghost {
display: inline-block;

padding: 0.9rem 2rem;

border-radius: 8px;
border: 2px solid rgba(255,255,255,0.6);

color: white;
text-decoration: none;
font-weight: 600;

transition: all 0.2s ease;
}

.btn-ghost:hover {
background: rgba(255,255,255,0.15);
}

/* ==========================================
SECTIONS
========================================== */

.section {
padding: 80px 0;
}

.bg-light {
background-color: #eef4f9;
}

.section h2 {
  color: var(--color-primary);
  font-size: 2.3rem;
  margin-bottom: 30px;
  text-align: left;
}

.section p {
font-size: 1.08rem;
color: #425466;
}

.section-text {
text-align: center;
max-width: 800px;
margin: 30px auto 0;
}

/* ==========================================
CARDS
========================================== */

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 24px;
}

.card {
background: white;

padding: 28px;

border-radius: 14px;

box-shadow: 0 6px 18px rgba(0,0,0,0.05);

transition: all 0.25s ease;
}

.card:hover {
transform: translateY(-5px);

box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card h3 {
color: var(--color-primary);
margin-top: 0;
margin-bottom: 10px;
}

.card p {
margin: 0;
}

/* ==========================================
CTA FINAL
========================================== */

.center {
text-align: center;
}

.center .btn-primary {
margin-top: 25px;
}

.center h2 {
max-width: 900px;
margin-left: auto;
margin-right: auto;
}

/* ==========================================
FOOTER
========================================== */

.footer {
background: var(--color-light);

padding: 30px 20px;

text-align: center;

border-top: 1px solid #e5edf5;
}

.footer small {
color: #6b7280;
}

/* ==========================================
RESPONSIVE
========================================== */

@media (max-width: 992px) {

.hero-content {
flex-direction: column;
text-align: center;
}

.hero-text {
order: 1;
}

.hero-image {
order: 2;
}

.hero-actions {
justify-content: center;
}

.prisma-logo {
margin-left: auto;
margin-right: auto;
}

}

@media (max-width: 768px) {

.header {
padding: 1rem;
}

.header-flex {
flex-direction: column;
gap: 16px;
}

.header nav {
flex-wrap: wrap;
justify-content: center;
gap: 18px;
}

.hero {
padding: 60px 0;
}

.hero h1 {
font-size: 2rem;
}

.hero p {
font-size: 1rem;
}

.section {
padding: 60px 0;
}

.section h2 {
font-size: 1.8rem;
}

.cards {
grid-template-columns: 1fr;
}

}

.hero-image img {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
}

.hero-text {
    max-width: 600px;
}

.problem-card {
    text-align: center;
    border: none;
}

.problem-card:nth-child(1),
.problem-card:nth-child(3) {
    background-color: #eef6fc;
    border-top: 4px solid var(--color-primary);
}

.problem-card:nth-child(2),
.problem-card:nth-child(4) {
    background-color: #f4f8ea;
    border-top: 4px solid var(--color-secondary);
}

.problem-card h3 {
    margin-top: 10px;
}

.problem-card p {
    font-size: 0.95rem;
    color: #4a5568;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.section-intro {
    text-align: left;
    max-width: 1000px;
    margin: 0 0 40px 0;
    font-size: 1.15rem;
}

.section-conclusion {
    margin-top: 40px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.prisma-card {
    border: none;
}

.prisma-card:nth-child(1) {
    background-color: #eef6fc;
    border-top: 4px solid var(--color-primary);
}

.prisma-card:nth-child(2) {
    background-color: #f4f8ea;
    border-top: 4px solid var(--color-secondary);
}

.prisma-card:nth-child(3) {
    background-color: #eef6fc;
    border-top: 4px solid var(--color-primary);
}

.prisma-card h3 i {
    color: var(--color-primary);
    margin-right: 8px;
}

.workflow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.workflow-step {
    width: 90px;
    min-height: 90px;

    background: white;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 12px;

    border: 1px solid #e7eef5;

    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    transition: all 0.25s ease;
}

.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.workflow-number {
    position: absolute;

    top: -8px;
    right: -8px;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: var(--color-secondary);
    color: white;

    font-size: 0.75rem;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.workflow-step i {
    font-size: 1.9rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: all 0.25s ease;
}

.workflow-step span {
    font-weight: 600;
    text-align: center;
    font-size: 0.9rem;
}

.workflow-arrow {
    color: var(--color-primary);
    font-size: 1.6rem;
    opacity: 0.7;
}

@media (max-width: 768px) {

    .workflow {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

}

.diferenciales {
    margin-top: 40px;
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid #dde7f0;
}

.diferencial-item:last-child {
    border-bottom: none;
}

.diferencial-item i {
    font-size: 2rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.diferencial-item h3 {
    margin: 0 0 8px 0;
    color: var(--color-primary);
}

.diferencial-item p {
    margin: 0;
    color: #4a5568;
}

@media (max-width: 768px) {

    .diferencial-item {
        flex-direction: column;
        gap: 12px;
    }

}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.sector-tag {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #f5f7fa,
        #edf2f7
    );

    border: 1px solid #dde7f0;

    font-weight: 600;

    transition: all 0.25s ease;
}

.sector-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.sector-tag i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary-outline:hover {
    background: var(--color-primary);
    color: white;
}