/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-utility {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: white;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
}

.language-switcher i {
    color: #667eea;
}

.language-switcher select {
    border: none;
    background: transparent;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    outline: none;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #64748b;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.central-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: float 6s ease-in-out infinite;
}

.central-element i {
    font-size: 3rem;
    color: white;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.tech-item i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tech-item span {
    font-weight: 500;
    color: #1a1a1a;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-card.featured {
    border: 2px solid #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.project-icon i {
    font-size: 2rem;
    color: white;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.project-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.feature i {
    color: #667eea;
    font-size: 1rem;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.adopt-project-image {
    background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
}

/* Adopt a Pothole Section */
.adopt-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
    color: #f8fafc;
}

.adopt-hero {
    padding-top: 9rem;
}

.adopt-content {
    background: #f8fafc;
    color: #0f172a;
}

.adopt-section .section-header h2 {
    color: #f8fafc;
}

.adopt-section .section-header p {
    color: #e2e8f0;
}

.adopt-header {
    margin-bottom: 3rem;
}

.adopt-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.adopt-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
}

.adopt-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.adopt-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.adopt-card h3 {
    color: #f8fafc;
    margin: 1rem 0 0.75rem;
    font-size: 1.3rem;
}

.adopt-card p {
    color: #e2e8f0;
}

.adopt-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.9);
    border-radius: 14px;
    color: white;
    font-size: 1.3rem;
}

.pothole-database {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    color: #0f172a;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    margin-bottom: 3rem;
}

.pothole-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pothole-header p {
    color: #475569;
    margin-bottom: 2rem;
}

.pothole-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pothole-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pothole-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.pothole-card-header h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.pothole-card-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.pothole-status {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.status-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.status-planned {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.pothole-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #475569;
    font-size: 0.9rem;
}

.pothole-meta i {
    color: #0f766e;
    margin-right: 0.4rem;
}

.progress-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #334155;
}

.progress-track {
    background: #e2e8f0;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0f766e 0%, #22c55e 100%);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.gallery-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.gallery-item {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.15) 0%, rgba(15, 23, 42, 0.1) 100%);
    border-radius: 12px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #0f172a;
    border: 1px dashed rgba(15, 118, 110, 0.3);
}

.history-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
}

.history-slider {
    width: 100%;
    accent-color: #0f766e;
    cursor: pointer;
}

.payment-mockup {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(6px);
}

.adopt-content .section-header h2,
.adopt-content .section-header p {
    color: #0f172a;
}

.adopt-content .pothole-database,
.adopt-content .payment-mockup {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.adopt-content .payment-mockup {
    background: white;
    border-color: #e2e8f0;
}

.adopt-content .payment-header h3 {
    color: #0f172a;
}

.adopt-content .payment-header p {
    color: #475569;
}

.invoice-board {
    padding: 2rem;
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.invoice-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    display: grid;
    gap: 0.75rem;
}

.invoice-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.invoice-card p {
    color: #64748b;
    font-size: 0.85rem;
}

.invoice-card strong {
    color: #0f172a;
}

.payment-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.payment-header p {
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.payment-card {
    background: white;
    border-radius: 18px;
    padding: 2rem;
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-card h4 {
    font-size: 1.3rem;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.payment-form input,
.payment-form select {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.payment-note {
    font-size: 0.8rem;
    color: #64748b;
}

.distribution-card {
    background: #f8fafc;
}

.distribution-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.distribution-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.distribution-summary {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.distribution-cta {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #0f766e;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-details p {
    color: #64748b;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* SZ.E.G Band Page */
.band-page {
    background: #09090b;
    color: #f8fafc;
}

.band-page .navbar {
    background: rgba(9, 9, 11, 0.95);
    border-bottom: 1px solid #27272a;
}

.band-page .nav-logo,
.band-page .nav-link {
    color: #f8fafc;
}

.band-page .nav-link::after {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.band-page .hamburger .bar {
    background: #f8fafc;
}

.band-hero {
    min-height: 90vh;
    padding: 9rem 0 6rem;
    background: radial-gradient(circle at top, rgba(239, 68, 68, 0.2), transparent 55%),
        linear-gradient(160deg, #09090b 0%, #18181b 100%);
}

.band-hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.band-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
}

.band-tag {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border: 1px solid #27272a;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #fca5a5;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2rem;
}

.band-subtitle {
    color: #e4e4e7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.band-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.band-page .btn-primary {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.band-page .btn-outline {
    color: #f8fafc;
    border-color: #f8fafc;
}

.band-hero-panel {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.band-panel-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #fca5a5;
    margin-bottom: 1rem;
}

.band-panel-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #a1a1aa;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.band-section {
    padding: 5rem 0;
    background: #09090b;
}

.band-section-alt {
    background: #111827;
}

.band-section-header {
    margin-bottom: 2.5rem;
}

.band-section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.band-section-header p {
    color: #cbd5f5;
}

.band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.band-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 1.5rem;
}

.band-card h3 {
    margin-bottom: 0.75rem;
}

.band-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.band-list-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: #18181b;
    border: 1px solid #27272a;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.auth-section {
    max-width: 720px;
    margin: 0 auto;
}

.auth-status {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #a1a1aa;
}

.auth-status .btn {
    padding: 0.7rem 1.2rem;
}

.fan-form-card {
    margin-top: 2rem;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 1.5rem;
}

.fan-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1rem;
}

.fan-form input[type="email"],
.fan-form input[type="text"] {
    background: #0f172a;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #f8fafc;
    padding: 0.75rem 0.9rem;
}

.fan-form input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fan-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fan-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5f5;
    font-size: 0.95rem;
}

.fan-status {
    margin-top: 0.75rem;
    color: #fca5a5;
    font-size: 0.9rem;
}

.auth-button {
    background: #18181b;
    color: #f8fafc;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    border-color: #f97316;
    color: #f97316;
}

.band-video {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 1.5rem;
}

.video-placeholder {
    height: 160px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(249, 115, 22, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    margin-bottom: 1rem;
    letter-spacing: 0.3rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.media-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #f8fafc;
    text-decoration: none;
}

.admin-section {
    background: #09090b;
}

.admin-panel {
    background: #18181b;
    border-radius: 18px;
    border: 1px solid #27272a;
    padding: 2rem;
}

.admin-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-status {
    color: #fca5a5;
    font-weight: 600;
}

.admin-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.admin-card {
    border: 1px solid #27272a;
    border-radius: 14px;
    padding: 1.5rem;
    background: #111827;
}

.admin-list {
    list-style: none;
    margin-top: 1rem;
}

.admin-list li {
    margin-bottom: 0.4rem;
}

.admin-note {
    color: #a1a1aa;
    margin-top: 0.5rem;
}

.admin-edit.is-editable {
    outline: 1px dashed #facc15;
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    background: rgba(250, 204, 21, 0.08);
}

@media (max-width: 768px) {
    .band-hero-content h1 {
        font-size: 3rem;
    }

    .band-list-item {
        grid-template-columns: 1fr;
    }
}

/* Pillar Landing + Pages */
.pillar-home,
.pillar-page {
    background: #0b0f14;
    color: #f8fafc;
    position: relative;
    overflow-x: hidden;
}

.pillar-home::before,
.pillar-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.12), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(249, 115, 22, 0.12), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.12), transparent 45%);
    opacity: 0.9;
    pointer-events: none;
    z-index: -2;
}

