:root {
    /* CURRENT VARIABLES */
    --bg-dark-blue: #223E68;
    --bg-dark-blue-2: #1D3558;
    --bg-low-opacity-blue: rgba(26, 103, 229, 0.059);
    --bg-light-blue: #3B82F6;
    --bg-light-blue-2: #0447AC;
    --bg-white: #FFFFFF;

    --text-dark-blue: #223E68;
    --text-dark-blue-2: #1D3558;
    --text-dark-blue-3: #364153;
    --text-light-blue: #3B82F6;
    --text-light-blue-2: #0447AC;

    --text-white: #FFFFFF;
    --text-light-gray: #9EB1BC;
    --text-low-opacity-white: #CCCCCC;

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --transition-2: transform 0.3s ease-in-out;

    
    /* OLD VARIABLES */
    --bg-dark: #0B121C;
    --bg-card: #151D29;
    --bg-default: #05131E;
    --bg-dark-blue: #10293C;
    --bg-footer: #112733;
    --accent-gold: #C9A05F;
    --accent-gold-hover: #b0885a;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --text-blue: #9EB1BC;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bg-light-blue);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--bg-dark-blue-2);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-dark-blue-2);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--bg-light-blue);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: var(--text-light-blue-2);
    color: var(--text-white);
}

.btn-tertiary:hover {
    background-color: var(--bg-dark-blue-2);
    transform: translateY(-2px);
}

.btn-alternative {
    color: #fff;
}

.btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
.main-header {
    background-color: var(--bg-white);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-size: 0.95rem;
    color: var(--text-dark-blue);
    font-weight: 500;
}

.main-nav a span {
    color: var(--text-white);
}

.main-nav a:hover {
    color: var(--text-light-blue);
}

.btn-sm {
    padding: 0.2rem 1.2rem;
    font-size: 0.9rem;
}

.btn-md {
    padding: 0.35rem 2rem;
    font-size: 0.95rem;
}

.menu-toggle, .mobile-only-item {
    display: none;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #284962 100%),
        linear-gradient(270deg, rgba(0, 0, 0, 0.00) 21.54%, #102839 68.1%),
        url('images/meridian_home_background.png') no-repeat center center/cover,
        linear-gradient(180deg, #0A1F2F 0%, #1A3A52 50%, #2C4E68 100%);
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-transform: none;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-low-opacity-white);
    line-height: 1.6;
    max-width: 550px;
}

.hero-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 0rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    animation: bounce 2s infinite;
    z-index: 2;
    text-transform: lowercase;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* HERO MODERA */
.hero-modera {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.hero-modera-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: url('images/hero-background.png') no-repeat top center;
    background-size: cover;
}

.hero-modera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(26, 59, 106, 0.95) 0%, rgba(26, 59, 106, 0.6) 55%, rgba(26, 59, 106, 0.3) 100%);
}

.hero-modera-split {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 90px);
    padding: 0 0 80px;
}

.hero-modera-content {
    max-width: 540px;
    margin-left: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
}

.hero-tag {
    display: inline-block;
    background: #152a4a;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid #66A5ED;
}

.hero-modera-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-highlight {
    color: #66A5ED !important;
    font-size: 1.1em;
    font-weight: 800;
}

.hero-modera-content p {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.6;
}

.btn-hero-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: #244a7d !important;
    color: #fff !important;
    border: none !important;
}

.btn-hero-cta .btn-arrow {
    flex-shrink: 0;
}

.btn-hero-cta:hover {
    background: #244a7d !important;
}

.btn-hero-outline {
    background: #fff;
    color: #1A3B6A;
    border: 2px solid #fff;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.9);
    color: #1A3B6A;
}


/* POR QUE ESCOLHER O MODERA */
.section-por-que-modera {
    background: #fff;
    color: var(--text-dark-blue);
}

.section-pill {
    display: inline-block;
    background: #e8f0fe;
    color: var(--text-dark-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-dark-blue);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-desc {
    color: var(--text-dark-blue-3);
    max-width: 750px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.por-que-modera-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.pqm-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.pqm-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark-blue-2);
    color: var(--text-dark-blue);
}

.pqm-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark-blue);
    margin-bottom: 0.75rem;
}

