*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    line-height: var(--leading-body);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: 44px;
    width: auto;
    object-fit: contain;
}

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

.hero-image-frame img {
    max-width: none;
    height: 100%;
}

a {
    color: inherit;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.site-header,
.site-footer,
.page-hero,
.page-shell,
.header-meta,
.header-hours,
.header-phone,
.main-nav,
.breadcrumb,
.hours-map-card,
.business-hours-list,
.contact-dl,
.footer-grid {
    letter-spacing: 0.01em;
    word-spacing: 0.12em;
    font-variant-ligatures: none;
    font-kerning: none;
}

.hero-title,
.section-head h2,
.page-hero h1,
.cta-band h2 {
    font-family: var(--font-display, var(--font-sans));
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
}

.error { color: #b91c1c; }
.notice { color: #15803d; }
.muted { color: var(--color-muted); font-size: .9rem; }

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size, 1.25rem);
    height: var(--icon-size, 1.25rem);
    flex-shrink: 0;
    line-height: 0;
    vertical-align: middle;
}

.icon svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .75rem 1.35rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: var(--text-md);
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--theme-accent-button, var(--theme-accent, #2563eb));
    color: var(--theme-on-primary, #fff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary .icon,
.btn-primary svg {
    color: inherit;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp,
.btn-ghost {
    background: transparent;
    color: var(--theme-ink, var(--theme-primary));
    border-color: var(--theme-surface-border, var(--color-border));
}

.btn-lg {
    padding: .9rem 1.6rem;
    font-size: 1.05rem;
}

.text-link {
    font-weight: 600;
    color: var(--theme-accent, #2563eb);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-accent, #2563eb);
    margin-bottom: 0.75rem;
}

label {
    display: block;
    margin-top: .75rem;
    font-weight: 600;
}

input,
textarea,
button {
    font: inherit;
}

input,
textarea {
    width: 100%;
    padding: .65rem .85rem;
    margin-top: .25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

button {
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.contact-form-card label,
.contact-form-group label {
    margin-top: 0;
}

.contact-form-group input,
.contact-form-group textarea {
    margin-top: 0;
}

.contact-form-card button,
.contact-form-submit {
    margin-top: 0;
    background: var(--theme-accent, #2563eb);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-form fieldset {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.admin-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}
