
/* ==========================================================
   MARKETING TECHNOLOGIES, INC.
   Main Website Stylesheet
   CakePHP 5
========================================================== */


/* ==========================================================
   1. VARIABLES
========================================================== */

:root {
    --navy: #142b40;
    --navy-dark: #0c1d2c;
    --navy-light: #173b50;

    --teal: #218c91;
    --teal-hover: #176f73;
    --teal-light: #e9f5f5;

    --text: #344054;
    --muted: #667085;

    --background: #ffffff;
    --surface: #f7f9fb;
    --border: #e4e7ec;

    --container-width: 1140px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;

    --shadow-card: 0 12px 30px rgba(20, 43, 64, 0.08);
}


/* ==========================================================
   2. GLOBAL RESET
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--navy);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}

.container {
    width: min(var(--container-width), 92%);
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   3. TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-top: 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;

    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}


/* ==========================================================
   4. HEADER
========================================================== */

.site-header {
    position: relative;
    z-index: 100;

    background: var(--navy);
    color: #ffffff;

    border-bottom: 3px solid var(--teal);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 94px;
    gap: 30px;
}

.site-brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;

    line-height: 1.2;
}

.brand-link {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.brand-link:hover {
    color: #ffffff;
}

.brand-subtitle {
    margin-top: 5px;

    color: #8ed7d8;
    font-size: 11px;
    letter-spacing: 5px;
}

.site-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 32px;
}

.site-navigation a {
    display: inline-block;
    padding: 8px 0;

    color: #dce5eb;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.site-navigation a:hover,
.site-navigation a.active {
    color: #71d5d6;
}


/* ==========================================================
   5. MAIN CONTENT
========================================================== */

.site-main {
    min-height: 65vh;
}

.site-main h1,
.site-main h2,
.site-main h3 {
    color: var(--navy);
}

.site-main h1 {
    font-size: clamp(32px, 4vw, 48px);
}

.site-main p {
    font-size: 16px;
}


/* ==========================================================
   6. PAGE SECTIONS
========================================================== */

.page-section {
    padding: 80px 0;
}

.page-section-alt {
    background: var(--surface);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 36px;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 38px);
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

.section-heading.centered {
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading.centered p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   7. BUTTONS
========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 13px 28px;

    border: 1px solid transparent;
    border-radius: var(--radius-sm);

    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--teal);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--teal-hover);
    color: #ffffff;
}

.btn-outline {
    border-color: var(--teal);
    background: transparent;
    color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal-light);
    color: var(--teal-hover);
}

.btn-hero-outline {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #ffffff;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}


/* ==========================================================
   8. HOMEPAGE HERO
========================================================== */

.home-hero {
    padding: 120px 0 130px;

    background: linear-gradient(
        125deg,
        #10283d 0%,
        #173b50 55%,
        #17676d 100%
    );

    color: #ffffff;
}

.hero-content {
    max-width: 820px;
}

.home-hero .eyebrow,
.home-cta .eyebrow {
    color: #87d9d9;
}

.site-main .home-hero h1 {
    margin: 0 0 28px;

    color: #ffffff;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.home-hero h1 span {
    color: #8cdddd;
}

.site-main .home-hero p {
    max-width: 700px;
    margin-bottom: 35px;

    color: #d9e6eb;
    font-size: 18px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


/* ==========================================================
   9. ABOUT SECTION
========================================================== */

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: start;
    gap: 90px;
}

.home-about-grid h2 {
    margin: 0;

    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
}

.site-main .home-about-copy p {
    margin: 0 0 22px;

    color: var(--text);
    font-size: 17px;
}

.home-about-copy p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   10. RESEARCH CARDS
========================================================== */

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.research-card {
    min-width: 0;
    padding: 32px 26px;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.research-card-number {
    margin-bottom: 30px;

    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
}

.research-card h3 {
    margin: 0 0 14px;
    font-size: 19px;
}

.site-main .research-card p {
    margin: 0;

    color: var(--muted);
    font-size: 15px;
}


/* ==========================================================
   11. PARTICIPATION SECTION
========================================================== */

.participation-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);

    align-items: center;
    gap: 90px;
}

.participation-content h2 {
    margin: 0 0 26px;
    font-size: clamp(30px, 3.5vw, 44px);
}

.site-main .participation-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.participation-content .btn {
    margin-top: 15px;
}

.participation-highlight {
    padding: 45px;

    background: var(--navy);
    color: #ffffff;
    border-radius: var(--radius-lg);
}

.highlight-label {
    margin-bottom: 30px;

    color: #8cdddd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.highlight-value {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.site-main .participation-highlight p {
    margin: 7px 0;

    color: #c9d8df;
    font-size: 14px;
}

.highlight-divider {
    height: 1px;
    margin: 28px 0;

    background: rgba(255, 255, 255, 0.16);
}