.pillar-home::after,
.pillar-page::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='0.04'/%3E%3Ccircle cx='60' cy='60' r='1' fill='%23ffffff' fill-opacity='0.03'/%3E%3Ccircle cx='90' cy='30' r='1' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
}

.pillar-nav {
    background: rgba(11, 15, 20, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.pillar-hero {
    padding: 9rem 0 6rem;
}

.pillar-hero-content {
    max-width: 720px;
}

.pillar-kicker {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.2);
    font-size: 0.85rem;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: #cbd5f5;
    margin-bottom: 1.5rem;
}

.pillar-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.pillar-hero p {
    color: #d4d4d8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pillar-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pillar-grid-section {
    padding: 5rem 0;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.comment-galaxy-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 360px);
    gap: 2rem;
    margin-top: 2rem;
}

.comment-galaxy-view {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
}

#commentGalaxyCanvas {
    width: 100%;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.15), rgba(2, 6, 23, 0.95));
}

.comment-galaxy-legend {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.comment-galaxy-panel {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-form input,
.comment-form textarea {
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    color: #f8fafc;
    padding: 0.75rem 0.9rem;
}

.comment-detail {
    font-size: 0.95rem;
    color: #cbd5f5;
}

.comment-detail h4 {
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.comment-detail .meta {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.comment-detail .reply-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.comment-detail .reply {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.comment-detail form {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* D&M Francia – flyer palette: gold #F7B132, chocolate #5D2E17, cream #F5E6D3 */
.francia-page {
    --francia-gold: #f7b132;
    --francia-brown: #5d2e17;
    --francia-cream: #f5e6d3;
    --francia-text: #5d2e17;
    --francia-text-muted: #6b3d24;
    --francia-on-gold: #5d2e17;
    --francia-on-brown: #f7b132;
    --francia-rgb-brown: 93, 46, 23;
    --francia-rgb-gold: 247, 177, 50;
    --francia-font: "DM Sans", system-ui, sans-serif;
    --francia-display: "Playfair Display", Georgia, serif;
    background: var(--francia-cream);
    color: var(--francia-text);
    font-family: var(--francia-font);
    font-size: 1.02rem;
    line-height: 1.55;
}

.francia-page h1,
.francia-page h2,
.francia-page .section-header h2,
.francia-page .francia-hero-card h3,
.francia-page .menu-info h3,
.francia-page .francia-steps h3 {
    font-family: var(--francia-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.francia-page .skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 10000;
    padding: 0.65rem 1.1rem;
    background: var(--francia-brown);
    color: var(--francia-cream);
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: top 0.15s ease;
}

.francia-page .skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--francia-gold);
    outline-offset: 2px;
}

.francia-page .francia-trust-pills {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    font-size: 0.88rem;
    color: var(--francia-text-muted);
}

.francia-page .francia-trust-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(var(--francia-rgb-brown), 0.14);
    border-radius: 999px;
}

.francia-page .francia-trust-pills i {
    color: var(--francia-brown);
    opacity: 0.85;
}

.francia-page .francia-btn-phone {
    border-color: rgba(var(--francia-rgb-brown), 0.45);
}

.francia-page .francia-btn-phone i {
    margin-right: 0.25rem;
}

.francia-page .pillar-nav .nav-link-cta {
    background: var(--francia-gold);
    color: var(--francia-on-gold) !important;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.francia-page .pillar-nav .nav-link-cta:hover {
    background: #e8a428;
    color: var(--francia-brown) !important;
}

.francia-journey {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.45) 0%,
        transparent 100%
    );
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.francia-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.francia-steps li {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.12);
    border-radius: 18px;
    padding: 1.35rem 1.25rem 1.25rem 1.4rem;
    box-shadow: 0 10px 28px rgba(var(--francia-rgb-brown), 0.08);
}

.francia-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background: var(--francia-gold);
    color: var(--francia-on-gold);
    font-family: var(--francia-font);
    font-weight: 800;
    font-size: 0.95rem;
}

.francia-steps h3 {
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.francia-steps p {
    margin: 0;
    color: var(--francia-text-muted);
    font-size: 0.95rem;
}

.francia-menu-section {
    padding-top: 4.5rem;
}

.francia-today-shell {
    scroll-margin-top: 5.5rem;
    margin-bottom: 2.25rem;
    padding: 1.5rem 1.35rem 1.65rem;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(var(--francia-rgb-gold), 0.14) 100%
    );
    border: 1px solid rgba(var(--francia-rgb-brown), 0.16);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(var(--francia-rgb-brown), 0.12);
}

.francia-today-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--francia-brown);
}

.francia-today-heading {
    margin: 0 0 0.85rem;
    font-family: var(--francia-display);
    font-size: 1.75rem;
    color: var(--francia-brown);
}

.francia-today-sunday-note.is-hidden {
    display: none !important;
}

.francia-today-sunday-note:not(.is-hidden) {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--francia-text);
    background: rgba(255, 255, 255, 0.88);
    border: 1px dashed rgba(var(--francia-rgb-brown), 0.28);
    border-radius: 12px;
}

.francia-today-body .francia-today-panel-inner {
    margin-bottom: 0;
}

.francia-today-body .francia-weekly-panel {
    margin-bottom: 0;
    box-shadow: none;
    border-style: dashed;
}

.francia-today-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.francia-weekly-details {
    margin-bottom: 2.25rem;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    overflow: hidden;
}

.francia-weekly-details summary {
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 700;
    color: var(--francia-brown);
    background: rgba(var(--francia-rgb-gold), 0.12);
    list-style: none;
}

.francia-weekly-details summary::-webkit-details-marker {
    display: none;
}

