/* ============================================
   Vormelker Properties International
   Style Sheet
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-navy: #1B2A4A;
    --color-navy-dark: #111D33;
    --color-gold: #C4963C;
    --color-gold-hover: #D4A64C;
    --color-white: #FFFFFF;
    --color-grey-light: #F5F5F5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E0E0E0;

    --font-heading: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Source Sans Pro', Arial, Helvetica, sans-serif;

    --container-max: 1140px;
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
    --transition: 0.3s ease;
    --navbar-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(196, 150, 60, 0.15);
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-navy);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section Headings ---------- */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-heading--light {
    color: var(--color-white);
}

.section-heading--light::after {
    background-color: var(--color-gold);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 150, 60, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--color-navy);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    /* Fallback when SVG not loaded */
    min-width: 200px;
    background-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 8px 10px;
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-x-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px;
    margin-left: 4px;
    transition: color var(--transition);
}

.nav-x-link:hover {
    color: var(--color-white);
}

.nav-x-link::after {
    display: none;
}

.x-icon {
    display: block;
}

/* Language Toggle */
.lang-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: border-color 0.3s ease;
}

.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-option {
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 2px 0;
}

.lang-option:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-option--active {
    color: #D4A853;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    user-select: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/strategy-room.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-navy);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(27, 42, 74, 0.82) 0%,
        rgba(27, 42, 74, 0.75) 50%,
        rgba(27, 42, 74, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 100px 20px 60px;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 40px;
    min-height: 80px;
}

.hero-headline {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subheadline {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
    background-color: var(--color-grey-light);
    padding: 60px 0;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text);
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--color-grey-light);
    min-height: 350px;
    object-fit: cover;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-signature {
    margin-top: 30px !important;
    font-style: italic;
    font-weight: 600;
    color: var(--color-navy);
}

/* ============================================
   TEAM
   ============================================ */
.team {
    padding: var(--section-padding);
    background-color: var(--color-grey-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Klaus's card spans full width on the first row */
.team-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.team-card--featured .team-card-image img {
    height: 100%;
    object-fit: cover;
}

.team-card-image {
    width: 100%;
    overflow: hidden;
    background-color: var(--color-grey-light);
}

.team-card-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

.team-card-info {
    padding: 24px;
}

.team-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.team-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-card-title--prominent {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 6px;
    display: inline-block;
}

.team-card-bio {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ============================================
   METHODOLOGY
   ============================================ */
.methodology {
    padding: 100px 0;
    background-color: var(--color-white);
}

.methodology-subtitle {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -30px;
    margin-bottom: 30px;
}

.methodology-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Timeline Layout */
.phases-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 80px;
}

.phases-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-navy));
    border-radius: 2px;
}

.phase-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 20px;
}

.phase-item:last-child {
    margin-bottom: 0;
}

.phase-number {
    position: absolute;
    left: -68px;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-navy);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-gold);
    z-index: 1;
}

.phase-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.phase-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.methodology-footer {
    text-align: center;
    max-width: 700px;
    margin: 60px auto 0;
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text-light);
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

/* ============================================
   METRICS / DASHBOARD
   ============================================ */
.metrics {
    position: relative;
    padding: var(--section-padding);
    background-image: url('../images/dashboard-screen.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-navy);
}

.metrics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 42, 74, 0.88);
}

.metrics-container {
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

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

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.2;
    margin-bottom: 10px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.metrics-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding);
    background-color: var(--color-grey-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    padding: 36px 28px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.service-icon svg {
    margin: 0 auto;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ============================================
   BOOK
   ============================================ */
.book {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.book-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.book-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -30px;
    margin-bottom: 30px;
}

.book-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

.book-cover-wrapper {
    position: relative;
}

.book-cover-img {
    width: 100%;
    border-radius: 3px;
    box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.15), -1px -1px 0 rgba(0, 0, 0, 0.04);
    background-color: var(--color-grey-light);
}

.book-text {
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 40px;
    text-align: left;
}

.book-quote {
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    padding: 30px 36px;
    background-color: var(--color-grey-light);
    position: relative;
}

.book-quote p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-navy);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 12px;
}

.book-quote cite {
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-text-light);
    font-weight: 600;
}

.book-download {
    margin-top: 28px;
    text-align: center;
}

.book-download .btn {
    font-size: 0.85rem;
    padding: 14px 28px;
}

