/* ════════════════════════════════════════════════════════════
   LR MOTA DIGITAL — INSTITUTIONAL SITE
   Design: Luminous Clean Depth — Premium light-mode tech aesthetic
   ════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FAFBFD;
    color: #1A1A1F;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Atmospheric depth — subtle radial gradients on light base */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 15% 8%, rgba(210, 225, 245, 0.4) 0%, transparent 55%),
        radial-gradient(ellipse 60% 70% at 90% 85%, rgba(200, 215, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 50% 40%, rgba(235, 240, 250, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(220, 232, 248, 0.15) 0%, transparent 45%);
    pointer-events: none;
}

::selection {
    background: rgba(60, 110, 180, 0.2);
    color: #1A1A1F;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }

/* ── Layout ── */
.content-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-wide {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.center { text-align: center; }

/* ── Section Spacing ── */
.section {
    padding: 120px 0;
    position: relative;
}

/* Alternate section — slightly cooler tint */
.bg-gray {
    background: linear-gradient(180deg, rgba(240, 243, 248, 0.7) 0%, rgba(245, 247, 252, 0.5) 100%);
    position: relative;
}

/* Soft bleed transitions */
.bg-gray::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(240, 243, 248, 0.7));
    pointer-events: none;
}

.bg-gray::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent, rgba(240, 243, 248, 0.5));
    pointer-events: none;
    z-index: 1;
}

.bg-dark {
    background: linear-gradient(180deg, #141518 0%, #1A1B20 100%);
    position: relative;
}

.bg-dark::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #141518);
    pointer-events: none;
    z-index: 2;
}

.bg-dark::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, transparent, #1A1B20);
    pointer-events: none;
    z-index: 2;
}

/* ── Header ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 253, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1A1A1F;
    text-shadow: 0 0 40px rgba(100, 140, 200, 0.08);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6E6E73;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1A1A1F;
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #1A1A1F;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(250, 251, 253, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav a {
    padding: 12px 0;
    font-size: 0.9375rem;
    color: #1A1A1F;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav.active {
    display: flex;
}

/* ── Typography ── */
.hero-eyebrow,
.section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(80, 110, 160, 0.6);
    margin-bottom: 12px;
}

.section-eyebrow.light {
    color: rgba(160, 180, 210, 0.6);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #1A1A1F;
    margin-bottom: 28px;
    /* Soft backlighting — subtle warm glow behind dark text */
    text-shadow: 0 0 80px rgba(100, 150, 220, 0.08),
                 0 0 160px rgba(100, 150, 220, 0.04);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #1A1A1F;
    margin-bottom: 24px;
    text-shadow: 0 0 60px rgba(100, 150, 220, 0.06);
}

.section-title.light {
    color: #F0F0F2;
    text-shadow: 0 0 60px rgba(100, 150, 220, 0.12);
}

.hero-subtitle,
.section-body {
    font-size: 1.1875rem;
    line-height: 1.58;
    color: #6E6E73;
    margin-bottom: 16px;
}

.section-body.light {
    color: #9E9EA3;
}

.section-body-sm {
    font-size: 1.0625rem;
    line-height: 1.58;
    color: #6E6E73;
}

.section-body-sm.light {
    color: #9E9EA3;
}

.subsection-title {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1A1A1F;
    margin-bottom: 16px;
}

.subsection-title.light {
    color: #E4E4E7;
}

/* ── Hero ── */
.hero {
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

/* Hero atmospheric halo */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(180, 200, 235, 0.2) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}

.hero-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Grid Layouts ── */
.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 64px;
}

/* ── Clean List ── */
.clean-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.clean-list li {
    font-size: 1.0625rem;
    color: #6E6E73;
    padding-left: 20px;
    position: relative;
}

.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(70, 120, 190, 0.5);
    box-shadow: 0 0 10px rgba(70, 120, 190, 0.25);
}

/* ── Luminous Glass Panels (Light Mode) ── */
/* Cards float with translucent glass + soft outer glow */

/* ── Principles Grid ── */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 64px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 8px 40px rgba(100, 140, 200, 0.06);
}

.principle-card {
    padding: 48px 40px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(248, 250, 255, 0.7) 100%
    );
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.principle-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(170, 200, 240, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.principle-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1A1A1F;
    position: relative;
    z-index: 1;
}