.francia-weekly-details summary::after {
    content: "+";
    float: right;
    font-weight: 800;
    opacity: 0.7;
}

.francia-weekly-details[open] summary::after {
    content: "−";
}

.francia-weekly-details-body {
    padding: 1.25rem 1.15rem 1.5rem;
}

.francia-weekly-details-hint {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: var(--francia-text-muted);
    line-height: 1.45;
}

.delivery-map-label {
    display: block;
    margin-top: 0.25rem;
    font-weight: 600;
    color: var(--francia-brown);
}

.delivery-map-hint {
    margin: 0.35rem 0 0.65rem;
    font-size: 0.88rem;
    color: var(--francia-text-muted);
    line-height: 1.45;
}

.francia-delivery-map {
    height: 240px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.22);
    z-index: 1;
}

.francia-delivery-map .leaflet-container {
    font-family: var(--francia-font);
    background: var(--francia-cream);
}

.delivery-map-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin: 0.65rem 0 0;
}

.btn-map-geo {
    margin: 0;
    width: auto;
}

.delivery-map-status {
    font-size: 0.85rem;
    color: #b45309;
    flex: 1;
    min-width: 140px;
}

.francia-flyer-block {
    margin-bottom: 2rem;
}

.francia-flyer-figure {
    margin: 0 0 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.12);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(var(--francia-rgb-brown), 0.1);
}

.francia-flyer-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.francia-flyer-figure figcaption {
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    color: var(--francia-text-muted);
    background: rgba(var(--francia-rgb-gold), 0.1);
    border-top: 1px solid rgba(var(--francia-rgb-brown), 0.08);
}

.francia-flyer-full {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--francia-brown);
}

.francia-flyer-full:hover {
    color: var(--francia-gold);
}

.francia-day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.francia-day-tab {
    border: 1px solid rgba(var(--francia-rgb-brown), 0.22);
    background: rgba(255, 255, 255, 0.95);
    color: var(--francia-brown);
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    font: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.francia-day-tab:hover {
    border-color: var(--francia-brown);
}

.francia-day-tab.is-active {
    background: var(--francia-brown);
    color: var(--francia-cream);
    border-color: var(--francia-brown);
}

.francia-day-badge {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: var(--francia-gold);
    color: var(--francia-on-gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.francia-day-tab.is-active .francia-day-badge {
    background: var(--francia-gold);
    color: var(--francia-brown);
}

.francia-weekly-panel {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.14);
    border-radius: 18px;
    padding: 1.25rem 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 28px rgba(var(--francia-rgb-brown), 0.07);
}

.francia-weekly-day-title {
    margin: 0 0 1rem;
    font-family: var(--francia-display);
    font-size: 1.45rem;
    color: var(--francia-brown);
}

.francia-weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.25rem;
}

.francia-weekly-block {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(var(--francia-rgb-gold), 0.1);
    border: 1px solid rgba(var(--francia-rgb-brown), 0.1);
}

.francia-weekly-cat {
    margin: 0 0 0.5rem;
    font-family: var(--francia-font);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--francia-brown);
}

.francia-weekly-items {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--francia-text);
    font-size: 0.95rem;
}

.francia-weekly-items li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.francia-weekly-actions {
    margin-bottom: 2.5rem;
}

.francia-extras-block {
    margin-top: 0.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(var(--francia-rgb-brown), 0.25);
}

.francia-extras-title {
    margin: 0 0 0.4rem;
    font-family: var(--francia-display);
    font-size: 1.35rem;
    color: var(--francia-brown);
}

.francia-extras-note {
    margin: 0 0 1.25rem;
    color: var(--francia-text-muted);
    font-size: 0.95rem;
}

.francia-menu-shell {
    display: block;
}

.francia-menu-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.francia-menu-filters.is-hidden {
    display: none;
}

.francia-filter-chip {
    border: 1px solid rgba(var(--francia-rgb-brown), 0.22);
    background: rgba(255, 255, 255, 0.9);
    color: var(--francia-brown);
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.francia-filter-chip:hover {
    border-color: var(--francia-brown);
}

.francia-filter-chip.is-active {
    background: var(--francia-brown);
    color: var(--francia-cream);
    border-color: var(--francia-brown);
    box-shadow: 0 4px 14px rgba(var(--francia-rgb-brown), 0.25);
}

.basket-hint {
    font-size: 0.88rem;
    color: var(--francia-text-muted);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.basket-empty-msg {
    font-size: 0.92rem;
    color: var(--francia-text-muted);
    margin: 0 0 0.75rem;
    padding: 0.75rem;
    background: rgba(var(--francia-rgb-gold), 0.12);
    border-radius: 12px;
    border: 1px dashed rgba(var(--francia-rgb-brown), 0.2);
}

.basket-empty-msg[hidden] {
    display: none !important;
}

.basket-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-basket-secondary {
    width: 100%;
    margin: 0;
}

.btn-basket-checkout {
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

.delivery-form-lead {
    margin: 0 0 0.25rem;
    color: var(--francia-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.delivery-legal-note {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--francia-text-muted);
}

.francia-cart-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(
        180deg,
        transparent,
        rgba(245, 230, 211, 0.97) 25%
    );
    pointer-events: none;
}

.francia-cart-bar-hit {
    pointer-events: auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: var(--francia-brown);
    color: var(--francia-cream);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(var(--francia-rgb-brown), 0.35);
}

.francia-cart-bar-total {
    color: var(--francia-gold);
}

.francia-cart-bar-chev {
    opacity: 0.85;
    font-size: 0.85rem;
}

body.francia-has-basket .francia-cart-bar {
    display: block;
}

body.francia-page.francia-has-basket {
    padding-bottom: 5.5rem;
}

@media (min-width: 1024px) {
    body.francia-page.francia-has-basket {
        padding-bottom: 0;
    }

    body.francia-has-basket .francia-cart-bar {
        display: none;
    }

    .francia-menu-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 2rem;
        align-items: start;
    }

    .basket-panel {
        position: sticky;
        top: 5.5rem;
        margin-top: 0;
    }

    .francia-menu-grid {
        margin-top: 0;
    }
}

.basket-panel.francia-basket-pulse {
    animation: francia-basket-pulse 1s ease 1;
}

@keyframes francia-basket-pulse {
    0% {
        box-shadow: 0 18px 36px rgba(var(--francia-rgb-brown), 0.1);
    }
    35% {
        box-shadow: 0 18px 44px rgba(var(--francia-rgb-gold), 0.55);
    }
    100% {
        box-shadow: 0 18px 36px rgba(var(--francia-rgb-brown), 0.1);
    }
}

.basket-row {
    grid-template-columns: 1fr auto auto minmax(4.5rem, auto);
}

.basket-remove {
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .basket-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem 0.5rem;
    }

    .basket-row-name {
        grid-column: 1 / -1;
    }

    .basket-remove {
        grid-column: 1 / -1;
        justify-self: stretch;
        padding: 0.4rem;
    }
}

.francia-page .section-header h2 {
    color: var(--francia-brown);
}

.francia-page .section-header p {
    color: var(--francia-text-muted);
}

.francia-hero {
    padding: 9rem 0 6rem;
    background: linear-gradient(
        180deg,
        var(--francia-gold) 0%,
        var(--francia-gold) 32%,
        var(--francia-brown) 72%,
        var(--francia-brown) 100%
    );
}

.francia-hero .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

/* Readable copy on gold→brown hero (flyer-style split background) */
.francia-hero-content {
    background: rgba(245, 230, 211, 0.96);
    border: 1px solid rgba(var(--francia-rgb-brown), 0.18);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 12px 40px rgba(var(--francia-rgb-brown), 0.2);
}

.francia-tag {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.35);
    color: var(--francia-brown);
    background: rgba(255, 255, 255, 0.98);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.francia-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.35rem;
    color: var(--francia-brown);
}

