/* TORELEC_ CSS ARCHITECTURE V1.3
   Designed for: Ing. Anyelver Torres
   Tone: Ingeniería clara + acento coral
*/

:root {
    /* Paleta clara */
    --bg-main: #eef1f7;
    --bg-card: #ffffff;
    --accent: #e84555;
    --accent-soft: #fff0f1;
    --accent-glow: rgba(232, 69, 85, 0.28);
    --text-primary: #141824;
    --text-muted: #5a6270;
    --border-color: #dde3ee;
    --nav-blur: rgba(255, 255, 255, 0.82);
    --card-shadow: 0 4px 6px -1px rgba(20, 24, 36, 0.06), 0 18px 40px -12px rgba(20, 24, 36, 0.12);
    --card-shadow-hover: 0 22px 50px -12px rgba(232, 69, 85, 0.18), 0 12px 24px -8px rgba(20, 24, 36, 0.12);
    
    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-blur);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.cursor { animation: blink 1s step-end infinite; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent); }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 69, 85, 0.55);
    border-radius: 10px;
    background: linear-gradient(135deg, #e84555 0%, #ff8a57 100%);
    box-shadow: 0 8px 24px -14px rgba(232, 69, 85, 0.75);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.nav-toggle:hover {
    filter: brightness(1.05);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: var(--transition);
}

.navbar--menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar--menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar--menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO + CARRUSEL --- */
.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    place-items: center;
    padding: 7.5rem 1.5rem 5.5rem;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-carousel-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 7s ease-out;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(18, 22, 34, 0.45) 0%,
        rgba(18, 22, 34, 0.72) 50%,
        rgba(18, 22, 34, 0.88) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.hero-dot:hover {
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-dot.is-active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
}

/* --- BOTONES --- */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, #e84555, #ff7a6a);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.92);
    margin-left: 0;
}

.btn-secondary:hover {
    background: var(--accent-soft);
    border-color: rgba(232, 69, 85, 0.35);
}

.btn-hero-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--text-primary);
    border-color: #fff;
}

/* --- GRID PROYECTOS --- */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.section-header { margin-bottom: 3rem; }

