/* ============================================================
   PUBLIC SITE CSS — Industrial Brutalist Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
}

/* --- Typography --- */

:root {
    --font-headline: 'Hanken Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-500: #737373;
    --color-gray-800: #262626;
    --color-gray-900: #171717;

    --border: 1px solid var(--color-black);
    --radius: 0;

    --grid-gap: 1px;
    --section-padding: clamp(3rem, 5vw, 6rem);
    --container-max: 1400px;
    --nav-height: 72px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-black);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    font-size: clamp(0.95rem, 1vw, 1.125rem);
    max-width: 70ch;
}

small, .text-sm {
    font-size: 0.8125rem;
}

code, .mono {
    font-family: var(--font-mono);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

.grid {
    display: grid;
    gap: 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

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

.grid-panel {
    border: var(--border);
    padding: clamp(1.25rem, 2.5vw, 2.5rem);
}

.grid-panel + .grid-panel {
    border-left: 0;
}

.grid > .grid-panel + .grid-panel {
    border-top: 0;
}

.grid-2 > .grid-panel:nth-child(n+3),
.grid-3 > .grid-panel:nth-child(n+4),
.grid-4 > .grid-panel:nth-child(n+5) {
    border-top: 0;
}

section {
    border-bottom: var(--border);
}

.content {
    padding-block: var(--section-padding);
}

/* --- Section Numbering --- */
.section-index {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-index::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-black);
}

.section-index::before {
    content: counter(section, decimal-leading-zero);
    counter-increment: section;
}

section {
    counter-reset: section;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-white);
    border-bottom: var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-inner {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(2rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
    text-decoration: none;
    color: var(--color-black);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    height: var(--nav-height);
    color: var(--color-gray-500);
    text-decoration: none;
    position: relative;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--color-black);
}

.nav-link.active {
    color: var(--color-black);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    text-decoration-color: var(--color-black);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.login-link {
    color: var(--color-black);
    font-weight: 600;
}

.nav-cta {
    margin: 0;
    border: 0;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 0;
}

/* --- Language Selector --- */
.lang-selector {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0 0.875rem;
    height: 36px;
    border: 1px solid var(--color-black);
    background: var(--color-white);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-black);
    transition: background 0.1s ease;
}

.lang-toggle:hover {
    background: var(--color-gray-100);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-black);
    z-index: 1002;
    min-width: 200px;
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-black);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gray-200);
    transition: background 0.1s ease;
}

.lang-option:last-child {
    border-bottom: 0;
}

.lang-option:hover {
    background: var(--color-gray-100);
}

.lang-option.active {
    background: var(--color-gray-100);
}

.lang-code {
    width: 1.75rem;
    display: inline-block;
}

.lang-check {
    margin-left: auto;
    font-weight: 700;
}

/* --- Mobile Toggle --- */
.nav-mobile-toggle {
    display: none;
    border: var(--border);
    background: none;
    padding: 0.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.nav-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-black);
    position: relative;
}

.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    left: 0;
}

.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after { top: 6px; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.875rem 2rem;
    border: var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.1s ease, color 0.1s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-gray-800);
}

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

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 0.9375rem;
}

.btn-block {
    width: 100%;
}

/* --- Cards --- */
.card {
    border: var(--border);
    background: var(--color-white);
    display: flex;
    flex-direction: column;
}

.card-body {
    padding: clamp(1.25rem, 2vw, 2rem);
    flex: 1;
}

.card-header {
    border-bottom: var(--border);
    padding: clamp(1rem, 1.5vw, 1.5rem) clamp(1.25rem, 2vw, 2rem);
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9375rem;
}

.card-footer {
    border-top: var(--border);
    padding: clamp(1rem, 1.5vw, 1.5rem) clamp(1.25rem, 2vw, 2rem);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    border: var(--border);
    border-radius: var(--radius);
    background: var(--color-white);
    color: var(--color-black);
    transition: box-shadow 0.1s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    box-shadow: none;
    background: var(--color-gray-100);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-gray-500);
}

/* --- Tables --- */
.table {
    width: 100%;
    border: var(--border);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    border: var(--border);
}

.table th {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-black);
    color: var(--color-white);
}

.table tbody tr:hover {
    background: var(--color-gray-100);
}

/* --- Tags / Labels --- */
.tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.625rem;
    border: var(--border);
    white-space: nowrap;
}

.tag-filled {
    background: var(--color-black);
    color: var(--color-white);
}

/* --- Dividers --- */
.divider {
    border: 0;
    border-top: var(--border);
    margin: 0;
}

/* --- Site Footer --- */
.site-footer {
    background: var(--color-white);
    color: var(--color-black);
    margin-top: auto;
    border-top: 1px solid var(--color-black);
}

.footer-main {
    border-bottom: 1px solid var(--color-black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0;
}

.footer-col {
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    border-right: 1px solid var(--color-black);
}

.footer-col:last-child {
    border-right: 0;
}

.footer-brand-col h3 {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--color-gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    max-width: 40ch;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: var(--color-black);
    transition: opacity 0.15s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    display: block;
    font-size: 0.9375rem;
    padding: 0.3rem 0;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.1s ease;
}

.footer-link:hover {
    color: var(--color-gray-500);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(1.5rem, 2.5vw, 2.5rem);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.footer-bottom-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-500);
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.15s ease;
}

