* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(120deg, #0f172a, #1d4ed8);
    color: #0f172a;
}

.auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
}

.site-main > .auth-page {
    min-height: calc(100vh - 72px);
}

.auth-panel-brand {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #ffffff;
}

.auth-panel-brand-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.auth-brand-content {
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.auth-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.auth-brand-title {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 1.15;
}

.auth-brand-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.auth-panel-form {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    background: #ffffff;
}

.auth-panel-form .auth-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.app-shell {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background: linear-gradient(120deg, #0f172a, #1d4ed8);
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    height: 100vh;
    max-height: 100vh;
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: width 0.25s ease;
    z-index: 30;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    min-width: 0;
}

.sidebar-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-brand-text {
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.sidebar-collapse-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.sidebar-collapse-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.sidebar-nav {
    flex: 1;
    min-height: 0;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar-footer {
    padding: 12px 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-link svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-link.is-active {
    background: #2563eb;
    color: #ffffff;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-group-trigger {
    width: 100%;
}

.sidebar-group-chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    opacity: 0.75;
}

.sidebar-group.is-open .sidebar-group-chevron {
    transform: rotate(-135deg);
}

.sidebar-subnav {
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-left: 18px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-group.is-open .sidebar-subnav {
    display: flex;
}

.sidebar-subnav[hidden] {
    display: none !important;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-sublink-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-sublink:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.sidebar-sublink.is-active {
    background: rgba(37, 99, 235, 0.22);
    color: #ffffff;
}

.sidebar-group.is-open > .sidebar-group-trigger:not(.is-active) {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.app-shell.sidebar-collapsed .sidebar-subnav,
.app-shell.sidebar-collapsed .sidebar-group-chevron {
    display: none;
}

.sidebar-link-danger {
    color: #fca5a5;
}

.sidebar-link-danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
}

.sidebar-label {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.app-shell.sidebar-collapsed .sidebar {
    width: 76px;
}

.app-shell.sidebar-collapsed .sidebar-brand-text,
.app-shell.sidebar-collapsed .sidebar-label {
    display: none;
}

.app-shell.sidebar-collapsed .sidebar-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
}

.app-shell.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    gap: 0;
}

.app-shell.sidebar-collapsed .sidebar-collapse-btn {
    width: 36px;
    height: 36px;
}

.app-shell.sidebar-collapsed .sidebar-collapse-btn svg {
    transform: rotate(180deg);
}

.app-shell.sidebar-collapsed .sidebar-nav,
.app-shell.sidebar-collapsed .sidebar-footer {
    align-items: center;
    padding-inline: 0;
}

.app-shell.sidebar-collapsed .sidebar-link {
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-inline: auto;
}

.app-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    color: #ffffff;
}

.sidebar-mobile-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 10px;
    cursor: pointer;
}

.sidebar-mobile-toggle span {
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background: #ffffff;
}

.app-topbar-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.app-topbar-name {
    font-size: 14px;
    font-weight: 600;
}

.app-topbar-level {
    font-size: 12px;
    opacity: 0.85;
}

.app-content {
    flex: 1;
    min-height: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sidebar-backdrop {
    display: none;
}

.auth-card {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.25);
}

.dashboard-card {
    width: 100%;
    max-width: 1325px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.25);
}

.register-card {
    max-width: 760px;
}

h1 {
    margin-bottom: 8px;
    color: #0f172a;
}

.subtitle {
    margin-bottom: 20px;
    color: #475569;
}

.form-grid {
    display: grid;
    gap: 10px;
}

.two-cols {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.two-cols .full-width {
    grid-column: 1 / -1;
}

.three-cols .full-width {
    grid-column: 1 / -1;
}

.company-location-row {
    display: grid;
    grid-template-columns: 1fr 1fr 72px;
    gap: 14px;
}

.company-uf-field select {
    width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 24px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

input {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

select {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    outline: none;
    background: #ffffff;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.password-toggle:hover {
    background: #f1f5f9;
    color: #334155;
}

.password-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

button,
.logout-btn {
    margin-top: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

button:hover,
.logout-btn:hover {
    background: #1d4ed8;
}

.switch-link {
    margin-top: 12px;
    font-size: 14px;
    color: #475569;
}

.switch-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.user-profile {
    display: flex;
    gap: 16px;
    align-items: center;
}

.user-profile img,
.avatar-fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
}

.user-data p {
    margin-top: 6px;
    color: #334155;
}

.users-card table {
    width: 100%;
    border-collapse: collapse;
}

.users-card th,
.users-card td {
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    padding: 10px 8px;
    font-size: 14px;
}

.users-card th {
    color: #475569;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.status-pill--success {
    background: #dcfce7;
    color: #166534;
}

.status-pill--muted {
    background: #e2e8f0;
    color: #475569;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}

.list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.list-filters-search {
    flex: 1 1 220px;
}

.list-filters-search input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 14px;
}

.list-filters-per-page {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #57606a;
}

.list-filters-per-page select {
    padding: 10px 12px;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.list-filters-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #1f6feb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.list-filters-btn:hover {
    background: #1a5fd0;
}

.list-filters-clear {
    align-self: center;
    color: #57606a;
    font-size: 14px;
    text-decoration: none;
}

.list-filters-clear:hover {
    text-decoration: underline;
}

.list-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e6e8eb;
}

.list-pagination-summary {
    margin: 0;
    font-size: 14px;
    color: #57606a;
}

.list-pagination-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-pagination-link {
    color: #1f6feb;
    text-decoration: none;
    font-size: 14px;
}

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

.list-pagination-current {
    font-size: 14px;
    color: #24292f;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.table-wrap {
    overflow-x: auto;
}

.mt-16 {
    margin-top: 16px;
}

.link-action {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-row input {
    width: auto;
}

.level-permissions-group {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.level-permissions-group h2 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #0f172a;
}

.level-permissions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

@media (max-width: 720px) {
    .level-permissions-grid {
        grid-template-columns: 1fr;
    }
}

.settings-section {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.dashboard-card > .settings-section {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.dashboard-card > .settings-section:first-of-type {
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.settings-section-header {
    margin-bottom: 18px;
}

.settings-section-header h2 {
    margin-bottom: 6px;
    font-size: 1.15rem;
    color: #0f172a;
}

.settings-section-header p {
    color: #64748b;
    font-size: 14px;
}

.settings-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.settings-accordion-item {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.settings-accordion-heading {
    display: flex;
    align-items: stretch;
}

.settings-accordion-heading .settings-accordion-trigger {
    flex: 1;
    min-width: 0;
}

.settings-accordion-restore-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
    border-left: 1px solid #e2e8f0;
    padding: 0 14px;
}

.settings-accordion-restore-btn {
    margin: 0;
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
    background: transparent;
    color: #64748b;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.settings-accordion-restore-btn:hover {
    background: rgba(255, 255, 255, 0.65);
    color: #2563eb;
}

.settings-accordion-restore-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.settings-accordion-trigger {
    width: 100%;
    margin-top: 0;
    padding: 18px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.settings-accordion-trigger:hover {
    background: rgba(255, 255, 255, 0.65);
}

.settings-accordion-trigger-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.settings-accordion-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.settings-accordion-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.settings-accordion-icon {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.settings-accordion-item.is-open .settings-accordion-icon {
    transform: rotate(-135deg);
    border-color: #2563eb;
}

.settings-accordion-panel {
    padding: 0 20px 20px;
}

.settings-accordion-panel[hidden] {
    display: none;
}

.settings-accordion--nested {
    gap: 10px;
    margin-top: 0;
}

.settings-accordion--nested .settings-accordion-item {
    background: #ffffff;
}

.settings-accordion--nested .settings-accordion-trigger {
    padding: 14px 16px;
}

.settings-accordion--nested .settings-accordion-panel {
    padding: 0 16px 16px;
}

.settings-inline-note {
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
}

.settings-inline-note p {
    margin: 0;
    color: #475569;
}

.settings-inline-note p + p,
.settings-inline-note .field-hint {
    margin-top: 8px;
}

.settings-inline-note a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.page-style-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-style-row {
    display: grid;
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.page-style-row-label {
    font-weight: 600;
    color: #0f172a;
    padding-bottom: 12px;
}

.page-style-row-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.page-style-row-fields input[type="color"] {
    width: 100%;
    min-height: 46px;
    padding: 4px;
}

.page-field-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-field-row {
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) repeat(4, minmax(100px, 1fr));
    gap: 12px;
    align-items: end;
}

.page-field-row-input textarea {
    min-height: 46px;
    resize: vertical;
}

.page-field-style-label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    padding-top: 28px;
}

.page-field-color-picker {
    width: 100%;
    min-height: 46px;
    padding: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.page-field-color-picker::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.page-field-color-picker::-webkit-color-swatch {
    border: 0;
    border-radius: 8px;
}

.page-field-custom-name {
    grid-column: 1 / -1;
}

.page-field-custom-name[hidden] {
    display: none;
}

.page-hero-background-panel {
    margin-top: 14px;
}

.page-hero-background-panel[hidden] {
    display: none;
}

@media (max-width: 720px) {
    .page-style-row {
        grid-template-columns: 1fr;
    }

    .page-style-row-label {
        padding-bottom: 0;
    }

    .page-style-row-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .page-field-row {
        grid-template-columns: 1fr 1fr;
    }

    .page-field-row-input {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .page-field-row {
        grid-template-columns: 1fr;
    }
}

.settings-subsection {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed #dbe2ea;
}

.settings-subsection h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #0f172a;
}

.settings-subsection > p {
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
}

.settings-radio-group--nested {
    margin-top: 14px;
}

.overlay-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 220px));
    gap: 16px 24px;
    margin-top: 16px;
}

.overlay-settings-grid--three-cols {
    grid-template-columns: minmax(160px, 220px) minmax(160px, 220px) minmax(320px, 1fr);
}

.testimonials-edge-settings {
    margin-top: 20px;
}

.testimonials-edge-grid {
    grid-template-columns: repeat(2, minmax(160px, 220px));
}

.page-hero-min-height-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 6px;
}

.page-hero-min-height-row .input-with-suffix {
    flex-shrink: 0;
    margin-top: 0;
}

.page-hero-min-height-hint {
    flex: 1;
    min-width: 0;
    margin: 0;
    line-height: 1.45;
}

.page-hero-min-height-hint strong {
    color: #334155;
    font-weight: 600;
}

.page-hero-video-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.page-hero-video-url-input {
    flex: 1;
    min-width: 0;
}

.page-hero-video-time-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.page-hero-video-time-control > label {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    white-space: nowrap;
}

.page-hero-video-input-row .input-with-suffix {
    margin-top: 0;
}

.page-hero-background-panel > .field-hint {
    margin-top: 10px;
    margin-bottom: 0;
}

.overlay-settings-grid input[type="color"] {
    display: block;
    width: 72px;
    height: 42px;
    margin-top: 6px;
    padding: 2px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.input-with-suffix {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.input-with-suffix input[type="number"] {
    width: 96px;
}

.input-suffix {
    font-size: 15px;
    color: #64748b;
}

.image-source-field {
    margin-top: 18px;
}

.image-source-field > label {
    display: block;
    margin-bottom: 8px;
}

.image-source-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.image-source-controls > input[type="file"] {
    flex: 1 1 auto;
    min-width: 140px;
    width: auto;
    max-width: 100%;
}

.image-source-controls .library-picker,
.image-source-controls .gallery-library-picker {
    flex: 0 0 auto;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    margin: 0;
}

.image-source-controls .library-picker-actions {
    flex-wrap: nowrap;
}

.image-source-controls .library-btn {
    margin-top: 0;
    white-space: nowrap;
}

.image-source-remove {
    margin-top: 12px;
}

.library-picker--compact .library-picker-preview {
    display: none;
}

.identity-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #f8fafc;
}

.identity-preview img {
    max-width: 220px;
    max-height: 80px;
    object-fit: contain;
}

.identity-preview-favicon img {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
}

.identity-save-btn {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .auth-page {
        flex-direction: column;
    }

    .auth-panel-brand,
    .auth-panel-form {
        width: 100%;
    }

    .auth-panel-brand {
        min-height: 42vh;
        padding: 32px 24px;
    }

    .auth-brand-title {
        font-size: 2rem;
    }

    .auth-panel-form {
        flex: 1;
        padding: 32px 24px 40px;
    }

    .app-shell {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .app-main {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    .app-shell.sidebar-mobile-open .sidebar {
        transform: translateX(0);
        box-shadow: 8px 0 30px rgba(15, 23, 42, 0.35);
    }

    .app-shell.sidebar-mobile-open .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 20;
    }

    .app-topbar {
        display: flex;
    }

    .app-content {
        padding: 16px;
        overflow-y: visible;
        min-height: auto;
    }

    .app-shell.sidebar-collapsed .sidebar {
        width: 260px;
    }

    .app-shell.sidebar-collapsed .sidebar-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 18px 16px;
    }

    .app-shell.sidebar-collapsed .sidebar-brand {
        gap: 12px;
    }

    .app-shell.sidebar-collapsed .sidebar-collapse-btn {
        width: 34px;
        height: 34px;
    }

    .app-shell.sidebar-collapsed .sidebar-brand-text,
    .app-shell.sidebar-collapsed .sidebar-label {
        display: block;
    }

    .app-shell.sidebar-collapsed .sidebar-nav,
    .app-shell.sidebar-collapsed .sidebar-footer {
        align-items: stretch;
        padding-inline: 10px;
    }

    .app-shell.sidebar-collapsed .sidebar-link {
        justify-content: flex-start;
        gap: 12px;
        width: auto;
        height: auto;
        padding: 11px 12px;
        margin-inline: 0;
    }
}

@media (max-width: 720px) {
    .two-cols {
        grid-template-columns: 1fr;
    }

    .three-cols {
        grid-template-columns: 1fr;
    }

    .company-location-row {
        grid-template-columns: 1fr;
    }

    .company-uf-field select {
        text-align: left;
    }

    .user-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.site-body {
    --site-font-body: "Segoe UI", Arial, sans-serif;
    --site-font-heading: "Segoe UI", Arial, sans-serif;
    --site-font-brand: "Segoe UI", Arial, sans-serif;
    --site-font-body-weight: 400;
    --site-font-heading-weight: 700;
    --site-font-brand-weight: 700;
    --site-font-body-style: normal;
    --site-font-heading-style: normal;
    --site-font-brand-style: normal;
    --site-font-body-letter-spacing: 0;
    --site-font-heading-letter-spacing: 0;
    --site-font-brand-letter-spacing: 0;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--site-font-body);
    font-weight: var(--site-font-body-weight);
    font-style: var(--site-font-body-style);
    letter-spacing: var(--site-font-body-letter-spacing);
}

.site-body * {
    font-family: inherit;
}

.site-body :where(h1, h2, h3, h4, h5, h6, .site-eyebrow) {
    font-family: var(--site-font-heading);
    font-weight: var(--site-font-heading-weight);
    font-style: var(--site-font-heading-style);
    letter-spacing: var(--site-font-heading-letter-spacing);
}

.site-body .site-brand-text {
    font-family: var(--site-font-brand);
    font-weight: var(--site-font-brand-weight);
    font-style: var(--site-font-brand-style);
    letter-spacing: var(--site-font-brand-letter-spacing);
}

.typography-preview-card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.typography-preview-section {
    margin-top: 8px;
}

.typography-custom-name-wrap {
    margin-top: 12px;
}

.typography-custom-name-wrap[hidden] {
    display: none;
}

.typography-font-variants {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.typography-spacing-stepper {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.typography-spacing-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: stretch;
    gap: 8px;
}

.typography-spacing-field {
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1;
}

.typography-spacing-arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    min-height: 46px;
}

.typography-spacing-btn {
    margin-top: 0;
    flex: 1 1 0;
    width: 40px;
    min-height: 20px;
    padding: 0;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-weight: 400;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.typography-spacing-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.typography-spacing-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.typography-spacing-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background: #ffffff;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .typography-font-variants {
        grid-template-columns: 1fr;
    }
}

.typography-preview-brand {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 1.35rem;
    color: #0f172a;
}

.typography-preview-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    color: #2563eb;
}

.typography-preview-title {
    margin-bottom: 12px;
    font-size: 1.75rem;
    color: #0f172a;
}

.typography-preview-text {
    max-width: 640px;
    color: #475569;
    line-height: 1.7;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--site-menu-header-bg, #0f172a) 96%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.site-header-top {
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: color-mix(in srgb, var(--site-menu-header-bg, #0f172a) 98%, transparent);
}

.site-header-top-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    min-width: 0;
}

.site-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--site-menu-contact-color, #cbd5e1);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.site-header-contact:hover {
    color: var(--site-menu-contact-hover-color, #ffffff);
}

.site-header-contact svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: 0.85;
}

.site-header-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header-top .site-social-links--header {
    flex-shrink: 0;
}

.site-header-top .site-social-link {
    width: 32px;
    height: 32px;
}

.site-header-top .site-social-link svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 901px) {
    .site-header-top {
        display: block;
    }
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--site-menu-brand-color, #ffffff);
}

.site-brand-icon,
.site-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.site-brand-icon {
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.site-brand-logo {
    object-fit: contain;
    background: transparent;
}

.site-brand-text {
    font-size: 18px;
    font-weight: var(--site-font-brand-weight, 700);
    font-style: var(--site-font-brand-style, normal);
    letter-spacing: var(--site-font-brand-letter-spacing, 0);
}

.site-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.site-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background: #ffffff;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    transform-origin: center;
}

.site-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-nav-link {
    color: var(--site-menu-nav-link-color, #cbd5e1);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--site-menu-nav-link-hover-color, #ffffff);
}

.site-header-end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.site-social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.9;
}

.site-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-social-links--footer {
    justify-content: center;
    margin-bottom: 12px;
}

.site-social-links--mobile {
    display: none;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
}

.site-nav-login {
    background: #2563eb;
    color: #ffffff !important;
}

.site-nav-login:hover {
    background: #1d4ed8;
}

.site-main {
    min-height: calc(100vh - 140px);
}

.site-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 72px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #ffffff;
}

.site-hero--has-bg {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-hero--custom-color {
    background-image: none;
}

.site-hero--has-video {
    background-color: #0f172a;
    background-image: none;
}

.site-hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.site-hero-video-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.site-hero-video-media iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 0;
    pointer-events: none !important;
    max-width: none;
    max-height: none;
}

.site-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.site-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.site-hero--custom-min-height {
    display: flex;
    align-items: center;
}

.site-hero--custom-min-height .site-hero-content {
    width: 100%;
}

.site-hero .site-eyebrow {
    display: inline-block;
}

.site-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: var(--site-font-heading-weight, 600);
    font-style: var(--site-font-heading-style, normal);
    letter-spacing: var(--site-font-heading-letter-spacing, 0.04em);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.site-hero h1 {
    max-width: 720px;
    margin: 0 auto 16px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.site-hero p {
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.site-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.site-btn-primary {
    background: #ffffff;
    color: #1d4ed8;
}

.site-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.site-section {
    padding: 56px 0;
}

.site-home-block--visual {
    position: relative;
    overflow: hidden;
}

.site-home-block--visual.site-home-block--gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #ffffff;
}

.site-home-block--has-bg {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-home-block--custom-color {
    background-image: none;
}

.site-home-block--has-video {
    background-color: #0f172a;
    background-image: none;
}

.site-home-block--custom-min-height {
    display: flex;
    align-items: center;
}

.site-home-block--custom-min-height .site-home-block-content {
    width: 100%;
}

.site-home-block-content {
    position: relative;
    z-index: 2;
}

.site-home-block--visual.site-home-block--gradient .site-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.site-home-block--visual.site-home-block--gradient h2 {
    color: #ffffff;
}

.site-about-block--visual {
    position: relative;
    overflow: hidden;
}

.site-about-block--visual.site-about-block--gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #ffffff;
}

.site-about-block--has-bg {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.site-about-block--custom-color {
    background-image: none;
}

.site-about-block--has-video {
    background-color: #0f172a;
    background-image: none;
}

.site-about-block--custom-min-height {
    display: flex;
    align-items: center;
}

.site-about-block--custom-min-height .site-about-block-content {
    width: 100%;
}

.site-about-block-content {
    position: relative;
    z-index: 2;
}

.site-about-block--visual.site-about-block--gradient .site-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.site-about-block--visual.site-about-block--gradient h2 {
    color: #ffffff;
}

.site-about-block .site-hero-video,
.site-about-block .site-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.site-about-block .site-hero-overlay {
    z-index: 1;
}

.partners-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.partners-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.partners-section-header h2 {
    margin-top: 8px;
}

.partners-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-carousel-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: partners-carousel-scroll var(--partners-carousel-duration, 40s) linear infinite;
}

.partners-carousel--single .partners-carousel-track {
    width: 100%;
    justify-content: center;
    animation: none;
}

.partners-carousel--single {
    mask-image: none;
}

.partners-carousel-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
}

.partners-carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.partners-carousel-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes partners-carousel-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-carousel-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

.partner-thumb {
    width: 72px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.partner-form-preview img {
    max-width: 220px;
    max-height: 100px;
}

.gallery-thumb {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.gallery-add-form {
    margin-bottom: 24px;
}

.gallery-toggle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gallery-toggle-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-toggle-card.is-active {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.gallery-toggle-preview {
    aspect-ratio: 4 / 3;
    background: #f8fafc;
}

.gallery-toggle-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-toggle-body {
    padding: 12px;
}

.gallery-toggle-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.gallery-toggle-form {
    margin: 0;
}

.gallery-toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
}

.gallery-toggle-switch input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.gallery-remove-form {
    display: inline;
    margin: 0;
}

.gallery-remove-form button {
    margin-top: 0;
    padding: 0;
}

.home-gallery-section {
    background: #f8fafc;
}

.home-gallery-header {
    text-align: center;
    margin-bottom: 32px;
}

.home-gallery-header h2 {
    margin-top: 8px;
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.home-gallery-grid--masonry {
    display: block;
    column-count: 3;
    column-gap: 16px;
}

.home-gallery-grid--masonry .home-gallery-item {
    aspect-ratio: auto;
    display: inline-block;
    width: 100%;
    margin: 0 0 16px;
    break-inside: avoid;
}

.home-gallery-grid--masonry .home-gallery-item img {
    height: auto;
}

@media (max-width: 900px) {
    .home-gallery-grid--masonry {
        column-count: 2;
    }
}

@media (max-width: 560px) {
    .home-gallery-grid--masonry {
        column-count: 1;
    }
}

.home-gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    aspect-ratio: 4 / 3;
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.home-gallery-item:hover img {
    transform: scale(1.04);
}

.home-testimonials-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 42%, #5b21b6 100%);
    color: #ffffff;
    padding: 96px 0 108px;
}

.home-testimonials-section--edge-curves::before,
.home-testimonials-section--edge-curves::after {
    content: '';
    position: absolute;
    left: -8%;
    right: -8%;
    background: var(--testimonials-edge-fill, #ffffff);
    z-index: 1;
    pointer-events: none;
}

.home-testimonials-section--edge-curves:not([data-edge-top="0"])::before {
    top: calc(var(--testimonials-edge-top, 0px) * -1);
    height: calc(var(--testimonials-edge-top, 0px) * 2);
    border-radius: 0 0 50% 50%;
}

.home-testimonials-section--edge-curves:not([data-edge-bottom="0"])::after {
    bottom: calc(var(--testimonials-edge-bottom, 0px) * -1);
    height: calc(var(--testimonials-edge-bottom, 0px) * 2);
    border-radius: 50% 50% 0 0;
}

.home-testimonials-section--edge-curves[data-edge-top="0"]::before,
.home-testimonials-section--edge-curves[data-edge-bottom="0"]::after {
    content: none;
}

.home-testimonials-edge-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-testimonials-edge {
    position: absolute;
    background: var(--testimonials-edge-fill, #ffffff);
}

.home-testimonials-edge--left {
    left: calc(var(--testimonials-edge-left, 0px) * -1);
    top: -8%;
    bottom: -8%;
    width: calc(var(--testimonials-edge-left, 0px) * 2);
    border-radius: 0 50% 50% 0;
}

.home-testimonials-edge--right {
    right: calc(var(--testimonials-edge-right, 0px) * -1);
    top: -8%;
    bottom: -8%;
    width: calc(var(--testimonials-edge-right, 0px) * 2);
    border-radius: 50% 0 0 50%;
}

.home-testimonials-section.site-home-block--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-testimonials-section.site-home-block--visual.site-home-block--gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 42%, #5b21b6 100%);
}

.home-testimonials-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: center;
}

.home-testimonials-intro {
    max-width: 460px;
}

.home-testimonials-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    margin-bottom: 12px;
}

.home-testimonials-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
}

.home-testimonials-title-highlight {
    display: inline-block;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(46, 16, 101, 0.72);
}

.home-testimonials-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    font-size: 0.98rem;
}

.home-testimonials-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.home-testimonials-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 2px;
}

.home-testimonial-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 300px;
}

