/* DARK MODE VARIABLES */
body.dark-mode {
    --bg-light: #131313;
    --text-dark: #f0f0f0;
    --text-body: #a0a0a0;
    --white: #1e2530;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .video-placeholder {
    border: 5px solid #2d3440;
}

body.dark-mode .diagnostic-info-card {
    background: #2d3440;
    color: #ccc;
}

body.dark-mode .solution-card {
    background: #1e2530;
    border-color: #2d3440;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #151b27;
    border-color: #333;
    color: #fff;
}

body.dark-mode .header {
    background: var(--bg-light);
    /* Ensure header matches body in dark mode */
}

/* Ensure Logo Text is visible in Dark Mode */
body.dark-mode .logo h2 {
    color: #fff;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions .btn-primary {
    padding: 9px 18px;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(242, 101, 34, 0.25);
}

/* THEME TOGGLE */
.theme-toggle {
    background: transparent;
    border: 1px solid transparent;
    /* Reserve space for border to prevent layout shift if added */
    font-size: 1.1rem;
    /* Smaller, more discrete */
    cursor: pointer;
    color: var(--text-body);
    /* Softer initial color */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 5px;
}

.theme-toggle:hover {
    color: var(--primary-color);
    background: rgba(242, 101, 34, 0.05);
    /* Very subtle primary tint */
    transform: rotate(15deg);
    /* Professional micro-interaction */
}

body.dark-mode .theme-toggle {
    color: #a0a0a0;
}

body.dark-mode .theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ORIGINAL STYLES START HERE (Existing styles below) */
/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f26522;
    /* Vibrant Orange */
    --primary-hover: #d95316;
    --text-dark: #1a1a1a;
    --text-body: #555555;
    --bg-light: #fffaf5;
    /* Cream background */
    --white: #ffffff;

    /* REFINED SHADOWS & RADIUS FOR PREMIUM FEEL */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer, more spread */
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 24px;
    /* More rounded, modern corporate feel */
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    /* Smooth theme transition */
}

/* CONTAINER */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    color: var(--text-body);
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff !important;
    /* Force white text even in dark mode */
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 101, 34, 0.4);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Fix anchor underline */
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-card {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn-card:hover {
    background: var(--primary-hover);
}

/* HEADER */
.header {
    padding: 20px 0;
    background: transparent;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    /* Adjust based on preference, standard nav height */
    width: auto;
    display: block;
}

.nav a {
    margin: 0 20px;
    text-decoration: none;
    color: var(--text-body);
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

/* HERO SECTION */
.hero {
    padding: 60px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text .tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    /* Reduced from 20px */
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    /* Reduced from 24px */
    line-height: 1.1;
    /* Tightened from 1.2 */
}

.hero h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(242, 101, 34, 0.4), 0 0 20px rgba(242, 101, 34, 0.2);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    /* Reduced from 32px */
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    /* Reduced from 40px */
}

/* HERO META CARD */
.meta-card {
    background: var(--white);
    padding: 24px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 10px;
    max-width: 95%;
    /* Keep alignment */
    transition: transform 0.3s ease;
}

.meta-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.meta-card h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.meta-card ul {
    list-style: none;
    padding: 0;
}

.meta-card li {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.meta-card li:last-child {
    margin-bottom: 0;
}

.meta-card li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 4px;
    /* Align with text top */
    flex-shrink: 0;
}

.meta-card li strong {
    color: var(--text-dark);
}

body.dark-mode .meta-card {
    background: #151b27;
    border-color: #333;
}

body.dark-mode .meta-card h3 {
    border-bottom-color: #333;
}

.hero-video .video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 5px solid #fff;
    /* Optional styling */
}

.hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* STATS */
.stats {
    padding: 0px 0;
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.stat-card strong {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.stat-card span {
    font-size: 0.9rem;
    color: var(--text-body);
}

/* GENERIC SECTION STYLES */
section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

section h2 span {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(242, 101, 34, 0.4), 0 0 20px rgba(242, 101, 34, 0.2);
}

.subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.25rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* METHODS */
.method {
    margin-bottom: 100px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: 0.3s;
    border: 1px solid transparent;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 101, 34, 0.3);
    box-shadow: 0 0 20px rgba(242, 101, 34, 0.4), 0 0 40px rgba(242, 101, 34, 0.2);
}

.method-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.method-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.method-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.method-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.method-card .detail {
    font-style: italic;
    font-size: 0.8rem;
    color: #888;
}

/* RESULTS */
.results-expected {
    margin-bottom: 100px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
}

.result-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.result-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.center-btn {
    text-align: center;
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for cards if needed, but observer handles visual flow naturally */
section.reveal {
    transition-duration: 1s;
}

/* SOLUTIONS */
.solutions {
    margin-bottom: 100px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--bg-light);
    /* Or white */
    background: #fffbef;
    /* Light cream for differentiation */
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    border: 1px solid #eee;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(242, 101, 34, 0.4), 0 0 40px rgba(242, 101, 34, 0.2);
}

.solution-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.solution-card .desc {
    margin-bottom: 20px;
    flex-grow: 1;
}

.solution-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.solution-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-body);
    /* Changed to variable */
}

.solution-card ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* TESTIMONIALS */
.testimonials {
    margin-bottom: 100px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    position: relative;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.4), 0 0 30px rgba(242, 101, 34, 0.2);
}

body.dark-mode .testimonial-card {
    border-color: #2d3440;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quote-header i {
    font-size: 2rem;
    color: rgba(242, 101, 34, 0.2);
    /* Light orange quote */
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-text {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-body);
    /* Changed to variable */
}

