/* ========================================
   CodyMind Landing Page — Calm, Literary
   ======================================== */

:root {
    --cream: #f8f5f0;
    --cream-alt: #f1ede6;
    --warm-white: #fdfcfa;
    --charcoal: #2c2c2c;
    --text: #3d3a36;
    --text-light: #6b665e;
    --accent: #b8956a;
    --accent-hover: #a07d55;
    --border: #e5e0d8;
    --shadow: rgba(44, 44, 44, 0.06);
    --radius: 12px;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --section-padding: 100px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 245, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--charcoal);
}

.nav-links a.active {
    font-weight: 500;
}

.btn-login {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 24px;
    border: 1.5px solid var(--accent);
    border-radius: 24px;
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.3px;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-tab-parent {
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.2s;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 36px var(--shadow);
    padding: 8px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--text-light);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: var(--cream-alt);
    color: var(--charcoal);
}

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

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: blur(2px);
    background: transparent;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(248, 245, 240, 0.5) 0%,
        rgba(248, 245, 240, 0.2) 40%,
        rgba(248, 245, 240, 0.7) 85%,
        var(--cream) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 32px 80px;
    max-width: 700px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 24px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 36px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(184, 149, 106, 0.3);
}

.btn-secondary {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 36px;
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

/* ---- Sections ---- */

.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--cream-alt);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section-narrow {
    max-width: 800px;
    text-align: center;
}

.section-narrow p {
    text-align: left;
}

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.section-split-reverse .section-image {
    order: -1;
}

.section-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.25;
    margin-bottom: 24px;
}

.section-heading-center {
    text-align: center;
}

.section-subheading {
    text-align: center;
    color: var(--text-light);
    font-size: 17px;
    max-width: 640px;
    margin: -8px auto 48px;
    line-height: 1.7;
}

.section-text p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

.section-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 20px !important;
    letter-spacing: 0.3px;
}

.section-image img {
    background: transparent;
}

/* ---- Story Grid (Pic3 — story frames) ---- */

.story-grid {
    margin-bottom: 20px;
}

.story-grid img {
    background: transparent;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.story-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 16px;
}

/* ---- Story Cards ---- */

.story-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.story-card:last-child {
    margin-bottom: 0;
}

.story-card-reverse {
    grid-template-columns: 1fr 1.2fr;
}

.story-card-reverse .story-card-image {
    order: 1;
}

.story-card-image img {
    background: transparent;
}

.story-age {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(184, 149, 106, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.story-card-text h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.story-card-text p {
    color: var(--text);
    line-height: 1.8;
}

/* ---- Collaborations / Contact ---- */

.collab-cta {
    margin-top: 36px;
}

.contact-section {
    text-align: center;
}

.contact-section p {
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.contact-value {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--charcoal);
}

a.contact-value:hover {
    color: var(--accent);
}

/* ---- Footer ---- */

.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.footer-nav {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.6;
}

/* ---- Login Modal ---- */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(44, 44, 44, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--warm-white);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px;
}

.modal-close:hover {
    color: var(--charcoal);
}

.modal-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 4px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--charcoal);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.12);
}

.form-error {
    color: #c44;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 18px;
}

.form-success {
    color: #4a8;
    font-size: 13px;
    margin-bottom: 12px;
    background: rgba(68, 170, 136, 0.08);
    padding: 10px 14px;
    border-radius: 8px;
}

.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-switch {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    margin-top: 20px;
}

.modal-switch a {
    font-weight: 500;
}

/* ---- Tab Pages ---- */

.tab-page {
    display: none;
}

.tab-page.active {
    display: block;
}

/* ---- Page Hero Banner (subpages) ---- */

.page-hero-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
}

.page-hero-short {
    height: 320px;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(3px);
    background: transparent;
}

.page-hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 32px;
}

.page-hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.page-hero-sub {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.page-hero-overlay .section-label {
    margin-bottom: 8px;
}

/* ---- Body Text (subpages) ---- */

.body-text {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 16px;
    text-align: left;
}

/* ---- Link More ---- */

.link-more {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.3px;
    margin-top: 4px;
    transition: color 0.2s;
}

.link-more:hover {
    color: var(--accent-hover);
}

/* ---- Question List ---- */

.question-list {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.question-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
}

.question-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

/* ---- Collaboration List ---- */

.collab-list {
    list-style: none;
    max-width: 560px;
    margin: 0 auto 24px;
    text-align: left;
}

.collab-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
}

.collab-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

/* ---- Contact Large ---- */

.contact-info-large {
    margin-top: 48px;
    margin-bottom: 24px;
}

.contact-info-large .contact-value {
    font-size: 24px;
}

/* ---- Team Grid ---- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--warm-white);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px var(--shadow);
}

.team-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream-alt);
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.team-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-card p:last-child {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

.hidden {
    display: none !important;
}

/* ---- Animations ---- */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 960px) {
    :root {
        --section-padding: 72px;
    }

    .section-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-split-reverse .section-image {
        order: 0;
    }

    .section-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .story-card,
    .story-card-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .story-card-reverse .story-card-image {
        order: 0;
    }

    .hero-title {
        font-size: 52px;
    }

    .section-heading {
        font-size: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .page-hero-banner {
        height: 320px;
    }

    .page-hero-short {
        height: 260px;
    }

    .page-hero-title {
        font-size: 38px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 56px;
    }

    .nav-inner {
        padding: 0 20px;
        height: 60px;
    }

    /* Solid nav bar on mobile (no translucency) */
    .nav {
        background: var(--cream);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid var(--border);
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 32px 24px 48px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        box-shadow: 0 8px 24px var(--shadow);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links > a,
    .nav-links > .nav-dropdown,
    .nav-links > .btn-login {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        padding: 12px 16px;
        display: block;
    }

    .nav-dropdown {
        display: block;
    }

    .nav-tab-parent {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .nav-tab-parent .dropdown-arrow {
        font-size: 18px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--cream-alt);
        border: none;
        border-radius: 8px;
        box-shadow: none;
        padding: 0;
        margin: 4px 0 0;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 240px;
        padding: 6px 0;
        transform: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        max-height: 0;
    }

    .nav-dropdown.open:hover .nav-dropdown-menu {
        max-height: 240px;
    }

    .nav-dropdown-item {
        font-size: 16px;
        color: var(--text-light);
        padding: 10px 16px;
    }

    .btn-login {
        margin-top: 12px;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .section-container {
        padding: 0 20px;
    }

    .section-heading {
        font-size: 26px;
    }

    .section-subheading {
        font-size: 15px;
    }

    .story-card-text h3 {
        font-size: 24px;
    }

    .modal {
        padding: 36px 24px;
        border-radius: 16px;
        max-width: 100%;
    }

    .modal-title {
        font-size: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 14px;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
    }

    .page-hero-banner {
        height: 260px;
        margin-top: 60px;
    }

    .page-hero-short {
        height: 220px;
    }

    .page-hero-title {
        font-size: 30px;
    }

    .page-hero-sub {
        font-size: 15px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-info-large .contact-value {
        font-size: 20px;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
