/* --- INTELLIVETRO BRAND DESIGN IDENTITY SYSTEMS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
    --brand-teal-blue: #0076a8;  
    --brand-bright-green: #39b54a;
    --dark-slate: #0b221a;     
    --text-slate: #334155;    
    --border-soft: #cbd5e1;     
    --light-bg: #fafbfc;       
}

body {
    background-color: var(--light-bg);
    color: var(--text-slate);
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- LOGO ACTIONS AND HEADER REGIONS --- */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}
.logo-group {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.brand-logo {
    height: 70px; /* Increased to ensure clear visibility and readability */
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
}
nav a:hover { color: var(--brand-teal-blue); }

/* --- BRAND GRADIENT REPRODUCTIONS --- */
.gradient-btn, nav a.nav-cta {
    background: linear-gradient(135deg, var(--brand-bright-green) 0%, #1e967a 45%, var(--brand-teal-blue) 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gradient-btn:hover, nav a.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 118, 168, 0.25);
}

/* --- CAROUSEL DISPLAY UNITS --- */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}
.page { display: none; }
.page.active { display: block; }

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(11,34,26,0.05);
}
.slide {
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 5rem;
}
.slide-content { color: #ffffff; max-width: 650px; }
.division-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-bright-green);
    display: block;
    margin-bottom: 0.75rem;
}
.slide-content h1 { font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
.slide-content p { font-size: 1.25rem; color: #e2e8f0; margin-bottom: 2rem; font-weight: 300; }

/* --- TEXT BLOCKS AND SPLIT GRID LAYOUTS --- */
.home-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding: 4.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.intro-left h2 { font-size: 1.85rem; color: var(--dark-slate); font-weight: 600; line-height: 1.35; margin-bottom: 1rem; }
.intro-left p { color: #475569; font-size: 1.05rem; }
.intro-right p { color: #64748b; font-size: 1rem; margin-bottom: 1rem; }

.info-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 4rem 0 1.5rem; }
.info-card { background: #ffffff; padding: 2.5rem; border-radius: 12px; border: 1px solid #edf2f7; }
.info-card h3 { color: var(--dark-slate); margin-bottom: 0.75rem; font-size: 1.3rem; }
.info-card p { color: #475569; }

/* ABOUT US STRUCTURES */
.about-content { background: white; padding: 4rem; border-radius: 16px; border: 1px solid #edf2f7; max-width: 850px; margin: 0 auto; }
.sub-tag { color: var(--brand-bright-green); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; display: block; margin-bottom: 0.5rem; }
.about-content h1 { font-size: 2.4rem; color: var(--dark-slate); margin-bottom: 2rem; font-weight: 700; line-height: 1.25; }
.about-content p { color: #475569; font-size: 1.08rem; margin-bottom: 1.5rem; }

/* --- CONTACT FLOW PACKETS --- */
.contact-container { max-width: 600px; margin: 0 auto; background: #ffffff; padding: 3rem; border-radius: 16px; border: 1px solid #edf2f7; }
.contact-title { font-size: 2.2rem; color: var(--dark-slate); line-height: 1.25; margin-bottom: 0.5rem; font-weight: 700; }
.contact-subtitle { color: #64748b; font-size: 1rem; margin-bottom: 2.5rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label, .captcha-label, .checkbox-group-title { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--dark-slate); font-size: 0.95rem; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="email"], .form-group textarea {
    width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border-soft); border-radius: 8px; font-size: 1rem; color: var(--text-slate); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--brand-teal-blue); }

.checkbox-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0.25rem 0; }
.checkbox-item { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500 !important; cursor: pointer; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--brand-teal-blue); }

/* Captcha Design Configurations */
.captcha-container-box { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.captcha-img-wrapper { position: relative; background: #f8fafc; border: 1px solid var(--border-soft); padding: 0.4rem 1.2rem; overflow: hidden; }
.captcha-code { font-family: monospace; font-weight: 700; font-size: 1.5rem; letter-spacing: 4px; position: relative; z-index: 2; }
.captcha-lines {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.25;
    background: linear-gradient(45deg, transparent 45%, #9333ea 48%, transparent 52%), linear-gradient(-30deg, transparent 40%, #eab308 45%, transparent 50%);
}
.captcha-refresh-btn { background: var(--brand-teal-blue); color: white; border: none; width: 32px; height: 32px; border-radius: 4px; cursor: pointer; }
.captcha-input-field { max-width: 200px; }

/* --- FOOTER COMPOSITIONS --- */
footer { background-color: #ffffff; border-top: 1px solid #e2e8f0; padding: 4rem 0 0; margin-top: auto; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem 3.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; }
.footer-logo { height: 65px; width: auto; margin-bottom: 0.5rem; object-fit: contain; }

footer h4 { font-size: 0.95rem; color: var(--dark-slate); margin-bottom: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { text-decoration: none; color: #475569; font-size: 0.95rem; cursor: pointer; width: fit-content; }
.footer-links a:hover { color: var(--brand-bright-green); }
.question-col p { font-size: 0.95rem; color: #475569; margin-bottom: 1rem; }

.footer-copyright-bar { border-top: 1px solid #f1f5f9; padding: 1.5rem 0; }
.copyright-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; color: #94a3b8; font-size: 0.85rem; }

/* ========================================================
   MOBILE SCREEN RESPONSIVE REFINEMENTS (Max-Width: 768px)
   ======================================================== */
@media (max-width: 768px) {
    /* Prevent the logo and navigation links from colliding */
    .header-container {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.2rem 1rem;
        text-align: center;
    }

    /* Resize the logo to fit mobile viewports smoothly beneath notch rules */
    .brand-logo {
        max-width: 90%;
        height: auto;
        max-height: 55px;
    }

    /* Adjust the navigation links layout for touch targets */
    nav ul {
        justify-content: center;
        gap: 1.5rem;
        padding-left: 0;
        width: 100%;
    }

    nav a {
        font-size: 0.9rem;
    }
    
    nav a.nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Fix text hierarchy and box sizing inside the Hero section */
    .slider-container {
        padding: 0;
    }
    
    .slide {
        padding: 3rem 1.5rem;
        flex-direction: column;
        text-align: left;
    }

    .slide-content h1 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Collapse split rows and columns into clean stack cards */
    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }
    
    .intro-left h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .info-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .info-card {
        padding: 1.75rem 1.5rem;
    }
    
    .info-card ul[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 0.4rem !important;
    }

    /* Optimize inner margins and spaces inside contact card forms */
    .contact-container {
        padding: 2rem 1.25rem;
    }
    
    .contact-title {
        font-size: 1.85rem;
    }
    
    .checkbox-grid {
        gap: 1rem;
    }

    .captcha-container-box {
        flex-wrap: wrap;
    }
    
    .captcha-input-field {
        max-width: 100%;
    }

    /* Multi-column grid wraps cleanly on tablet and smartphone views */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem 2.5rem;
    }
    
    footer h4 {
        margin-bottom: 0.75rem;
    }
}

/* Smartatives-aligned brand system and responsive page layouts */
:root {
    --brand-teal-blue: #0076b8;
    --brand-bright-green: #4b9f27;
    --dark-slate: #176846;
    --text-slate: #26323a;
    --border-soft: #dce7e5;
    --light-bg: #ffffff;
    --pale-green: #f2f8f5;
}

* {
    font-family: 'DM Sans', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
}

body {
    background: #ffffff;
    color: var(--text-slate);
    line-height: 1.65;
}

.header-container {
    max-width: 1180px;
    min-height: 78px;
    padding: 0.7rem 2rem;
}

.brand-logo {
    display: block;
    width: 230px;
    height: auto;
    max-height: none;
}

nav a {
    color: #26323a;
    font-weight: 600;
}

nav a.active:not(.nav-cta) {
    color: var(--brand-bright-green);
}

.gradient-btn,
nav a.nav-cta {
    background: linear-gradient(100deg, #4b9f27, #0076b8);
    border-radius: 999px;
    box-shadow: 0 7px 18px rgba(23, 104, 70, 0.12);
}

.gradient-btn:hover,
nav a.nav-cta:hover {
    box-shadow: 0 10px 22px rgba(23, 104, 70, 0.18);
}

main {
    max-width: 1180px;
    padding: 2rem 2rem 4rem;
}

.home-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
    padding: 1.1rem 0 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-hero .slide-content {
    max-width: 920px;
    padding: 0;
    color: var(--text-slate);
    animation: content-rise 0.65s ease both;
}

.home-hero .division-tag {
    color: var(--brand-bright-green);
    font-size: 0.76rem;
    letter-spacing: 0.13em;
    line-height: 1.5;
}

.home-hero .slide-content h1 {
    max-width: 900px;
    margin: 0.65rem 0 1.25rem;
    color: var(--dark-slate);
    font: 800 clamp(2.6rem, 5vw, 4.15rem)/1.08 'Manrope', sans-serif;
    letter-spacing: 0;
}

.home-hero .slide-content p {
    max-width: 860px;
    margin-bottom: 1rem;
    color: #536269;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.75;
}

.home-hero .gradient-btn {
    margin-top: 0.4rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: #f7fbf9;
    animation: content-rise 0.75s 0.1s ease both;
}

.hero-visual .slide {
    display: none;
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
}

.hero-visual .slide.active {
    display: block;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-visual .slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.slider-control {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    background: rgba(23, 60, 54, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.hero-visual:hover .slider-control,
.hero-visual:focus-within .slider-control {
    opacity: 1;
    pointer-events: auto;
}

.slider-control:hover {
    background: rgba(23, 60, 54, 0.92);
}

.slider-previous {
    left: 1rem;
}

.slider-next {
    right: 1rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 0;
}

.slider-indicator {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid var(--brand-bright-green);
    border-radius: 50%;
    background: #dce9e3;
    cursor: pointer;
}

.slider-indicator.active {
    background: var(--brand-bright-green);
}

.home-intro-grid {
    gap: 4rem;
    padding: 4rem 0;
}

.intro-left h2 {
    color: var(--dark-slate);
    font: 700 clamp(1.7rem, 2.8vw, 2.35rem)/1.22 'Manrope', sans-serif;
}

.intro-left p,
.intro-right p,
.info-card p,
.info-card li {
    color: #536269;
    line-height: 1.75;
}

.info-blocks {
    gap: 1.25rem;
    padding-top: 1rem;
}

.info-card {
    padding: 2rem;
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--brand-bright-green);
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(23, 60, 54, 0.045);
}

.info-card h3 {
    color: var(--dark-slate);
    font: 700 1.22rem/1.3 'Manrope', sans-serif;
}

.about-content {
    max-width: 900px;
    padding: 3.5rem;
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--brand-bright-green);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(23, 60, 54, 0.06);
}

.about-content h1 {
    color: var(--dark-slate);
    font: 800 clamp(2.1rem, 4vw, 3.2rem)/1.14 'Manrope', sans-serif;
    letter-spacing: 0;
}

.about-content p {
    color: #536269;
    font-size: 1.05rem;
    line-height: 1.85;
}

.sub-tag {
    color: var(--brand-bright-green);
    letter-spacing: 0.14em;
}

.contact-container {
    max-width: 900px;
    padding: 3rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--pale-green);
    box-shadow: 0 14px 36px rgba(23, 60, 54, 0.07);
}

.contact-title {
    color: var(--dark-slate);
    font: 800 clamp(2rem, 4vw, 3rem)/1.16 'Manrope', sans-serif;
}

.contact-subtitle {
    color: #536269;
}

.contact-container form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
}

.contact-container .form-group {
    min-width: 0;
    margin: 0;
}

.contact-container .form-group:nth-child(n + 5),
.contact-container .submit-btn {
    grid-column: 1 / -1;
}

.form-group label,
.captcha-label,
.checkbox-group-title {
    margin-bottom: 0.4rem;
    color: var(--dark-slate);
    font-size: 0.82rem;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea,
.captcha-input-field {
    min-height: 44px;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cbded8;
    border-radius: 4px;
    background: #ffffff;
    color: var(--text-slate);
    font: 400 0.95rem 'DM Sans', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.captcha-input-field:focus {
    outline: 0;
    border-color: var(--brand-teal-blue);
    box-shadow: 0 0 0 3px rgba(0, 118, 184, 0.12);
}

.checkbox-grid {
    gap: 0.75rem 1.4rem;
}

.checkbox-item {
    color: #536269 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.checkbox-item input {
    accent-color: var(--brand-bright-green);
}

.captcha-img-wrapper {
    border-radius: 4px;
    background: #ffffff;
}

.captcha-lines {
    background: linear-gradient(45deg, transparent 45%, #0076b8 48%, transparent 52%), linear-gradient(-30deg, transparent 40%, #4b9f27 45%, transparent 50%);
}

.captcha-refresh-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--brand-teal-blue);
}

.captcha-input-field {
    width: 100%;
    max-width: 280px;
}

.submit-btn {
    justify-self: start;
    margin-top: 0.25rem;
}

footer {
    margin-top: auto;
    border-top: 1px solid var(--border-soft);
    background: #ffffff;
}

.footer-container {
    max-width: 1180px;
}

.footer-logo {
    display: block;
    width: 220px;
    height: auto;
}

footer h4 {
    color: var(--dark-slate);
    font: 700 0.9rem 'Manrope', sans-serif;
}

.footer-links a,
.question-col p {
    color: #536269;
}

.footer-copyright-bar {
    border-color: var(--border-soft);
}

.copyright-container {
    color: #697780;
}

@keyframes content-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .header-container {
        min-height: 68px;
        flex-direction: row;
        gap: 0.65rem;
        padding: 0.55rem 0.85rem;
        text-align: left;
    }

    .brand-logo {
        width: clamp(125px, 42vw, 180px);
        max-width: 100%;
    }

    nav ul {
        justify-content: flex-end;
        gap: 0.55rem;
    }

    nav a {
        white-space: nowrap;
        font-size: 0.75rem;
    }

    nav a.nav-cta {
        padding: 0.55rem 0.72rem;
        font-size: 0.72rem;
    }

    main {
        padding: 1.35rem 1rem 2.5rem;
    }

    .home-hero {
        gap: 1.35rem;
        padding-top: 0.25rem;
    }

    .home-hero .division-tag {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .home-hero .slide-content h1 {
        margin: 0.65rem 0 1rem;
        font-size: clamp(2.25rem, 9.5vw, 3.2rem);
        line-height: 1.08;
    }

    .home-hero .slide-content p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .home-hero .gradient-btn {
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.84rem;
    }

    .hero-visual {
        border-radius: 6px;
    }

    .home-intro-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
        padding: 2.7rem 0;
    }

    .intro-left h2 {
        font-size: 1.7rem;
    }

    .info-blocks {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .info-card {
        padding: 1.4rem 1.25rem;
    }

    .info-card[style*="grid-column"] {
        grid-column: auto !important;
    }

    .about-content {
        padding: 2rem 1.35rem;
    }

    .about-content h1 {
        margin-bottom: 1.3rem;
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .about-content p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .contact-container {
        padding: 2rem 1.25rem;
    }

    .contact-container form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-container .form-group:nth-child(n + 5),
    .contact-container .submit-btn {
        grid-column: auto;
    }

    .contact-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.7rem;
        padding: 0 1rem 2rem;
    }

    .footer-logo {
        width: min(220px, 72vw);
    }

    .copyright-container {
        padding: 0 1rem;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding-inline: 0.6rem;
    }

    .brand-logo {
        width: 118px;
    }

    nav ul {
        gap: 0.4rem;
    }

    nav a {
        font-size: 0.7rem;
    }

    nav a.nav-cta {
        padding-inline: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smartatives reference sizing and contact-page presentation */
.header-container {
    min-height: 74px;
}

.brand-logo {
    width: 205px;
}

nav ul {
    gap: 1.9rem;
}

nav a {
    font-size: 0.75rem;
}

.gradient-btn {
    padding: 0.875rem 1.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
}

nav a.nav-cta {
    padding: 0.56rem 1.06rem;
    font-size: 0.6875rem;
    font-weight: 700;
}

.contact-hero {
    position: relative;
    display: flex;
    min-height: 300px;
    align-items: center;
    isolation: isolate;
    width: calc(100% + 4rem);
    margin: -2rem 0 0 -2rem;
    padding: 3.5rem 0;
    overflow: hidden;
    background-color: #edf6f3;
    background-image: linear-gradient(90deg, rgba(242, 249, 246, 0.92) 0%, rgba(242, 249, 246, 0.74) 48%, rgba(242, 249, 246, 0.18) 100%), url('img/image.png');
    background-position: center, center 62%;
    background-size: cover;
}

.contact-hero-inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.contact-hero .sub-tag {
    margin-bottom: 0;
    font-size: 0.6875rem;
    letter-spacing: 0.13em;
}

.contact-title {
    max-width: 800px;
    margin: 0.75rem 0 0;
    color: var(--dark-slate);
    font: 800 clamp(2.625rem, 5vw, 4.2rem)/1.08 'Manrope', sans-serif;
    letter-spacing: 0;
}

.contact-section {
    padding: 2.75rem 0 3.5rem;
}

.contact-subtitle {
    max-width: 780px;
    margin: 0 auto 1.75rem;
    color: var(--dark-slate);
    font: 700 clamp(1.5rem, 3vw, 2.25rem)/1.2 'Manrope', sans-serif;
    text-align: center;
}

.contact-form {
    display: grid;
    width: min(560px, 100%);
    grid-template-columns: 1fr;
    gap: 0.8125rem;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--pale-green);
    box-shadow: 0 16px 34px rgba(25, 80, 60, 0.08);
}

.contact-form .form-group {
    margin: 0;
}

.contact-form .form-group label,
.contact-form .captcha-label,
.contact-form .checkbox-group-title {
    margin: 0 0 0.2rem;
    color: var(--dark-slate);
    font-size: 0.75rem;
    font-weight: 700;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="tel"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea,
.contact-form .captcha-input-field {
    width: 100%;
    min-height: 46px;
    padding: 0.6875rem 0.8125rem;
    border: 2px solid #9dbab4;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(23, 104, 70, 0.08);
    color: var(--text-slate);
    font: 400 0.9375rem 'DM Sans', sans-serif;
}

.contact-form .form-group textarea {
    min-height: 105px;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .captcha-input-field:focus {
    outline: 2px solid rgba(0, 118, 184, 0.25);
    border-color: var(--brand-teal-blue);
    box-shadow: none;
}

.contact-form .checkbox-grid {
    gap: 0.55rem 1.125rem;
}

.contact-form .checkbox-item {
    font-size: 0.8125rem !important;
}

.contact-form .captcha-container-box {
    margin: 0 0 0.35rem;
}

.contact-form .captcha-refresh-btn {
    width: 36px;
    height: 36px;
}

.contact-form .submit-btn {
    justify-self: start;
    margin-top: 0.1rem;
    padding: 0.875rem 1.375rem;
}

.submission-dialog[hidden] {
    display: none;
}

.submission-dialog {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(23, 60, 54, 0.38);
    backdrop-filter: blur(4px);
}

.submission-dialog-panel {
    width: min(440px, 100%);
    padding: 2rem;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(23, 60, 54, 0.2);
    text-align: center;
    animation: content-rise 0.25s ease both;
}

.submission-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--pale-green);
    color: var(--brand-bright-green);
    font-size: 1.25rem;
    font-weight: 700;
}

.submission-dialog-panel h2 {
    margin-bottom: 0.65rem;
    color: var(--dark-slate);
    font: 700 1.35rem/1.25 'Manrope', sans-serif;
}

.submission-dialog-panel p {
    margin-bottom: 1.25rem;
    color: #536269;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.submission-dialog-panel .gradient-btn {
    min-width: 100px;
}

@media (max-width: 900px) {
    .brand-logo {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .header-container {
        min-height: 68px;
    }

    .brand-logo {
        width: clamp(125px, 42vw, 170px);
    }

    nav ul {
        gap: 0.55rem;
    }

    nav a {
        font-size: 0.75rem;
    }

    nav a.nav-cta {
        padding: 0.55rem 0.72rem;
        font-size: 0.72rem;
    }

    .contact-hero {
        width: calc(100% + 2rem);
        min-height: 260px;
        margin: -1.35rem 0 0 -1rem;
        padding: 3rem 0;
        background-position: center, 56% center;
    }

    .contact-hero-inner {
        width: calc(100% - 2rem);
    }

    .contact-title {
        max-width: 560px;
        font-size: clamp(2.5rem, 9vw, 3.25rem);
    }

    .contact-section {
        padding: 2.6rem 0 2rem;
    }

    .contact-subtitle {
        margin-bottom: 1.5rem;
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .contact-form {
        padding: 1.35rem 1.25rem;
    }
}

@media (max-width: 360px) {
    .brand-logo {
        width: 118px;
    }

    nav ul {
        gap: 0.4rem;
    }

    nav a {
        font-size: 0.7rem;
    }

    nav a.nav-cta {
        padding-inline: 0.55rem;
    }
}

.home-hero .slide-content h1.hero-wordmark {
    display: block;
    max-width: 100%;
    margin: 0.25rem 0 1.25rem;
    color: var(--dark-slate);
    font: 600 clamp(3.25rem, 5.5vw, 4.5rem)/1.12 'Manrope', sans-serif;
    letter-spacing: 0;
}

.hero-wordmark-name {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font: inherit;
}

.wordmark-intelli {
    color: #171b1b;
    font-weight: 400;
}

.wordmark-vetro {
    background: linear-gradient(110deg, #42b93d 0%, #00a7b6 36%, #0879c7 70%, #064da5 100%);
    background-clip: text;
    color: transparent;
    font-weight: 800;
    -webkit-background-clip: text;
}

.hero-wordmark-name sup,
.hero-wordmark-copy sup {
    margin-left: 0.04em;
    font-size: 0.42em;
    vertical-align: super;
}

.hero-wordmark-copy {
    color: var(--dark-slate);
    font: inherit;
    overflow-wrap: normal;
}

.hero-wordmark-copy strong {
    color: var(--brand-bright-green);
    font-weight: 800;
}

@media (max-width: 768px) {
    .home-hero .slide-content h1.hero-wordmark {
        font-size: clamp(2.2rem, 9vw, 2.75rem);
    }
}