.pqm-card p {
    color: var(--text-dark-blue-3);
    font-size: 0.95rem;
    margin: 0;
}

.por-que-modera-bar {
    background: #1f3661;
    color: #fff;
    padding: 2rem 3rem;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.pqm-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.pqm-bar-item svg {
    flex-shrink: 0;
}

/* PRINCIPAIS BENEFÍCIOS */
.section-beneficios {
    background: #fff;
    color: var(--text-dark-blue);
}

.beneficios-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--text-dark-blue-3);
    font-size: 1.1rem;
    opacity: 0.9;
}

.beneficios-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ben-card {
    padding: 2rem;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.ben-card:hover {
    box-shadow: 0 10px 30px rgba(31, 54, 97, 0.1);
    transform: translateY(-3px);
}

.ben-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dbeafe;
    color: var(--text-dark-blue);
}

.ben-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark-blue);
    margin-bottom: 0.75rem;
}

.ben-card p {
    color: var(--text-dark-blue-3);
    font-size: 0.95rem;
    margin: 0;
}

/* FUNCIONALIDADES */
.section-funcionalidades {
    background: #f8f9fa;
    color: var(--text-dark-blue);
}

.funcionalidades-title {
    font-size: 2.5rem;
    color: var(--text-dark-blue);
    margin-bottom: 4rem;
}

.func-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.func-block:last-child {
    margin-bottom: 0;
}

/* func-block-left = textos > imagens (texto à esquerda, imagem à direita) */
/* func-block-right = imagens > textos (imagem à esquerda, texto à direita) */

.func-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark-blue);
    margin-bottom: 0.75rem;
}

.func-desc {
    color: var(--text-dark-blue-3);
    margin-bottom: 1.5rem !important;
}

.func-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark-blue-2);
    color: var(--text-dark-blue);
}

.func-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.func-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark-blue-3);
    font-size: 0.95rem;
}

.func-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--text-light-blue-2);
    border-radius: 50%;
}

.func-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    max-height: 350px;
}

/* CTA SECTION */
.section-cta {
    position: relative;
    z-index: 1;
    background: #203264;
    color: #fff;
    padding: 5rem 0;
}

.section-cta h2 {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem !important;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    background: #fff !important;
    color: #203264 !important;
    border: none;
}

.btn-cta:hover {
    background: #e8f0fe !important;
    color: #203264 !important;
}

/* BUSINESSES SECTION */
.businesses {
    background-color: var(--bg-default);
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.business-header {
    margin-bottom: 4rem;
}

.business-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 5rem;
    align-items: start;
}

.business-card {
    background: transparent;
    padding: 2rem 0; /* Padding moved to support content scaling properly inside */
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative; /* Needed for stretched-link */
}

/* Remove hover scale from main card to avoid border scaling */
/* .business-card:hover { transform: scale(1.1); } */

.business-card-content {
    transition: var(--transition-2);
    will-change: transform;
    padding: 0 2rem;
}

.business-card:hover .business-card-content {
    transform: scale(1.05); /* Slight scale for content */
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.business-card:first-child {
    border-left: none;
}

.business-heading {
    font-size: 2.5rem; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.business-logo-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.business-desc {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
}

.business-desc span {
    color: #fff;
    font-weight: 600;
}

.meridian-pill-container {
    background: #112733;
    padding: 2rem 10rem;
    border-radius: 132px;
    display: inline-block;
    margin-top: 2rem;
}

.meridian-pill-container img {
    max-width: 350px;
    width: 100%;
}

.meridian-pill-container p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 100%;
}

/* ORGANOGRAM / INTRO */
.intro-organogram {
    padding: 6rem 0;
    background-color: var(--bg-default);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 5rem auto;
}

.organogram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    border-top: 1px solid rgba(198, 156, 109, 0.3);
    padding-top: 3rem;
}

.org-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.org-connector {
    height: 30px;
    width: 1px;
    border-left: 1px dashed rgba(255, 255, 255, 0.3);
}

.org-box {
    background: #141C29;
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid #2A3648;
    color: #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.org-head {
    border-color: var(--accent-gold);
    color: #fff;
    font-weight: 600;
}

.organogram-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}


