:root {
    --primary-green: #008443;
    --dark-green: #004d26;
    --button-green: #00a859;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f9f9f9;
    --border-color: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Header */
.main-header {
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    border-bottom: 1px solid #f0f0f0;
}

.logo img {
    height: 40px;
}

.header-top-right {
    font-size: 11px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-right i {
    font-size: 13px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10%;
}

.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav ul li a {
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
}

.main-nav ul li a i {
    font-size: 10px;
    color: #999;
}

.btn-client-area {
    background-color: var(--dark-green);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    margin-left: auto; /* Push to right */
    transition: opacity 0.3s;
}

.btn-client-area:hover {
    opacity: 0.9;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #111;
}

.subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.media-container {
    position: relative;
    width: 100%;
    height: 450px;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-text p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.article-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* Form Section */
.form-section {
    margin-top: 60px;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
}

#lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#lead-form input[type="text"],
#lead-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    padding-left: 10px;
}

.phone-input input {
    border: none !important;
    flex: 1;
}

.phone-input input:focus {
    outline: none;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.btn-investir {
    background-color: var(--button-green);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 5px;
}

.btn-investir:hover {
    background-color: var(--primary-green);
}

/* Footer */
.main-footer {
    background-color: var(--dark-green);
    color: #fff;
    padding: 60px 10% 20px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 40px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 18px;
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.link-column h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column ul li a {
    font-size: 12px;
    color: #ccc;
    transition: color 0.3s;
}

.link-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 11px;
    color: #aaa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-icons {
    display: flex;
    gap: 10px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .header-top, .main-nav {
        padding: 15px;
    }
    .main-nav ul {
        display: none; /* simple mobile state */
    }
    .main-content {
        padding: 30px 15px;
    }
    h1 {
        font-size: 26px;
    }
    .media-container {
        height: 300px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}
.progress-bar {
    height: 4px;
    background: var(--button-green);
    width: 0%;
}

/* Blog Metadata */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 30px;
}
.meta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.author-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}
.date-read {
    font-size: 12px;
    color: #888;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    margin-left: 10px;
    transition: all 0.2s;
}
.share-btn:hover {
    background: #e0e0e0;
    color: var(--primary-green);
}

/* Contextual Links */
.contextual-link {
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95em;
}
.contextual-link:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Institutional Form */
.institutional-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dark-green);
}
.form-header i {
    font-size: 20px;
}
.form-subtext {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
}
.input-group {
    text-align: left;
    margin-bottom: 15px;
}
.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}
.secure-text {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Comments Section */
.comments-section {
    margin-top: 60px;
    border-top: 2px solid #eee;
    padding-top: 30px;
}
.comments-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #333;
}
.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.comment.reply {
    margin-left: 60px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}
.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.comment-body {
    flex: 1;
}
.comment-author {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.comment-author span {
    font-weight: 400;
    font-size: 12px;
    color: #888;
}
.comment-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 8px;
}
.comment-actions {
    font-size: 12px;
    color: #888;
}
.comment-actions span {
    cursor: pointer;
    font-weight: 500;
}
.comment-actions span:hover {
    text-decoration: underline;
}
.comment-actions i {
    margin-left: 5px;
    color: #999;
    cursor: pointer;
}
.comment-actions i:hover {
    color: var(--primary-green);
}
@media (max-width: 768px) {
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .institutional-form {
        padding: 25px;
    }
    .comment.reply {
        margin-left: 30px;
    }
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.hidden {
    display: none;
}
.modal-content {
    background: linear-gradient(180deg, #0a1128 0%, #001f11 100%);
    border: 1px solid #004d26;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: left;
}
.modal-badge {
    color: #00d2ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.modal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}
.modal-desc {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}
.modal-checklist {
    margin-bottom: 30px;
}
.modal-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}
.modal-checklist li i {
    color: #10b981;
    font-size: 20px;
}
.modal-icon-large {
    text-align: center;
    margin: 30px 0;
}
.modal-icon-large i {
    color: #10b981;
    font-size: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.modal-badge-blue {
    color: #00d2ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}
.modal-title-large {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: center;
}
.modal-desc-center {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 30px;
}
.call-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.call-icon {
    color: #00d2ff;
    font-size: 24px;
}
.call-text {
    display: flex;
    flex-direction: column;
}
.call-text span {
    font-size: 10px;
    color: #a0aec0;
    font-weight: 700;
    letter-spacing: 1px;
}
.call-text strong {
    font-size: 28px;
    font-weight: 800;
}
