/*
Theme Name: Conocer Digital Theme
Theme URI: https://conocerdigital.ai/
Author: Muhammad Awais
Author URI: https://www.linkedin.com/in/muhammad-awais-afzal01
Description: A premium, Latino-owned media and data company theme.
Version: 8.3
Text Domain: conocer-digital-theme
*/

:root {
    --primary-color: #0c878e;
    --primary-dark: #08668c;
    --text-heading: #08668c;
    /* Brand palette pulled from your logos (kept restrained) */
    --ink: #0b0f14;
    --paper: #ffffff;
    --muted: #5d6a7a;
    --line: #e7edf3;

    --teal: #008090;
    /* Conocer teal */
    --blue: #005080;


    /* Conocer blue */
    --green: #50A050;
    /* Conocer green */
    --red: #C01020;
    /* MundoNow red */

    --radius: 16px;
    --shadow: 0 10px 40px -10px rgba(11, 15, 20, 0.08);
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

.container {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

/* Top bar / Nav */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s ease;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.brandmark {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brandmark img {
    height: 34px !important;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    font-weight: 500;
    color: rgba(11, 15, 20, 0.82);
    padding: 8px 10px;
    border-radius: 12px;
    transition: background .15s ease, color .15s ease;
    font-size: 14px;
}

.nav a:hover {
    background: rgba(0, 128, 144, 0.10);
    color: var(--ink);
}

.nav a.active {
    background: rgba(0, 80, 128, 0.10);
    color: var(--ink);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .05s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    user-select: none;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 128, 144, 1) 0%, rgba(0, 80, 128, 1) 100%);
    color: white;
    box-shadow: 0 10px 24px rgba(0, 80, 128, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(0, 80, 128, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--line);
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: rgba(0, 128, 144, 0.35);
    box-shadow: 0 10px 24px rgba(11, 15, 20, 0.06);
}

.btn-tertiary {
    background: transparent;
    color: var(--teal);
    text-decoration: underline;
    border: none;
    padding: 12px 16px;
}

.btn-tertiary:hover {
    color: var(--blue);
}

/* Hero */
.hero {
    position: relative;
    padding: 60px 0 60px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 50% 0%, rgba(0, 128, 144, 0.15) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 85% 90%, rgba(0, 80, 128, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
        #ffffff;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 34px;
    align-items: center;
}

h1,
h2,
h3 {
    font-family: Sora, Inter, system-ui, sans-serif;
    letter-spacing: -0.02em;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 128, 144, 0.25);
    background: rgba(0, 128, 144, 0.06);
    color: rgba(0, 80, 128, 0.95);
    font-size: 13px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.08;
    margin: 14px 0 14px;
}

.hero p {
    color: rgba(11, 15, 20, 0.78);
    font-size: 18px;
    margin: 0 0 18px;
    max-width: 62ch;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.hero-card .statrow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px;
    border: 1px solid rgba(231, 237, 243, 1);
    border-radius: 16px;
    background: white;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
    margin-top: 6px;
    flex: 0 0 auto;
}

.pill b {
    display: block;
    font-size: 14px;
}

.pill span {
    display: block;
    color: rgba(11, 15, 20, 0.70);
    font-size: 13px;
    margin-top: 2px;
}

footer {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    color: rgba(11, 15, 20, 0.65);
    font-size: 13px;
}

/* Responsive */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .brandmark {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

        /* Hidden state */
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .nav a:hover {
        background: rgba(0, 128, 144, 0.05);
    }

    .nav .btn-secondary {
        width: 100%;
        justify-content: center;
        background: var(--primary-color);
        color: white;
        border-color: transparent;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(var(--max), calc(100% - 32px));
    }

    /* 16px padding each side */
    .topbar-inner {
        padding: 12px 0;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .kicker {
        white-space: normal;
        text-align: left;
    }
}


/* ConocerDigital.ai Integrated Redesign Styles */
.redesign-wrapper {
    color: var(--text-body);
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, rgba(0, 128, 144, 0.08) 0%, rgba(255, 255, 255, 0) 70%), #ffffff;
    background-attachment: fixed;
}

.redesign-wrapper h1,
.redesign-wrapper h2,
.redesign-wrapper h3,
.redesign-wrapper h4 {
    font-family: 'Roboto Slab', serif;
    color: var(--text-heading);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.redesign-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.redesign-wrapper a:hover {
    color: var(--primary-dark);
}

.redesign-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Renamed Buttons to avoid conflict with Hero */
.r-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    letter-spacing: 0.5px;
}

.r-btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.r-btn-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(12, 135, 142, 0.3);
}

.r-btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 135, 142, 0.5);
}

.r-btn-outline {
    background-color: #fff;
    color: var(--text-heading) !important;
    border: 1px solid #e2e8f0;
}

.r-btn-outline:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-heading) !important;
}

