:root {
    --ink: #17211f;
    --muted: #64716d;
    --soft: #f6f7f3;
    --surface: #ffffff;
    --line: #e4e8df;
    --brand: #23624d;
    --brand-dark: #174333;
    --sky: #d8ecf2;
    --coral: #d96c55;
    --amber: #e9b44c;
    --mint: #dcefe4;
    --shadow-sm: 0 6px 18px rgba(23, 33, 31, 0.06);
    --shadow-md: 0 18px 45px rgba(23, 33, 31, 0.1);
    --radius: 8px;
    --font: "Manrope", "Nunito", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--soft);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.floating-toys, .hero-emoji, .section-emoji { display: none !important; }

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
}
.brand-copy { display: grid; min-width: 0; }
.brand-copy strong {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.2;
    white-space: nowrap;
}
.brand-copy small {
    color: var(--muted);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}
.main-nav { display: flex; align-items: center; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    color: #42504b;
    font-size: 0.93rem;
    font-weight: 700;
    transition: 180ms ease;
}
.nav-link:hover, .nav-link.active {
    background: var(--mint);
    color: var(--brand-dark);
}
.header-cta, .btn-primary, .btn-secondary, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    transition: 180ms ease;
}
.header-cta, .btn-primary, .btn-submit {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(35, 98, 77, 0.18);
}
.header-cta:hover, .btn-primary:hover, .btn-submit:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}
.btn-secondary {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--brand); background: var(--mint); }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

/* Slider and hero */
.slider-section {
    background: #efe6d6;
    border-bottom: 1px solid rgba(23, 33, 31, 0.14);
}
.slider-container, .slider-track, .slide-item { position: relative; }
.slider-track {
    display: flex;
    transition: transform 0.55s ease;
}
.slide-item {
    min-width: 100%;
    min-height: clamp(520px, 58vw, 720px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.slide-caption {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 6vw, 84px) clamp(28px, 5vw, 76px);
    background: #6548aa;
    color: #fff;
}
.slide-media {
    min-width: 0;
    min-height: inherit;
    background: #d6c1a8;
}
.slide-media img,
.slide-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-caption .hero-badge {
    width: fit-content;
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.slide-caption h3 {
    max-width: 640px;
    margin: 28px 0 18px;
    font-family: "Nunito", var(--font);
    font-size: clamp(2.45rem, 4.7vw, 5rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
}
.slide-caption p {
    color: rgba(255,255,255,0.86);
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    max-width: 56ch;
    margin-bottom: 26px;
}
.slide-caption .btn-primary {
    background: #fff;
    color: #151515;
    border: 2px solid #151515;
    box-shadow: 6px 6px 0 #151515;
}
.slide-caption .btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 #151515;
}
.slide-caption .btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: min(560px, 100%);
    margin-top: clamp(36px, 5vw, 64px);
}
.hero-stats strong {
    display: block;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1;
    letter-spacing: -0.04em;
}
.hero-stats span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.75);
    font-weight: 800;
    font-size: 0.88rem;
}
.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.92);
    color: var(--ink);
    cursor: pointer;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}
.slider-dot.active { width: 28px; border-radius: 999px; background: #fff; }
.hero-section {
    padding: 86px 0 96px;
    background: linear-gradient(180deg, #fff, var(--soft));
}
.hero-content {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
}
.hero-badge, .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
}
.hero-content h1 {
    margin: 20px auto 18px;
    max-width: 850px;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}
.hero-content h1 span { color: var(--coral); }
.hero-content p {
    max-width: 700px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-illustration {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
}
.hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.hero-card-icon, .card-icon, .feature-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--mint) !important;
    color: var(--brand) !important;
}
.hero-card h4 { font-size: 1rem; }
.hero-card p { margin: 2px 0 0; font-size: 0.88rem; color: var(--muted); }