.highlight-note {
    margin-top: 30px;

    color: #adbec8;
    font-size: 12px;
    line-height: 1.7;
}


/* ==========================================================
   12. HOW IT WORKS
========================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 28px;
}

.step-card {
    min-width: 0;
    padding: 10px 5px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 24px;

    background: var(--teal-light);
    color: var(--teal);
    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
}

.site-main .step-card p {
    margin: 0;

    color: var(--muted);
    font-size: 15px;
}


/* ==========================================================
   13. FAQ SECTION
========================================================== */

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);

    gap: 100px;
}

.faq-intro h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 3.5vw, 42px);
}

.site-main .faq-intro p {
    margin-bottom: 30px;
    color: var(--muted);
}

.faq-items {
    min-width: 0;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item summary {
    cursor: pointer;

    padding-right: 20px;

    color: var(--navy);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-item summary:hover {
    color: var(--teal);
}

.faq-item[open] summary {
    color: var(--teal);
}

.site-main .faq-item p {
    margin: 15px 0 0;

    color: var(--muted);
    font-size: 15px;
}


/* ==========================================================
   14. FINAL CALL TO ACTION
========================================================== */

.home-cta {
    padding: 90px 0;

    background: var(--navy);
    color: #ffffff;
    text-align: center;
}

.site-main .home-cta h2 {
    margin: 0 0 20px;

    color: #ffffff;
    font-size: clamp(30px, 4vw, 45px);
}

.site-main .home-cta p {
    max-width: 650px;
    margin: 0 auto 35px;

    color: #cfdee5;
    font-size: 17px;
}


/* ==========================================================
   15. FOOTER
========================================================== */

.site-footer {
    background: var(--navy-dark);
    color: #c5d0d9;

    /* No top margin: prevents gap after CTA sections */
    margin-top: 0;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 50px;
    padding: 55px 0;
}

.footer-company {
    flex: 1;
    min-width: 0;
}

.footer-contact {
    flex: 1;
    min-width: 0;
}

.footer-contact strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #ffffff;
    font-weight: 700;
}

.footer-company h3 {
    margin: 0 0 12px;

    color: #ffffff;
    font-size: 19px;
}

.footer-company p,
.footer-contact p {
    margin: 0 0 15px;
    font-size: 14px;
}

.footer-contact a {
    color: #80d8da;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #94a3b0;
    font-size: 12px;
    text-align: center;
}


/* ==========================================================
   16. TABLET RESPONSIVENESS
========================================================== */

@media (max-width: 1050px) {

    .research-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about-grid,
    .participation-intro,
    .faq-layout {
        gap: 45px;
    }

    .participation-highlight {
        padding: 35px;
    }

    .header-inner {
        gap: 20px;
    }

    .site-navigation {
        gap: 22px;
    }

}


/* ==========================================================
   17. MOBILE RESPONSIVENESS
========================================================== */

@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        justify-content: center;

        padding: 22px 0;
        gap: 20px;
    }

    .site-brand {
        align-items: center;
        text-align: center;
    }

    .site-navigation {
        justify-content: center;
        gap: 14px 24px;
    }

    .site-navigation a {
        font-size: 14px;
    }

    .page-section {
        padding: 50px 0;
    }

    .home-hero {
        padding: 75px 0 85px;
    }

    .site-main .home-hero h1 {
        font-size: clamp(36px, 7vw, 50px);
        letter-spacing: -0.5px;
    }

    .site-main .home-hero p {
        font-size: 17px;
    }

    .home-about-grid,
    .participation-intro,
    .faq-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .research-grid,
    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .research-card {
        padding: 28px;
    }

    .participation-highlight {
        padding: 35px;
    }

    .home-cta {
        padding: 65px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        padding: 40px 0;
    }

}


/* ==========================================================
   18. SMALL MOBILE SCREENS
========================================================== */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .brand-link {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .site-navigation {
        gap: 10px 18px;
    }

    .site-navigation a {
        font-size: 13px;
    }

    .home-hero {
        padding: 60px 0 70px;
    }

    .site-main .home-hero h1 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .research-card {
        padding: 25px;
    }

    .participation-highlight {
        padding: 28px;
    }

    .highlight-value {
        font-size: 36px;
    }

    .home-cta {
        padding: 55px 0;
    }

}


/* ==========================================================
   19. ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}


/* ==========================================================
   20. INNER PAGE HERO
========================================================== */

.inner-hero {
    padding: 85px 0 95px;
    background: linear-gradient(
        125deg,
        #10283d 0%,
        #173b50 65%,
        #17676d 100%
    );
    color: #ffffff;
}

.inner-hero .eyebrow {
    color: #87d9d9;
}

.site-main .inner-hero h1 {
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 56px);
    margin: 0 0 25px;
}

