@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cinzel-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cinzel-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/cinzel-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/cinzel-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Core palette */
    --bg: #bbebd7;
    --ink: #1e2a2f;
    --accent: #276749;
    --accent-2: #b7791f;
    --card: #ffffff;
    --line: #ded8cc;

    /*
     * Main visual controls (safe to edit):
     * - Spacing: gaps between large sections and content boxes
     * - Corner style: rounded vs square cards/slots
     * - Slot border thickness
     */
    --main-content-gap: 8px;
    --content-grid-gap: 8px;
    --card-radius: 7px;
    --slot-radius: 10px;
    --slot-border-width: 2px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cinzel", "Montserrat", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, #e1f1db 80%, transparent 35%),
        linear-gradient(180deg, #f8f6f1 0%, #f2ede4 100%);
    padding-top: calc(var(--top-bar-height, 48px) + var(--site-header-height, 72px) + var(--top-nav-height, 76px));
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: var(--accent);
    color: #fff;
    transform: translateY(0);
    transition: transform 220ms ease;
}

.top-bar.is-hidden {
    transform: translateY(-100%);
}

.top-bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.top-bar-whatsapp {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.top-bar-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-bar-whatsapp:hover,
.top-bar-whatsapp:focus-visible {
    filter: brightness(0.95);
}

.site-header {
    position: fixed;
    top: var(--top-bar-height, 48px);
    left: 0;
    width: 100%;
    z-index: 990;
    background: rgba(255, 255, 255, 0.60);
    border-bottom: 1px solid var(--line);
    transition: top 220ms ease;
}

.middle-bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 72px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.middle-bar-spacer {
    justify-self: start;
    width: 44px;
    height: 44px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    display: block;
    max-height: 64px;
    width: auto;
}

.language-switcher {
    display: flex;
    gap: 8px;
}

.lang-link {
    text-decoration: none;
    color: #fff;
    border: none;
    width: 34px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    background: transparent;
}

.lang-link.has-image {
    font-size: 0;
}

.lang-flag-image {
    width: 20px;
    height: 14px;
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.lang-link.active {
    transform: scale(1.08);
    color: inherit;
}

.top-nav {
    position: fixed;
    top: calc(var(--top-bar-height, 48px) + var(--site-header-height, 72px));
    left: 0;
    width: 100%;
    z-index: 980;
    background: rgba(255, 255, 255, 0.60);
    border-bottom: 1px solid var(--line);
    transition: top 220ms ease;
    padding: 10px 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nav-item {
    text-decoration: none;
    color: var(--ink);
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
}

.nav-item.active {
    border-color: var(--accent);
    background: #fff;
    font-weight: 600;
}

.hamburger {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
}

.top-bar.is-hidden + .site-header {
    top: 0;
}

.top-bar.is-hidden + .site-header + .top-nav {
    top: var(--site-header-height, 72px);
}

.main-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 18px 18px;
    display: grid;
    gap: var(--main-content-gap);
}

.hero,
.content-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    padding: 24px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 2.2vw, 2.6rem);
}

.hero p,
.content-card p {
    margin: 0;
    line-height: 1.6;
}

.content-card h2 {
    margin: 0 0 10px;
    color: var(--accent-2);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--content-grid-gap);
}

.content-grid .content-slot:first-child {
    grid-column: 1 / -1;
}

.content-slot {
    position: relative;
    min-height: 180px;
    border: var(--slot-border-width) solid var(--line);
    border-radius: var(--slot-radius);
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.content-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-slot.is-image .slot-textbox {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    background: transparent;
    color: var(--slot-text-color, #ffffff);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    z-index: 1;
}

.content-slot.is-text {
    background: linear-gradient(165deg, #cceec7 0%, #c2eebc 55%, #aae9a2 100%);
    border-color: rgba(122, 88, 45, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(120, 85, 40, 0.18),
        0 10px 18px rgba(75, 52, 29, 0.16);
    padding: 16px;
}

.content-slot.is-html {
    background: linear-gradient(165deg, #cceec7 0%, #c2eebc 55%, #aae9a2 100%);
    border-color: rgba(122, 88, 45, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(120, 85, 40, 0.18),
        0 10px 18px rgba(75, 52, 29, 0.16);
    padding: 16px;
    overflow-x: auto;
}

.content-slot.is-text .slot-textbox {
    position: static;
    transform: none;
    width: 100%;
    color: var(--slot-text-color, var(--ink));
    text-align: left;
    display: block;
    min-height: 0;
}

.content-slot.is-html .slot-textbox {
    position: static;
    transform: none;
    width: 100%;
    color: var(--slot-text-color, var(--ink));
    text-align: left;
    display: block;
    min-height: 0;
}

.slot-textbox span {
    font-family: "Cinzel", sans-serif;
    font-size: var(--slot-text-size, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
    /* text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); */
    text-shadow: none;
}

.content-slot.is-text .slot-textbox span {
    font-family: "Montserrat", sans-serif;
    font-size: var(--slot-text-size, 1rem);
    font-weight: 500;
    line-height: 1.55;
}

.slot-html,
.slot-html p,
.slot-html li {
    font-family: "Montserrat", sans-serif;
    font-size: var(--slot-text-size, 1rem);
    font-weight: 500;
    line-height: 1.55;
}

.slot-html p {
    margin: 0 0 8px;
}

.slot-html p:last-child {
    margin-bottom: 0;
}

.slot-html h1,
.slot-html h2,
.slot-html h3 {
    font-family: "Cinzel", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--slot-text-color, var(--ink));
}

.slot-html h1 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.slot-html h2 {
    margin: 18px 0 8px;
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.slot-html h3 {
    margin: 14px 0 8px;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.slot-html a {
    color: var(--accent);
    text-decoration: underline;
    word-break: break-word;
}

.slot-html img {
    display: block;
    max-width: 180px;
    height: auto;
    margin-top: 8px;
}

.slot-html iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 12px;
    margin-top: 8px;
}

.slot-html table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
    table-layout: fixed;
}

.slot-html th,
.slot-html td {
    border-bottom: 1px solid var(--line);
    padding: 8px 6px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.slot-html th:last-child,
.slot-html td:last-child {
    text-align: right;
    white-space: normal;
}

.slot-html th:first-child,
.slot-html td:first-child {
    width: 64%;
}

.slot-html th:last-child,
.slot-html td:last-child {
    width: 36%;
}

.site-footer {
    max-width: 1120px;
    margin: 10px auto 30px;
    padding: 0 18px;
    font-size: 0.95rem;
    color: #4f5c61;
}

@media (max-width: 899px) {
    body {
        padding-top: 132px;
    }

    .top-bar-inner,
    .site-header,
    .top-nav,
    .main-content,
    .site-footer {
        max-width: 100%;
    }
}
