/* =======================================================
   Cambiribus Consulting – style.css
   Geometric Structured Flexbox Design, Mobile-First, Brand Colors
   No grid, no columns; flexbox-only layouts
   Font imports & CSS Reset at top
======================================================= */

/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    min-height: 100vh;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #17406D;
    background: #F5F7FA;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}
a {
    color: #17406D;
    text-decoration: none;
    transition: color .22s cubic-bezier(.22,1,.36,1);
}
a:focus { outline: 2px solid #26A899; outline-offset: 2px; }
a:hover { color: #26A899; }
img {
    max-width: 100%;
    display: block;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #17406D;
    line-height: 1.18;
}
h1 { font-size: 2.5rem; letter-spacing: 0.01em; margin-bottom: 16px; }
h2 { font-size: 2rem; letter-spacing: 0.01em; margin-bottom: 16px; }
h3 { font-size: 1.25rem; letter-spacing: 0.02em; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li, .text-section li {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 1rem;
}
.text-center { text-align: center; }

/* --- CONTAINER & STRUCTURE --- */
.container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 3px 16px rgba(23,64,109,0.06);
}
@media (max-width: 768px) {
    .section {
        padding: 30px 10px;
        margin-bottom: 36px;
    }
}

/* --- HEADER / NAVIGATION --- */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 64, 109, 0.07);
    position: relative;
    z-index: 90;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}
header img {
    height: 44px; width: auto;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 8px 12px;
    border-radius: 7px;
    transition: background .19s cubic-bezier(.22,1,.36,1), color .19s;
}
.main-nav a:hover {
    background: #F5F7FA;
    color: #26A899;
}
.btn.primary { margin-left: 10px; }

.mobile-menu-toggle {
    display: none;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #17406D;
    cursor: pointer;
    transition: color .25s;
}

