/* ============================================
   Milalani Calcium — Brand Stylesheet
   Core colours: #023483 (navy) & #2B6C1E (green)
   No gradients. Industrial, clean, B2B design.
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #023483;
    --blue: #054596;
    --green: #2B6C1E;
    --green-light: #3E8E24;
    --gray: #C8CDCF;
    --gray-blue: #7292A2;
    --white: #FFFFFF;
    --dark: #1a1a2e;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f5f6f8;
    --bg-section: #eef1f4;
    --shadow: 0 2px 8px rgba(2, 52, 131, 0.08);
    --shadow-lg: 0 4px 24px rgba(2, 52, 131, 0.12);
    --shadow-hover: 0 8px 32px rgba(2, 52, 131, 0.16);
    --radius: 6px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
    --max-width: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

ul {
    list-style: none;
}

/* ---------- Layout Helpers ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section--light {
    background: var(--bg-light);
}

.section--gray {
    background: var(--bg-section);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: var(--white);
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__header h2 {
    margin-bottom: 12px;
}

.section__header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section__header .accent {
    color: var(--green);
}

.section--navy .section__header p {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
    touch-action: manipulation;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn--green:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(43, 108, 30, 0.25);
}

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

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

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

.btn--outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ---------- Header & Navigation ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo__img {
    height: var(--header-height);
    width: auto;
    max-width: none;
    display: block;
    padding: 6px 0;
    object-fit: contain;
}

.logo__img--footer {
    height: 56px;
    padding: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    padding: 8px 16px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    touch-action: manipulation;
}

.nav__link:hover,
.nav__link.active {
    background: var(--bg-light);
    color: var(--navy);
}

.nav__cta {
    margin-left: 12px;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.header__toggle span {
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero ---------- */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero--bg {
    background: var(--navy) url('/static/images/Milalani_Truck_Loading_At_Dispatch_Depot.jpg') center center / cover no-repeat;
}

.hero--bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 52, 131, 0.88);
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--blue);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.15;
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(43, 108, 30, 0.25);
    border: 1px solid var(--green-light);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero__sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 720px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- MOQ Banner ---------- */
.moq-banner {
    background: var(--green);
    color: var(--white);
    padding: 14px 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.moq-banner strong {
    font-size: 1.05rem;
}

/* ---------- Product Cards ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--gray-blue);
}

.product-card__header {
    background: var(--navy);
    color: var(--white);
    padding: 28px 28px 24px;
}

.product-card__header h3 {
    color: var(--white);
    margin-bottom: 6px;
}

.product-card__tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.product-card__body {
    padding: 28px;
}

.product-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.spec-item {
    border-left: 3px solid var(--green);
    padding-left: 12px;
}

.spec-item__label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.spec-item__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
}

.product-card__features {
    margin-bottom: 24px;
}

.product-card__features li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.product-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

.product-card__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--gray);
    margin-bottom: 20px;
}

.product-card__price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
}

.product-card__price-unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-card__moq {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 12px 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 20px;
}

/* ---------- Applications ---------- */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.app-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.app-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--green-light);
}

.app-card__icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.app-card h3 {
    margin-bottom: 12px;
}

.app-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.app-card__benefits {
    padding-top: 16px;
    border-top: 1px solid var(--gray);
}

.app-card__benefits li {
    padding: 4px 0;
    padding-left: 22px;
    position: relative;
    font-size: 0.88rem;
    color: var(--text);
}

.app-card__benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
}

/* Application detail sections (applications page) */
.app-detail {
    padding: 60px 0;
    border-bottom: 1px solid var(--gray);
}

.app-detail:nth-child(even) {
    background: var(--bg-light);
}

.app-detail__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.app-detail__content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.app-detail__content .label {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.app-detail__content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.app-detail__specs {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.app-detail__specs h4 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green);
}

.app-detail__specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-detail__specs li:last-child {
    border-bottom: none;
}

.app-detail__specs .spec-key {
    font-size: 0.85rem;
    color: var(--text-light);
}

.app-detail__specs .spec-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

/* ---------- Pricing Table ---------- */
.pricing-table-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table thead {
    background: var(--navy);
}

.pricing-table th {
    color: var(--white);
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray);
    font-size: 0.95rem;
}