.francia-hero .francia-subtitle {
    font-size: 1.1rem;
    color: var(--francia-text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.francia-hero p {
    color: var(--francia-text);
    margin-bottom: 1.5rem;
}

.francia-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.francia-page .btn-primary {
    background: var(--francia-gold);
    color: var(--francia-on-gold);
    box-shadow: 0 4px 14px rgba(var(--francia-rgb-gold), 0.45);
    font-weight: 700;
}

.francia-page .btn-primary:hover {
    background: #e8a428;
    color: var(--francia-brown);
}

.francia-page .btn-outline {
    border: 2px solid var(--francia-brown);
    color: var(--francia-brown);
    background: rgba(255, 255, 255, 0.92);
}

.francia-page .btn-outline:hover {
    background: rgba(var(--francia-rgb-brown), 0.08);
    border-color: var(--francia-brown);
    color: var(--francia-brown);
}

.francia-hero-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    box-shadow: 0 18px 40px rgba(var(--francia-rgb-brown), 0.18);
    border-radius: 18px;
    padding: 1.5rem;
    color: var(--francia-text);
}

.francia-hero-card h3 {
    color: var(--francia-brown);
}

.francia-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--francia-text-muted);
    margin-top: 1rem;
}

.francia-section {
    padding: 5rem 0;
}

.francia-page .francia-section a:not(.btn) {
    color: var(--francia-brown);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(var(--francia-rgb-gold), 0.7);
}

.francia-page .francia-section a:not(.btn):hover {
    color: var(--francia-gold);
    text-decoration-color: var(--francia-brown);
}

.francia-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.francia-menu-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    box-shadow: 0 14px 28px rgba(var(--francia-rgb-brown), 0.12);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.menu-card-link:hover {
    transform: translateY(-2px);
}

.menu-add {
    margin: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: none;
    background: var(--francia-gold);
    color: var(--francia-on-gold);
    cursor: pointer;
    font-weight: 700;
}

.menu-add:hover {
    background: #e8a428;
    color: var(--francia-brown);
}

.menu-photo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-info {
    padding: 1.25rem;
}

.menu-info h3 {
    margin-bottom: 0.5rem;
    color: var(--francia-brown);
}

.menu-info p {
    color: var(--francia-text-muted);
}

.menu-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: var(--francia-brown);
    font-weight: 600;
}

.menu-empty {
    text-align: center;
    color: var(--francia-text);
    padding: 1.5rem;
    background: #ffffff;
    border: 1px dashed rgba(var(--francia-rgb-brown), 0.35);
    border-radius: 16px;
}

.basket-panel {
    margin-top: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    box-shadow: 0 18px 36px rgba(var(--francia-rgb-brown), 0.1);
    border-radius: 18px;
    padding: 1.5rem;
}

.francia-page .basket-panel h3 {
    color: var(--francia-brown);
}

.basket-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.basket-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--francia-text);
}

.basket-row button {
    background: transparent;
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fca5a5;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
}

.basket-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--francia-brown);
    margin-bottom: 1rem;
}

.francia-delivery {
    background: linear-gradient(
        140deg,
        rgba(var(--francia-rgb-gold), 0.2),
        rgba(var(--francia-rgb-brown), 0.07)
    );
}

.delivery-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 320px);
    gap: 2rem;
}

.delivery-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.delivery-form input,
.delivery-form textarea {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.25);
    border-radius: 12px;
    color: var(--francia-text);
    padding: 0.75rem 0.9rem;
}

.delivery-form label {
    color: var(--francia-brown);
    font-weight: 600;
}

.delivery-note {
    font-size: 0.85rem;
    color: var(--francia-text-muted);
}

.delivery-info ul {
    list-style: none;
    margin: 1rem 0;
    color: var(--francia-text);
}

.delivery-info h3 {
    color: var(--francia-brown);
}

.delivery-box {
    background: rgba(var(--francia-rgb-gold), 0.22);
    border: 1px solid rgba(var(--francia-rgb-brown), 0.12);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--francia-text);
}

.admin-login-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 320px);
    gap: 2rem;
}

.admin-access-grid {
    grid-template-columns: minmax(320px, 1.2fr) minmax(240px, 0.8fr);
}

.admin-login-hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-login-copy h3 {
    margin-bottom: 0.35rem;
}

.admin-status-badge {
    margin-top: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.15);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.85rem;
}

.admin-login-card,
.admin-orders-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    box-shadow: 0 16px 32px rgba(var(--francia-rgb-brown), 0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

.admin-login-card .admin-note {
    margin-top: 0.5rem;
    color: var(--francia-text-muted);
}

.admin-email-login {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.admin-email-login input {
    width: 100%;
    margin-bottom: 0;
}

.admin-login-divider {
    text-align: center;
    margin: 0.5rem 0;
    color: var(--francia-text-muted);
    font-size: 0.9rem;
}

.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;
}

.is-hidden {
    display: none;
}

.francia-page.admin-locked #orders,
.francia-page.admin-locked #menu-admin,
.francia-page.admin-locked #delivery-settings,
.francia-page.admin-locked .admin-only {
    display: none;
}

.delivery-settings-card {
    max-width: 420px;
    margin: 0 auto;
}

.delivery-settings-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.delivery-settings-form label {
    font-weight: 600;
    color: var(--francia-brown);
}

.delivery-settings-form input {
    margin-bottom: 0;
}

#deliverySettingsStatus:empty {
    display: none;
}

