:root {
    --green: #2ecc71;
    --green-dark: #17934d;
    --ink: #222;
    --muted: #667085;
    --soft: #f4fbf6;
    --line: #e6efe9;
    --white: #fff;
    --shadow: 0 18px 45px rgba(17, 40, 25, .12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Roboto", Arial, sans-serif;
    background: var(--white);
    line-height: 1.65;
    max-width: 100%;
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.navbar-brand,
.btn {
    font-family: "Poppins", Arial, sans-serif;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: 0;
}

a {
    color: var(--green-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: var(--white);
    transition: opacity .35s ease, visibility .35s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-mark {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 5px solid rgba(46, 204, 113, .18);
    border-top-color: var(--green);
    animation: spin 1s linear infinite;
}

.preloader-mark span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font: 800 17px "Poppins", sans-serif;
    animation: spinReverse 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

.navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(230, 239, 233, .72);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s ease, padding .2s ease;
}

.navbar.is-scrolled {
    padding: 9px 0;
    box-shadow: 0 10px 26px rgba(17, 40, 25, .08);
}

.navbar-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    line-height: 1.05;
}

.navbar-brand small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
    font-size: .95rem;
    box-shadow: inset 0 -5px 0 var(--green);
}

.nav-link {
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    font-size: .95rem;
    font-weight: 600;
    padding: 8px 12px !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--green-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.2;
    min-height: 44px;
}

.btn svg,
.icon-box svg,
.footer-contact svg,
.contact-list svg,
.floating-actions svg,
.eyebrow svg,
.badge-card svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.btn-success {
    --bs-btn-bg: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green-dark);
    --bs-btn-hover-border-color: var(--green-dark);
    --bs-btn-color: #092114;
    --bs-btn-hover-color: #fff;
}

.btn-outline-success {
    --bs-btn-color: var(--green-dark);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green);
    --bs-btn-hover-border-color: var(--green);
    --bs-btn-hover-color: #092114;
}

.nav-cta {
    padding-inline: 16px;
}

.hero-section {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(8, 28, 18, .88), rgba(8, 28, 18, .55) 44%, rgba(8, 28, 18, .12)), url("../images/tractor-3630-tx-super-plus.jpg") center / cover no-repeat;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 56px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,0), var(--white));
}

.min-vh-hero {
    min-height: 720px;
    padding-top: 108px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--green-dark);
    font-family: "Poppins", sans-serif;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section .eyebrow,
.event-hero .eyebrow,
.page-hero .eyebrow,
.section-kicker.light {
    color: #dfffe8;
}

.hero-content h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: .98;
}

.hero-content p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #f4fff7;
    font-size: clamp(1.08rem, 2.6vw, 1.35rem);
}

.hero-actions,
.cta-actions,
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section {
    padding: 92px 0;
}

.bg-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
}

.section-heading h2,
.about-preview h2,
.location-section h2,
.form-card h2,
.contact-panel h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    margin-bottom: 16px;
}

.section-heading p,
.about-preview p,
.location-section p {
    color: var(--muted);
    font-size: 1.04rem;
}

.rounded-media {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.shadow-soft {
    box-shadow: var(--shadow);
}

.badge-card,
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(17, 40, 25, .06);
}

.product-feature-card,
.product-card,
.service-card,
.value-card,
.event-detail,
.venue-box,
.contact-panel,
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 40px rgba(17, 40, 25, .08);
}

.product-feature-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
}

.product-feature-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.product-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.product-feature-content h3,
.product-card h2 {
    font-size: 1.6rem;
    margin: 10px 0 12px;
}

.product-feature-content p,
.product-card p,
.service-card p,
.value-card p,
.footer-text {
    color: var(--muted);
}

.product-tag {
    align-self: flex-start;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: rgba(46, 204, 113, .14);
    color: var(--green-dark);
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
}

.service-card,
.value-card {
    height: 100%;
    padding: 28px;
}