.site-main .inner-hero p {
    max-width: 720px;
    color: #d9e6eb;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}


/* ==========================================================
   21. RESEARCH OVERVIEW
========================================================== */

.research-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 90px;
    align-items: center;
}

.research-overview h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    margin-bottom: 25px;
}

.research-overview > div > p {
    margin-bottom: 20px;
}

.study-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
}

.study-stat {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.study-stat strong {
    display: block;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.3;
}

.study-stat span {
    color: var(--muted);
    font-size: 14px;
}

.site-main .study-disclaimer {
    color: var(--muted);
    font-size: 12px;
    margin: 25px 0 0;
}


/* ==========================================================
   22. ENROLLMENT
========================================================== */

.enrollment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.enrollment-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 42px;
}

.enrollment-label {
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.enrollment-card h3 {
    font-size: 25px;
    margin-bottom: 20px;
}

.enrollment-card ol {
    margin: 25px 0;
    padding-left: 22px;
}

.enrollment-card li {
    padding-left: 7px;
    margin-bottom: 14px;
    color: var(--text);
}

.enrollment-card .btn {
    margin-top: 10px;
}


/* ==========================================================
   23. MONTHLY PARTICIPATION PROCESS
========================================================== */

.monthly-process {
    max-width: 840px;
    margin: 0 auto;
}

.monthly-step {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.monthly-step:last-child {
    border-bottom: 0;
}

.monthly-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--teal-light);
    border-radius: 50%;
    color: var(--teal);
    font-weight: 700;
}

.monthly-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.site-main .monthly-step p {
    margin: 0;
    color: var(--muted);
}


/* ==========================================================
   24. MAIL GUIDELINES
========================================================== */

.mail-guidelines {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.mail-guideline-card {
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.mail-guideline-card.include {
    border-top: 4px solid #218c91;
}

.mail-guideline-card.exclude {
    border-top: 4px solid #b86565;
}

.guideline-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.guideline-heading h3 {
    margin: 0;
    font-size: 22px;
}

.guideline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 700;
}

.include .guideline-icon {
    background: #e5f5ef;
    color: #21865c;
}

.exclude .guideline-icon {
    background: #faeaea;
    color: #b86565;
}

.mail-guideline-card ul {
    padding-left: 20px;
    margin: 0;
}

.mail-guideline-card li {
    margin-bottom: 13px;
}

.site-main .guidelines-note {
    margin: 25px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}


/* ==========================================================
   25. COMPENSATION
========================================================== */

.compensation-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 90px;
    align-items: center;
}

.compensation-section h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    margin-bottom: 25px;
}

.compensation-card {
    background: var(--navy);
    color: #ffffff;
    padding: 45px;
    border-radius: var(--radius-lg);
}

.compensation-label {
    display: block;
    color: #8cdddd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.compensation-total {
    font-size: 76px;
    line-height: 1.2;
    font-weight: 700;
    margin: 25px 0 35px;
}

.compensation-breakdown {
    border-top: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 18px 0;
}

.compensation-breakdown > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
}

.compensation-breakdown span {
    color: #c9d8df;
    font-size: 14px;
}

.compensation-breakdown strong {
    color: #ffffff;
    font-size: 14px;
}

.site-main .compensation-card p {
    color: #b9cbd4;
    font-size: 12px;
    margin: 25px 0 0;
}


/* ==========================================================
   26. RESEARCH FAQ
========================================================== */

.research-faq {
    max-width: 850px;
    margin: 0 auto;
}


/* ==========================================================
   27. RESEARCH PAGE RESPONSIVE
========================================================== */

@media (max-width: 1050px) {

    .research-overview,
    .compensation-section {
        gap: 45px;
    }

    .enrollment-card,
    .mail-guideline-card {
        padding: 30px;
    }

}

@media (max-width: 768px) {

    .inner-hero {
        padding: 65px 0 75px;
    }

    .research-overview,
    .enrollment-grid,
    .mail-guidelines,
    .compensation-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .enrollment-card,
    .mail-guideline-card,
    .study-summary,
    .compensation-card {
        padding: 30px;
    }

    .compensation-total {
        font-size: 60px;
    }

}

@media (max-width: 480px) {

    .monthly-step {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 15px;
    }

    .monthly-step-number {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .compensation-breakdown > div {
        flex-direction: column;
        gap: 3px;
    }

}


/* ==========================================================
   28. PRIVACY POLICY
========================================================== */

.privacy-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.privacy-sidebar-inner {
    position: sticky;
    top: 30px;

    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.privacy-sidebar h3 {
    margin: 0 0 25px;
    font-size: 17px;
}

.privacy-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.privacy-sidebar nav a {
    color: var(--muted);
    font-size: 14px;
}

.privacy-sidebar nav a:hover {
    color: var(--teal);
}

.privacy-updated {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 12px;
}

.privacy-updated strong {
    color: var(--navy);
    font-size: 14px;
}

.privacy-content {
    min-width: 0;
}

.privacy-content section {
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 30px;
}

.privacy-content section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.privacy-content h2 {
    margin-bottom: 24px;
    font-size: 28px;
}

.privacy-content h3 {
    font-size: 19px;
}

.privacy-content p {
    margin-bottom: 20px;
}

.privacy-content ul {
    padding-left: 22px;
    margin: 20px 0;
}

.privacy-content li {
    margin-bottom: 12px;
}

.privacy-notice {
    padding: 25px 30px;
    margin-bottom: 45px;

    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-sm);
}

.privacy-notice strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
}