.home-testimonial-card {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 32px 36px 64px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-testimonial-quote {
    position: absolute;
    top: -8px;
    right: 28px;
    z-index: 2;
    font-size: 5rem;
    line-height: 1;
    color: #facc15;
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
}

.home-testimonial-text {
    margin: 0;
    text-align: center;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    max-width: 92%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-testimonial-author {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -36px;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.home-testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #7c3aed;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    background: #ffffff;
    flex-shrink: 0;
}

.home-testimonial-stars {
    display: flex;
    gap: 4px;
}

.home-testimonial-star {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.95rem;
    line-height: 1;
}

.home-testimonial-star.is-filled {
    color: #facc15;
}

.home-testimonial-name {
    font-size: 1.05rem;
    color: #ffffff;
}

.home-testimonial-role {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
    .home-testimonials-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-testimonials-intro {
        max-width: none;
        text-align: center;
    }

    .home-testimonials-section {
        padding: 80px 0 92px;
    }

    .home-testimonial-card {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        padding: 28px 24px 56px;
    }

    .home-testimonial-frame {
        min-height: 280px;
    }

    .home-testimonial-quote {
        right: 16px;
        font-size: 4rem;
    }
}

.library-upload-form {
    margin-bottom: 24px;
}

.library-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px;
    background: #f8fafc;
}

.library-upload-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    cursor: pointer;
}