.service-card h3,
.value-card h2 {
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.icon-box {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: #e9fbef;
    color: var(--green-dark);
}

.map-frame {
    height: 390px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    box-shadow: var(--shadow);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-band {
    padding: 76px 0;
    background: #183225;
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-inner p {
    margin: 0;
    color: #dbe8df;
}

.page-hero,
.event-hero {
    padding: 150px 0 82px;
    background: linear-gradient(135deg, #173323, #24543b);
    color: var(--white);
}

.page-hero h1,
.event-hero h1 {
    max-width: 930px;
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.02;
}

.page-hero p,
.event-hero p {
    max-width: 720px;
    margin: 0;
    color: #e6f7ea;
    font-size: 1.12rem;
}

.event-hero {
    background: linear-gradient(135deg, rgba(23,51,35,.96), rgba(46,143,91,.86)), url("../images/inauguration.jpg") center / cover;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.info-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.info-grid span {
    display: block;
    color: var(--muted);
    font-family: "Poppins", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.info-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
}

.product-card {
    height: 100%;
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.product-card-body {
    padding: 24px;
}

.price-note {
    margin: 18px 0;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--soft);
    color: var(--green-dark);
    font-weight: 800;
}

.modal-content {
    border: 0;
    border-radius: var(--radius);
}

.modal-title {
    font-size: 1.3rem;
}

.form-control {
    min-height: 48px;
    border-radius: var(--radius);
    border-color: #dbe8df;
}

.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(46, 204, 113, .18);
}

.event-detail {
    height: 100%;
    padding: 24px;
}

.event-detail svg {
    width: 32px;
    height: 32px;
    color: var(--green-dark);
}

.event-detail span {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-family: "Poppins", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.event-detail strong {
    display: block;
    margin-top: 4px;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
}

.venue-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
}

.venue-box h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.contact-panel,
.form-card {
    padding: 30px;
}

.contact-list,
.footer-contact,
.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-list li,
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-list svg,
.footer-contact svg {
    color: var(--green-dark);
    margin-top: 4px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    gap: 18px;
}

.gallery-item {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--white);
    box-shadow: var(--shadow);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.68));
}

.gallery-item span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.footer {
    padding: 64px 0 26px;
    background: #101d16;
    color: var(--white);
}

.footer-brand {
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.footer-text {
    margin: 18px 0;
    color: #bcd0c3;
}

.footer .trust-pill {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    color: var(--white);
    box-shadow: none;
}

.footer-title {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 1rem;
}

.footer-links li,
.footer-links a,
.footer-contact li,
.footer-contact a {
    color: #c9d8cf;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #aec3b6;
    font-size: .95rem;
}

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
}

.float-btn.call {
    background: var(--ink);
}

.float-btn.whatsapp {
    background: var(--green);
    color: #092114;
}

.site-toast,
.client-toast-holder {
    z-index: 2060;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
    }

    .hero-section,
    .min-vh-hero {
        min-height: 640px;
    }

    .product-feature-card {
        grid-template-columns: 1fr;
    }

    .product-feature-card img {
        min-height: 320px;
    }

    .cta-inner,
    .venue-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 68px 0;
    }

    .page-hero,
    .event-hero {
        padding: 126px 0 64px;
    }

    .hero-section,
    .min-vh-hero {
        min-height: 620px;
    }

    .hero-bg {
        background-position: 64% center;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .quick-actions .btn {
        width: 100%;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.partner-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 40, 25, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 204, 113, .45);
    box-shadow: 0 24px 60px rgba(17, 40, 25, .14);
}

.partner-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9fbef, #eef7fb);
    color: var(--green-dark);
}

.partner-icon svg {
    width: 26px;
    height: 26px;
}

.partner-card span {
    display: inline-block;
    margin: 22px 0 8px;
    color: var(--green-dark);
    font: 800 .78rem "Poppins", sans-serif;
    text-transform: uppercase;
}

.partner-card h2 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    line-height: 1.28;
}

.partner-card p {
    margin: 0;
    color: var(--muted);
}

.partner-strip {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 26px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.partner-strip img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.partner-strip h2 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.partner-strip p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .partner-strip {
        grid-template-columns: 86px 1fr;
    }

    .partner-strip .btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .partner-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-strip img {
        margin: 0 auto;
    }
}

/* Premium inner-page headers and social media UI. */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 168px 0 96px;
    background:
        linear-gradient(115deg, rgba(10, 35, 24, .96), rgba(22, 74, 98, .88) 48%, rgba(46, 143, 91, .72)),
        url("../images/tractor-5620-tx-plus.jpg") center / cover no-repeat;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255,255,255,.09) 0 1px, transparent 1px 110px),
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.18), transparent 28%),
        radial-gradient(circle at 15% 95%, rgba(46,204,113,.28), transparent 30%);
}