.pricing-table tbody tr:hover {
    background: var(--bg-light);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .price-cell {
    font-weight: 800;
    color: var(--navy);
    font-size: 1.1rem;
}

.pricing-table .moq-cell {
    color: var(--green);
    font-weight: 600;
}

/* ---------- Info Cards (Depot page) ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-hover);
}

.info-card__icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.3rem;
}

.info-card h4 {
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
}

.process-step__number {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.process-step h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ---------- Terms List ---------- */
.terms-list {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.terms-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.terms-list li:last-child {
    border-bottom: none;
}

.terms-list .term-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
}

.terms-list .term-content strong {
    display: block;
    color: var(--navy);
    margin-bottom: 2px;
}

.terms-list .term-content span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- Contact Form ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 24px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info__icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-info__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-info__value {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

.contact-info__value a {
    color: var(--white);
}

.contact-info__value a:hover {
    color: var(--green-light);
}

.contact-info__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 24px 0;
}

.contact-info__kra {
    background: rgba(43, 108, 30, 0.2);
    border: 1px solid var(--green-light);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 24px;
}

.contact-info__kra .kra-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info__kra .kra-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* ---------- Form ---------- */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card h3 {
    margin-bottom: 8px;
}

.form-card__desc {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(2, 52, 131, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
    background: #fdf6f6;
}

.form-error {
    display: none;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 4px;
}

.form-error.show {
    display: block;
}

.form-alert {
    background: #fdf6f6;
    border: 1px solid #e8b4b4;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #a93226;
    display: none;
}

.form-alert.show {
    display: block;
}

.form-alert strong {
    display: block;
    margin-bottom: 2px;
}

.form-note {
    background: var(--bg-light);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text);
}

.form-note strong {
    color: var(--green);
}

/* ---------- Thank You ---------- */
.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
}

.thank-you__card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    max-width: 560px;
    box-shadow: var(--shadow-lg);
}

.thank-you__icon {
    width: 72px;
    height: 72px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--white);
}

.thank-you__ref {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px;
    margin: 24px 0;
}

.thank-you__ref .ref-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thank-you__ref .ref-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: 4px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-section .btn {
    margin: 0 8px;
}

/* ---------- Footer ---------- */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand p {
    font-size: 0.88rem;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer__col ul li a:hover {
    color: var(--green-light);
}

.footer__contact-item {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer__contact-item strong {
    color: rgba(255, 255, 255, 0.85);
    min-width: 70px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer__bottom .footer__legal {
    display: flex;
    gap: 20px;
}

.footer__bottom .footer__legal span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.whatsapp-float__tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--text);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.whatsapp-float__tooltip::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--white);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
}

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 120px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero--bg {
    background: var(--navy) center center / cover no-repeat;
}

.page-hero--bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 52, 131, 0.85);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

.page-hero__breadcrumb {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero__breadcrumb a:hover {
    color: var(--green-light);
}

/* ---------- Quick Overview (home) ---------- */
.quick-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.quick-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

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

.quick-card__icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
}

.quick-card h4 {
    margin-bottom: 8px;
}

.quick-card p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ---------- Split Section ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split__content h2 {
    margin-bottom: 16px;
}

.split__content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.split__content .btn {
    margin-top: 12px;
}

.split__visual {
    background: var(--bg-light);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.split__visual .visual-stat {
    text-align: center;
    margin-bottom: 24px;
}

.split__visual .visual-stat:last-child {
    margin-bottom: 0;
}

.split__visual .visual-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.split__visual .visual-stat__label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
}

.split__visual .visual-divider {
    height: 1px;
    background: var(--gray);
    margin: 24px 0;
}

/* ---------- Image Components ---------- */
.product-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.app-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -32px -32px 20px;
    width: calc(100% + 64px);
}

.app-card--has-image {
    overflow: hidden;
    padding-top: 0;
}

.app-detail__image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}

.split__image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}

.image-strip {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
    margin-top: 40px;
}

.section__image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
    margin-bottom: 40px;
}

.contact-info__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    margin-top: 24px;
}

/* ---------- Responsive ---------- */