.library-upload-label span {
    color: #64748b;
    font-size: 14px;
}

.library-upload-btn,
.library-btn {
    margin-top: 12px;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    cursor: pointer;
}

.library-upload-btn,
.library-btn-secondary {
    background: #2563eb;
    color: #ffffff;
}

.library-upload-btn:hover,
.library-btn-secondary:hover {
    background: #1d4ed8;
}

.library-btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.library-btn-danger:hover {
    background: #b91c1c;
}

.library-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.library-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.library-empty {
    padding: 32px;
    text-align: center;
    color: #64748b;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.library-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.library-card-select {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.library-card-select input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.library-card-preview {
    aspect-ratio: 4 / 3;
    background: #f8fafc;
}

.library-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.library-card-body {
    padding: 12px;
}

.library-card-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.library-card-meta {
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.library-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.link-action-danger {
    color: #dc2626;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.link-action-danger:hover {
    color: #b91c1c;
}

.library-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.library-picker-preview {
    width: 120px;
    height: 80px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.library-picker-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.library-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.library-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.library-picker-modal[hidden] {
    display: none;
}

.library-picker-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.library-picker-modal-dialog {
    position: relative;
    width: min(1120px, calc(100vw - 40px));
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.library-picker-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.library-picker-modal-header h2 {
    font-size: 1.25rem;
    color: #0f172a;
}

.library-picker-modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.library-picker-modal-body {
    padding: 16px 20px 20px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    align-content: start;
}

.library-picker-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    color: #0f172a;
    text-align: left;
    padding: 0;
    margin: 0;
    font-weight: 500;
}

.library-picker-option.is-selected,
.library-picker-option:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.library-picker-option img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.library-picker-option span {
    display: block;
    padding: 10px 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.library-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.library-folders-panel {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.library-folders-header h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.library-folders-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.library-folder-row {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 8px;
    min-height: 36px;
}

.library-folder-row:hover {
    background: #eef2ff;
}

.library-folder-row.is-active {
    background: #dbeafe;
}

.library-folder-delete-form {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 6px 0 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.library-folder-row:hover .library-folder-delete-form,
.library-folder-row:focus-within .library-folder-delete-form {
    opacity: 1;
    visibility: visible;
}

.library-folder-row.is-active .library-folder-link,
.library-folder-link.is-active {
    background: transparent;
    color: #1d4ed8;
}

.library-folder-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 6px 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.25;
    min-height: 36px;
    box-sizing: border-box;
}

.library-folder-link:hover {
    background: transparent;
}

.library-folder-count {
    font-size: 12px;
    color: #64748b;
}

.library-folder-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
    font-weight: 400;
    box-sizing: border-box;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.library-folder-delete:hover {
    color: #dc2626;
    background: #fee2e2;
}

.library-folder-delete:focus-visible {
    opacity: 1;
    visibility: visible;
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.library-folder-create-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.library-folder-create-form input {
    min-width: 0;
    margin: 0;
}

.library-folder-create-form .library-btn {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.library-current-folder {
    margin: 0 0 16px;
    color: #475569;
}

.library-picker-modal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
    min-height: 420px;
    padding: 0 20px 20px;
}

.library-picker-folders {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid #e2e8f0;
    padding: 16px 16px 16px 0;
    max-height: 520px;
    overflow: auto;
    background: #f8fafc;
    margin-right: 16px;
    border-radius: 12px 0 0 12px;
}

.library-picker-folder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid transparent;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.library-picker-folder:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.library-picker-folder.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.library-picker-folder span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 2px 8px;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.library-picker-folder:hover span {
    color: #1d4ed8;
    background: #dbeafe;
}

.library-picker-folder.is-active span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.library-picker-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px 14px;
}

.library-picker-modal-toolbar .field-hint {
    color: #475569;
}

.library-picker-option--multi {
    cursor: pointer;
    position: relative;
}

.library-picker-option--multi span {
    color: #334155;
}

.library-picker-option--multi input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.library-picker-option--multi:has(input:checked) {
    outline: 2px solid #2563eb;
}

.gallery-library-picker {
    margin-top: 0;
}

.gallery-library-hidden {
    display: none;
}

@media (max-width: 900px) {
    .library-layout,
    .library-picker-modal-layout {
        grid-template-columns: 1fr;
        padding: 0 16px 16px;
    }

    .library-picker-folders {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
        padding: 12px 0 16px;
        margin-right: 0;
        margin-bottom: 12px;
        max-height: 200px;
        border-radius: 12px;
    }
}

.site-page-header {
    position: relative;
    overflow: hidden;
    padding: 56px 0 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.site-page-header--gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    color: #ffffff;
    border-bottom: 0;
}

.site-page-header--has-bg {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    border-bottom: 0;
}

.site-page-header--custom-color {
    color: #ffffff;
    border-bottom: 0;
}

.site-page-header--has-video {
    background-color: #0f172a;
    background-image: none;
    color: #ffffff;
    border-bottom: 0;
}

.site-page-header .site-hero-video,
.site-page-header .site-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.site-page-header .site-hero-overlay {
    z-index: 1;
}

.site-page-header-content {
    position: relative;
    z-index: 2;
}

.site-page-header--custom-min-height {
    display: flex;
    align-items: center;
}

.site-page-header--custom-min-height .site-page-header-content {
    width: 100%;
}

.site-page-header--visual .site-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.site-page-header--visual h1,
.site-page-header--visual .site-page-description {
    color: #ffffff;
}

.site-page-header h1 {
    margin-bottom: 8px;
}

.site-page-header p {
    color: #64748b;
    max-width: 720px;
}

.about-page-header {
    position: relative;
    overflow: hidden;
}

.about-page-header--has-bg {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-color: transparent;
    padding: 72px 0 48px;
}

.about-page-header-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.about-page-header-content {
    position: relative;
    z-index: 1;
}

.about-page-header--has-overlay .about-page-intro-text h1,
.about-page-header--has-overlay .about-bio {
    color: #f8fafc;
}

.about-page-header--has-overlay .about-page-intro-text h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.about-intro-section {
    padding: 40px 0 8px;
}

.about-page-intro {
    display: grid;
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: 32px;
    align-items: center;
}

.about-page-intro--image-only {
    grid-template-columns: minmax(220px, 320px);
    justify-content: center;
    justify-items: center;
}

.about-page-intro--text-only {
    grid-template-columns: minmax(0, 1fr);
    max-width: 720px;
}

.about-featured-image {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    aspect-ratio: 1 / 1;
    width: min(100%, 320px);
}

.about-featured-image--square {
    border-radius: 18px;
}

.about-featured-image--round {
    border-radius: 50%;
}

.about-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-page-intro-text h1 {
    margin-bottom: 12px;
}

.about-page-intro-text .about-bio {
    margin: 0;
}

.about-bio {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
}

.about-page-content p + p {
    margin-top: 14px;
}

.about-video-tabs {
    margin-top: 0;
}

.about-videos-section {
    padding-top: 48px;
}

.about-video-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.about-video-tab {
    appearance: none;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.about-video-tab:hover {
    border-color: #94a3b8;
}

.about-video-tab.is-active {
    background: var(--site-primary, #6d28d9);
    border-color: var(--site-primary, #6d28d9);
    color: #ffffff;
}

.about-video-panel {
    display: none;
}

.about-video-panel.is-active {
    display: block;
}

.about-institutional-video {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.about-video-player {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #0a0a0a;
}

.about-video-player--16-9 {
    aspect-ratio: 16 / 9;
}

.about-video-player--9-16 {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
}

.about-video-player__surface {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-video-player__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-video-player__poster--fallback {
    background:
        radial-gradient(circle at 30% 20%, rgba(109, 40, 217, 0.35), transparent 55%),
        linear-gradient(160deg, #111827 0%, #020617 100%);
}

.about-video-player__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.about-video-player__play:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: #ffffff;
}

.about-video-player__play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #111827;
}

.about-video-player__frame {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    background: #000000;
}

.about-video-player__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-video-player.is-playing .about-video-player__poster,
.about-video-player.is-playing .about-video-player__play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.about-video-player--youtube.is-playing .about-video-player__iframe {
    width: 100%;
    height: 100%;
}

.about-video-player--instagram.is-playing .about-video-player__iframe,
.about-video-player--tiktok.is-playing .about-video-player__iframe,
.about-video-player--facebook.is-playing .about-video-player__iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 145%;
    height: 145%;
    transform: translate(-50%, -50%);
    border: 0;
}

.about-video-player--instagram.is-playing .about-video-player__iframe {
    width: 165%;
    height: 165%;
    transform: translate(-50%, -54%);
}

.about-video-player--tiktok.is-playing .about-video-player__iframe {
    width: 155%;
    height: 155%;
    transform: translate(-50%, -52%);
}

.about-video-player--facebook.is-playing .about-video-player__iframe {
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
}

.about-team-videos-feed {
    display: grid;
    gap: 24px;
    width: 100%;
}

.about-team-videos-item {
    width: 100%;
}

.about-team-videos-list {
    display: grid;
    gap: 10px;
    margin: 10px 0 12px;
}

.about-team-video-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.about-team-video-remove {
    width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.about-team-video-remove:hover {
    color: #dc2626;
    border-color: #fca5a5;
}

.about-team-video-add {
    margin-top: 4px;
    appearance: none;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
}

.about-team-video-add:hover {
    border-color: #64748b;
    background: #f1f5f9;
}

.about-team-section {
    padding-top: 48px;
}

.about-stats-section {
    padding: 64px 0;
}

.about-stats-section:not(.site-about-block--visual) {
    background: #ffffff;
    color: #0f172a;
}

.about-stats-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.about-stats-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-stats-title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.about-stats-description {
    margin: 0;
    line-height: 1.6;
}

.about-stats-carousel {
    width: 100%;
}

.about-stats-viewport {
    overflow: hidden;
    width: 100%;
}

.about-stats-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.about-stats-carousel--single .about-stats-track {
    justify-content: center;
    flex-wrap: wrap;
    transform: none !important;
}

.about-stats-item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    text-align: center;
    padding: 12px 8px;
}

.about-stats-carousel--single .about-stats-item {
    flex: 1 1 160px;
    max-width: 220px;
}

.about-stats-value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-stats-label {
    display: block;
    font-size: 1rem;
}

.about-counters-list {
    display: grid;
    gap: 10px;
    margin: 10px 0 12px;
}

.about-counter-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
}

.about-counter-row input {
    margin: 0;
}

.about-counter-remove {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    color: #94a3b8;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.about-counter-remove svg {
    display: block;
    width: 18px;
    height: 18px;
}

.about-counter-remove:hover {
    color: #dc2626;
    border-color: #fca5a5;
    background: #fef2f2;
}

.about-counter-add {
    margin-top: 4px;
    appearance: none;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
}

.about-counter-add:hover {
    border-color: #64748b;
    background: #f1f5f9;
}

@media (max-width: 900px) {
    .about-stats-item {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 560px) {
    .about-stats-item {
        flex-basis: 100%;
    }

    .about-counter-row {
        grid-template-columns: 1fr;
    }

    .about-counter-remove {
        justify-self: end;
    }
}

.about-team-header {
    margin-bottom: 24px;
}

.about-team-carousel {
    position: relative;
    width: 100%;
}

.about-team-viewport {
    overflow: hidden;
    width: 100%;
}

.about-team-track {
    display: flex;
    gap: 16px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.about-team-carousel--static .about-team-viewport {
    overflow: visible;
}

.about-team-carousel--static .about-team-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    transform: none !important;
}

.about-team-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.about-team-carousel:not(.about-team-carousel--static) .about-team-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
}

.about-team-card-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.about-team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-team-card-body {
    padding: 14px;
}

.about-team-card-body h3 {
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.about-team-card-role {
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.about-team-card-bio {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-team-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 40px;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.about-team-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.about-team-nav:hover {
    background: rgba(255, 255, 255, 0.98);
    color: #2563eb;
}

.about-team-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.about-team-nav--prev {
    left: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0 8px 8px 0;
}

.about-team-nav--next {
    right: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
}

.team-thumb {
    border-radius: 999px;
    object-fit: cover;
}

.team-form-preview img {
    border-radius: 18px;
}

@media (max-width: 1023px) {
    .about-team-carousel--static .about-team-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-team-carousel:not(.about-team-carousel--static) .about-team-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .about-team-nav {
        width: 32px;
        height: 48px;
    }
}

@media (max-width: 639px) {
    .about-team-carousel--static .about-team-track {
        grid-template-columns: 1fr;
    }

    .about-team-carousel:not(.about-team-carousel--static) .about-team-card {
        flex-basis: 100%;
    }

    .about-team-nav {
        width: 30px;
        height: 44px;
    }
}

.about-featured-preview {
    display: inline-block;
    overflow: hidden;
}

.about-featured-preview img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.about-featured-preview--square img {
    border-radius: 18px;
}

.about-featured-preview--round img {
    border-radius: 50%;
}

.about-header-bg-preview img {
    width: 100%;
    max-width: 480px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .about-intro-section {
        padding-top: 32px;
    }

    .about-page-intro,
    .about-page-intro--image-only {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .about-featured-image {
        max-width: 320px;
        margin: 0 auto;
    }
}

.site-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.site-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

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

.site-feature-card,
.site-content-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.site-feature-card h2 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.home-services-header {
    margin-bottom: 28px;
    text-align: center;
}

.home-services-header h2 {
    margin-top: 8px;
}

.home-services-actions {
    margin-top: 28px;
    text-align: center;
}

.home-service-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.home-service-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-service-card--link:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.home-service-card-title {
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.home-service-card-cta {
    display: inline-flex;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.service-detail-info {
    margin-bottom: 28px;
}

.service-detail-actions {
    margin-top: 32px;
}

.home-service-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.home-service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-service-card-body {
    padding: 14px;
}

.home-service-card-body h2,
.home-service-card-body h3 {
    margin-bottom: 4px;
}

.home-service-card-body p {
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-services-grid,
.home-services-page-grid {
    align-items: stretch;
}

.blog-editor {
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.blog-editor .ql-toolbar {
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.blog-editor .ql-container {
    border: 0;
    min-height: 320px;
    font-size: 15px;
    font-family: inherit;
}

.blog-editor-surface {
    min-height: 280px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.blog-post-card {
    height: 100%;
}

.blog-post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-post-card-link:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.blog-post-card-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.blog-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    flex: 1;
}

.blog-post-card-date,
.blog-article-date {
    font-size: 0.85rem;
    color: #64748b;
}

.blog-post-card-body h2 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #0f172a;
}

.blog-post-card-body p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card-cta {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

@media (max-width: 1023px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
}

.blog-article-summary {
    margin-top: 12px;
    color: #475569;
    line-height: 1.7;
    max-width: 760px;
}

.blog-article-cover {
    margin: 0 0 28px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.blog-article-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.blog-article-content {
    max-width: 760px;
    color: #334155;
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: #0f172a;
    line-height: 1.3;
    margin: 1.6em 0 0.6em;
}

.blog-article-content h1:first-child,
.blog-article-content h2:first-child,
.blog-article-content h3:first-child,
.blog-article-content h4:first-child {
    margin-top: 0;
}

.blog-article-content p {
    margin: 0 0 1em;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.blog-article-content blockquote {
    margin: 1.2em 0;
    padding: 12px 18px;
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    color: #475569;
}

.blog-article-content a {
    color: #2563eb;
    text-decoration: underline;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.services-display-settings {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .site-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .site-grid-3,
    .site-grid-4,
    .site-grid-2 {
        grid-template-columns: 1fr;
    }
}

.service-home-toggle {
    margin-top: 4px;
}

.site-feature-card p,
.site-content-block p {
    color: #475569;
    line-height: 1.7;
}

.site-content-block p + p {
    margin-top: 12px;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.project-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
    flex: 1 1 160px;
}

.project-filter-field label {
    font-size: 13px;
    color: #475569;
}

.project-filter-field select {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}

.project-filter-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.project-filter-btn:hover {
    background: #1d4ed8;
}

.project-filter-clear {
    align-self: center;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
}

.project-filter-clear:hover {
    text-decoration: underline;
}

.service-tags-field {
    display: grid;
    gap: 12px;
}

.service-tags-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
}

.service-tags-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.service-tags-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
}

.service-tags-box:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.service-tags-box .service-tag-input {
    flex: 1 1 120px;
    width: auto;
    min-width: 120px;
    height: 32px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.service-tags-box .service-tag-input:focus {
    border: none;
    box-shadow: none;
}

.service-tags-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.service-tags-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.service-tags-suggestions,
.service-tags-options-menu {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 20;
}

.service-tags-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
}

.service-tags-suggestion-item,
.service-tags-options-item {
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    cursor: pointer;
}

.service-tags-suggestion-item:hover,
.service-tags-suggestion-item.is-active,
.service-tags-options-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.service-tags-options-empty {
    padding: 10px 14px;
    font-size: 13px;
    color: #64748b;
}

.service-tags-options-wrap {
    position: relative;
    flex: 0 0 auto;
}

.service-tags-options-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.service-tags-options-btn:hover:not(:disabled),
.service-tags-options-wrap.is-open .service-tags-options-btn {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.service-tags-options-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-tags-options-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 220px;
}

@media (max-width: 640px) {
    .service-tags-toolbar {
        flex-wrap: wrap;
    }

    .service-tags-options-wrap {
        width: 100%;
    }

    .service-tags-options-btn {
        width: 100%;
    }
}

.service-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding: 4px 12px 4px 6px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #f8fafc;
    white-space: nowrap;
    vertical-align: middle;
}

.service-tag.is-destaque {
    border-color: #2563eb;
    background: #eff6ff;
}

.service-tag-label {
    font-size: 13px;
    line-height: 1;
    color: #0f172a;
}

.service-tag-destaque {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.service-tag-destaque input[type="radio"] {
    width: 14px;
    height: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    flex: none;
    cursor: pointer;
}

.service-tag-remove {
    position: absolute;
    top: 1px;
    right: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin: 0;
    border: none;
    border-radius: 3px;
    background: transparent;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.service-tag-remove:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.project-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.project-card-cta {
    display: inline-flex;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}

.project-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.project-card-client {
    position: absolute;
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    border-radius: 5px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card-service {
    position: absolute;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card-image img,
.project-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    font-size: 2rem;
    font-weight: 700;
}

.project-card-body {
    padding: 14px;
}

.project-card-body h2 {
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.project-card-meta {
    list-style: none;
    display: grid;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.event-back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

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

.event-detail-description {
    max-width: 760px;
    margin-top: 10px;
    color: #64748b;
    line-height: 1.7;
}

.event-detail-info {
    margin-bottom: 28px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.event-detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.event-detail-gallery-item {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-detail-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.event-detail-gallery-item.is-hidden {
    display: none;
}

.event-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

body.lightbox-open {
    overflow: hidden;
}

.event-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.event-lightbox[hidden] {
    display: none !important;
}

.event-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
}

.event-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.event-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.event-lightbox-image-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.event-lightbox-image-wrap img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.event-lightbox-counter {
    margin: 0;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.event-lightbox-close,
.event-lightbox-nav {
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.event-lightbox-close:hover,
.event-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.event-lightbox-close {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.event-lightbox-close span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-1px);
}

.event-lightbox-nav {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
}

.event-lightbox-nav span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 32px;
    line-height: 1;
    font-weight: 300;
    transform: translateY(-1px);
}

.event-lightbox-prev span {
    padding-right: 2px;
}

.event-lightbox-next span {
    padding-left: 2px;
}

@media (max-width: 900px) {
    .event-lightbox-stage {
        position: relative;
        gap: 0;
    }

    .event-lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        background: rgba(15, 23, 42, 0.65);
    }

    .event-lightbox-prev {
        left: 8px;
    }

    .event-lightbox-next {
        right: 8px;
    }

    .event-lightbox-close {
        bottom: 12px;
        width: 44px;
        height: 44px;
    }
}

.event-gallery-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.event-gallery-count {
    font-size: 14px;
    color: #64748b;
}

.site-empty-state {
    padding: 48px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: #64748b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
}

.settings-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #334155;
    cursor: pointer;
}

.settings-checkbox input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.settings-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.settings-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.settings-switch-slider {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.settings-switch-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease;
}

.settings-switch input:checked + .settings-switch-slider {
    background: #2563eb;
}

.settings-switch input:checked + .settings-switch-slider::before {
    transform: translateX(20px);
}

.settings-switch-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.social-settings-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-settings-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.social-settings-section-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.social-settings-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    background: #f8fafc;
}

.social-settings-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.social-settings-item-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.social-settings-link-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.social-settings-link-row label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.social-settings-link-row input {
    width: 100%;
}

.social-settings-colors-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.social-settings-colors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.social-settings-color-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.social-settings-color-field label {
    font-size: 13px;
    color: #64748b;
}

.social-settings-color-field input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
}

@media (max-width: 720px) {
    .social-settings-colors-grid {
        grid-template-columns: 1fr;
    }
}

.menu-settings-colors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    .menu-settings-colors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .menu-settings-colors-grid {
        grid-template-columns: 1fr;
    }
}

.settings-radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.settings-radio-label {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.settings-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #334155;
    cursor: pointer;
}

.settings-radio input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: transparent;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float--right {
    right: 24px;
}

.whatsapp-float--left {
    left: 24px;
}

.whatsapp-float svg {
    width: 64px;
    height: 64px;
    fill: #25d366;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.contact-messages-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
}

.contact-message-row--unread {
    background: #f8fbff;
}

.contact-message-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.contact-message-status--unread {
    background: #dbeafe;
    color: #1d4ed8;
}

.contact-message-detail {
    margin-top: 8px;
}

.contact-message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 20px;
    color: #475569;
}

.contact-message-fields {
    margin-bottom: 0;
}

.contact-message-message {
    width: 100%;
    margin-top: 14px;
}

.contact-message-message label {
    display: block;
    margin-bottom: 4px;
}

.contact-message-fields label {
    margin-bottom: 4px;
}

.contact-message-field {
    margin: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    color: #0f172a;
    word-break: break-word;
}

.contact-message-field a {
    color: #2563eb;
    text-decoration: none;
}

.contact-message-field a:hover {
    text-decoration: underline;
}

.contact-message-body {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    min-height: 160px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    white-space: normal;
    color: #0f172a;
}

.contact-message-actions {
    margin-top: 24px;
}

textarea {
    width: 100%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    outline: none;
    resize: vertical;
    font-family: inherit;
}

textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.field-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.field-hint.is-loading {
    color: #2563eb;
}

.field-hint.is-success {
    color: #166534;
}

.field-hint.is-error {
    color: #991b1b;
}

.event-gallery-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.event-gallery-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.event-gallery-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.event-gallery-item .check-row,
.event-gallery-item .radio-row {
    padding: 10px;
    font-size: 13px;
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.radio-row input {
    width: auto;
}

.event-gallery-item {
    position: relative;
}

.event-gallery-item.is-featured {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

.project-card-description {
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .project-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .project-cards {
        grid-template-columns: 1fr;
    }
}

.site-footer {
    padding: 24px;
    background: var(--site-menu-footer-bg, #0f172a);
    color: var(--site-menu-footer-text-color, #94a3b8);
}

.site-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    .site-nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 0 24px;
        background: var(--site-menu-header-bg, #0f172a);
        border-bottom: 1px solid transparent;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition:
            max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.4s ease,
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.4s ease,
            visibility 0.5s;
    }

    .site-nav.is-open {
        max-height: 480px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 12px 24px 20px;
        border-bottom-color: rgba(255, 255, 255, 0.08);
        pointer-events: auto;
    }

    .site-header-top {
        display: none !important;
    }

    .site-social-links--mobile {
        display: flex;
        justify-content: flex-end;
    }

    .site-header-end {
        margin-left: auto;
        flex-shrink: 0;
    }

    .site-nav .site-nav-link {
        opacity: 0;
        transform: translateY(-8px);
        transition:
            opacity 0.35s ease,
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            background 0.2s ease,
            color 0.2s ease;
    }

    .site-nav.is-open .site-nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav.is-open .site-nav-link:nth-child(1) { transition-delay: 0.06s; }
    .site-nav.is-open .site-nav-link:nth-child(2) { transition-delay: 0.1s; }
    .site-nav.is-open .site-nav-link:nth-child(3) { transition-delay: 0.14s; }
    .site-nav.is-open .site-nav-link:nth-child(4) { transition-delay: 0.18s; }
    .site-nav.is-open .site-nav-link:nth-child(5) { transition-delay: 0.22s; }
    .site-nav.is-open .site-nav-link:nth-child(6) { transition-delay: 0.26s; }

    .site-header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .site-grid-3,
    .site-grid-4,
    .site-grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