.page-hero::after {
    content: "";
    position: absolute;
    right: clamp(16px, 8vw, 120px);
    bottom: -78px;
    z-index: -1;
    width: clamp(220px, 30vw, 390px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: url("../images/sdr-logo.png") center / contain no-repeat;
    opacity: .16;
    filter: drop-shadow(0 28px 40px rgba(0,0,0,.32));
}

.page-hero .container {
    position: relative;
}

.page-hero .container::before {
    content: "";
    position: absolute;
    left: calc(var(--bs-gutter-x) * .5);
    top: 8px;
    width: 5px;
    height: calc(100% - 14px);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green), rgba(255,255,255,.45));
}

.page-hero .eyebrow,
.event-hero .eyebrow {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
}

.page-hero h1,
.page-hero p {
    margin-left: 28px;
}

.page-hero h1 {
    text-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.page-hero p {
    color: #edf9ef;
    font-size: clamp(1.03rem, 1.7vw, 1.22rem);
}

.page-hero .eyebrow {
    margin-left: 28px;
}

.event-hero {
    position: relative;
    overflow: hidden;
}

.event-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 1.08rem;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.04);
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.28);
}

.social-link.instagram:hover {
    border-color: #e1306c;
    background: #e1306c;
}

.social-link.facebook:hover {
    border-color: #1877f2;
    background: #1877f2;
}

.social-link.youtube:hover {
    border-color: #ff0000;
    background: #ff0000;
}

.social-link.google:hover {
    border-color: #4285f4;
    background: #4285f4;
}

.social-link.linkedin:hover {
    border-color: #0a66c2;
    background: #0a66c2;
}

.social-link.twitterx:hover {
    border-color: #fff;
    background: #111;
}

.footer-social {
    margin-top: 18px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(37, 211, 102, .32);
    border-radius: 999px;
    background: rgba(37, 211, 102, .1);
    color: #d8ffe5;
    font-weight: 800;
    transition: transform .25s ease, background .25s ease;
}

.footer-whatsapp:hover {
    transform: translateY(-3px);
    background: rgba(37, 211, 102, .2);
    color: #fff;
}

.submit-btn{
    min-width:220px;
}

.submit-btn.disabled{
    opacity:0.8;
    cursor:not-allowed;
}

.contact-social-box {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f7fff9, #eef7f3);
}

.contact-social-box span {
    display: block;
    margin-bottom: 12px;
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    font-weight: 800;
}

.contact-social .social-link {
    border-color: var(--line);
    background: #fff;
    color: #164a62;
    box-shadow: 0 10px 24px rgba(17, 40, 25, .08);
}

.contact-social .social-link:hover {
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 136px 0 74px;
    }

    .page-hero .container::before {
        left: calc(var(--bs-gutter-x) * .5);
        height: 74%;
    }

    .page-hero h1,
    .page-hero p,
    .page-hero .eyebrow {
        margin-left: 20px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: .85rem;
    }

    .navbar-brand strong {
        font-size: .95rem;
    }

    .product-feature-content,
    .contact-panel,
    .form-card {
        padding: 22px;
    }

    .floating-actions {
        right: 14px;
        bottom: 14px;
    }
}

/* Production polish: real brand assets, product cards, lightbox gallery, and motion. */
.preloader-mark {
    width: 96px;
    height: 96px;
}

.preloader-mark img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    animation: spinReverse 1s linear infinite;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 6px 14px rgba(16, 44, 28, .14));
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.brand-copy strong {
    display: block;
    font-size: 1.5rem;
}