.author strong {
    display: block;
    color: var(--text-dark);
}

.author span {
    font-size: 0.85rem;
    color: #777;
}

/* CULTURE */
.culture {
    margin-bottom: 100px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    padding-bottom: 20px;
    text-align: center;
    transition: 0.3s;
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
}

.culture-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
}

.culture-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.culture-card:hover .culture-img img {
    transform: scale(1.1);
}

.culture-card h4 {
    margin: 0 10px 5px;
    font-size: 1.1rem;
}

.culture-card p {
    font-size: 0.9rem;
    margin: 0 10px;
    color: var(--text-body);
    /* Adjusted */
}

/* DIAGNOSTIC SECTION STYLES */
.diagnostic {
    margin-bottom: 0;
    padding-bottom: 80px;
}

.diagnostic-header {
    text-align: center;
    margin-bottom: 50px;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.diagnostic-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diagnostic-features {
    list-style: none;
    margin-bottom: 40px;
}

.diagnostic-features li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 8px;
    /* Slightly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i {
    color: white;
    font-size: 1.3rem;
}

.diagnostic-features span {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    /* Changed to variable */
}

.diagnostic-info-card {
    background: #fff5e6;
    /* Very light cream/peach */
    padding: 30px;
    border-radius: 20px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* FORM WRAPPER */
.diagnostic-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

/* REFINED FORM STYLES */
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    /* Darker for better visibility */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.form-group input,
.form-group textarea,
.ddi-select {
    width: 100%;
    padding: 16px 20px;
    /* More comfortable padding */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    /* Slightly less than containers for contrast */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: #f9f9f9;

    /* Subtle background */
}

/* PHONE GROUP STYLES */
.phone-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.ddi-select {
    width: 130px !important;
    /* Fixed modest width for Country Code */
    min-width: 130px;
    padding-right: 30px;
    /* Space for chevron */
    flex-shrink: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Make the phone input inside the group take remaining space */
.phone-group input {
    flex-grow: 1;
    width: auto;
    /* Override default 100% */
}

/* Custom styling for Select Arrow to look cleaner */
.ddi-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231a1a1a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
    appearance: none;
    /* Hide native */
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.ddi-select:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.1);
    /* Professional focus ring */
}

.ddi-select {
    min-width: 110px;
    appearance: none;
    /* Custom arrow if needed, but native is fine */
}

body.dark-mode .ddi-select {
    background: #151b27;
    border-color: #333;
    color: #fff;
}

body.dark-mode .ddi-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-color: #151b27;
    border-color: #333;
    color: #fff;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--text-body);
    /* Changed */
}

/* FOOTER */
.footer {
    background: #131313;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #8890a0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #8890a0;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 60px;
    right: 28px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: fadeInUp 0.5s ease-out 1s backwards;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wa-btn {
    width: 46px;
    height: 46px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.wa-btn:hover {
    background-color: #20bd5a;
    transform: scale(1.08);
    box-shadow: 0 5px 18px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.close-wa {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.whatsapp-float:hover .close-wa {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 50px;
        right: 16px;
    }

    .wa-btn {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
}

/* FORM FEEDBACK */
#form-feedback {
    display: none;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    align-items: center;
    gap: 10px;
}
#form-feedback.visible {
    display: flex;
}
#form-feedback.success {
    background: rgba(37, 211, 102, 0.1);
    color: #1a8a44;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
#form-feedback.error {
    background: rgba(220, 53, 69, 0.08);
    color: #c0392b;
    border: 1px solid rgba(220, 53, 69, 0.2);
}
#diagnostico-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

    .hero-grid,
    .diagnostic-grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-grid {
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text p,
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid,
    .results-grid,
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {

    .stats-grid,
    .results-grid,
    .culture-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* MVP SECTION (Missão, Visão, Propósito) */
.mvp-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mvp-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
}

.mvp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

/* Feature the middle card (Mission) slightly */
.mvp-card.featured {
    background: #fffaf5;
    /* Very subtle orange tint */
    border-color: rgba(242, 101, 34, 0.1);
}

.mvp-icon {
    width: 70px;
    height: 70px;
    background: rgba(242, 101, 34, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
    transition: 0.5s;
}

.mvp-card:hover .mvp-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.mvp-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mvp-card p {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 15px;
    line-height: 1.6;
}

.mvp-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mvp-text-sm {
    font-size: 0.9rem;
    color: #777;
    margin-top: auto;
    /* Push to bottom if needed */
}

.mvp-card strong {
    color: var(--primary-color);
}

/* Responsive MVP */
@media (max-width: 900px) {
    .mvp-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* VALUES SUBTITLE */
.values-subtitle {
    text-align: center;
    font-size: 2rem;
    margin: 60px 0 40px;
    /* Space above and below */
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

.values-subtitle::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* FOOTER ACTIONS & LEGAL LINKS */
.footer-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #8890a0;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-actions {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    /* Scroll if too tall */
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.05);
}

.modal-body h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.modal-body h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 25px 0 10px;
}

.modal-body p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.modal-list li {
    margin-bottom: 8px;
    color: var(--text-body);
    font-size: 0.95rem;
}

.modal-last-update {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-bottom: 20px;
    display: block;
}

/* Dark Mode Modal */
body.dark-mode .modal-content {
    background: #151b27;
    color: #e0e0e0;
}

body.dark-mode .modal-body h2,
body.dark-mode .modal-body h3 {
    color: #fff;
}

body.dark-mode .modal-body p,
body.dark-mode .modal-list li {
    color: #bbb;
}

body.dark-mode .modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}