@media (max-width: 1024px) {
    .main-nav {
        gap: 14px;
    }
}
@media (max-width: 900px) {
    .main-nav { display: none; }
    .btn.primary { display: none; }
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu {
    position: fixed;
    z-index: 2001;
    background: #fff;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    box-shadow: 0 6px 24px rgba(23,64,109,0.15);
    transform: translateX(-110vw);
    transition: transform 0.38s cubic-bezier(.42,0,.58,1);
    display: flex;
    flex-direction: column;
    padding: 42px 30px 30px 30px;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #17406D;
    position: absolute;
    top: 22px; right: 28px;
    cursor: pointer;
    z-index: 3000;
    transition: color .2s;
}
.mobile-menu-close:hover { color: #26A899; }
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    padding: 16px 12px;
    border-radius: 11px;
    color: #17406D;
    background: transparent;
    transition: background .16s, color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: #26A899;
    color: #fff;
}
@media (min-width: 901px) {
    .mobile-menu { display: none !important; }
}

/* --- HERO SECTIONS --- */
.hero {
    background: linear-gradient(95deg, #F5F7FA 90%, #D3E4F8 100%);
    margin-bottom: 0;
    padding: 48px 0 32px 0;
}
.hero .container {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .content-wrapper {
    align-items: flex-start;
    gap: 14px;
    max-width: 740px;
    margin: 0 auto;
}
.hero h1 { color: #17406D; font-size: 2.1rem; }
.hero p { font-size: 1.15rem; color: #265d8d; }
@media (max-width:700px) {
    .hero { padding: 30px 0; }
    .hero h1 { font-size: 1.55rem; }
    .hero p { font-size: 1em; }
}

/* --- FLEX UTILS & GRIDS--- */
.features-grid,
.services-grid,
.methods-grid,
.blog-list,
.case-study-overview,
.industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 14px;
}
@media (max-width: 900px) {
    .features-grid, .services-grid, .methods-grid, .industry-list {
        gap: 18px;
    }
}
@media (max-width: 700px) {
    .features-grid,
    .services-grid,
    .methods-grid,
    .case-study-overview,
    .industry-list,
    .blog-list {
        flex-direction: column;
        gap: 18px;
    }
}
.features-grid > div, .services-grid > div, .methods-grid > div, .industry-list > div,
.case-study-item, .blog-post-featured {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 9px rgba(23,64,109,0.08);
    padding: 24px 20px 22px 20px;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 220px;
    max-width: 340px;
    margin-bottom: 20px;
    border: 2px solid #e8f0fa;
    transition: box-shadow 0.24s, border-color 0.20s;
}
.features-grid > div:hover, .services-grid > div:hover,
.methods-grid > div:hover, .blog-post-featured:hover {
    box-shadow: 0 7px 28px rgba(38,168,153,0.14);
    border-color: #26A899;
    z-index: 3;
}
.features-grid img, .services-grid img, .methods-grid img, .industry-list img {
    height: 48px;
    width: 48px;
    display: block;
}

/* --- CARDS --- */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 3px 16px rgba(23,64,109,0.13);
    padding: 30px 22px 24px 22px;
    margin-bottom: 20px;
    position: relative;
    border: 2px solid #e9eefa;
    transition: box-shadow .23s, border-color .21s;
}
.card:hover {
    box-shadow: 0 8px 36px rgba(23,64,109,0.14);
    border-color: #26A899;
}

/* --- TESTIMONIALS --- */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 22px 20px 34px;
    background: #F5F7FA;
    border-left: 6px solid #26A899;
    border-radius: 12px;
    margin-bottom: 20px;
    min-width: 240px;
    max-width: 355px;
    color: #17406D;
    box-shadow: 0 1px 11px rgba(23,64,109,0.07);
    font-size: 1.08em;
}
.testimonial-card strong { font-family: 'Montserrat', sans-serif; font-weight: 600; color: #17406D; font-size: 1.01em; }
.rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 1rem;
    color: #26A899;
    font-family: 'Montserrat', sans-serif;
}
.rating-summary img { height: 22px; width: 22px; display: inline-block; vertical-align: middle; }

/* --- LAYOUT: content-grid, text-image-section, feature-item, etc. --- */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

@media (max-width: 800px) {
    .text-image-section, .content-grid {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
}

/* --- ABOUT/TEAM/BADGE LISTS --- */
.certification-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-left: 0;
}
.certification-list li {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 8px rgba(23,64,109,0.06);
    padding: 13px 19px 13px 13px;
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}
.badge-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.badge-list img { height: 44px; width: auto; }

/* --- SECTION: CONTACT --- */
.contact-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0 22px 0;
}
.contact-info-block {
    display: flex;
    align-items: center;
    gap: 13px;
    flex: 1 1 200px;
    background: #fff;
    border: 2px solid #e9eefa;
    box-shadow: 0 1px 8px rgba(38,168,153,0.06);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
}
.contact-info-block img {
    height: 28px;
    width: 28px;
}
@media (max-width:700px) {
    .contact-overview { flex-direction: column; gap: 16px; }
    .contact-info-block { min-width: 0; }
}

.map-embed {
    background: #F5F7FA;
    border-radius: 11px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}
.map-embed img { height: 38px; }

/* --- BLOG --- */
.blog-list {
    gap: 24px;
}
.blog-post-featured {
    flex: 1 1 290px;
    min-width: 220px;
    max-width: 350px;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #eaeff7;
    box-shadow: 0 2px 8px rgba(23,64,109,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 18px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.blog-post-featured:hover {
    box-shadow: 0 12px 32px rgba(23,64,109,0.10);
    border-color: #17406D;
    z-index: 4;
}
.blog-category {
    display: inline-block;
    background: #26A899;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92em;
    border-radius: 8px;
    padding: 4px 10px;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}
.search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.search-input label { font-size: 1em; font-family: 'Montserrat', sans-serif; }
.search-input input[type="text"] {
    border: 2px solid #26A899;
    border-radius: 7px;
    padding: 7px 13px;
    font-size: 1em;
    outline: none;
    transition: border 0.2s;
}
.search-input input[type="text"]:focus {
    border-color: #17406D;
}

.blog-categories {
    margin: 25px 0 5px 0;
    font-style: italic;
    color: #265d8d;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
}
.faq-accordion > div {
    background: #F5F7FA;
    border-radius: 8px;
    border-left: 5px solid #26A899;
    padding: 17px 19px;
    box-shadow: 0 1px 8px rgba(23, 64, 109, 0.06);
}
.faq-accordion h3 { color: #17406D; font-size: 1.16em; margin-bottom: 7px; }
.faq-accordion div > div { color: #265d8d; }

/* --- BADGE / CALLOUT --- */
.callout {
    background: #fffbe5;
    border: 2px solid #ffe4a2;
    padding: 36px 20px;
    border-radius: 16px;
    margin-bottom: 60px;
}
.certification-callout {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    margin-top: 16px;
    box-shadow: 0 1px 8px rgba(38,168,153,0.07);
}
.certification-callout img { height: 32px; }

/* --- BUTTONS --- */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 12px 32px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    transition: background .18s, color .18s, box-shadow .18s;
    margin: 7px 7px 7px 0;
    display: inline-block;
    box-shadow: 0 2px 11px rgba(38,168,153,0.08);
    outline: none;
    text-align: center;
    line-height: 1.05;
}
.btn.primary {
    background: #17406D;
    color: #fff;
    box-shadow: 0 2px 10px rgba(23,64,109,0.10);
    border: 2px solid #17406D;
}
.btn.primary:hover, .btn.primary:focus {
    background: #26A899;
    border-color: #26A899;
    color: #fff;
}
.btn.secondary {
    background: #fff;
    color: #17406D;
    border: 2px solid #26A899;
}
.btn.secondary:hover, .btn.secondary:focus {
    background: #26A899;
    color: #fff;
}
.btn:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 0px 3px rgba(23,64,109,0.11);
}

/* --- FOOTER --- */
footer {
    background: #17406D;
    color: #fff;
    padding: 38px 0 24px 0;
    font-size: 1rem;
}
.footer-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.footer-nav a {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.01em;
    font-weight: 600;
    transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #26A899;
}
.footer-contact {
    font-size: 0.97em;
}
footer img { height: 44px; margin-right: 6px; }
@media (max-width:800px) {
    .footer-flex { flex-direction: column; gap: 20px; align-items: flex-start; }
    footer img { margin-bottom: 12px; }
}

/* --- LISTS & TEXT BLOCKS --- */
ul, ol {
    padding-left: 25px;
    margin-bottom: 15px;
}
li {
    margin-bottom: 8px;
}
.text-section {
    margin-bottom: 22px;
}
.text-section ul, .text-section ol {
    padding-left: 18px;
}
.text-section li {
    color: #265d8d;
}

.benefit-list {
    list-style: square inside;
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
    margin: 20px 0 5px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    color: #265d8d;
}
@media (max-width:700px) {
    .benefit-list { flex-direction: column; gap: 12px; }
}

/* --- MODALS / BANNERS --- */

/* -- COOKIE CONSENT BANNER -- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #17406D;
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 10000;
    padding: 25px 20px 25px 30px;
    gap: 26px;
    box-shadow: 0 -2px 13px rgba(23, 64, 109, 0.13);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.36s;
}
.cookie-banner.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
}
.cookie-banner .cookie-banner-buttons {
    display: flex;
    gap: 10px;
}
.cookie-banner .btn {
    margin: 0 4px;
    font-size: 1rem;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    box-shadow: none;
}
.cookie-banner .btn-primary {
    background: #26A899;
    color: #fff;
    border: 2px solid #26A899;
}
.cookie-banner .btn-secondary {
    background: #fff;
    color: #17406D;
    border: 2px solid #26A899;
}
.cookie-banner .btn-primary:hover, .cookie-banner .btn-primary:focus {
    background: #fff;
    color: #26A899;
    border-color: #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
    background: #26A899;
    color: #fff;
}
@media (max-width: 800px) {
    .cookie-banner { flex-direction: column; gap: 18px; padding: 17px 8px; align-items: stretch; }
    .cookie-banner .cookie-banner-buttons { flex-wrap: wrap; gap: 10px; }
}


/* -- COOKIE PREFERENCES MODAL -- */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right:0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(23,64,109,0.26);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}
.cookie-modal-overlay.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
    background: #fff;
    border-radius: 15px;
    padding: 34px 30px 30px 30px;
    box-shadow: 0 7px 38px rgba(23, 64, 109, 0.23);
    min-width: 330px;
    max-width: 95vw;
    color: #17406D;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    animation: cookie-modal-in 370ms cubic-bezier(.5,1.37,.41,.82);
}
@keyframes cookie-modal-in {
    from { transform: translateY(60px) scale(.93); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 { font-size: 1.24em; color: #17406D; margin-bottom: 5px; }
.cookie-modal .cookie-cat-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.cookie-modal .cookie-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F5F7FA;
    border-radius: 7px;
    padding: 11px 17px;
    font-size: 1em;
    border: 2px solid #e8f0fa;
}
.cookie-modal .cookie-cat input[type=checkbox] {
    accent-color: #26A899;
    width: 20px; height: 20px; margin-left: 12px;
}
.cookie-modal .cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}
.cookie-modal-close {
    position: absolute; top: 15px; right: 22px;
    border: none; background: none;
    color: #26A899; font-size: 2.0rem; cursor: pointer;
    transition: color .18s;
}
.cookie-modal-close:hover { color: #17406D; }


/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.card, .card *, .blog-post-featured, .btn, .main-nav a, .footer-nav a, .mobile-nav a, .testimonials-slider > *, .contact-info-block {
    transition: box-shadow .2s, border-color .18s, background .18s, color .18s;
}

/* --- UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.spacer { height: 26px; }

/* --- RESPONSIVE TYPOGRAPHY SCALE --- */
@media (max-width:600px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.22rem; }
    h3 { font-size: 1.04rem; }
}

/* --- GEOMETRIC VISUAL ELEMENTS (decor patterns) --- */
/* Example: geometric dots, angles or triangles at section edges */
.section::after {
    content: '';
    display: block;
    width: 43px;
    height: 8px;
    background: linear-gradient(90deg, #17406D 60%, #26A899 100%);
    border-radius: 4px;
    margin: 29px 0 0 0;
}
.section:last-child::after { display: none; }
@media (max-width:600px) {
    .section::after { margin: 15px 0 0 0; }
}

/* --- SELECTION COLOR --- */
::selection { background: #26A899; color: #fff; }

/* --- FOCUS STYLES --- */
:focus-visible {
    outline: 3px solid #26A899!important;
    outline-offset: 2px;
}

/* --- OVERRIDE iOS BUTTON FONT WEIGHTS --- */
button, input, select, textarea {
    font-family: inherit;
    font-size: 1em;
}

/* --- PRINT / NO-SCREEN --- */
@media print {
    header, footer, .cookie-banner, .mobile-menu, .btn, .spacer { display: none !important; }
}
