:root {
    --pantone-287: #0033a0;
    --pantone-7466: #00a0af;
    --process-yellow: #ffcc00;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, #0033a0 0%, #0057e7 100%);
    --font-primary: 'Raleway', sans-serif;
    --font-title: 'Blair', 'Blair ITC', 'BlairMdITC TT', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6, .section-title, .closure-title, .subtitle {
    font-family: var(--font-title);
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-filter.png');
    background-size: cover;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: 2;
    opacity: 0.85; /* Adjust based on exact design */
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    color: var(--white);
    max-width: 55%;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-hero {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.resource-block {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.book-mockup {
    width: 250px;
    height: auto;
    position: relative;
    z-index: 2;
    margin-right: -40px;
}

.resource-banner {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 2px 40px 2px 60px;
    color: var(--pantone-287);
    position: relative;
    z-index: 1;
}

.resource-banner p {
    margin: 0;
    text-shadow: none;
    font-size: 0.85rem;
    line-height: 1.2;
}

.resource-banner .resource-title {
    font-size: 1.05rem;
    font-weight: 800;
}

/* Form */
.hero-form-wrapper {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    margin-left: auto;
}

.form-card {
    background: var(--white);
    color: var(--dark-gray);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-card h3 {
    color: var(--pantone-287);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.75rem;
    color: #666;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--pantone-7466);
    box-shadow: 0 0 0 2px rgba(0, 160, 175, 0.2);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background-color: var(--pantone-287);
    color: var(--white);
    width: 100%;
    margin-top: 10px;
    border-radius: 6px;
    padding: 12px;
}

.btn-primary:hover {
    background-color: #002277;
}

.btn-secondary {
    background-color: var(--process-yellow);
    color: var(--pantone-287);
}

.btn-secondary:hover {
    background-color: #e6b800;
}

/* Identification Section */
.identification-section {
    padding: 100px 0;
    background-color: #f7fafd;
    background: radial-gradient(circle at center, rgba(173, 216, 255, 0.5) 0%, #f7fafd 50%);
    position: relative;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.section-title {
    color: var(--pantone-287);
    font-size: 2.2rem;
    text-align: center;
    margin: 0 auto 10px;
    max-width: 700px;
    font-weight: 800;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 50px;
}

.challenge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.challenge-card {
    background-color: var(--pantone-287);
    color: var(--white);
    padding: 40px 30px 30px;
    border-radius: 12px 60px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-icon {
    align-self: center;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.card-icon img {
    width: 100%;
    height: auto;
}

.challenge-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-check {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
    transition: background-color 0.2s;
}

.btn-check:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.checkbox {
    width: 18px;
    height: 18px;
    background-color: #d9d9d9;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.btn-check.checked .checkbox {
    background-color: var(--pantone-7466);
}

.btn-check.checked .checkbox::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.highlight-box-transparent {
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
    color: var(--pantone-287);
}

/* Value Section */
.value-section {
    padding: 80px 0;
    position: relative;
    background-image: url('../img/blue-glow.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.value-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.value-text {
    flex: 1;
    min-width: 300px;
}

.value-text h2 {
    color: var(--pantone-287);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.value-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pantone-287);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.value-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-diagnostico {
    max-width: 100%;
    height: auto;
    width: 400px;
    margin-top: -170px; /* To make it overlap section 2 */
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

.mockup-placeholder {
    background: #e0e0e0;
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #666;
    border: 2px dashed #ccc;
}

/* Closure Section */
.closure-section {
    padding: 100px 0 60px;
    background: transparent;
    color: var(--white);
    text-align: center;
}

.closure-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.closure-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 50px;
    line-height: 1.4;
    color: var(--white);
    text-align: center;
}

.btn-glow {
    display: inline-block;
    background-color: var(--process-yellow);
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(255, 237, 0, 0.7);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    margin: 0 auto;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 237, 0, 1);
}

/* Footer */
footer {
    background: transparent;
    padding: 30px 20px;
    text-align: center;
    overflow: hidden;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.logo-footer {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Thank You Page */
.thank-you-page {
    background-color: var(--light-gray);
    min-height: 100vh;
}

.thank-you-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.thank-you-card {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.thank-you-card h1 {
    color: var(--pantone-287);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

.next-step {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.next-step h3 {
    color: var(--pantone-7466);
    margin-bottom: 15px;
}

.next-step p {
    margin-bottom: 20px;
}

.link-forward {
    color: var(--pantone-287);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

.link-forward:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-form {
        width: 100%;
        max-width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

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