.admin-login-card input {
    width: 100%;
    margin-bottom: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    color: #1f2937;
    padding: 0.75rem 0.9rem;
}

.order-card {
    background: rgba(var(--francia-rgb-gold), 0.12);
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--francia-text);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.order-meta {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-new {
    background: rgba(56, 189, 248, 0.2);
    color: #0f172a;
}

.status-confirmed {
    background: rgba(250, 204, 21, 0.3);
    color: #7c2d12;
}

.status-delivering {
    background: rgba(34, 197, 94, 0.2);
    color: #14532d;
}

.status-done {
    background: rgba(148, 163, 184, 0.25);
    color: #1f2937;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.action-chip {
    border: 1px solid rgba(var(--francia-rgb-brown), 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    background: var(--francia-cream);
    color: var(--francia-brown);
    cursor: pointer;
    font-weight: 600;
}

.action-chip.is-muted {
    background: rgba(148, 163, 184, 0.15);
    color: #64748b;
}

.orders-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.orders-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.orders-map-panel {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 14px 28px rgba(var(--francia-rgb-brown), 0.08);
    position: sticky;
    top: 110px;
}

.orders-map-header h3 {
    margin-bottom: 0.2rem;
    color: var(--francia-brown);
}

.orders-map-header p {
    color: var(--francia-text-muted);
    font-size: 0.85rem;
}

.orders-map {
    width: 100%;
    height: 320px;
    border-radius: 14px;
    margin: 0.75rem 0;
    overflow: hidden;
}

.map-legend {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #64748b;
    align-items: center;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 0.35rem;
}

.legend-new {
    background: #38bdf8;
}

.legend-confirmed {
    background: #facc15;
}

.legend-delivering {
    background: #22c55e;
}

.legend-done {
    background: #94a3b8;
}

.orders-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-chip {
    border: 1px solid rgba(var(--francia-rgb-brown), 0.45);
    background: #ffffff;
    color: var(--francia-brown);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    font-weight: 600;
}

.filter-chip.is-active {
    background: rgba(var(--francia-rgb-gold), 0.28);
    border-color: var(--francia-brown);
    color: var(--francia-brown);
}

.orders-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.75rem;
}

.summary-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    border-radius: 14px;
    padding: 0.65rem 0.85rem;
    text-align: center;
}

.summary-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--francia-text-muted);
}

.summary-card strong {
    font-size: 1.2rem;
    color: var(--francia-brown);
}

.admin-menu-grid {
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
}

.menu-list-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-list-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.menu-hint {
    font-size: 0.85rem;
    color: var(--francia-text-muted);
}

.menu-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.menu-editor-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-editor-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.menu-editor-card input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
}

.menu-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.menu-editor-actions {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
}

.admin-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.delivery-status {
    font-size: 0.9rem;
    color: var(--francia-brown);
    margin-top: 0.5rem;
}

/* D&M Francia: nav = chocolate bar; footer = cream bar (flyer) for max readability */
.francia-page .pillar-nav {
    background: var(--francia-brown);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.francia-page .pillar-nav .nav-logo-francia,
.francia-page .pillar-nav .nav-link {
    color: #fffef8;
}

.francia-page .pillar-nav .nav-link:hover {
    color: var(--francia-gold);
}

.francia-page .pillar-nav .language-switcher {
    border-color: rgba(255, 255, 255, 0.45);
}

.francia-page .pillar-nav .language-switcher i,
.francia-page .pillar-nav .language-switcher select {
    color: #fffef8;
}

.francia-page .pillar-nav .hamburger .bar {
    background: #fffef8;
}

.francia-page .pillar-footer {
    background: var(--francia-cream);
    color: var(--francia-brown);
    border-top: 1px solid rgba(var(--francia-rgb-brown), 0.12);
}

.francia-page .pillar-footer a,
.francia-page .pillar-footer h3,
.francia-page .pillar-footer .footer-logo span {
    color: var(--francia-brown);
}

.francia-page .pillar-footer p,
.francia-page .pillar-footer li {
    color: var(--francia-text);
}

.francia-page .pillar-footer .footer-bottom p {
    color: var(--francia-text-muted);
}

.francia-page .pillar-footer a:hover {
    color: var(--francia-gold);
    text-decoration: underline;
}

/* D&M Francia — legal & GDPR information pages */
.francia-legal-page .legal-main {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.francia-legal-page .legal-prose {
    max-width: 40rem;
    margin: 0 auto;
}

.francia-legal-page .legal-prose h1 {
    font-family: var(--francia-display);
    font-size: 2rem;
    color: var(--francia-brown);
    margin-bottom: 0.5rem;
}

.francia-legal-page .legal-prose h2 {
    font-family: var(--francia-display);
    font-size: 1.25rem;
    color: var(--francia-brown);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
}

.francia-legal-page .legal-prose p,
.francia-legal-page .legal-prose li {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--francia-text);
}

.francia-legal-page .legal-prose ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.francia-legal-page .legal-prose code {
    font-size: 0.88em;
    background: rgba(var(--francia-rgb-gold), 0.2);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.francia-legal-page .legal-disclaimer {
    font-size: 0.92rem;
    color: var(--francia-text-muted);
    padding: 0.85rem 1rem;
    background: rgba(var(--francia-rgb-brown), 0.06);
    border-radius: 12px;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.12);
    margin-bottom: 1.5rem;
}

.francia-legal-page .legal-sep {
    border: none;
    border-top: 1px dashed rgba(var(--francia-rgb-brown), 0.25);
    margin: 2.5rem 0;
}

.francia-legal-page .legal-back {
    margin-top: 2rem;
}

.francia-legal-page .legal-back .btn {
    text-decoration: none;
    display: inline-block;
}

/* Cookie / local data notice (ePrivacy-style transparency) */
.francia-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: rgba(93, 46, 23, 0.97);
    color: var(--francia-cream);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.francia-cookie-banner[hidden] {
    display: none !important;
}

.francia-cookie-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.francia-cookie-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    flex: 1;
    min-width: 220px;
}

.francia-cookie-text a {
    color: var(--francia-gold);
    font-weight: 600;
}

.francia-cookie-text a:hover {
    text-decoration: underline;
}

.francia-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.francia-cookie-banner .btn {
    margin: 0;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
}