.principle-card p {
    font-size: 0.9375rem;
    color: #6E6E73;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ── Corporate Data ── */
.corp-data {
    margin-top: 64px;
    padding: 40px 48px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(245, 248, 255, 0.6) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 8px 32px rgba(100, 140, 200, 0.05);
}

.corp-data p {
    font-size: 1rem;
    color: #6E6E73;
    margin-bottom: 8px;
}

.corp-data p:last-child { margin-bottom: 0; }

.corp-data strong {
    color: #1A1A1F;
}

/* ── Model Section (Dark — contrast section) ── */
.model-block {
    padding: 40px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.015) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(80, 130, 200, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.model-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(80, 130, 200, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.disciplines {
    margin-top: 80px;
}

.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.discipline-tags span {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.875rem;
    color: #9E9EA3;
    transition: all 0.3s;
}

.discipline-tags span:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(120, 170, 230, 0.2);
    box-shadow: 0 0 15px rgba(120, 170, 230, 0.08);
    color: #C0C0C5;
}

.model-disclaimer {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.model-disclaimer p {
    font-size: 0.9375rem;
    color: #6E6E73;
    line-height: 1.6;
}

/* ── Capabilities Grid ── */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 64px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 8px 50px rgba(100, 140, 200, 0.06);
}

.capability-card {
    padding: 48px 36px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 255, 0.8) 100%
    );
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}

.capability-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(140, 180, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.capability-card:hover::after {
    opacity: 1;
}

.capability-number {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(70, 120, 190, 0.45);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.capability-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1A1A1F;
    margin-bottom: 12px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.capability-card p {
    font-size: 0.9375rem;
    color: #6E6E73;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ── Governance Grid ── */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.governance-block {
    padding: 40px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(245, 248, 255, 0.7) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 8px 32px rgba(100, 140, 200, 0.05);
    position: relative;
    overflow: hidden;
}

/* Luminous top edge */
.governance-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 175, 235, 0.25), transparent);
}

.governance-block h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1A1A1F;
    margin-bottom: 14px;
    line-height: 1.3;
}

.governance-block p {
    font-size: 0.9375rem;
    color: #6E6E73;
    line-height: 1.55;
}

/* Scope Disclaimer — integrated, not alarming */
.scope-disclaimer {
    margin-top: 64px;
    padding: 48px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(245, 248, 255, 0.6) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-left: 2px solid rgba(80, 120, 180, 0.25);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.02),
        0 8px 32px rgba(100, 140, 200, 0.05);
}

.scope-disclaimer h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1F;
    margin-bottom: 16px;
}

.scope-disclaimer p {
    font-size: 0.9375rem;
    color: #6E6E73;
    line-height: 1.6;
}

/* ── Contact Form (Dark section) ── */
.contact-form {
    margin-top: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9E9EA3;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #E4E4E7;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(100, 160, 220, 0.35);
    box-shadow: 0 0 20px rgba(100, 160, 220, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    font-size: 0.8125rem;
    color: #6E6E73;
    line-height: 1.5;
    margin-bottom: 24px;
}

.form-consent a {
    color: rgba(130, 180, 230, 0.8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(80, 130, 200, 0.2) 0%, rgba(80, 130, 200, 0.12) 100%);
    border: 1px solid rgba(120, 170, 230, 0.25);
    color: #D0E0F0;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(80, 130, 200, 0.06);
}

.btn-submit:hover {
    background: linear-gradient(135deg, rgba(80, 130, 200, 0.3) 0%, rgba(80, 130, 200, 0.18) 100%);
    border-color: rgba(120, 170, 230, 0.4);
    box-shadow: 0 0 30px rgba(80, 130, 200, 0.12);
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6E6E73;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 1rem;
    color: #C8C8CC;
    line-height: 1.5;
}

/* ── Footer ── */
footer {
    background: linear-gradient(180deg, rgba(240, 243, 248, 0.6) 0%, rgba(235, 238, 245, 0.8) 100%);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Luminous top line */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(120, 160, 210, 0.12) 50%, transparent 95%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-logo {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1F;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.8125rem;
    color: #6E6E73;
    line-height: 1.5;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4A4A50;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-col p {
    font-size: 0.8125rem;
    color: #6E6E73;
    margin-bottom: 4px;
    line-height: 1.5;
}

.footer-col a {
    display: block;
    font-size: 0.8125rem;
    color: #6E6E73;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #1A1A1F;
}

.footer-disclaimer {
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-disclaimer p {
    font-size: 0.75rem;
    color: #9E9EA3;
    line-height: 1.6;
    max-width: 800px;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #9E9EA3;
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }

/* ── Legal Pages ── */
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1F;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 1rem;
    color: #6E6E73;
    line-height: 1.65;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.legal-content ul li {
    font-size: 1rem;
    color: #6E6E73;
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #B0B0B5;
}

.legal-content strong {
    color: #1A1A1F;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .governance-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hero { padding: 120px 0 80px; }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }

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

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .capabilities-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .scope-disclaimer {
        padding: 32px;
    }

    .model-block {
        padding: 32px;
    }

    .governance-block {
        padding: 32px;
    }
}
