:root {
    --at-locamat-ink: #172432;
    --at-locamat-muted: #5c6b76;
    --at-locamat-border: #d7e4ec;
    --at-locamat-blue: #075a93;
    --at-locamat-deep: #063a61;
    --at-locamat-soft: #eaf4fb;
    --at-locamat-orange: #a84200;
    --at-locamat-orange-dark: #7a3200;
    --at-locamat-radius: 16px;
}

.at-locamat {
    color: var(--at-locamat-ink);
    font-family: Inter, Aptos, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-inline: auto;
    max-width: 1200px;
    padding: clamp(16px, 4vw, 48px);
}

.at-locamat :where(h1, h2, h3, p) { margin-top: 0; }
.at-locamat :where(a, button) { touch-action: manipulation; }

.at-locamat-hero {
    background: linear-gradient(135deg, var(--at-locamat-deep), var(--at-locamat-blue));
    border-radius: var(--at-locamat-radius);
    color: #fff;
    padding: clamp(24px, 6vw, 72px);
}

.at-locamat-hero :where(h1, p) { color: #fff; }
.at-locamat-hero h1 { font-size: clamp(2rem, 5vw, 4rem); max-width: 760px; }
.at-locamat-hero > p:not(.at-locamat-eyebrow) { font-size: 1.1rem; line-height: 1.65; max-width: 700px; }

.at-locamat-eyebrow {
    color: var(--at-locamat-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.at-locamat-hero .at-locamat-eyebrow { color: #d5edff; }

.at-locamat-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.at-locamat-button {
    align-items: center;
    border: 2px solid var(--at-locamat-blue);
    border-radius: 12px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    text-decoration: none;
}
.at-locamat-button--primary { background: var(--at-locamat-orange); border-color: var(--at-locamat-orange); color: #fff; }
.at-locamat-button--primary:hover { background: var(--at-locamat-orange-dark); border-color: var(--at-locamat-orange-dark); color: #fff; }
.at-locamat-button--secondary { background: #fff; color: var(--at-locamat-blue); }
.at-locamat-button--secondary:hover { background: var(--at-locamat-soft); color: var(--at-locamat-deep); }

.at-locamat-process { margin-block: clamp(32px, 6vw, 64px); }
.at-locamat-process ol { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.at-locamat-process li { align-items: center; border: 1px solid var(--at-locamat-border); border-radius: 12px; display: flex; gap: 12px; padding: 16px; }
.at-locamat-process li strong { align-items: center; background: var(--at-locamat-soft); border-radius: 999px; color: var(--at-locamat-blue); display: inline-flex; flex: 0 0 44px; height: 44px; justify-content: center; }

.at-locamat-heading { align-items: end; display: flex; justify-content: space-between; gap: 24px; }
.at-locamat-heading > p { color: var(--at-locamat-muted); font-weight: 700; }
.at-locamat-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.at-locamat-card { border: 1px solid var(--at-locamat-border); border-radius: var(--at-locamat-radius); box-shadow: 0 6px 20px rgba(20, 45, 40, .08); overflow: hidden; }
.at-locamat-card__image { align-items: center; aspect-ratio: 4 / 3; background: #f4f9fc; display: flex; justify-content: center; min-height: 44px; }
.at-locamat-card__image img { height: 100%; object-fit: contain; width: 100%; }
.at-locamat-card__body { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.at-locamat-card h3 { font-size: 1.2rem; margin: 0; }
.at-locamat-card h3 a { color: var(--at-locamat-ink); }
.at-locamat-condition { color: var(--at-locamat-muted); margin: 0; }
.at-locamat-status { align-self: flex-start; border-radius: 999px; font-size: .78rem; font-weight: 800; padding: 6px 10px; }
.at-locamat-status.is-available { background: #eef8f2; color: #24734b; }
.at-locamat-status.is-maintenance { background: #fff8e5; color: #72540a; }
.at-locamat-status.is-unavailable { background: #fff0ed; color: #9d3028; }
.at-locamat-prices { display: grid; gap: 8px; margin: 0; }
.at-locamat-prices div { border-bottom: 1px solid var(--at-locamat-border); display: flex; gap: 12px; justify-content: space-between; padding-bottom: 8px; }
.at-locamat-prices dt { color: var(--at-locamat-muted); }
.at-locamat-prices dd { font-weight: 800; margin: 0; text-align: right; }
.at-locamat-empty, .at-locamat-notice { background: var(--at-locamat-soft); border: 1px solid var(--at-locamat-border); border-radius: 12px; padding: 24px; }

@media (max-width: 900px) {
    .at-locamat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .at-locamat { padding-inline: 16px; }
    .at-locamat-process ol, .at-locamat-grid { grid-template-columns: 1fr; }
    .at-locamat-heading { align-items: flex-start; flex-direction: column; }
    .at-locamat-hero__actions, .at-locamat-button { width: 100%; }
}
