/* =========================================================
   base.css — shared connective frame
   Used on every page. Structure + behavior only; all colors
   come from CSS variables that each THEME file defines
   (e.g. studio.css for the web side, a future construction
   theme for the build side). Edit shared structure here once.
========================================================= */

:root {
    /* Connective tokens shared across the whole site */
    --brand: #EA580C;       /* the orange thread that ties both rooms */
    --wa: #25D366;          /* WhatsApp green */
    --radius: 10px;
    --radius-lg: 16px;
    --maxw: 1100px;
    --font-sans: 'Inter', sans-serif;

    /* Theme fallbacks (overridden by the active theme file) */
    --canvas: #ffffff;
    --surface: #ffffff;
    --ink: #18181b;
    --muted: #5b554c;
    --muted2: #9a917f;
    --line: #e5e5e5;
    --line-strong: #cccccc;
    --accent: var(--brand);
    --teal: #128C7E;
    --teal-hover: #0e7367;
    --nav-bg: rgba(255,255,255,0.9);
    --footer-bg: #f4f4f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
body {
    font-family: var(--font-sans);
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Shared nav (the nameplate frame) ---------- */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    border-bottom: 0.5px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.site-nav .brand { font-weight: 600; font-size: 17px; }
.site-nav .brand .dot { color: var(--brand); }
.site-nav .links { display: flex; gap: 24px; }
.site-nav .links a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.site-nav .links a:hover, .site-nav .links a.active { color: var(--ink); }
.site-nav .links a.active { font-weight: 600; }
.site-nav .links .cross { color: var(--accent); }
.site-nav .hamburger { display:none; background:none; border:none; color:var(--ink); font-size:22px; line-height:1; cursor:pointer; padding:4px; }

/* ---------- Shared buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-wa { background: #128C7E; color: #fff; border: 1px solid #128C7E; }
.btn-wa:hover { background: transparent; color: #0e7367; }

/* ---------- Shared footer (repeat CTA + contact + cross-sell) ---------- */
.site-footer { background: var(--footer-bg); border-top: 0.5px solid var(--line); }
.site-footer .cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
    padding: 38px 32px;
}
.site-footer .bn { display: inline-block; font-weight: 600; color: var(--accent); font-size: 15px; margin-bottom: 8px; }
.site-footer a.bn:hover { text-decoration: underline; }
.site-footer .bn-sub { font-weight: 400; font-size: 12px; color: rgba(255,255,255,0.6); }
.site-footer .bd { font-size: 13px; color: var(--muted); line-height: 1.55; }
.site-footer .ch { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted2); margin-bottom: 9px; }
.site-footer .ln { display: block; font-size: 13.5px; color: var(--muted); line-height: 2; }
.site-footer .ln:hover { color: var(--accent); }
.site-footer .fcta { display: inline-flex; align-items: center; gap: 7px; background: var(--teal); color: #fff; border: 1px solid #fff; font-size: 13.5px; font-weight: 600; padding: 10px 16px; border-radius: 8px; transition: background 0.2s ease; }
.site-footer .fcta:hover { background: var(--teal-hover); }
.site-footer .footer-note { margin-top: 10px; color: var(--muted2); }
.site-footer .copy { text-align: center; font-size: 12.5px; color: var(--muted2); padding: 16px; border-top: 0.5px solid var(--line); }
.site-footer .copy a { color: rgba(255,255,255,0.65); text-decoration: underline dotted; text-underline-offset: 3px; transition: color 0.2s ease; }
.site-footer .copy a:hover { color: #fff; text-decoration-style: solid; }

/* ---------- Shared responsive ---------- */
@media (max-width: 760px) {
    .site-nav { padding: 14px 18px; }
    .site-nav .links { gap: 14px; font-size: 13px; }
    .site-nav .hamburger { display:block; }
    .site-nav .links { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; gap:0; background:var(--nav-bg); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border-bottom:0.5px solid var(--line); padding:6px 0; }
    .site-nav .links.open { display:flex; }
    .site-nav .links a { padding:12px 18px; }
    .site-footer .cols { padding: 30px 20px; gap: 22px; }
}

section[id], [id].anchor-target { scroll-margin-top: 84px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 14px; font-weight: 600; }
.skip-link:focus { left: 0; }