.footer-phone-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.footer-location {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col {
        border-right: 0;
    }

    .footer-col:nth-child(odd) {
        border-right: 1px solid var(--color-black);
    }

    .footer-col:nth-child(n+3) {
        border-top: 1px solid var(--color-black);
    }

    .footer-col:nth-child(odd+1) {
        border-top: 0;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        border-right: 0 !important;
        padding: 1.5rem 1rem;
    }

    .footer-col + .footer-col {
        border-top: 1px solid var(--color-black);
    }

    .footer-brand-col {
        padding-bottom: 1rem;
    }

    .footer-description {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .footer-bottom-actions {
        width: 100%;
        justify-content: space-between;
    }

    .footer-phone-btn {
        font-size: 0.625rem;
        padding: 0.5rem 0.75rem;
    }

    .footer-location {
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .footer-bottom-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-phone-btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Hero Section --- */
.hero {
    min-height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: var(--border);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--color-gray-500);
    max-width: 50ch;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.font-headline { font-family: var(--font-headline); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.bg-black { background: var(--color-black); color: var(--color-white); }
.bg-white { background: var(--color-white); color: var(--color-black); }
.border-b { border-bottom: var(--border); }
.border-t { border-top: var(--border); }
.border-l { border-left: var(--border); }
.border-r { border-right: var(--border); }
.pt-nav { padding-top: var(--nav-height); }
.gap-0 { gap: 0; }
.gap-1px { gap: 1px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 > .grid-panel:nth-child(n+3) {
        border-top: 0;
    }

    .grid-4 > .grid-panel:nth-child(n+5) {
        border-top: var(--border);
    }

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

    .footer-col {
        border-right: 0;
    }

    .footer-col:nth-child(odd) {
        border-right: 1px solid var(--color-gray-800);
    }

    .footer-col:nth-child(n+3) {
        border-top: 1px solid var(--color-gray-800);
    }

    .footer-col:nth-child(odd+1) {
        border-top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .nav-inner {
        padding-inline: 1rem;
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: var(--border);
        flex-direction: column;
        height: auto;
        z-index: 998;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        width: 100%;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        height: auto;
        border-bottom: var(--border);
        padding: 1rem 1.5rem;
        justify-content: flex-start;
    }

    .nav-right {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
    }

    /* Bottom Navigation - Always visible on mobile */
    .bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: var(--border);
        z-index: 1000;
        padding: 8px 0;
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }

    .bottom-nav-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 0.5rem;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: var(--color-gray-500);
        font-family: var(--font-mono);
        font-size: 8px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 4px 6px;
        transition: color 0.15s ease;
        flex: 1;
        min-width: 0;
    }

    .bottom-nav-item .material-icons-outlined {
        font-size: 20px;
    }

    .bottom-nav-item.active {
        color: var(--color-black);
    }

    .bottom-nav-item:hover {
        color: var(--color-black);
    }

    /* Adjust body padding for bottom nav */
    body {
        padding-bottom: 65px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-2 > .grid-panel,
    .grid-3 > .grid-panel,
    .grid-4 > .grid-panel {
        border-top: 0;
        border-left: 0;
    }

    .grid-2 > .grid-panel + .grid-panel,
    .grid-3 > .grid-panel + .grid-panel,
    .grid-4 > .grid-panel + .grid-panel {
        border-top: var(--border);
    }

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

    .footer-col {
        border-right: 0 !important;
    }

    .footer-col + .footer-col {
        border-top: 1px solid var(--color-gray-800);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero {
        min-height: auto;
    }
}

/* --- Contact Page Layout --- */
.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--color-black);
}

.contact-hero-left {
    padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero-right {
    background: var(--color-gray-100);
    padding: clamp(2rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-black);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.contact-form-col {
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 5rem);
    border-right: 1px solid var(--color-black);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-sidebar-col {
    display: flex;
    flex-direction: column;
}

.contact-sidebar-block {
    padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--color-black);
}

.contact-enterprise-block {
    background: var(--color-black);
    color: var(--color-white);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: none;
}

@media (max-width: 768px) {
    /* Contact Page Mobile */
    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-right {
        border-left: none;
        border-top: 1px solid var(--color-black);
    }

    .contact-hero-left,
    .contact-hero-right {
        padding: 2rem 1rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-col {
        border-right: none;
        border-bottom: 1px solid var(--color-black);
        padding: 2rem 1rem;
    }

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

    .contact-sidebar-col {
        flex-direction: column;
    }

    .contact-sidebar-block {
        padding: 2rem 1rem;
    }

    .contact-enterprise-block {
        padding: 2rem 1rem;
    }

    /* Pricing Section Mobile */
    .grid-4[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .grid-4[style*="grid-template-columns"] > .grid-panel {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--color-black);
    }

    .grid-4[style*="grid-template-columns"] > .grid-panel:last-child {
        border-bottom: none;
    }

    /* Pricing panel padding */
    .grid-4[style*="grid-template-columns"] > .grid-panel {
        padding: 2rem 1rem !important;
    }

    /* Recommended badge positioning */
    .grid-4[style*="grid-template-columns"] > .grid-panel > div[style*="position: absolute"] {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.8125rem;
    }

    /* Contact page smaller padding */
    section > div > div {
        padding: 1.5rem 1rem !important;
    }

    h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
}