.site-main .privacy-notice p {
    margin: 0;
    font-size: 14px;
}

.privacy-contact-card {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.privacy-contact-card h3 {
    margin-bottom: 20px;
}

.privacy-contact-card p:last-child {
    margin-bottom: 0;
}

.privacy-legal-note {
    padding: 25px;
    background: #fff8e7;
    border: 1px solid #ead39c;
    border-radius: var(--radius-sm);
}

.privacy-legal-note strong {
    display: block;
    margin-bottom: 10px;
    color: #795c19;
}

.site-main .privacy-legal-note p {
    margin: 0;
    color: #795c19;
    font-size: 14px;
}


/* Privacy Responsive */

@media (max-width: 1050px) {

    .privacy-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 40px;
    }

}

@media (max-width: 768px) {

    .privacy-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .privacy-sidebar-inner {
        position: static;
    }

    .privacy-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .privacy-content h2 {
        font-size: 25px;
    }

    .privacy-content section {
        padding-bottom: 35px;
        margin-bottom: 35px;
    }

}

@media (max-width: 480px) {

    .privacy-sidebar nav {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar-inner,
    .privacy-notice,
    .privacy-contact-card {
        padding: 22px;
    }

}


/* ==========================================================
   29. CONTACT PAGE
========================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 90px;
    align-items: start;
}

.contact-form-section h2,
.contact-information h2 {
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 20px;
}

.site-main .contact-intro {
    max-width: 650px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 35px;
}

/* Form Container */

.contact-form-card {
    padding: 40px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(20, 43, 64, .04);
}

/* Form Fields */

.form-field {
    margin-bottom: 25px;
}

.contact-form .input {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;

    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;

    padding: 13px 15px;

    background: #ffffff;
    border: 1px solid #d0d5dd;
    border-radius: var(--radius-sm);

    color: var(--text);
    font-size: 15px;
    line-height: 1.5;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 140, 145, .12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #98a2b3;
}

/* Checkbox */

.form-checkbox {
    margin: 25px 0;
}

.form-checkbox .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    flex-shrink: 0;
    accent-color: var(--teal);
}

.form-checkbox label {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

/* Privacy Note */

.site-main .form-privacy-note {
    margin: 25px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Submit Button */

.contact-submit {
    min-width: 200px;
    border: 0;
}

/* Validation Errors */

.contact-form .error-message {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
}

.contact-form .input.error input,
.contact-form .input.error textarea {
    border-color: #d92d20;
}

/* Contact Information */

.contact-information > p {
    margin-bottom: 30px;
    color: var(--muted);
}

.contact-location-card {
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.location-label {
    display: block;
    margin-bottom: 10px;

    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-location-card h3 {
    margin-bottom: 12px;
    font-size: 19px;
}

.contact-location-card address {
    color: var(--muted);
    font-size: 15px;
    font-style: normal;
    line-height: 1.8;
}

/* General Contact */

.contact-direct {
    margin-top: 35px;
}

.contact-direct h3 {
    margin-bottom: 22px;
    font-size: 20px;
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 13px;
}

.contact-detail a {
    font-size: 16px;
}

/* Response Information */

.contact-response-note {
    margin-top: 35px;
    padding: 25px;

    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: var(--radius-sm);
}

.contact-response-note strong {
    display: block;
    margin-bottom: 10px;
    color: var(--navy);
}

.site-main .contact-response-note p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

/* CakePHP Flash Messages */

.message {
    max-width: 1140px;
    margin: 25px auto;
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
}

.message.success {
    background: #e5f5ed;
    border: 1px solid #a6ddc0;
    color: #176b42;
}

.message.error {
    background: #fff1f0;
    border: 1px solid #f1b5b0;
    color: #a42620;
}

/* Responsive */

@media (max-width: 1050px) {
    .contact-layout {
        gap: 45px;
    }

    .contact-form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 55px;
    }

    .contact-form-card {
        padding: 28px;
    }

    .contact-information {
        padding-top: 15px;
    }

    .message {
        margin: 20px 4%;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 22px;
    }

    .contact-submit {
        width: 100%;
    }
}

.no-wrap {
    white-space: nowrap;
}