.book-download-note {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--section-padding);
    background-color: var(--color-navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-company {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-detail {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.contact-detail a {
    color: var(--color-gold);
}

.contact-detail a:hover {
    color: var(--color-gold-hover);
}

.contact-cta {
    margin-top: 30px;
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.required {
    color: var(--color-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    transition: border-color var(--transition), background-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group select {
    appearance: auto;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--color-navy);
    color: var(--color-white);
}

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

.btn-submit {
    align-self: flex-start;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-navy-dark);
    padding: 40px 0 30px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.8;
}

.footer-copy p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--color-white);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.6;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-navy-dark);
    border-top: 2px solid var(--color-gold);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 20px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {

    .section-heading {
        font-size: 1.75rem;
    }

    /* Nav -- full-screen overlay menu */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        background-color: var(--color-navy);
        padding: calc(var(--navbar-height) + 20px) 0 40px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: block;
        padding: 16px 28px;
        text-align: left;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link:active {
        background-color: rgba(196, 150, 60, 0.15);
    }

    /* Move X link inside mobile menu */
    .nav-x-link {
        margin-left: 0;
        padding: 16px 28px;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-x-link::after {
        content: 'Follow on X';
        font-family: var(--font-heading);
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }

    .lang-toggle {
        margin: 10px 28px 0;
        border-color: rgba(255, 255, 255, 0.2);
        padding: 8px 16px;
        font-size: 0.85rem;
        justify-content: center;
        width: auto;
        align-self: flex-start;
    }

    /* Hero */
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subheadline {
        font-size: 1.05rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 250px 1fr;
    }

    /* Methodology */
    .methodology {
        padding: 70px 0;
    }

    /* Metrics */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Services -- handle 5-card orphan */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 600px) {

    :root {
        --navbar-height: 60px;
    }

    .nav-logo-img {
        height: 44px;
        min-width: 180px;
    }

    .container {
        padding: 0 16px;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    /* Buttons -- full-width on mobile */
    .btn {
        padding: 16px 28px;
        font-size: 0.9rem;
        width: 100%;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 90px 16px 50px;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 24px;
    }

    .hero-headline {
        font-size: 1.65rem;
        letter-spacing: -0.3px;
    }

    .hero-subheadline {
        font-size: 1.05rem;
        margin-bottom: 32px;
        line-height: 1.75;
    }

    .hero .btn {
        width: auto;
        padding: 16px 32px;
    }

    /* Intro */
    .intro-strip {
        padding: 36px 0;
    }

    .intro-text {
        font-size: 1.02rem;
        text-align: left;
        line-height: 1.85;
    }

    /* About */
    .about {
        padding: var(--section-padding-mobile);
    }

    .about-image {
        max-width: 100%;
    }

    .about-image img {
        min-height: 280px;
        border-radius: 4px;
    }

    .about-text p {
        font-size: 1.02rem;
        line-height: 1.8;
    }

    /* Team */
    .team {
        padding: var(--section-padding-mobile);
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-card--featured {
        grid-template-columns: 1fr;
    }

    .team-card--featured .team-card-image img {
        height: 300px;
    }

    .team-card-image img {
        height: 280px;
        object-position: center 15%;
    }

    .team-card-info {
        padding: 20px 16px;
    }

    .team-card-bio {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    /* Methodology */
    .methodology {
        padding: var(--section-padding-mobile);
    }

    .methodology-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .methodology-intro {
        font-size: 1.02rem;
        text-align: left;
        margin-bottom: 40px;
    }

    .phases-timeline {
        padding-left: 52px;
    }

    .phases-timeline::before {
        left: 18px;
        width: 2px;
    }

    .phase-number {
        left: -50px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 2px;
    }

    .phase-item {
        margin-bottom: 36px;
        padding-left: 14px;
    }

    .phase-title {
        font-size: 1.05rem;
    }

    .phase-description {
        font-size: 1rem;
        line-height: 1.75;
    }

    .methodology-footer {
        font-size: 0.9rem;
        margin-top: 40px;
    }

    /* Metrics */
    .metrics {
        padding: var(--section-padding-mobile);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .metric-number {
        font-size: 2.2rem;
    }

    .metric-label {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .metrics-note {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Services */
    .services {
        padding: var(--section-padding-mobile);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid .service-card:last-child:nth-child(odd) {
        max-width: none;
    }

    .service-card {
        padding: 28px 20px;
    }

    .service-description {
        font-size: 0.98rem;
    }

    /* Book */
    .book {
        padding: var(--section-padding-mobile);
    }

    .book-subtitle {
        font-size: 0.95rem;
    }

    .book-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .book-cover-wrapper {
        max-width: 200px;
        margin: 0 auto;
    }

    .book-text {
        font-size: 1.02rem;
        line-height: 1.8;
    }

    .book-quote {
        padding: 20px 18px;
    }

    .book-download .btn {
        font-size: 0.8rem;
        padding: 12px 20px;
        width: 100%;
    }

    .book-quote p {
        font-size: 1.02rem;
    }

    /* Contact */
    .contact {
        padding: var(--section-padding-mobile);
    }

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

    /* Form -- larger touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 14px 16px;
        border-radius: 4px;
    }

    .form-group label {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }

    .btn-submit {
        width: 100%;
        padding: 18px 28px;
        font-size: 0.95rem;
    }

    /* Cookie */
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 16px;
    }

    .cookie-text {
        font-size: 0.92rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }

    .btn-cookie {
        width: 100%;
        padding: 14px 20px;
    }

    /* Footer */
    .footer-logo-img {
        height: 32px;
    }

    .footer-bottom p {
        font-size: 0.82rem;
        padding: 0 8px;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .hero-headline {
        font-size: 1.4rem;
    }

    .hero-subheadline {
        font-size: 0.95rem;
    }

    .metric-number {
        font-size: 1.8rem;
    }

    .metric-label {
        font-size: 0.72rem;
    }

    .team-card-image img,
    .team-card--featured .team-card-image img {
        height: 240px;
        object-position: center 15%;
    }

    .phase-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .phases-timeline {
        padding-left: 46px;
    }

    .phases-timeline::before {
        left: 14px;
    }

    .phase-number {
        left: -44px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 14px 20px;
    }
}