/* Tablet breakpoint — 2-col grids for cards to reduce scroll debt */
@media (max-width: 968px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .app-detail__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .quick-overview {
        grid-template-columns: 1fr 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-bottom: 1px solid var(--gray);
        box-shadow: var(--shadow-lg);
        gap: 0;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav.open {
        display: flex;
    }

    .nav__link {
        padding: 16px 16px;
        border-radius: 0;
        border-bottom: 1px solid var(--gray);
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .nav__link:last-of-type {
        border-bottom: none;
    }

    .nav__cta {
        margin: 12px 0 0;
    }

    .nav__cta .btn {
        width: 100%;
        min-height: 48px;
    }

    .header__toggle {
        display: flex;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .hero {
        padding: 110px 0 56px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero__sub {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .hero__stat-number {
        font-size: 1.8rem;
    }

    .section {
        padding: 48px 0;
    }

    .section__header {
        margin-bottom: 32px;
    }

    .section__header p {
        font-size: 0.95rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card__specs {
        grid-template-columns: 1fr 1fr;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .form-group--row {
        grid-template-columns: 1fr;
    }

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

    .thank-you__card {
        padding: 36px 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 6px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

    .btn--lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* Pricing table — horizontal scroll wrapper */
    .pricing-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        margin-bottom: 8px;
        position: relative;
    }

    .pricing-table-wrapper::after {
        content: "← Swipe to view all →";
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-light);
        padding: 6px 0 2px;
        font-style: italic;
    }

    .pricing-table-wrapper .pricing-table {
        min-width: 500px;
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 12px;
    }

    /* CTA section — stack buttons vertically */
    .cta-section .btn {
        display: flex;
        width: 100%;
        max-width: 320px;
        margin: 8px auto;
    }

    /* Product card price — stack on narrow screens */
    .product-card__price {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .product-card__price .btn {
        width: 100%;
    }

    /* App-detail specs — stack key above value for readability */
    .app-detail__specs li {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    /* MOQ banner — smaller text, allow wrapping */
    .moq-banner {
        font-size: 0.82rem;
        padding: 12px 16px;
        line-height: 1.5;
    }

    .moq-banner strong {
        font-size: 0.9rem;
    }

    /* Image heights */
    .product-card__image {
        height: 160px;
    }

    .app-card__image {
        height: 140px;
    }

    .split__image {
        height: 240px;
    }

    .image-strip {
        height: 200px;
    }

    .section__image {
        max-height: 260px;
    }

    .app-detail__image {
        min-height: 220px;
    }

    .contact-info__image {
        height: 140px;
    }

    /* Contact info items — smaller spacing */
    .contact-info {
        padding: 28px 20px;
    }

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

    /* Thank-you buttons — full width */
    .thank-you__card .btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Small phone breakpoint — keep 2-col for compact cards */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero__sub {
        font-size: 0.9rem;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__stat-label {
        font-size: 0.75rem;
    }

    /* Keep quick-overview as 2-col on phones — compact cards */
    .quick-overview {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .quick-card {
        padding: 20px 12px;
    }

    .quick-card__icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .quick-card h4 {
        font-size: 0.85rem;
    }

    .quick-card p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    /* Info grid — 2-col on phones for compact cards */
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 20px 14px;
    }

    .info-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .info-card h4 {
        font-size: 0.9rem;
    }

    .info-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Process steps — 2-col on phones */
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .process-step {
        padding: 20px 12px;
    }

    .process-step__number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .process-step h4 {
        font-size: 0.85rem;
    }

    .process-step p {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    /* Product card specs — keep 2-col */
    .product-card__specs {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-card__header {
        padding: 20px;
    }

    .product-card__body {
        padding: 20px;
    }

    .product-card__price-amount {
        font-size: 1.5rem;
    }

    /* App cards — compact padding */
    .app-card {
        padding: 24px 20px;
    }

    /* Footer — reduce padding */
    .footer {
        padding: 40px 0 20px;
    }

    .footer__brand p {
        font-size: 0.82rem;
    }

    .footer__col h4 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .footer__col ul li a {
        font-size: 0.82rem;
    }

    .footer__contact-item {
        font-size: 0.82rem;
    }

    .footer__bottom p,
    .footer__bottom .footer__legal span {
        font-size: 0.75rem;
    }

    /* Terms list — compact */
    .terms-list {
        padding: 20px;
    }

    .terms-list li {
        padding: 12px 0;
    }

    /* Logo — smaller on phones */
    .logo__img {
        height: 50px;
    }

    .logo__img--footer {
        height: 40px;
    }

    /* WhatsApp float — slightly smaller, closer to edge */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        right: calc(16px + env(safe-area-inset-right, 0px));
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Image heights — smaller on phones */
    .product-card__image {
        height: 130px;
    }

    .app-card__image {
        height: 110px;
    }

    .split__image {
        height: 180px;
    }

    .image-strip {
        height: 150px;
    }

    .section__image {
        max-height: 200px;
    }

    .app-detail__image {
        min-height: 180px;
    }

    .contact-info__image {
        height: 120px;
    }

    /* Page hero — reduce padding */
    .page-hero {
        padding: 100px 0 40px;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    /* CTA section — reduce padding */
    .cta-section {
        padding: 48px 0;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    /* App-detail — reduce padding */
    .app-detail {
        padding: 40px 0;
    }

    .app-detail__content h3 {
        font-size: 1.3rem;
    }

    .app-detail__specs {
        padding: 20px;
    }
}
