:root {
    --toto-ivory: #f7f2ea;
    --toto-ivory-2: #f1eadf;
    --toto-paper: #fffdf9;
    --toto-forest: #173a32;
    --toto-ink: #201e1a;
    --toto-muted: #766f64;
    --toto-bronze: #a67d45;
    --toto-line: rgba(32, 30, 26, .14);
    --toto-serif: "Italiana", Georgia, serif;
    --toto-sans: "DM Sans", Arial, sans-serif;
    --toto-max: 1440px;
}

.toto-topbar,
.toto-site-header,
.toto-mobile-menu,
.toto-site-footer,
.toto-404 {
    box-sizing: border-box;
    font-family: var(--toto-sans);
}

.toto-topbar *,
.toto-site-header *,
.toto-mobile-menu *,
.toto-site-footer *,
.toto-404 * {
    box-sizing: border-box;
}

.toto-topbar a,
.toto-site-header a,
.toto-mobile-menu a,
.toto-site-footer a,
.toto-404 a {
    color: inherit;
    text-decoration: none;
}

.toto-shell {
    width: min(calc(100% - 64px), var(--toto-max));
    margin-inline: auto;
}

body.toto-menu-open {
    overflow: hidden;
}

/* Top bar */
.toto-topbar {
    position: relative;
    z-index: 1002;
    background: var(--toto-forest);
    color: #f8f3eb;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.toto-topbar .toto-shell {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.toto-topbar span { opacity: .92; }
.toto-topbar a { border-bottom: 1px solid rgba(255,255,255,.35); }

/* Header */
.toto-site-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(247, 242, 234, .92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.toto-site-header.is-scrolled {
    border-color: var(--toto-line);
    box-shadow: 0 8px 28px rgba(32,30,26,.05);
    background: rgba(247, 242, 234, .97);
}

.toto-nav {
    min-height: 88px;
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
    gap: 24px;
}

.toto-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: 100%;
}

.toto-brand-mark {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--toto-forest);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--toto-serif);
    font-size: 19px;
    color: var(--toto-forest);
}

.toto-brand-copy strong {
    display: block;
    font-family: var(--toto-serif);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: .04em;
    line-height: 1;
    color: var(--toto-ink);
}

.toto-brand-copy small {
    display: block;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--toto-muted);
    margin-top: 5px;
}

.toto-custom-logo,
.toto-custom-logo .custom-logo-link {
    display: block;
    line-height: 0;
}

.toto-custom-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 185px;
    max-height: 58px;
}

.toto-default-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 188px;
    max-height: 62px;
}

.toto-desktop-nav .menu,
.toto-mobile-nav .menu,
.toto-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toto-desktop-nav .menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.toto-desktop-nav .menu > li > a {
    display: block;
    position: relative;
    padding: 12px 0;
    color: #4b463f;
    font-size: 13px;
    font-weight: 600;
}

.toto-desktop-nav .menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 7px;
    height: 1px;
    background: var(--toto-bronze);
    transition: right .25s ease;
}

.toto-desktop-nav .menu > li > a:hover::after,
.toto-desktop-nav .current-menu-item > a::after,
.toto-desktop-nav .current_page_item > a::after {
    right: 0;
}

.toto-desktop-nav .current-menu-item > a,
.toto-desktop-nav .current_page_item > a {
    color: var(--toto-forest);
}

.toto-nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.toto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--toto-forest);
    background: transparent;
    color: var(--toto-forest);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.toto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23,58,50,.12);
}

.toto-btn-solid {
    background: var(--toto-forest);
    color: #fff !important;
}

.toto-btn svg { width: 16px; height: 16px; }

.toto-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--toto-line);
    background: transparent;
    cursor: pointer;
    position: relative;
}

.toto-mobile-toggle span,
.toto-mobile-toggle::before {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    height: 1px;
    background: var(--toto-ink);
    transition: transform .3s ease, top .3s ease;
}

.toto-mobile-toggle span { top: 19px; }
.toto-mobile-toggle::before { top: 26px; }