.r-btn-ghost {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 1px solid transparent;
}

/* Identity Section */
.identity-section,
.about-section-simple {
    padding: 0 24px 20px 24px;
    background: transparent;
    text-align: left !important;
}

.identity-section .redesign-container,
.about-section-simple .redesign-container {
    max-width: 1000px;
    margin: 0 auto;
}

.identity-section h2,
.about-section-simple h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    margin-bottom: 24px;
    max-width: 100%;
}

.identity-section h3.highlight-identity {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    line-height: 1.15 !important;
    margin-bottom: 30px;
    max-width: 100%;
    letter-spacing: -0.5px !important;
}

.identity-section p {
    font-size: 1.25rem;
    color: var(--text-body);
    max-width: 70ch;
    margin-top: 20px;
    line-height: 1.7;
    font-weight: 400;
}

@media (max-width: 768px) {
    .identity-section h2 {
        font-size: 2.2rem !important;
    }

    .identity-section h3.highlight-identity {
        font-size: 1.8rem !important;
    }
}

/* Features Grid */
.features-grid-section {
    padding: 10px 24px 30px 24px;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(12, 135, 142, 0.3);
    background: #fff;
}

/* Approach Card (New) */
.approach-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: var(--primary-color);
    background: #fff;
}

.approach-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.15);
}

/* Form Styles */
.modern-form .form-group {
    margin-bottom: 24px;
}

.modern-form label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: #334155;
    font-family: inherit;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 135, 142, 0.1);
}

.modern-form button[type="submit"] {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modern-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(12, 135, 142, 0.4);
}

