:root {
    --ia-green: #1a7f37;
    --ia-green-dark: #13602a;
    --ia-green-soft: #e8f3ea;
    --ia-surface: #ffffff;
    --ia-muted: #696169;
    --ia-border: #eae8ea;
    --ia-shadow: 0 1px 2px rgba(41, 29, 41, 0.06), 0 4px 16px rgba(41, 29, 41, 0.06);
    --ia-shadow-hover: 0 2px 4px rgba(41, 29, 41, 0.08), 0 12px 28px rgba(41, 29, 41, 0.1);
    --ia-radius: 0.75rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* Sections */

.section {
    padding: 64px 0;
}

.section-alt {
    background-color: var(--ia-surface);
    border-top: 1px solid var(--ia-border);
    border-bottom: 1px solid var(--ia-border);
}

.eyebrow {
    display: inline-block;
    color: var(--ia-green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-lead {
    color: var(--ia-muted);
    font-size: 1.1rem;
    max-width: 680px;
}

.page-header {
    padding: 40px 0 24px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--ia-muted);
    margin-bottom: 0;
}

/* Cards */

.ia-card {
    background-color: var(--ia-surface);
    border: 1px solid var(--ia-border);
    border-radius: var(--ia-radius);
    box-shadow: var(--ia-shadow);
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--ia-green-soft);
    color: var(--ia-green);
}

.icon-box svg {
    width: 22px;
    height: 22px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer */

footer {
    background-color: #12301c;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 64px;
}

footer h5 {
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-logo {
    display: block;
    box-sizing: content-box;
    background-color: white;
    padding: 8px 12px;
    border-radius: 0.5rem;
    margin-bottom: 16px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 56px 0 40px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-wrap: anywhere;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.vat {
    font-size: 0.8em;
    color: var(--ia-muted);
    font-weight: 400;
}

.toast {
    width: auto !important;
    max-width: 350px !important;
}

.toast .toast-body {
    color: white !important;
    font-weight: 600;
}

.toast-container {
    top: 80px;
}

@media (min-width: 768px) {
    .section {
        padding: 88px 0;
    }

    .footer-row {
        grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
    }
}

/* Quantity stepper */

.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background-color: white;
    overflow: hidden;
}

.qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    border: 0;
    background: none;
    color: var(--ia-green);
}

.qty-btn:hover {
    background-color: var(--ia-green-soft);
}

.qty-btn svg {
    width: 18px;
    height: 18px;
}

.qty-stepper .qty-input {
    width: 52px;
    min-width: 0;
    border: 0;
    border-radius: 0;
    text-align: center;
    font-weight: 700;
    padding: 8px 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-stepper:focus-within {
    border-color: var(--ia-green);
    box-shadow: 0 0 0 0.2rem rgba(26, 127, 55, 0.2);
}