body.toto-menu-open .toto-mobile-toggle span {
    transform: translateY(3.5px) rotate(45deg);
}

body.toto-menu-open .toto-mobile-toggle::before {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile navigation */
.toto-mobile-menu {
    position: fixed;
    top: var(--toto-mobile-menu-top, 126px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    padding: 42px 32px 32px;
    background: var(--toto-ivory);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
}

body.toto-menu-open .toto-mobile-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.toto-mobile-nav .menu > li > a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--toto-line);
    font-family: var(--toto-serif);
    font-size: 44px;
    line-height: 1.2;
    color: var(--toto-ink);
}

.toto-mobile-meta {
    margin-top: 30px;
    color: var(--toto-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* Elementor body: deliberately no layout rules. */
.toto-elementor-content {
    width: 100%;
    min-height: 1px;
}

/* Footer */
.toto-site-footer {
    background: #e9e0d2;
    padding: 80px 0 26px;
    color: var(--toto-ink);
}

.toto-footer-top {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.toto-footer-brand {
    display: inline-block;
    line-height: 0;
}

.toto-footer-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 90px;
}

.toto-footer-about {
    max-width: 430px;
    margin: 18px 0 0;
    color: var(--toto-muted);
    font-size: 14px;
    line-height: 1.7;
}

.toto-footer-col h4 {
    margin: 0 0 18px;
    color: var(--toto-forest);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.toto-footer-col > a,
.toto-footer-col > span,
.toto-footer-menu li a {
    display: block;
    margin: 9px 0;
    color: #5f594f;
    font-size: 13px;
    line-height: 1.55;
}

.toto-footer-col a:hover,
.toto-footer-menu li a:hover,
.toto-legal-links a:hover {
    color: var(--toto-forest);
}

.toto-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--toto-line);
    color: var(--toto-muted);
    font-size: 11px;
}

.toto-legal-links {
    display: flex;
    gap: 10px;
}

.toto-legal-links a + a::before {
    content: "·";
    margin-right: 10px;
}

/* 404 only */
.toto-404 {
    padding: 120px 0 140px;
    background: var(--toto-ivory);
    color: var(--toto-ink);
}

.toto-404-kicker {
    margin: 0 0 15px;
    color: var(--toto-bronze);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.toto-404 h1 {
    margin: 0 0 20px;
    font-family: var(--toto-serif);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 400;
    line-height: 1;
}

.toto-404 p:not(.toto-404-kicker) {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--toto-muted);
    font-size: 16px;
}

@media (max-width: 1100px) {
    .toto-nav { grid-template-columns: 1fr auto; }
    .toto-desktop-nav { display: none; }
    .toto-nav-actions .toto-btn { display: none; }
    .toto-mobile-toggle { display: block; }
    .toto-footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
    .toto-footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .toto-shell { width: min(calc(100% - 32px), var(--toto-max)); }
    .toto-topbar .toto-shell { min-height: 44px; justify-content: center; text-align: center; }
    .toto-topbar .toto-top-address { display: none; }
    .toto-nav { min-height: 74px; }
    .toto-mobile-menu { top: var(--toto-mobile-menu-top, 118px); }
    .toto-site-footer { padding-top: 64px; }
    .toto-footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
    .toto-footer-top > div:first-child { grid-column: 1 / -1; }
    .toto-footer-bottom { flex-direction: column; gap: 12px; }
    .toto-footer-brand img { max-width: 210px; max-height: 76px; }
}

@media (max-width: 470px) {
    .toto-default-logo img,
    .toto-custom-logo img { max-width: 160px; max-height: 52px; }
    .toto-nav { gap: 10px; }
    .toto-footer-top { grid-template-columns: 1fr; }
    .toto-footer-top > div:first-child { grid-column: auto; }
    .toto-mobile-nav .menu > li > a { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .toto-site-header,
    .toto-mobile-menu,
    .toto-mobile-toggle span,
    .toto-mobile-toggle::before,
    .toto-btn {
        transition: none !important;
    }
}