/* Layout Grids for About Sections */
@media (min-width: 900px) {
    .about-row-founder {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .about-row-founder .founder-text {
        flex: 1;
    }

    .about-row-founder .founder-image {
        flex: 1;
    }

    /* Swap Founder Order: Image Left, Text Right */
    .about-row-founder {
        flex-direction: row-reverse;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #0f172a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-card a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.feature-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 25px;
    }
}

/* Deliver Section Specific Enhancements */
.deliver-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.deliver-visual-box {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deliver-visual-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: -1;
}

.v-box-1::before {
    background-image: url('assets/Premium_Content_Environments.jpeg');
    background-size: cover;
    background-position: center;
}

.v-box-2::before {
    background-image: url('assets/Audience_Intelligence_Engagement.jpeg');
    background-size: cover;
    background-position: center;
}

.v-box-3::before {
    background-image: url('assets/Campaign_Measurement_Attribution.jpeg');
    background-size: cover;
    background-position: center;
}

.deliver-visual-box i {
    font-size: 2.5rem;
    color: rgba(11, 15, 20, 0.6);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

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

@media (max-width: 768px) {
    .deliver-grid {
        grid-template-columns: 1fr;
    }
}

/* WHO IT HELPS SECTION (Agencies & SMBs) */
.who-it-helps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(74, 222, 128, 0.05) 100%);
    border-radius: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.help-item h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.help-item p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .who-it-helps {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

.section-title-lined {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

.section-title-lined::before,
.section-title-lined::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #cbd5e1;
    margin: 0 20px;
}

@media (max-width: 768px) {
    .section-title-lined {
        font-size: 1.8rem;
    }

    .section-title-lined::before,
    .section-title-lined::after {
        margin: 0 10px;
    }
}

.highlight-blue {
    color: var(--primary-color) !important;
}

.about-description {
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.6;
    font-weight: 400;
}

/* Blog Post Cards (Premium Refinement) */
.blog-post-card {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100% !important;
}

.blog-post-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 60px -12px rgba(11, 15, 20, 0.12), 0 18px 36px -18px rgba(11, 15, 20, 0.1) !important;
    border-color: var(--primary-color) !important;
}

.blog-card-image-wrap {
    height: 240px !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.blog-card-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.blog-post-card:hover .blog-card-thumbnail {
    transform: scale(1.05) !important;
}

.blog-card-content {
    padding: 28px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.blog-post-card h3 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--ink) !important;
    margin-bottom: 12px !important;
    transition: color 0.3s ease !important;
}

.blog-post-card:hover h3 {
    color: var(--primary-color) !important;
}

.blog-post-card .meta {
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog-post-card .excerpt {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    margin-bottom: 24px !important;
    flex-grow: 1 !important;
}

/* Footer / Contact */
.redesign-footer-section {
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .contact-wrapper {
        flex-direction: row;
    }
}

.contact-info {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.contact-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.contact-info h2 {
    color: white !important;
    font-size: 2rem !important;
    margin-bottom: 1rem;
    position: relative;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    position: relative;
    margin-bottom: 2rem;
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    position: relative;
}

.contact-highlight svg.contact-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    color: white !important;
}

.contact-form-container {
    padding: 40px;
    flex: 1.4;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

.required-star {
    color: #e11d48;
    margin-left: 2px;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.success-message h3 {
    color: #14532d;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(12, 135, 142, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 135, 142, 0.3);
}

.submit-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    background-color: var(--text-heading);
    border-top: none;
    color: #ffffff;
    font-size: 0.9rem;
}

#ast-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#ast-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

#ast-scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

#ast-scroll-top svg {
    fill: currentColor;
    width: 14px;
    height: auto;
    transform: rotate(180deg);
    /* Point up */
}

/* Founder Section */
.about-row-founder {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-text {
    flex: 1;
    text-align: left;
}

.founder-image {
    flex: 0 0 350px;
    text-align: center;
}

@media (max-width: 768px) {
    .about-row-founder {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .founder-image {
        flex: 1 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .founder-text {
        width: 100% !important;
        text-align: left !important;
    }
}

/* Brand Cards UI Improvements */
.brand-card {
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

.mundonow-card {
    border-top: 4px solid #C01020;
    /* MundoNow Red */
}

.hispaniq-card {
    border-top: 4px solid #008090;
    /* Conocer Teal */
}

.brand-card .card-header {
    margin-bottom: 1.25rem;
}

.brand-card .card-brand-logo {
    height: 32px;
    /* Smaller, more elegant logo */
}

.brand-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1rem;
    display: block;
}

.brand-card p {
    font-size: 0.925rem;
    color: #334155;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.brand-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 0;
    transition: gap 0.2s ease;
}

.brand-link:hover {
    gap: 10px;
}

.brand-highlight {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* Responsive Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
    padding: 5px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column !important;
        padding: 20px !important;
        gap: 15px !important;
        border-bottom: 1px solid var(--line) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;

        /* Hidden state */
        transform: translateY(-10px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
        pointer-events: none !important;
        z-index: 1000 !important;
        display: flex !important;
    }

    .nav.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .nav a:hover {
        background: rgba(0, 128, 144, 0.05);
    }

    .nav .btn-secondary {
        width: 100%;
        justify-content: center;
        background: var(--primary-color);
        color: white;
        border-color: transparent;
    }

    .redesign-container {
        padding: 0 20px;
    }

    .section-title-lined {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .identity-section,
    .about-section-simple,
    .features-grid-section {
        padding-bottom: 40px;
    }

    .contact-info,
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .redesign-container {
        padding: 0 16px;
    }

    .identity-section h2,
    .about-section-simple h2,
    .contact-info h2 {
        font-size: 1.75rem !important;
    }

    .section-title-lined {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }

    .feature-card,
    .approach-card,
    .brand-card {
        padding: 24px;
    }

    .contact-wrapper {
        border-radius: 16px;
        margin: 0 16px;
    }

    .contact-info,
    .contact-form-container {
        padding: 24px;
    }

    /* Stack buttons on mobile */
    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* Our Approach Mobile Improvements */
    .approach-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .approach-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
        margin-bottom: 4px;
    }

    .approach-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }

    .approach-card p {
        font-size: 1rem !important;
        line-height: 1.5;
    }

    /* Center all section headings on mobile for consistency */
    .section-title,
    .about-text,
    .about-text h2,
    .about-row-company,
    .kicker {
        text-align: center !important;
    }

    /* Adjust About text alignment for mobile */
    .about-text {
        text-align: center !important;
        margin-bottom: 24px;
    }

    /* Ensure images are centered */
    .about-image {
        display: flex;
        justify-content: center;
        margin-top: 16px;
    }
}

.site-footer {
    text-align: center;
    padding: 20px 0;
    background-color: var(--text-heading);
    border-top: none;
    color: #ffffff;
    font-size: 0.9rem;
}

#ast-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#ast-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

#ast-scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

#ast-scroll-top svg {
    fill: currentColor;
    width: 14px;
    height: auto;
    transform: rotate(180deg);
    /* Point up */
}

/* ==========================================================================
   PREMIUM BLOG REFINEMENT (Version 8.1)
   ========================================================================== */

/* 3-Column Grid Fix - FORCED FOR ALL DESKTOP/TABLET */
.features-grid.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
}

/* Smaller, Premium Cards */
.blog-post-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
}

.blog-post-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px -10px rgba(11, 15, 20, 0.1) !important;
    border-color: #0c878e !important;
}

.blog-card-image-wrap {
    height: 180px !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.blog-card-image-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.blog-card-content {
    padding: 15px !important;
    /* Tight padding */
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.blog-card-content h3 {
    font-size: 1.05rem !important;
    /* Very compact title */
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #0f172a !important;
}

.blog-card-meta {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    margin-bottom: 10px !important;
}

.blog-card-excerpt {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
}

.blog-read-more {
    margin-top: auto !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    /* Forced White Text */
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .features-grid.blog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 500px) {
    .features-grid.blog-grid {
        grid-template-columns: 1fr !important;
    }
}