/* ============================================================
   Google My Business Space — shared design system
   Tokens + core components reused across templates.
   Palette: navy (trust) + coral (action) + amber (secondary).
   Green is reserved for WhatsApp and map/location iconography only.
   ============================================================ */

:root {
    --navy-900: #0E2439;
    --navy-700: #1B3A57;
    --accent-600: #D3491F;
    --accent-500: #EE6C3B;
    --amber-500: #F2A93C;
    --map-green-600: #2F9E56;
    --sand-50: #FAF6EF;
    --gray-900: #1C2229;
    --gray-700: #4A4640;
    --gray-500: #79726A;
    --gray-200: #E7E0D3;
    --white: #FFFFFF;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --shadow-sm: 0 1px 2px rgba(16,42,67,0.06);
    --shadow-md: 0 6px 16px rgba(16,42,67,0.10);
    --shadow-lg: 0 16px 40px rgba(16,42,67,0.14);
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy-900); margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-bottom: var(--space-4); }
h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
p { color: var(--gray-700); margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-16) 0; }
@media (max-width: 640px) { .section { padding: var(--space-12) 0; } }
.section-title { text-align: center; max-width: 720px; margin: 0 auto var(--space-4); }
.section-subtitle { text-align: center; color: var(--gray-500); max-width: 640px; margin: 0 auto var(--space-12); font-size: 1.05rem; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: var(--white);
    padding: var(--space-3) var(--space-6); z-index: 200; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 100;
    padding: var(--space-3) 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.logo a { font-size: 1.35rem; font-weight: 700; text-decoration: none; color: var(--navy-900); display: flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.logo span { color: var(--accent-600); }
.logo svg { flex-shrink: 0; }

.nav-links { display: flex; gap: var(--space-6); align-items: center; }
.nav-links a { text-decoration: none; color: var(--gray-700); font-weight: 500; padding: var(--space-2) 0; }
.nav-links a:hover { color: var(--accent-600); }

.lang-switcher { display: flex; gap: 0.25rem; margin-left: var(--space-2); }
.lang-switcher a {
    padding: 0.35rem 0.6rem; border-radius: 0.4rem; text-decoration: none; font-weight: 600; font-size: 0.85rem;
    min-width: 44px; min-height: 32px; display: flex; align-items: center; justify-content: center;
}
.lang-switcher a[aria-current="page"] { background: var(--accent-500); color: white; }
.lang-switcher a:not([aria-current="page"]) { color: var(--gray-700); border: 1px solid var(--gray-200); }

.nav-toggle {
    display: none; background: none; border: none; width: 44px; height: 44px; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle svg { pointer-events: none; }

@media (max-width: 860px) {
    .nav-links { position: fixed; inset: 64px 0 0 0; background: white; flex-direction: column;
        align-items: stretch; padding: var(--space-6); gap: var(--space-4); transform: translateX(100%);
        transition: transform 0.25s ease; overflow-y: auto; z-index: 150; }
    .nav-links[data-open="true"] { transform: translateX(0); }
    .nav-links a, .nav-links .btn-outline { width: 100%; text-align: center; }
    .lang-switcher { justify-content: center; margin: var(--space-2) 0; }
    .nav-toggle { display: flex; }
}

/* Buttons */
.btn-outline {
    border: 1.5px solid var(--accent-600); padding: 0.6rem 1.25rem; border-radius: 2rem;
    color: var(--accent-600) !important; text-decoration: none; font-weight: 600; min-height: 44px;
    display: inline-flex; align-items: center;
}
.btn-outline:hover { background: var(--accent-600); color: white !important; }

.btn-primary {
    background: var(--accent-600); color: white; padding: 0.85rem 2rem; border-radius: 2rem;
    text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; min-height: 48px; font-size: 1rem;
}
.btn-primary:hover { background: var(--accent-500); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
    background: white; color: var(--navy-900); border: 1.5px solid var(--gray-200); padding: 0.85rem 2rem;
    border-radius: 2rem; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center;
    justify-content: center; min-height: 48px;
}
.btn-secondary:hover { border-color: var(--accent-600); color: var(--accent-600); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.card {
    padding: var(--space-6); background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
    width: 48px; height: 48px; border-radius: 0.75rem; background: #FBE6DB; color: var(--accent-600);
    display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.card a.card-link { display: inline-block; margin-top: var(--space-3); font-weight: 600; color: var(--accent-600); text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }

/* Media cards (image header) */
.media-card { background: var(--sand-50); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.media-card .media { position: relative; height: 200px; overflow: hidden; }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.media-card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,36,57,0.35) 100%); }
.media-card .body { padding: var(--space-8); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
details {
    border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6);
    background: var(--white);
}
summary { cursor: pointer; font-weight: 600; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
summary::-webkit-details-marker { display: none; }
summary .chevron { transition: transform 0.2s ease; flex-shrink: 0; }
details[open] summary .chevron { transform: rotate(180deg); }
details p { margin-top: var(--space-3); margin-bottom: 0; }

/* Page header band (non-home pages) */
.page-header { background: linear-gradient(160deg, var(--sand-50) 0%, #FBEFE3 100%); padding: var(--space-16) 0 var(--space-12); text-align: center; }
.page-header h1 { margin-bottom: var(--space-4); }
.page-header p { max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-500); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-600); }

/* CTA band */
.cta-final {
    background: linear-gradient(135deg, #FDEEE4 0%, #FBE1CE 100%); text-align: center;
    padding: var(--space-16) var(--space-8); border-radius: var(--radius-lg);
}

/* Footer */
.footer { background: var(--navy-900); color: #C7D3DD; padding: var(--space-12) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-8); margin-bottom: var(--space-8); }
.footer h4 { color: white; font-size: 0.95rem; margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; }
.footer a { color: #C7D3DD; text-decoration: none; }
.footer a:hover { color: var(--accent-500); }
.footer-bottom { border-top: 1px solid #24405A; padding-top: var(--space-6); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }

/* WhatsApp float */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; background: #25D366; color: white; width: 56px; height: 56px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
    z-index: 1000; text-decoration: none;
}
.whatsapp-float:hover { background: #1ebe57; }

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

/* Status/priority chips (pricing, services comparisons) */
.tag { display: inline-block; font-family: ui-monospace, monospace; font-size: 0.72rem; padding: 2px 8px; border-radius: 20px; font-weight: 600; background: var(--sand-50); color: var(--gray-700); border: 1px solid var(--gray-200); }

/* ============================================================
   Blog article template
   ============================================================ */
.article-header { background: var(--sand-50); padding: var(--space-12) 0 var(--space-8); }
.article-header .container { max-width: 760px; }
.article-category { font-size: 0.78rem; font-weight: 700; color: var(--accent-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-3); }
.article-header h1 { margin-bottom: var(--space-4); }
.article-lede { font-size: 1.15rem; color: var(--gray-700); margin-bottom: var(--space-6); }
.article-byline { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; font-size: 0.85rem; color: var(--gray-500); border-top: 1px solid var(--gray-200); padding-top: var(--space-4); }
.article-byline strong { color: var(--navy-900); }
.article-hero-img { max-width: 760px; margin: 0 auto; padding: 0 var(--space-6); }
.article-hero-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-top: var(--space-8); }

.article-body-wrap { max-width: 760px; margin: 0 auto; padding: var(--space-12) var(--space-6); }
.article-toc { background: var(--sand-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-6); margin-bottom: var(--space-8); }
.article-toc h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-500); margin-bottom: var(--space-3); }
.article-toc ol { padding-left: 1.2rem; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.article-toc a { color: var(--navy-900); text-decoration: none; font-weight: 500; }
.article-toc a:hover { color: var(--accent-600); }

.article-content { font-size: 1.05rem; line-height: 1.75; color: var(--gray-700); }
.article-content h2 { margin-top: var(--space-12); scroll-margin-top: 90px; }
.article-content h3 { margin-top: var(--space-8); scroll-margin-top: 90px; }
.article-content p { margin-bottom: 1.2em; }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin-bottom: 1.2em; }
.article-content li { margin-bottom: 0.5em; }
.article-content a { color: var(--accent-600); }
.article-content strong { color: var(--navy-900); }

.article-cta {
    background: linear-gradient(135deg, #FDEEE4 0%, #FBE1CE 100%); border-radius: var(--radius-lg);
    padding: var(--space-8); text-align: center; margin: var(--space-12) 0;
}
.article-cta h3 { margin-bottom: var(--space-3); }

.unverified-note {
    font-size: 0.85rem; color: var(--gray-500); background: var(--sand-50); border-left: 3px solid var(--gray-200);
    padding: var(--space-3) var(--space-4); border-radius: 0 8px 8px 0; margin: var(--space-6) 0;
}

.related-posts { background: var(--sand-50); padding: var(--space-12) 0; }
.related-posts .container { max-width: 1000px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); }
.related-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.related-card img { width: 100%; height: 140px; object-fit: cover; }
.related-card .body { padding: var(--space-4); }
.related-card .category { font-size: 0.68rem; font-weight: 700; color: var(--accent-600); text-transform: uppercase; letter-spacing: 0.04em; }
.related-card h4 { font-size: 0.98rem; margin: var(--space-2) 0 0; line-height: 1.4; }
.related-card a { text-decoration: none; color: var(--navy-900); }
.related-card a:hover { color: var(--accent-600); }