/* CONTACT SECTION */
.contact {
    position: relative;
    background: var(--bg-default);
    padding: 6rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

.contact-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    font-weight: 700;
    text-align: center;
}

.contact-title span {
    color: var(--accent-gold);
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-low-opacity-white);
    margin: 0 2rem 3rem 2rem;
    line-height: 1.6;
    text-align: center;
}

.contact-form-wrapper {
    background: #1F2A33;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #bbb;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    border: none;
    background: #E8E8E8;
    color: #333;
    font-family: var(--font-main);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-gold-full {
    background-color: var(--accent-gold);
    color: #fff;
    width: 100%;
    text-align: center;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold-full:hover {
    background-color: var(--accent-gold-hover);
} */

/* FOOTER */
.main-footer {
    position: relative;
    z-index: 10;
    background-color: var(--bg-dark-blue-2);
    padding-top: 5rem;
    font-size: 0.95rem;
    color: var(--text-low-opacity-white);
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    color: var(--text-light-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-list svg {
    color: var(--text-low-opacity-white); 
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-low-opacity-white);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--bg-light-blue);
}

.inline-icon {
    opacity: 0.7;
}

.footer-middle {
    padding: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.app-downloads h4 {
    color: var(--text-light-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.app-buttons {
    display: flex;
    gap: 1rem;
}

.btn-app {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: #fff;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn-app:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-app-text span:first-child {
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
}

.legal-info {
    text-align: right;
}

.legal-info h4 {
    color: var(--text-light-gray);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #667;
}

/* DROPDOWN STYLES */
.nav-mobile-collapsible {
    position: relative;
    cursor: pointer;
}

.nav-dropdown-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-dropdown-trigger::after {
    content: '\25BC';
    font-size: 0.6em;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

/* CONTACT PAGE */
.section-contact-hero {
    background: radial-gradient(#445b7db0 1%, #1D3558 100%);
    padding: 8rem 0 6rem 0;
    color: #fff;
    margin-top: 50px; /* for header */
}

.contact-hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
}

.contact-hero-subtitle {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 300;
    opacity: 0.8;
}

.section-contact-options {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.contact-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-dark-blue-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
}

.icon-circle svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-full {
    width: 100%;
    padding: 0.3rem;
    font-size: 0.9rem;
}

.btn-outline-dark {
    border: 2.5px solid var(--bg-dark-blue-2);
    color: var(--text-dark-blue);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 7px;
    display: inline-block;
    cursor: pointer;
}

.btn-outline-dark:hover {
    border-color: var(--text-dark-blue);
    background: var(--bg-dark-blue);
    color: #fff;
}

/* Help Section */
.section-contact-help {
    padding: 1rem 0 4rem 0;
    background-color: #fff;
}

.section-contact-help h3 {
    font-size: 1.8rem;
    color: var(--text-dark-blue);
    margin-bottom: 1rem;
}

.section-contact-help p {
    color: #666;
    max-width: 700px;
    justify-self: center;
}

.office-hours-box {
    background-color: #F8F9FA;
    display: inline-block;
    padding: 1.5rem 16rem;
    border-left: 4px solid var(--bg-dark-blue);
    text-align: left;
    border-radius: 8px;
}

.office-hours-box p {
    margin: 0;
    max-width: none;
    color: var(--text-dark-blue);
}

.hours-details {
    margin-top: 0.5rem !important;
    font-size: 0.95rem;
    color: var(--text-dark-blue-3);

}

.hours-details span {
    font-weight: 500;
}


/* Desktop Dropdown Styles (> 992px) */
@media (min-width: 993px) {
    .nav-mobile-collapsible:hover .nav-dropdown-trigger::after {
        transform: rotate(180deg);
    }
    
    .nav-dropdown-list {
        position: absolute;
        top: 165%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background-color: var(--bg-white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 12px;
        padding: 0.5rem 0;
        min-width: 215px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1100;
        text-align: left;
        border: 1px solid rgba(0,0,0,0.05);
        flex-direction: column;
        gap: 0.7rem !important;
    }
    
    .nav-dropdown-list::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: var(--bg-white);
        border-top: 1px solid rgba(0,0,0,0.05);
        border-left: 1px solid rgba(0,0,0,0.05);
    }

    .nav-mobile-collapsible:hover .nav-dropdown-list {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown-link {
        display: block;
        padding: 0.8rem 1.5rem;
        color: var(--text-dark-blue);
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.2s;
        text-align: left;
    }
    
    .nav-dropdown-link:hover {
        background-color: #f0f7ff;
        color: var(--text-light-blue);
        padding-left: 1.8rem;
    }
}

/* PRICING SECTION */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
    color: var(--text-dark-blue);
}

.pricing-header {
    max-width: 700px;
    margin: 4.3rem auto 4rem auto;
}

.pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light-blue-2);
}

.pricing-header p {
    color: var(--text-dark-blue-3);
    font-size: 1.1rem;
    opacity: 0.7;
}

.pricing-tabs {
    background: #fff;
    padding: 0.5rem;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-top: 1rem;
    position: relative;
    z-index: 2;
}

.pricing-tab-item {
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light-gray);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.pricing-tab-item.active {
    background-color: var(--text-light-blue-2);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(29, 53, 88, 0.2);
}

.pricing-tab-item:hover:not(.active) {
    color: var(--text-dark-blue);
}

.pricing-product-header {
    margin-bottom: 3rem;
}

.pricing-product-header h3 {
    font-size: 2.5rem;
    margin: 4rem 0 0.5rem 0;
    color: var(--text-dark-blue);
    font-weight: 700;
}

.pricing-product-header p {
    margin-bottom: 4rem;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center; /* Center vertically for popular card effect */
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.pricing-card.popular {
    border: 2px solid var(--bg-light-blue-2);
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
    padding: 3rem 2rem; /* Slightly larger padding */
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #22C55E;
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
    white-space: nowrap;
}

.popular-badge .emoji {
    filter: grayscale(1) brightness(3);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark-blue);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark-blue);
    line-height: 1;
    margin-bottom: 0.1rem;
    margin-top: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-dark-blue);
    opacity: 0.6;
    font-weight: 400;
}

.price-subtitle {
    font-size: 0.85rem;
    color: var(--text-dark-blue);
    opacity: 0.6;
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark-blue-3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li svg {
    color: #22C55E; /* Green checkmark */
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.btn-full-width {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.pricing-card .btn-outline {
    border-color: var(--text-light-blue-2);
    color: var(--text-light-blue-2);
}

.pricing-card .btn-outline:hover {
    background-color: var(--text-light-blue-2);
    color: #fff;
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .header-container {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }

    .main-header {
        position: absolute; /* Fixed from syntax error in original code */
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--bg-dark-blue);
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Nav */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 1rem;
        width: calc(100% - 2rem);
        background-color: var(--bg-white);
        border: 1px solid rgba(255,255,255,0);
        border-radius: 60px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out, visibility 0s 0.4s;
        opacity: 0;
        visibility: hidden;
        margin-top: 2.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        max-height: 500px; 
        opacity: 1;
        visibility: visible;
        padding: 1rem 0;
        margin: 2.5rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out, visibility 0s 0s;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 0;
        align-items: center;
        width: 100%;
    }

    .main-nav li {
        width: 190px;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only-item {
        display: block;
    }

    .hero-modera-split { padding: 120px 2rem 60px; }
    .hero-modera-content { max-width: 100%; margin-left: 0; }
    .hero-modera-content h1 { font-size: 2.25rem; }
    .por-que-modera-cards { grid-template-columns: 1fr; }
    .por-que-modera-bar { flex-direction: column; gap: 1.5rem; }
    .beneficios-cards { grid-template-columns: 1fr; }
    .func-block { grid-template-columns: 1fr; }
    .func-block-right .func-image { order: -1; }
    .hero-wrapper { grid-template-columns: 1fr; }
    .business-cards { grid-template-columns: 1fr; gap: 3rem; }
    .business-card { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .organogram-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

    .intro-organogram {
        padding: 2rem 0;
    }

    .businesses {
        padding-top: 6rem;
        padding-bottom: 0rem;
    }

    .meridian-pill-container {
        padding: 2rem 3rem;
        margin-top: 0rem;
    }

    .meridian-pill-container p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }

    .meridian-pill-container img {
        width: 80%;
    }

    .contact {
        padding: 5rem 0;
    }
    
    .contact-subtitle {
        margin: 0 2rem 0rem 2rem;
    }

    .business-card {
        padding: 2rem 8rem 0 8rem;
    }
    
    /* Mobile Dropdown styles */
    .nav-mobile-collapsible {
        width: 100% !important; /* Override fixed width */
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }

    .nav-dropdown-trigger.expanded::after { 
        transform: rotate(180deg); 
    }

    .nav-dropdown-list {
        width: 90%;
        max-height: 0;
        overflow: hidden; 
        padding: 0; 
        background-color: rgba(255,255,255,0.05);
        border-radius: 8px;
        transition: all 0.4s ease-in-out; 
        opacity: 0;
    }

    .nav-dropdown-list.expanded {
        max-height: 500px;
        padding: 0.5rem 0; 
        margin-bottom: 1rem;
        opacity: 1;
    }

    .nav-dropdown-link {
        color: var(--text-white);
        padding: 0.8rem 0; 
        display: block;
        opacity: 0.7;
        font-size: 0.9rem;
        background-color: var(--bg-low-opacity-blue);
    }
    
    .nav-dropdown-link:hover {
        opacity: 1;
        background-color: rgba(255,255,255,0.05);
        color: var(--text-light-blue);
    }
    
    /* Ensure main nav list flows correctly for accordion */
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
    }

    .btn-md {
        font-size: 0.8rem;
    }

    /* CONTACT */
        .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
    }
    
    .section-contact-options {
        padding-top: 4rem;
    }

    .office-hours-box {
        padding: 1.5rem 10rem;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        justify-items: center;
    }

    .footer-middle {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .app-downloads h4 {
        justify-self: center;
    }

    .legal-info {
        text-align: center;
        width: 100%;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 878px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .pricing-features li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .main-nav.active {
        padding: 1rem 0 2rem 0;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .organogram-grid {
        grid-template-columns: 1fr;
    }
    .main-nav ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 0rem; }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }

    .section-cta h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-app {
        width: 100%;
        justify-content: center;
    }

    .btn {
        align-self: center;
    }

    .organogram-heading {
        font-size: 2rem;
    }

    .business-heading {
        font-size: 2rem;
    }

    .business-card {
        padding: 0;
    }

    .contact-title {
        font-size: 2rem;
    }

    .meridian-pill-container p {
        font-size: 0.95rem;
    }

    /* CONTACT PAGE */
        .contact-grid,
        .contact-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .section-contact-help {
        padding: 3rem 0;
    }

    .office-hours-box {
        padding: 1.5rem 4rem;
    }
    
    /* FOOTER */
    /* Adjust new footer specifically for mobile */
    .footer-col h4 {
        margin-top: 0.4rem;
        margin-bottom: 0.8rem;
    }

    .footer-links {
        gap: 0rem;
    }
    
    .footer-links a {
        padding: 0.5rem 0; /* Easier to tap */
    }

    /* Pricing Mobile */
    .pricing-section {
        padding: 4rem 0;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
        padding: 2.5rem 2rem;
    }

    .pricing-features li {
        justify-content: start;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .popular-badge {
        top: -14px;
    }
    
    .pricing-tabs {
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 0 1rem 1rem 1rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        gap: 0.8rem;
    }
    
    .pricing-tab-item {
        white-space: nowrap;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.05);
        flex-shrink: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        padding: 0.6rem 1.5rem;
    }
}

/* CONTACT MODAL */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.contact-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.contact-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
}

.contact-modal-close:hover {
    color: #333;
}

.contact-modal-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark-blue);
    margin-bottom: 0.5rem;
}

.contact-modal-subtitle {
    color: var(--text-dark-blue-3);
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
}

.contact-modal-form .form-group {
    margin-bottom: 1rem;
}

.contact-modal-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark-blue);
}

.contact-modal-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
}

.contact-modal-form input:focus {
    outline: none;
    border-color: var(--bg-light-blue-2);
}

.btn-whatsapp-modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem !important;
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.btn-whatsapp-modal:hover {
    background: #20bd5a !important;
    color: #fff !important;
}