/* Sections and content */
.section {
    padding: 88px 0;
}
.section-fun, .section-cool, .section-pink { background: transparent; }
.section:nth-of-type(even) { background: #fff; }
.section-header {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}
.section-header h2 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.section-header p { color: var(--muted); font-size: 1.05rem; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.card, .testimonial-card, .contact-form, .contact-info-box, .admin-card, .stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.card {
    padding: 28px;
    min-height: 250px;
}
.card h3 {
    margin: 20px 0 8px;
    font-size: 1.25rem;
    letter-spacing: -0.015em;
}
.card p, .testimonial-quote { color: var(--muted); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.feature-item span { font-weight: 700; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: #e9eee8;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 36px 18px 16px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.72));
}
.gallery-overlay h4 { font-size: 1rem; }
.gallery-overlay p { color: rgba(255,255,255,0.82); font-size: 0.88rem; }
.testimonial-card { padding: 26px; }
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--coral);
    color: #fff;
    font-weight: 800;
}
.testimonial-info p { color: var(--muted); font-size: 0.9rem; }
.cta-section {
    padding: 78px 0;
    background: var(--brand-dark);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.cta-section p {
    max-width: 620px;
    margin: 14px auto 28px;
    color: rgba(255,255,255,0.78);
}
.cta-section .btn-primary { background: #fff; color: var(--brand-dark); }

/* Page header and inner pages */
.page-header {
    padding: 76px 0;
    background: linear-gradient(135deg, var(--mint), var(--sky));
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}
.page-header p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.08rem;
}
.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-text h2 {
    margin: 14px 0 18px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.about-text p { margin-bottom: 14px; color: var(--muted); }
.about-image {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Forms and contact */
.contact-form, .contact-info-box { padding: 34px; }
.contact-form h2, .contact-info-box h3 {
    margin-bottom: 24px;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.96rem;
    outline: 0;
}
.form-group textarea { min-height: 136px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(35, 98, 77, 0.12);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-span-2 { grid-column: span 2; }
.checkbox-label {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.checkbox-label input {
    width: 18px;
    min-height: 18px;
}
.contact-info-box {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.contact-info-item i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
}
.contact-info-item strong { display: block; }
.contact-info-item p { color: rgba(255,255,255,0.78); }
.branch-list {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}
.branch-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
}
.branch-card > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
}
.branch-card strong { display: block; }
.branch-card p {
    margin-top: 3px;
    color: rgba(255,255,255,0.78);
}
.branch-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}
.branch-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
}
.alert {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
}
.alert-success { background: #e3f4e9; color: #165136; border: 1px solid #bbdfc7; }
.alert-error { background: #fdeceb; color: #8f2b24; border: 1px solid #f2c0bc; }

/* Footer */
.main-footer {
    background: #111b18;
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1.2fr;
    gap: 36px;
    padding: 58px 0;
}
.footer-brand h3, .footer-section h4 { margin-bottom: 14px; }
.footer-brand p, .footer-links a, .footer-contact li, .footer-bottom p {
    color: rgba(255,255,255,0.68);
}
.footer-links, .footer-contact { list-style: none; }
.footer-links li + li, .footer-contact li + li { margin-top: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact i { margin-top: 5px; color: var(--amber); }
.footer-contact strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}
.footer-map-link {
    display: inline-flex;
    margin-left: 6px;
    color: #fff;
    font-weight: 800;
}
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
}
.social-links a:hover { background: var(--coral); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
}
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

/* Admin */
.admin-wrapper { display: flex; min-height: 100vh; background: #f3f5f1; }
.admin-sidebar {
    width: 260px;
    position: fixed;
    inset: 0 auto 0 0;
    overflow-y: auto;
    background: #111b18;
    color: #fff;
    padding: 24px 0;
}
.admin-sidebar .logo { padding: 0 24px 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .logo h2 { font-size: 1.25rem; }
.admin-sidebar .logo p { color: rgba(255,255,255,0.62); font-size: 0.85rem; }
.admin-nav ul { list-style: none; padding-top: 14px; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}
.admin-nav a:hover, .admin-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.admin-main { flex: 1; margin-left: 260px; padding: 30px; }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.admin-header h1 { font-size: 1.6rem; }
.admin-subtitle { margin-top: 4px; color: var(--muted); font-weight: 700; }
.admin-card { padding: 28px; margin-bottom: 22px; }
.admin-card h2 { margin-bottom: 20px; font-size: 1.25rem; }
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.dashboard-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { padding: 24px; text-align: center; }
.stat-card h3 { font-size: 2rem; color: var(--brand); }
.stat-card p { color: var(--muted); font-weight: 700; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.admin-table th { background: #f7f8f5; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.btn-edit { background: #2f6f88; }
.btn-delete { background: #b43d34; }
.btn-add { background: var(--brand); }
.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.card-title-row h2 { margin-bottom: 0; }
.message-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}
.message-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.message-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 22px;
    align-items: start;
}
.message-list-card, .message-detail-card { min-width: 0; }
.message-list {
    display: grid;
    gap: 12px;
}
.message-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}
.message-list-item.is-unread {
    border-color: #efcf73;
    background: #fff9e7;
}
.message-list-item.is-selected {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(35, 98, 77, 0.12);
}
.message-list-main { min-width: 0; }
.message-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.message-list-top strong, .message-list-item h3, .message-list-item p {
    overflow-wrap: anywhere;
}
.message-list-item h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}
.message-list-item p {
    color: var(--muted);
    font-size: 0.92rem;
}
.message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}
.message-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.message-actions, .message-detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.message-actions { justify-content: flex-end; }
.message-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.message-status.is-new { background: #ffe8a3; color: #755100; }
.message-status.is-read { background: #dfeee5; color: #165136; }
.message-detail-card {
    position: sticky;
    top: 22px;
}
.message-detail-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.message-detail-header h2 {
    margin: 12px 0 4px;
    overflow-wrap: anywhere;
}
.message-detail-header p { color: var(--muted); font-weight: 700; }
.message-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.message-contact-grid div {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f8f5;
}
.message-contact-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.message-contact-grid strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}
.message-body {
    min-height: 190px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #293633;
    white-space: normal;
    overflow-wrap: anywhere;
}
.message-detail-actions { margin-top: 18px; }
.empty-message-detail {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--muted);
    text-align: center;
}
.empty-message-detail i {
    color: var(--brand);
    font-size: 2.4rem;
}
.empty-message-detail h2 {
    margin-bottom: 0;
    color: var(--ink);
}
.login-wrapper {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(135deg, var(--mint), var(--sky));
}
.login-box {
    width: min(420px, 100%);
    padding: 36px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-md);
}
.login-box h1 { text-align: center; font-size: 1.7rem; }
.login-box .subtitle { margin: 6px 0 24px; text-align: center; color: var(--muted); }
.image-preview {
    width: 160px;
    height: 130px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #f7f8f5;
    margin-top: 10px;
}
.image-preview img { width: 100%; height: 100%; object-fit: cover; }
.video-preview {
    width: min(420px, 100%);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #111b18;
}
.video-preview video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.82rem;
}

@media (max-width: 980px) {
    .header-cta { display: none; }
    .cards-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-illustration, .footer-grid { grid-template-columns: 1fr 1fr; }
    .slide-item { grid-template-columns: 1fr; }
    .slide-media { order: 1; min-height: 310px; }
    .slide-caption { order: 2; min-height: auto; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 68px; }
    .brand img, .brand-mark { width: 46px; height: 46px; }
    .brand-copy small { max-width: 155px; }
    .nav-toggle { display: grid; place-items: center; }
    .main-nav { order: 3; }
    .main-nav ul {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 12px 14px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-sm);
    }
    .main-nav ul.active { display: grid; gap: 4px; }
    .nav-link { width: 100%; justify-content: center; }
    .slide-item { min-height: auto; }
    .slide-media { min-height: 260px; }
    .slide-caption { padding: 34px 20px 42px; }
    .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
    .hero-stats strong { font-size: 1.65rem; }
    .hero-stats span { font-size: 0.72rem; }
    .slider-btn { display: none; }
    .hero-section, .section { padding: 58px 0; }
    .hero-illustration, .cards-grid, .gallery-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .contact-form, .contact-info-box, .admin-card { padding: 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-span-2 { grid-column: auto; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 18px; }
}