.hero-bg {
    background: linear-gradient(90deg, rgba(8, 28, 18, .88), rgba(8, 28, 18, .55) 44%, rgba(8, 28, 18, .12)), url("../images/tractor-3630-tx-super-plus.jpg") center / cover no-repeat;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-content h1 {
    font-size: clamp(2.45rem, 6.2vw, 5.25rem);
    line-height: 1.02;
}

.section {
    padding: 98px 0;
}

.about-preview {
    padding-top: 54px;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 50px;
}

.section-heading h2,
.about-preview h2,
.location-section h2,
.form-card h2,
.contact-panel h2 {
    font-size: clamp(1.85rem, 3.3vw, 2.85rem);
    line-height: 1.14;
}

.page-hero h1,
.event-hero h1 {
    font-size: clamp(2.15rem, 5vw, 4.1rem);
    line-height: 1.08;
}

.product-feature-card,
.product-card,
.service-card,
.value-card,
.event-detail {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.product-feature-card:hover,
.product-card:hover,
.service-card:hover,
.value-card:hover,
.event-detail:hover {
    border-color: rgba(46, 204, 113, .45);
    box-shadow: 0 24px 60px rgba(17, 40, 25, .14);
    transform: translateY(-6px);
}

.product-feature-content h3,
.product-card h2 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.24;
}

.product-media {
    position: relative;
    overflow: hidden;
    background: #eef6f9;
}

.product-media img {
    transition: transform .35s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04);
}

.product-media span {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 11px;
    border-radius: var(--radius);
    background: rgba(22, 74, 98, .92);
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: .8rem;
    font-weight: 800;
}

.feature-chips,
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px;
}

.feature-chips span {
    padding: 8px 11px;
    border-radius: var(--radius);
    background: var(--soft);
    color: #164a62;
    font-weight: 800;
}

.product-features {
    padding: 0;
    list-style: none;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #475467;
    font-size: .95rem;
}

.product-features svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--green-dark);
    margin-top: 3px;
}

.mini-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 32px rgba(17, 40, 25, .08);
    transition: transform .28s ease, box-shadow .28s ease;
}

.mini-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(17, 40, 25, .13);
}

.mini-product-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.mini-product-card div {
    padding: 16px;
}

.mini-product-card span {
    color: var(--green-dark);
    font: 800 .78rem "Poppins", sans-serif;
    text-transform: uppercase;
}

.mini-product-card h3 {
    margin: 6px 0 10px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.mini-product-card a {
    font-weight: 800;
}

.gallery-item {
    cursor: zoom-in;
}

.gallery-item > svg {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 1;
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #164a62;
}

.float-btn.whatsapp {
    background: #25d366;
}

.float-btn img,
.whatsapp-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.float-btn.whatsapp img {
    width: 32px;
    height: 32px;
}

.whatsapp-link {
    white-space: nowrap;
}

@keyframes heroZoom {
    from {
        transform: scale(1.03) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.09) translate3d(-1.2%, .8%, 0);
    }
}

@media (max-width: 767.98px) {
    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .section {
        padding: 72px 0;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 13vw, 3.75rem);
    }
}


/* Partner leadership detail page. */
.partners-intro h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.14;
}

.branch-card,
.leadership-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 40, 25, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.branch-card:hover,
.leadership-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 204, 113, .45);
    box-shadow: 0 24px 60px rgba(17, 40, 25, .14);
}

.branch-card span,
.leadership-card span {
    display: inline-block;
    margin: 18px 0 8px;
    color: var(--green-dark);
    font: 800 .78rem "Poppins", sans-serif;
    text-transform: uppercase;
}

.branch-card h3,
.leadership-card h2 {
    margin: 0 0 12px;
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.branch-card p,
.leadership-card p {
    color: var(--muted);
}

.leader-avatar {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #164a62, #2ecc71);
    color: #fff;
    font: 800 1.35rem "Poppins", sans-serif;
    box-shadow: 0 16px 34px rgba(17, 40, 25, .18);
}

.leadership-card ul {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.leadership-card li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #475467;
    font-size: .95rem;
}

.leadership-card li svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--green-dark);
}

.leader-detail {
    margin-bottom: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: .96rem;
}


.leadership-card.has-photo {
    padding: 0;
    overflow: hidden;
}

.leader-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid var(--line);
    background: #eef6f9;
}

.leader-content {
    padding: 28px;
}

.leadership-card.has-photo .leader-avatar {
    width: 58px;
    height: 58px;
    margin-top: -58px;
    border: 4px solid #fff;
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .leader-photo {
        aspect-ratio: 5 / 4;
    }
}


/* Home hero transition cleanup */
.hero-section::after {
    height: 58px;
    background: linear-gradient(180deg, rgba(244,251,246,0), #f4fbf6 92%);
}

.about-preview {
    position: relative;
    margin-top: -34px;
    padding-top: 74px;
    background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 62%);
}

.about-preview .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .about-preview {
        margin-top: -20px;
        padding-top: 58px;
    }
}