.francia-cookie-banner .btn-primary {
    background: var(--francia-gold);
    color: var(--francia-on-gold);
    border: none;
}

.francia-cookie-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffffee;
    background: transparent;
}

.francia-cookie-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.francia-page.francia-cookie-visible {
    padding-bottom: 6rem;
}

.footer-legal-links {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: var(--francia-text-muted);
}

.footer-legal-links a {
    color: var(--francia-brown);
    font-weight: 600;
}

.footer-legal-links a:hover {
    color: var(--francia-gold);
}

/* Order tracking (customer) */
.francia-tracking-page .francia-tracking-main {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.tracking-form {
    max-width: 26rem;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tracking-form label {
    font-weight: 600;
    color: var(--francia-brown);
}

.tracking-form input {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.25);
    border-radius: 12px;
    color: var(--francia-text);
    padding: 0.75rem 0.9rem;
}

.tracking-error {
    max-width: 26rem;
    margin: 0 auto 1rem;
    color: #b45309;
    font-size: 0.92rem;
    min-height: 1.25rem;
}

.tracking-result {
    max-width: 28rem;
    margin: 0 auto;
}

.francia-track-card {
    background: #ffffff;
    border: 1px solid rgba(var(--francia-rgb-brown), 0.14);
    border-radius: 18px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 12px 32px rgba(var(--francia-rgb-brown), 0.08);
}

.francia-track-id {
    margin: 0 0 0.25rem;
    font-family: var(--francia-display);
    font-size: 1.5rem;
    color: var(--francia-brown);
}

.francia-track-name {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.francia-track-meta {
    margin: 0 0 0.35rem;
    font-size: 0.9rem;
    color: var(--francia-text-muted);
}

.francia-track-timeline {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
    position: relative;
}

.francia-track-timeline::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(var(--francia-rgb-brown), 0.15);
}

.francia-track-step {
    position: relative;
    display: flex;
    gap: 0.85rem;
    padding: 0.5rem 0 0.85rem 0;
    align-items: flex-start;
}

.francia-track-dot {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(var(--francia-rgb-brown), 0.35);
    background: #ffffff;
    margin-top: 2px;
    z-index: 1;
}

.francia-track-step.is-done .francia-track-dot {
    background: var(--francia-brown);
    border-color: var(--francia-brown);
}

.francia-track-step.is-current .francia-track-dot {
    background: var(--francia-gold);
    border-color: var(--francia-brown);
    box-shadow: 0 0 0 3px rgba(var(--francia-rgb-gold), 0.4);
}

.francia-track-step.is-pending .francia-track-dot {
    background: #f5f5f5;
}

.francia-track-step-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.francia-track-step-body strong {
    font-size: 0.95rem;
    color: var(--francia-brown);
}

.francia-track-step-body span {
    font-size: 0.85rem;
    color: var(--francia-text-muted);
    line-height: 1.4;
}

.francia-track-step.is-pending .francia-track-step-body strong {
    color: var(--francia-text-muted);
}

.francia-track-summary {
    margin: 1rem 0;
    padding: 0.85rem;
    background: rgba(var(--francia-rgb-gold), 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
}

.francia-track-summary p {
    margin: 0.35rem 0 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.francia-track-poll-hint {
    margin: 0.6rem 0 0;
    font-size: 0.78rem;
    color: var(--francia-text-muted);
}

.francia-track-poll-hint.is-hidden {
    display: none !important;
}

.delivery-track-box {
    margin-top: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(var(--francia-rgb-gold), 0.18);
    border: 1px solid rgba(var(--francia-rgb-brown), 0.18);
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--francia-text);
}

.delivery-track-box.is-hidden {
    display: none !important;
}

.delivery-track-link {
    font-weight: 700;
    color: var(--francia-brown);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.delivery-track-link:hover {
    color: var(--francia-gold);
}

.nav-logo-francia {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-logo-image {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.francia-page .pillar-nav .brand-logo-image {
    border: 2px solid rgba(255, 254, 248, 0.4);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.francia-page .pillar-footer .brand-logo-image {
    border: 1px solid rgba(var(--francia-rgb-brown), 0.2);
}

.francia-page .admin-login-copy p {
    color: var(--francia-text-muted);
}

.francia-page .admin-access .section-header p,
.francia-page #orders .section-header p,
.francia-page #menu-admin .section-header p {
    color: var(--francia-text-muted);
}

.francia-page .order-meta {
    color: var(--francia-text-muted);
}

.francia-page .map-legend {
    color: var(--francia-text-muted);
}

.nav-logo-francia i {
    display: none;
}

@media (max-width: 900px) {
    .delivery-grid,
    .admin-login-grid {
        grid-template-columns: 1fr;
    }

    .orders-layout {
        grid-template-columns: 1fr;
    }

    .orders-map-panel {
        position: static;
    }
}


.pillar-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pillar-card h2 {
    font-size: 1.6rem;
}

.pillar-card p {
    color: #cbd5f5;
}

.pillar-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: #f8fafc;
}

.pillar-link {
    margin-top: auto;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.pillar-art {
    border-color: rgba(249, 115, 22, 0.4);
}

.pillar-tech {
    border-color: rgba(59, 130, 246, 0.4);
}

.pillar-nature {
    border-color: rgba(16, 185, 129, 0.4);
}

.pillar-story {
    padding: 0 0 5rem;
}

.pillar-story-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 2rem;
    color: #e2e8f0;
}

.pillar-contact {
    padding-bottom: 6rem;
}

.pillar-contact-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 2rem;
}

.pillar-footer {
    background: rgba(9, 9, 11, 0.95);
}

/* Home minimal: running sites + circular pillars */
.home-minimal .running-sites {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.6rem 1rem;
}

.running-sites-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.running-sites-label {
    color: #64748b;
    font-weight: 500;
}

.running-sites-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.running-sites-link:hover {
    color: #667eea;
}

.home-minimal .home-pillar-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding: 5rem 1rem 4rem;
    box-sizing: border-box;
}

.home-pillar-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: #f8fafc;
    border: 2px solid rgba(248, 250, 252, 0.25);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-pillar-circle:hover {
    transform: scale(1.08);
    border-color: rgba(248, 250, 252, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.home-pillar-art {
    background: rgba(249, 115, 22, 0.75);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(-160px);
}

.home-pillar-art:hover {
    transform: translate(-50%, -50%) translateY(-160px) scale(1.08);
}

.home-pillar-tech {
    background: rgba(59, 130, 246, 0.75);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(120deg) translateY(-160px);
}

.home-pillar-tech:hover {
    transform: translate(-50%, -50%) rotate(120deg) translateY(-160px) scale(1.08);
}

.home-pillar-nature {
    background: rgba(16, 185, 129, 0.75);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(240deg) translateY(-160px);
}

.home-pillar-nature:hover {
    transform: translate(-50%, -50%) rotate(240deg) translateY(-160px) scale(1.08);
}

.home-pillar-circle span {
    display: inline-block;
    transform: rotate(0deg);
}

.home-pillar-art span { transform: rotate(0deg); }
.home-pillar-tech span { transform: rotate(-120deg); }
.home-pillar-nature span { transform: rotate(-240deg); }

@media (max-width: 768px) {
    .home-pillar-circle {
        width: 110px;
        height: 110px;
        font-size: 0.9rem;
    }
    .home-pillar-art { transform: translate(-50%, -50%) translateY(-130px); }
    .home-pillar-art:hover { transform: translate(-50%, -50%) translateY(-130px) scale(1.08); }
    .home-pillar-tech { transform: translate(-50%, -50%) rotate(120deg) translateY(-130px); }
    .home-pillar-tech:hover { transform: translate(-50%, -50%) rotate(120deg) translateY(-130px) scale(1.08); }
    .home-pillar-nature { transform: translate(-50%, -50%) rotate(240deg) translateY(-130px); }
    .home-pillar-nature:hover { transform: translate(-50%, -50%) rotate(240deg) translateY(-130px) scale(1.08); }
}

.home-footer .home-footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    padding: 1.5rem 0;
}

.home-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
}

.home-footer .footer-logo i {
    margin-right: 0.4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-footer-pillars {
    color: #94a3b8;
    font-size: 0.9rem;
}

.home-footer-content a[href^="mailto"] {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
}

.home-footer-content a[href^="mailto"]:hover {
    color: #f8fafc;
}

.pillar-subhero {
    padding: 8rem 0 3rem;
}

.pillar-subhero-card {
    max-width: 720px;
}

.art-page .band-hero,
.art-page .band-section,
.art-page .band-section-alt,
.art-page .admin-section {
    background: transparent;
}

.art-page .band-hero {
    padding-top: 10rem;
}

.tech-page .pillar-card {
    background: rgba(15, 23, 42, 0.65);
}

/* Technology page: distinct section colors and readability */
.tech-page::before,
.tech-page::after {
    display: none;
}

.tech-page {
    background: #f1f5f9;
}

/* Subhero: light band, dark text */
.tech-subhero {
    background: #f8fafc;
    color: #0f172a;
}

.tech-subhero .pillar-subhero-card {
    color: #0f172a;
}

.tech-subhero .pillar-label {
    color: #0369a1;
    font-weight: 600;
    border: 1px solid rgba(3, 105, 161, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.tech-subhero h1 {
    color: #0f172a;
}

.tech-subhero p {
    color: #334155;
}

.tech-subhero .tech-stack-line {
    color: #64748b;
}

.tech-subhero .btn-primary {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35);
}

.tech-subhero .btn-outline {
    border-color: #0369a1;
    color: #0369a1;
    background: transparent;
}

.tech-subhero .btn-outline:hover {
    background: #0369a1;
    color: #fff;
}

/* Comment Galaxy section: dark slate band */
.tech-section-galaxy {
    background: #1e293b;
    color: #f1f5f9;
    padding: 4rem 0 5rem;
}

.tech-section-galaxy .tech-section-header h2 {
    color: #f8fafc;
}

.tech-section-galaxy .tech-section-header p {
    color: #cbd5e1;
}

.tech-section-galaxy .tech-badge {
    color: #94a3b8;
}

.tech-section-galaxy .comment-galaxy-view,
.tech-section-galaxy .comment-galaxy-panel {
    background: #334155;
    border-color: rgba(148, 163, 184, 0.25);
}

.tech-section-galaxy .comment-galaxy-legend {
    color: #cbd5e1;
}

.tech-section-galaxy .comment-form label,
.tech-section-galaxy .panel-block h3 {
    color: #f8fafc;
}

.tech-section-galaxy .comment-form input,
.tech-section-galaxy .comment-form textarea {
    background: #1e293b;
    border-color: #475569;
    color: #f8fafc;
}

.tech-section-galaxy .comment-detail {
    color: #e2e8f0;
}

.tech-section-galaxy .comment-detail h4 {
    color: #f8fafc;
}

.tech-section-galaxy .btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

/* CherryCarry section: light band, dark text for readability */
.tech-section-cherrycarry {
    background: #e0f2fe;
    color: #0c4a6e;
    padding: 4rem 0 5rem;
}

.tech-section-cherrycarry .tech-section-header h2 {
    color: #075985;
}

.tech-section-cherrycarry .tech-section-header p {
    color: #0369a1;
}

.tech-section-cherrycarry .status-badge {
    background: rgba(3, 105, 161, 0.2);
    border-color: #0369a1;
    color: #075985;
}

.tech-section-cherrycarry .tech-project-card {
    background: #ffffff;
    border: 1px solid #bae6fd;
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(3, 105, 161, 0.08);
}

.tech-section-cherrycarry .tech-project-card h3 {
    color: #075985;
}

.tech-section-cherrycarry .tech-project-list li {
    color: #334155;
}

.tech-section-cherrycarry .tech-project-card p {
    color: #475569;
}

.tech-section-cherrycarry .tech-project-later {
    color: #64748b;
}

.tech-section-cherrycarry .tech-project-card a {
    color: #0369a1;
}

.tech-section-cherrycarry .tech-project-card a:hover {
    color: #075985;
    text-decoration: underline;
}

.tech-section-cherrycarry .status-badge-link {
    display: inline-block;
    text-decoration: none;
    color: #075985;
    margin-top: 0.5rem;
}

.tech-section-cherrycarry .status-badge-link:hover {
    background: rgba(3, 105, 161, 0.35);
    color: #0c4a6e;
}

/* Voidforge / spacegame section */
.tech-section-spacegame {
    background: linear-gradient(180deg, #0a1628 0%, #020617 100%);
    color: #e2e8f0;
    padding: 4rem 0 5rem;
}

.tech-section-spacegame .tech-section-header h2 {
    color: #7dd3fc;
}

.tech-section-spacegame .tech-section-header p {
    color: #94a3b8;
}

.tech-section-spacegame .tech-badge {
    color: #38bdf8;
}

.tech-section-spacegame .status-badge {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #7dd3fc;
}

.tech-section-spacegame .tech-project-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #1e3a5f;
    color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.tech-section-spacegame .tech-project-card h3 {
    color: #38bdf8;
}

.tech-section-spacegame .tech-project-list li {
    color: #cbd5e1;
}

.tech-section-spacegame .status-badge-link {
    display: inline-block;
    text-decoration: none;
    color: #e0f2fe;
    margin-top: 0.5rem;
}

.tech-section-spacegame .status-badge-link:hover {
    background: rgba(56, 189, 248, 0.35);
    color: #0c4a6e;
}

/* Alcohol Calculator section */
.tech-section-alcohol {
    background: linear-gradient(180deg, #0b1324 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 4rem 0 5rem;
}

.tech-section-alcohol .tech-section-header h2 {
    color: #a78bfa;
}

.tech-section-alcohol .tech-section-header p {
    color: #c4b5fd;
}

.tech-section-alcohol .tech-badge {
    color: #c4b5fd;
}

.tech-section-alcohol .status-badge {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.45);
    color: #ddd6fe;
}

.tech-section-alcohol .tech-project-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.tech-section-alcohol .tech-project-card h3 {
    color: #a78bfa;
}

.tech-section-alcohol .tech-project-list li {
    color: #cbd5e1;
}

.tech-section-alcohol .status-badge-link {
    display: inline-block;
    text-decoration: none;
    color: #f5f3ff;
    margin-top: 0.5rem;
}

.tech-section-alcohol .status-badge-link:hover {
    background: rgba(167, 139, 250, 0.35);
    color: #0c4a6e;
}

.tech-stack-line {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.tech-project-section {
    padding-top: 2rem;
}

.tech-project-status {
    margin-top: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
}

.tech-project-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 1.5rem;
    color: #e2e8f0;
}

.tech-project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.tech-project-list {
    margin: 0 0 1.5rem 1.25rem;
    padding: 0;
}

.tech-project-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tech-project-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tech-project-later {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.tech-project-card a {
    color: #93c5fd;
    text-decoration: none;
}

.tech-project-card a:hover {
    text-decoration: underline;
}

.nature-page .project-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(15, 23, 42, 0.9) 70%);
}

.nature-page .project-badge {
    background: rgba(16, 185, 129, 0.85);
}

.nature-page .btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .pillar-hero h1 {
        font-size: 2.6rem;
    }

    .pillar-contact-card {
        align-items: flex-start;
    }

    .comment-galaxy-layout {
        grid-template-columns: 1fr;
    }

    #commentGalaxyCanvas {
        height: 420px;
    }

}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #6b7280;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-utility {
        margin-right: 0.5rem;
    }
    
    .language-switcher {
        padding: 0.3rem 0.6rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .adopt-header-top {
        flex-direction: column;
    }

    .pothole-database {
        padding: 2rem;
    }

    .payment-mockup {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-features {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
}

.notification-error {
    background: #ef4444;
}

.notification-success {
    background: #10b981;
}

/* Project Page Specific Styles */
.project-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 80px;
    position: relative;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.project-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.project-stats .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-screen {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.mockup-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #374151;
    border-radius: 2px;
}

.screen-content {
    background: white;
    height: 100%;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.2rem;
}

.app-header i {
    color: #667eea;
}

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sensor-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.sensor-card i {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sensor-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.sensor-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.control-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.control-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.control-btn.active:hover {
    color: white;
}

/* Features Section for Project Page */
.features-section {
    padding: 6rem 0;
    background: white;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.features-section .feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.features-section .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

/* Technology Section for Project Page */
.technology-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-specs span {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Benefits Section for Project Page */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    color: white;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Contact Section for Project Page */
.contact-section {
    padding: 6rem 0;
    background: #f8fafc;
}

/* Responsive Design for Project Page */
@media (max-width: 768px) {
    .project-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .project-stats {
        justify-content: center;
    }
    
    .project-actions {
        justify-content: center;
    }
    
    .mockup-screen {
        width: 250px;
        height: 500px;
    }
    
    .stats-showcase {
        grid-template-columns: 1fr;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mockup-screen {
        width: 200px;
        height: 400px;
    }
    
    .sensor-grid {
        grid-template-columns: 1fr;
    }
}

/* Alcohol Calculator (alcohol-calculator.html) */
.alc-panel {
    width: 100%;
}

.alc-h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.alc-h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 1.25rem 0 0.75rem;
    color: #e2e8f0;
}

.alc-hint {
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.alc-divider {
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    margin: 1.75rem 0;
}

.alc-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.alc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
}

.alc-custom-row {
    margin-top: 0.25rem;
}

.alc-log {
    margin-top: 1.25rem;
}

.alc-table-wrap {
    overflow-x: auto;
}

.alc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.alc-table thead th {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.9);
    text-align: left;
    padding: 0.6rem 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.alc-table tbody td {
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    color: rgba(226, 232, 240, 0.95);
    vertical-align: middle;
}

.alc-removeBtn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: rgba(248, 113, 113, 1);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 0;
}

.alc-removeBtn:hover {
    border-color: rgba(239, 68, 68, 0.6);
    background: rgba(239, 68, 68, 0.18);
}

.alc-emptyLog {
    margin-top: 0.9rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.95rem;
}

.alc-summary {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.alc-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.2);
    border-radius: 14px;
}

.alc-summary-label {
    color: rgba(148, 163, 184, 0.95);
    font-weight: 650;
}

.alc-summary-value {
    font-weight: 900;
    color: rgba(226, 232, 240, 1);
}

.alc-chart-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.25);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.alc-chart-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: rgba(226, 232, 240, 0.95);
}

#bacChart {
    width: 100%;
    height: 360px;
    display: block;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.35);
}

.alc-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.9rem;
}

.alc-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.alc-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    background: rgba(148, 163, 184, 0.7);
}

.alc-legend-dot-bac { background: rgba(56, 189, 248, 0.95); }
.alc-legend-dot-now { background: rgba(16, 185, 129, 0.95); }
.alc-legend-dot-empty { background: rgba(249, 115, 22, 0.95); }

.alc-projection-rows {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.alc-proj-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.2);
    color: rgba(226, 232, 240, 0.95);
}

.alc-proj-time {
    color: rgba(148, 163, 184, 0.95);
    font-weight: 650;
}

.alc-proj-bac {
    font-weight: 900;
}

.alc-disclaimer {
    margin-top: 1.25rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.92rem;
}

.alc-disclaimer-small {
    margin-top: 0.6rem;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .alc-grid-2 {
        grid-template-columns: 1fr;
    }
}