.section-header h2 {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

hr { border: 0; border-top: 1px solid var(--border-color); }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.project-card:hover {
    border-color: rgba(232, 69, 85, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.project-card--clickable {
    cursor: pointer;
}

.project-card--clickable:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* --- APPS (enlaces tiendas) --- */
.apps-section {
    padding-top: 64px;
    padding-bottom: 64px;
}

.apps-intro {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.apps-intro code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--accent-soft);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.35rem;
    min-width: 200px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(232, 69, 85, 0.35);
}

.app-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8ecf4, #f0f3f9);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.app-btn-icon-apple {
    background: linear-gradient(135deg, #1c1c1e, #3a3a3e);
}

.app-btn-icon-apple::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #fff;
    opacity: 0.95;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}

.app-btn-text strong {
    font-size: 1rem;
}

.app-btn-text small {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.app-btn-google .app-btn-icon {
    color: #0f9d58;
}

.app-btn-youtube .app-btn-icon {
    color: #e84555;
}

.login-intro code {
    font-family: var(--font-mono);
    font-size: 0.82em;
    background: var(--accent-soft);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

/* --- CONTACTO --- */
.contact-page .contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.contact-page .contact-card h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.contact-lead {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.contact-form-status {
    margin: -0.2rem 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #9a3412;
    background: rgba(251, 146, 60, 0.14);
    border: 1px solid rgba(154, 52, 18, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
}

.contact-form-feedback {
    font-size: 0.9rem;
    color: #0f766e;
    margin-top: -1rem;
    margin-bottom: 1.1rem;
    font-weight: 600;
}

.contact-email-row {
    margin-bottom: 1rem;
}

.contact-mail-btn {
    text-decoration: none;
}

.contact-address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
}

.contact-copy {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    color: var(--text-primary);
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-copy:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.copy-feedback {
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.contact-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.contact-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-footer a:hover {
    text-decoration: underline;
}

.footer-contact {
    margin-top: 0.75rem;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* --- CONTROL DE IMÁGENES Y MINIATURAS --- */
.card-img-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #e8ecf4 0%, #f4f6fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding: 0; 
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.custom-banner {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* --- CONTENIDO DE TARJETAS --- */
.card-content {
    padding: 1.6rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tags span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: var(--accent-soft);
    padding: 5px 11px;
    border-radius: 999px;
    color: var(--accent);
    border: 1px solid rgba(232, 69, 85, 0.22);
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-mono);
    align-self: flex-start;
}

.read-more:hover { text-decoration: underline; }

.alt-link {
    margin-top: 0.4rem;
    color: var(--text-muted);
}

/* --- PANEL ADMIN --- */
.admin-main {
    padding-top: 110px;
    min-height: 100vh;
}

.login-main {
    padding-top: 110px;
}

.admin-auth-msg {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 1rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.admin-session {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.login-intro {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.login-form {
    margin-bottom: 0;
}

.login-error {
    color: #b91c1c;
    font-size: 0.9rem;
    margin: 0;
}

.admin-wrapper {
    max-width: 900px;
}

.admin-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.admin-form label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem;
    font-family: var(--font-sans);
}

.admin-form input[type="file"] {
    padding: 0.5rem;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.2rem;
}

.code-group {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    display: grid;
    gap: 0.55rem;
}

.code-group h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.admin-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-list h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cards-list {
    display: grid;
    gap: 1rem;
}

.admin-card-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.admin-card-item h4 {
    margin-bottom: 0.4rem;
}

.admin-card-item a {
    color: var(--accent);
    font-size: 0.85rem;
    text-decoration: none;
    word-break: break-all;
}

.admin-card-item p {
    color: var(--text-muted);
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

.admin-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
}

.danger {
    border-color: #7f1d1d;
    color: #fca5a5;
}

.danger:hover {
    background: #7f1d1d;
    color: #fff;
}

.empty-state {
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

/* --- DETALLE DE TARJETA --- */
.detail-wrapper {
    max-width: 900px;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-thumbnail {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.detail-card h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 0.5rem;
}

.detail-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.video-embed-wrapper {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.youtube-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.detail-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}

.detail-list-card h3 {
    margin-bottom: 0.7rem;
}

.detail-list-card ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.detail-list-card a {
    color: var(--accent);
    text-decoration: none;
    word-break: break-all;
}

.detail-list-card a:hover {
    text-decoration: underline;
}

.diagram-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.diagram-image {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #eef1f7;
    object-fit: cover;
    min-height: 140px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.code-header h4 {
    margin: 0;
}

.code-language {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    margin: 0.6rem 0;
}

.code-box {
    background: #0b0d10;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
}

.code-box code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.6;
    color: #d1fae5;
}

.code-snippets-container {
    display: grid;
    gap: 1rem;
}

.code-snippet-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem;
    background: #f8fafc;
}

/* --- CTA --- */
.cta-section {
    background: linear-gradient(180deg, #e4e9f2 0%, var(--bg-main) 100%);
    padding: 100px 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.cta-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-content p { max-width: 600px; margin: 0 auto 2rem; color: var(--text-muted); }

.btn-outline {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline:hover { background: var(--accent); color: #fff; }

/* --- FOOTER --- */
footer {
    padding: 56px 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(232, 69, 85, 0.09), rgba(232, 69, 85, 0) 32%),
        radial-gradient(circle at 85% 0%, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0) 38%),
        linear-gradient(180deg, #f2f6fc 0%, #eaf0f8 100%);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(221, 227, 238, 0.8);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 18px 40px -28px rgba(20, 24, 36, 0.45);
    padding: 1.25rem 1.4rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer {
    font-family: var(--font-mono);
    font-size: 0.76rem !important;
    letter-spacing: 0.01em;
    opacity: 0.72;
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: var(--accent); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 0.9rem 1rem;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.55rem);
        left: 1rem;
        right: 1rem;
        margin-left: 0;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        box-shadow: var(--card-shadow);
        padding: 0.55rem;
        backdrop-filter: blur(10px);
    }
    .nav-links.nav-links--open {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .nav-links a {
        margin-left: 0;
        border-radius: 8px;
        padding: 0.65rem 0.75rem;
    }
    .nav-links a:hover {
        background: var(--accent-soft);
    }
    .hero { min-height: 78vh; padding: 6.5rem 1.25rem 4.5rem; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-buttons .btn-hero-outline {
        width: 100%;
        margin-left: 0;
    }
    .btn-secondary { margin-top: 0; }
    .admin-card-item {
        flex-direction: column;
    }
    footer {
        padding: 44px 1rem;
    }
    .footer-content {
        padding: 1rem;
        border-radius: 14px;
    }
}