/* Global Variables & Colors */
:root {
    --bg-color: #161616;
    --card-bg-color: #1f1f1f;
    --accent-color: #ffd400;
    --accent-color-hover: #e0bb00;
    --text-color: #ffffff;
    --text-muted: #888888;
    --text-dimmed: #b9b9b9;
    --border-color: #ffffff;
    --border-color-focus: rgba(255, 212, 0, 0.5);
    
    --font-heading: 'Bricolage Grotesque', 'Arial', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.44, 0, 0.56, 1);
    --transition-medium: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    
    --container-width: 1400px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
}

.text-yellow {
    color: var(--accent-color);
}

.font-bold {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #161616;
}

.btn-primary:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-2px);
}

.btn-arrow {
    display: flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: #161616;
    transform: translateY(-2px);
}

.btn-text {
    background-color: transparent;
    color: var(--text-dimmed);
    padding: 14px 0;
}

.btn-text:hover {
    color: var(--text-color);
}

.w-full {
    width: 100%;
}

.justify-center {
    justify-content: center;
}

.mt-medium {
    margin-top: 24px;
}

.mb-large {
    margin-bottom: 48px;
}

/* Header & Navigation (Floating Top-Right Pill Bar) */
.header {
    position: fixed;
    top: 24px;
    right: max(24px, calc((100vw - 1400px) / 2));
    z-index: 1000;
    background-color: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-fast);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
}

/* Stagger Hover Text (Framer-style Character Roll Up) */
.stagger-text-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: pre;
    width: max-content;
}

.stagger-char {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25em;
    vertical-align: top;
}

.stagger-track-top,
.stagger-track-bottom {
    display: inline-block;
    line-height: 1.25em;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--char-index, 0) * 0.025s);
    will-change: transform;
}

.stagger-track-top {
    transform: translateY(0%);
    color: inherit;
}

.stagger-track-bottom {
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(0%);
    color: var(--accent-color);
}

/* Hover & Focus state activations */
.nav-link:hover .stagger-track-top,
.nav-link:focus .stagger-track-top,
.nav-link.active .stagger-track-top,
.footer-nav-link:hover .stagger-track-top,
.footer-nav-link:focus .stagger-track-top,
.about-more-link:hover .stagger-track-top,
.about-more-link:focus .stagger-track-top,
.offer-see-more-link:hover .stagger-track-top,
.offer-see-more-link:focus .stagger-track-top {
    transform: translateY(-100%);
}

.nav-link:hover .stagger-track-bottom,
.nav-link:focus .stagger-track-bottom,
.nav-link.active .stagger-track-bottom,
.footer-nav-link:hover .stagger-track-bottom,
.footer-nav-link:focus .stagger-track-bottom,
.about-more-link:hover .stagger-track-bottom,
.about-more-link:focus .stagger-track-bottom,
.offer-see-more-link:hover .stagger-track-bottom,
.offer-see-more-link:focus .stagger-track-bottom {
    transform: translateY(-100%);
}

/* Offer See More Link (Styled exactly like Więcej o mnie) */
.offer-see-more-link {
    background: none;
    border: none;
    color: #161616;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.offer-see-more-link .stagger-track-top {
    color: #161616;
}

.offer-see-more-link .stagger-track-bottom {
    color: var(--accent-color);
}

.offer-see-more-link .arrow-inner-wrapper {
    position: relative;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #161616;
    transform: rotate(90deg);
    transition: color var(--transition-fast);
}

.offer-see-more-link:hover .arrow-inner-wrapper {
    color: var(--accent-color);
}

/* Sections Base Styling */
section {
    padding: 100px 0;
    border-bottom: none;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.section-subtext {
    font-size: 18px;
    color: var(--text-dimmed);
    max-width: 700px;
    margin-bottom: 40px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 1400px;
    max-width: calc(100% - 48px);
    height: 620px;
    margin: 24px auto 12px;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45.6% 19.3%;
    border-radius: 12px;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-text-box {
    max-width: 750px;
}

.hero-title {
    margin-bottom: 16px;
    animation: fadeInUp 0.8s var(--transition-slow);
}

.hero-logo-img {
    height: 110px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.hero-subtitle {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
    animation: fadeInUp 1s var(--transition-slow);
}

.hero-cta-strip {
    background-color: #161616;
    padding: 16px 0 12px;
    border-top: none;
    border-bottom: none;
    width: 100%;
}

.hero-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 960px;
    max-width: 100%;
    height: 45px;
    margin: 0 auto;
    animation: fadeInUp 1.2s var(--transition-slow);
}

.btn-hero-white,
.btn-hero-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 4px 20px;
    height: 45px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-white > span:first-child,
.btn-hero-outline > span:first-child {
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.btn-hero-white {
    background-color: #ffffff;
    color: #161616;
    border: 1px solid #ffffff;
}

.btn-hero-outline {
    background-color: rgba(22, 22, 22, 0.8);
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-hero-white:hover {
    border-color: #ffffff;
    background-color: #f5f5f5;
}

.btn-hero-outline:hover {
    border-color: var(--accent-color);
    background-color: rgba(22, 22, 22, 0.95);
}

.yellow-arrow-box {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 33px;
    height: 33px;
    background-color: var(--accent-color);
    color: #000000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                top 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                right 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover: Yellow box expands as a square to the full 45px height of the CTA container */
.btn-hero-white:hover .yellow-arrow-box,
.btn-hero-outline:hover .yellow-arrow-box,
.btn-yellow-arrow:hover .yellow-arrow-box,
.btn-text-dark:hover .yellow-arrow-box,
.btn-submit-minimal:hover .yellow-arrow-box {
    right: 0;
    top: 0;
    width: 45px;
    height: 45px;
    border-radius: 4px;
}

/* Hover: Label text moves 20px to the right */
.btn-hero-white:hover > span:first-child,
.btn-hero-outline:hover > span:first-child,
.btn-yellow-arrow:hover > span:first-child,
.btn-yellow-accent:hover > span:first-child,
.btn-text-dark:hover > span:first-child,
.btn-submit-minimal:hover > span:first-child {
    transform: translateX(20px);
}

.btn-hero-outline:hover > span:first-child {
    color: var(--accent-color);
}

/* Yellow CTA Button matching reference image */
.btn-yellow-accent {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    height: 45px;
    width: 280px;
    max-width: 100%;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    background-color: var(--accent-color);
    color: #161616;
    border: none;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-yellow-accent > span:first-child {
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.dark-arrow-box {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 33px;
    height: 33px;
    background-color: #161616;
    color: var(--accent-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                top 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                right 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover: Dark arrow box expands as a square to the full 45px height */
.btn-yellow-accent:hover .dark-arrow-box {
    right: 0;
    top: 0;
    width: 45px;
    height: 45px;
    border-radius: 6px;
}

/* Inner wrapper for SVG arrow fly-out & fly-in */
.arrow-inner-wrapper {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.arrow-svg {
    position: absolute;
    width: 14px;
    height: 14px;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arrow 1: Starts center (0,0), flies out top-right (160%, -160%) */
.arrow-main {
    transform: translate(0, 0);
}

/* Arrow 2: Starts bottom-left (-160%, 160%), flies in to center (0,0) */
.arrow-clone {
    transform: translate(-160%, 160%);
}

.btn-hero-white:hover .arrow-main,
.btn-hero-outline:hover .arrow-main,
.btn-yellow-arrow:hover .arrow-main,
.btn-yellow-accent:hover .arrow-main,
.btn-text-dark:hover .arrow-main,
.btn-submit-minimal:hover .arrow-main,
.offer-card:not(.active):hover .arrow-main,
.offer-see-more-link:hover .arrow-main,
.about-more-link:hover .arrow-main {
    transform: translate(160%, -160%);
}

.btn-hero-white:hover .arrow-clone,
.btn-hero-outline:hover .arrow-clone,
.btn-yellow-arrow:hover .arrow-clone,
.btn-yellow-accent:hover .arrow-clone,
.btn-text-dark:hover .arrow-clone,
.btn-submit-minimal:hover .arrow-clone,
.offer-card:not(.active):hover .arrow-clone,
.offer-see-more-link:hover .arrow-clone,
.about-more-link:hover .arrow-clone {
    transform: translate(0, 0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-color);
    padding-top: 70px;
}

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

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-info .btn-hero-outline,
.portfolio-info .btn-hero-outline {
    width: 280px;
    max-width: 100%;
    height: 45px;
    flex: none;
    box-sizing: border-box;
}

.stats-title {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #ffffff;
    font-weight: 800;
}

.stats-desc {
    font-size: 15px;
    color: var(--text-dimmed);
    line-height: 1.65;
    max-width: 340px;
}

.stats-desc strong {
    font-weight: 700;
    color: #ffffff;
}

/* Button style */
.btn-outline-arrow {
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px 6px 20px;
    width: 100%;
    max-width: 280px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.btn-outline-arrow:hover {
    border-color: var(--accent-color);
}

.arrow-box {
    background-color: var(--accent-color);
    color: #000000;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.btn-outline-arrow:hover .arrow-box {
    transform: translate(2px, -2px);
}

/* Grid layout for Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 250px 250px;
    gap: 20px;
}

.stat-card {
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.card-black {
    background-color: #161616;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.card-white {
    background-color: #ffffff;
    color: #161616;
}

.card-tall {
    grid-column: 3;
    grid-row: 1 / span 2;
    height: 100%;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.card-black .stat-label {
    color: #ffffff;
}

.card-white .stat-label {
    color: #161616;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 0.9;
    letter-spacing: -2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.stat-unit {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    display: inline-block;
}

/* About Section Split-Screen */
.about-section {
    background-color: var(--bg-color);
    padding: 40px 0;
    min-height: 600px;
    border-bottom: none;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
}

.about-left {
    flex: 1;
    background-color: var(--bg-color);
    padding: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.about-left-content {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
}

.about-card-row {
    display: flex;
    gap: 36px;
    align-items: stretch;
    width: 100%;
}

.about-vertical-img-box {
    width: 250px;
    height: 360px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--card-bg-color);
    border: none;
}

.about-vertical-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    height: 360px;
}

.about-heading {
    font-size: 19px;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-paragraph {
    font-size: 14.5px;
    color: var(--text-dimmed);
    line-height: 1.6;
}

.about-text-area > .about-paragraph {
    max-width: 480px;
    line-height: 1.6;
}

.about-paragraph strong {
    font-weight: 700;
    color: #ffffff;
}

.about-more-text {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-more-text.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 24px;
}

.about-more-text .about-paragraph {
    max-width: 780px;
}

.about-more-link {
    background: none;
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
    margin-top: auto;
    width: fit-content;
    transition: color var(--transition-fast);
}

.about-more-link .arrow-inner-wrapper {
    position: relative;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    transition: transform 0.3s ease;
}

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

/* Ensure arrow never flips or turns upside down when bio text is open */
.about-more-link.open .arrow-inner-wrapper {
    transform: none !important;
}

.about-right {
    width: 520px;
    height: 700px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-right: 0;
}

.about-right-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Bio Modal Styles */
.bio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.bio-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.bio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bio-modal-content {
    background-color: #1e1e1e;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 48px;
    width: 90%;
    max-width: 650px;
    position: relative;
    z-index: 2001;
    transform: translateY(20px);
    transition: transform var(--transition-medium);
}

.bio-modal.open .bio-modal-content {
    transform: translateY(0);
}

.bio-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-dimmed);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.bio-modal-close:hover {
    color: #ffffff;
}

.bio-modal-title {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--accent-color);
}

.bio-modal-text {
    font-size: 15px;
    color: var(--text-dimmed);
    line-height: 1.6;
}

.bio-modal-text p {
    margin-bottom: 16px;
}

.bio-modal-text p:last-child {
    margin-bottom: 0;
}

/* Offer Section */
.offer-section {
    background-color: var(--bg-color);
    padding: 50px 0;
}

.offer-section .container {
    max-width: 1400px;
    padding: 0 24px;
}

.offer-section .section-title {
    font-size: 48px;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.offer-accordion {
    display: flex;
    gap: 24px;
    width: 100%;
    height: 560px;
    align-items: stretch;
}

.offer-card {
    border-radius: 4px;
    transition: flex 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color var(--transition-medium), border-color var(--transition-medium);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Collapsed State */
.offer-card:not(.active) {
    flex: 0 0 72px;
    background-color: #161616;
    border: 2px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.offer-card:not(.active):hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.04);
}

.card-collapsed-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: opacity 0.25s 0.15s ease-out;
    opacity: 1;
}

.offer-card.active .card-collapsed-ui {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
    transition: opacity 0.1s ease-out;
}

.collapsed-arrow-box {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px !important;
    height: 34px !important;
    background-color: var(--accent-color);
    color: #161616;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                top 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                left 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.offer-card:not(.active):hover .collapsed-arrow-box {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px !important;
    height: 46px !important;
    border-radius: 8px;
}

.collapsed-title {
    position: absolute;
    bottom: 24px;
    left: 50%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dimmed);
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    white-space: nowrap;
    letter-spacing: -0.2px;
    transition: color 0.3s ease, bottom 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-card:not(.active):hover .collapsed-title {
    color: #ffffff;
    bottom: 44px;
}

/* Active Expanded State */
.offer-card.active {
    flex: 1;
    background-color: #ffffff;
    color: #161616;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    border: none;
    cursor: default;
}

.card-expanded-ui {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease-out; /* Instantly fade out when card is closing */
}

.offer-card.active .card-expanded-ui {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.28s 0.15s ease-in-out; /* Smooth fade-in after flex expands */
}

.expanded-num {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 0.9;
}

.expanded-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.expanded-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #161616; /* force dark color on white card background */
}

.expanded-desc {
    font-size: 13.5px;
    color: #555555;
    line-height: 1.55;
    max-width: 620px;
}

.expanded-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 16px;
}

.btn-yellow-accent,
.btn-yellow-arrow {
    flex: 1;
    width: 280px;
    max-width: 280px;
    height: 45px;
}

.btn-text-dark {
    flex: 1;
    max-width: 220px;
    height: 45px;
}

/* Portfolio Section (100% Design Match) */
.portfolio-section {
    background-color: var(--bg-color);
    padding: 90px 0;
}

.portfolio-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 48px;
    align-items: stretch;
    min-width: 0;
}

/* Left Info Column */
.portfolio-info-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 24px;
}

.portfolio-heading {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.portfolio-bottom-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.portfolio-text {
    font-size: 14px;
    line-height: 1.6;
    color: #888888;
    margin: 0;
    max-width: 280px;
}

.portfolio-cta-btn {
    width: 280px;
    max-width: 100%;
    height: 45px;
    align-self: flex-start;
    flex: none;
}

/* Right Content Area */
.portfolio-content-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Top Right Nav Controls */
.portfolio-nav-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.portfolio-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-nav-btn .arrow-inner-wrapper,
.photo-modal-nav-btn .arrow-inner-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.portfolio-nav-btn .arrow-svg,
.photo-modal-nav-btn .arrow-svg {
    position: absolute;
    width: 20px;
    height: 20px;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prev Button: Arrow points Left.
   Arrow 1: starts center (0,0), flies out to the left (-160%, 0).
   Arrow 2: starts right (160%, 0), flies in to center (0,0). */
.portfolio-nav-btn.prev-btn .arrow-main,
.photo-modal-nav-btn.prev-btn .arrow-main {
    transform: translate(0, 0);
}

.portfolio-nav-btn.prev-btn .arrow-clone,
.photo-modal-nav-btn.prev-btn .arrow-clone {
    transform: translate(160%, 0);
}

.portfolio-nav-btn.prev-btn:hover .arrow-main,
.photo-modal-nav-btn.prev-btn:hover .arrow-main {
    transform: translate(-160%, 0);
}

.portfolio-nav-btn.prev-btn:hover .arrow-clone,
.photo-modal-nav-btn.prev-btn:hover .arrow-clone {
    transform: translate(0, 0);
}

/* Next Button: Arrow points Right.
   Arrow 1: starts center (0,0), flies out to the right (160%, 0).
   Arrow 2: starts left (-160%, 0), flies in to center (0,0). */
.portfolio-nav-btn.next-btn .arrow-main,
.photo-modal-nav-btn.next-btn .arrow-main {
    transform: translate(0, 0);
}

.portfolio-nav-btn.next-btn .arrow-clone,
.photo-modal-nav-btn.next-btn .arrow-clone {
    transform: translate(-160%, 0);
}

.portfolio-nav-btn.next-btn:hover .arrow-main,
.photo-modal-nav-btn.next-btn:hover .arrow-main {
    transform: translate(160%, 0);
}

.portfolio-nav-btn.next-btn:hover .arrow-clone,
.photo-modal-nav-btn.next-btn:hover .arrow-clone {
    transform: translate(0, 0);
}

.portfolio-nav-btn.prev-btn {
    background-color: #161616;
    color: var(--accent-color);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.portfolio-nav-btn.prev-btn:hover {
    background-color: var(--accent-color);
    color: #161616;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.portfolio-nav-btn.next-btn {
    background-color: var(--accent-color);
    color: #161616;
    border: 1.5px solid var(--accent-color);
}

.portfolio-nav-btn.next-btn:hover {
    background-color: #ffe033;
    border-color: #ffe033;
    transform: translateY(-2px);
}

/* Portfolio Horizontal Carousel Grid */
.portfolio-grid {
    display: flex;
    flex-direction: row;
    gap: 16px;
    height: 500px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.portfolio-grid::-webkit-scrollbar {
    display: none;
}

.portfolio-grid-card {
    flex: 0 0 280px;
    flex-shrink: 0;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 500px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background-color: #161616;
    box-sizing: border-box;
    cursor: pointer;
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid-card:hover .portfolio-card-img {
    transform: scale(1.04);
}

/* Stacked Middle Column */
.portfolio-grid-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    flex: 0 0 280px;
    flex-shrink: 0;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
    box-sizing: border-box;
}

.portfolio-grid-col-stacked .portfolio-grid-card {
    flex: 1;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: calc(50% - 8px);
}

.portfolio-grid-col-stacked .portfolio-card-img {
    object-position: center center;
}

/* Video Card Overlay Elements */
.card-video {
    position: relative;
    cursor: pointer;
}

.portfolio-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: rgba(255, 248, 220, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.portfolio-grid-col-stacked .portfolio-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.portfolio-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    background-color: #fff9d6;
    box-shadow: 0 12px 32px rgba(255, 204, 0, 0.45);
}

/* Video Modal Pop-Up */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-container {
    position: relative;
    z-index: 100000;
    width: 90%;
    max-width: 440px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.3s ease;
}

.video-modal-container.video-landscape {
    max-width: 720px;
}

.video-modal-container.video-vertical {
    max-width: 440px;
}

.video-modal.active .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s ease;
}

.video-modal-close:hover {
    background-color: var(--accent-color);
    color: #000000;
    transform: rotate(90deg);
}

.video-modal-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 16px;
    padding-right: 40px;
    line-height: 1.3;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    height: 620px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000000;
}

.video-modal-container.video-landscape .video-player-wrapper {
    height: 400px;
    aspect-ratio: 16 / 9;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-badge-yellow {
    position: absolute;
    bottom: 16px;
    left: 12px;
    right: 12px;
    background-color: var(--accent-color);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 11px;
    padding: 7px 10px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
    z-index: 2;
}
.video-badge-yellow span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Photo Modal Pop-Up */
.photo-modal-container {
    position: relative;
    z-index: 100000;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-modal.active .photo-modal-container {
    transform: scale(1);
}

.photo-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 86vh;
}

.photo-modal-image {
    max-width: 88vw;
    max-height: 82vh;
    width: auto;
    height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.photo-modal .video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background-color: rgba(22, 22, 22, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Video Mode inside Showcase Modal */
.photo-modal-container.is-video-mode {
    width: 90%;
    max-width: 440px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
    display: block;
    box-sizing: border-box;
}

.photo-modal-container.is-video-mode.video-landscape {
    max-width: min(720px, calc(100vw - 140px));
}

.photo-modal-container.is-video-mode.video-vertical {
    max-width: min(440px, calc(100vw - 140px));
}

.photo-modal-container.is-video-mode.video-landscape .video-player-wrapper {
    height: 400px;
    aspect-ratio: 16 / 9;
}

.photo-modal-container.is-video-mode .video-modal-close {
    top: 16px;
    right: 16px;
}

@media (max-width: 809px) {
    .photo-modal-image {
        width: 90vw;
        max-width: 90vw;
        height: auto;
        max-height: 78vh;
    }

    .photo-modal .video-modal-close {
        top: 8px;
        right: 8px;
    }

    .photo-modal-container.is-video-mode {
        width: 92%;
        max-width: 100% !important;
        padding: 20px 14px 16px;
    }

    .photo-modal-container.is-video-mode .video-player-wrapper {
        height: clamp(360px, 64vh, 560px);
    }

    .photo-modal-container.is-video-mode.video-landscape .video-player-wrapper {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .photo-modal-container.is-video-mode .video-modal-close {
        top: 12px;
        right: 12px;
    }
}

/* Photo Modal Side Navigation CTA Buttons - Styled matching .portfolio-nav-btn */
.photo-modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 100005;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
}

.photo-modal-nav-btn.prev-btn {
    left: 32px;
    background-color: #161616;
    color: var(--accent-color);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.photo-modal-nav-btn.prev-btn:hover {
    background-color: var(--accent-color);
    color: #161616;
    border-color: var(--accent-color);
    transform: translateY(calc(-50% - 2px));
}

.photo-modal-nav-btn.next-btn {
    right: 32px;
    background-color: var(--accent-color);
    color: #161616;
    border: 1.5px solid var(--accent-color);
}

.photo-modal-nav-btn.next-btn:hover {
    background-color: #ffe033;
    border-color: #ffe033;
    transform: translateY(calc(-50% - 2px));
}

@media (max-width: 809px) {
    .photo-modal-nav-btn {
        width: 40px;
        height: 40px;
    }

    .photo-modal-nav-btn.prev-btn {
        left: 10px;
    }

    .photo-modal-nav-btn.next-btn {
        right: 10px;
    }
}

/* Privacy Policy Modal Pop-Up */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.privacy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.privacy-modal-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 680px;
    height: auto;
    max-height: 80vh;
    margin: auto;
    background-color: #161616;
    border: 1.5px solid rgba(255, 212, 0, 0.3);
    border-radius: 12px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal.active .privacy-modal-container {
    transform: scale(1);
}

.privacy-modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.privacy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.privacy-modal-close:hover {
    background-color: var(--accent-color);
    color: #000000;
    transform: rotate(90deg);
}

.privacy-modal-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex: none;
}

.privacy-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(80vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 12px;
    font-size: 14px;
    line-height: 1.65;
    color: #cccccc;
}

.privacy-modal-body p {
    margin-bottom: 14px;
}

.privacy-modal-body h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0 8px;
}

.privacy-modal-body ul {
    margin: 0 0 16px 20px;
    color: #b0b0b0;
}

.privacy-modal-body ul li {
    margin-bottom: 6px;
}

.privacy-modal-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

/* Bottom Progress Bar */
.portfolio-progress-bar {
    width: 100%;
    margin-top: 24px;
    padding-top: 8px;
}

.portfolio-progress-track {
    width: 100%;
    height: 4px;
    background-color: #262626;
    border-radius: 2px;
    overflow: hidden;
}

.portfolio-progress-fill {
    width: 40%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-color);
    position: relative;
    padding: 100px 0 140px;
    overflow: hidden;
}

.contact-bg-watermark {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(140px, 24vw, 360px);
    color: #ffffff;
    line-height: 0.75;
    letter-spacing: -8px;
    text-transform: uppercase;
    z-index: 1;
    width: 100%;
    text-align: center;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.contact-container {
    position: relative;
    z-index: 2; /* positioned on top of the watermark! */
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    align-items: start;
    gap: 40px;
}

/* Left Info Box - Positioned Lower Down */
.contact-info-box {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 250px; /* Positioned lower down */
}

.contact-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-detail-item {
    font-size: 13.5px;
    line-height: 1.35;
    margin: 0;
}

.contact-label-yellow {
    color: var(--accent-color);
    font-weight: 700;
}

.contact-value-white {
    color: #ffffff;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.contact-social-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 6px;
}

.social-icon-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-icon-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px) scale(1.1);
}

.social-icon-link svg {
    width: 22px;
    height: 22px;
}

/* Center Form Box - Overlaps Watermark Heavily */
.contact-form-box {
    grid-column: 2;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    margin-top: 70px;
    background-color: #161616;
    border: none;
    border-radius: 8px;
    padding: 40px;
    box-shadow: none;
    will-change: transform;
}

.contact-form-intro {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dimmed);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 420px;
}

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

.form-group-minimal {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid #ffffff;
    transition: border-bottom-color var(--transition-fast);
    position: relative;
    padding-bottom: 0px;
    box-sizing: border-box;
}

.form-group-minimal:focus-within {
    border-bottom-color: var(--accent-color);
}

.form-name-box {
    grid-column: 1;
    grid-row: 1;
}

.form-email-box {
    grid-column: 1;
    grid-row: 2;
}

.form-message-box {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.form-label-minimal {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dimmed);
}

.form-input-minimal, .form-textarea-minimal {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 2px 0;
    width: 100%;
}

.form-textarea-minimal {
    resize: none;
    flex-grow: 1;
    min-height: 100px;
    height: 100%;
}

.form-checkbox-group-minimal {
    grid-column: 1 / span 2;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 8px;
    position: relative;
    padding-bottom: 24px;
    transition: padding-left 0.2s ease, border-left 0.2s ease;
}

.form-checkbox-minimal {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-label-minimal {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

/* Custom Pixelated Exclamation Validation Styles (Absolute Position = Zero Layout Shift) */
.form-group-minimal.invalid {
    border-bottom-color: var(--accent-color) !important;
}

.form-group-minimal.invalid .form-label-minimal {
    color: var(--accent-color);
}

.form-checkbox-group-minimal.invalid {
    border-left: 2px solid var(--accent-color);
    padding-left: 10px;
}

.field-error-msg {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
    animation: fadeInError 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.error-pixel-icon {
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    color: #000000;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-message {
    display: none;
    grid-column: 1 / span 2;
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.form-message-success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.form-message-error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

.form-message-info {
    background-color: rgba(255, 214, 0, 0.15);
    border: 1px solid rgba(255, 214, 0, 0.5);
    color: #ffd600;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-submit-minimal {
    grid-column: 1 / span 2;
    width: 100%;
    height: 45px;
    margin-top: 16px;
    border: none;
    cursor: pointer;
}

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

.form-message {
    grid-column: 1 / span 2;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    margin-top: 16px;
}

.form-message.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Footer Section (100% Design Match) */
.footer {
    background-color: var(--bg-color);
    padding: 60px 0 36px;
    border-top: none;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 130px;
}

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

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-logo-img {
    height: 125px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: #999999;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin: 0;
}

.footer-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* Staggered Staircase (Schodkowy Układ) Footer Navigation */
.footer-nav-links {
    display: flex;
    gap: 44px;
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 70px;
}

.footer-nav-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.footer-nav-link:nth-child(1) {
    transform: translateY(0);
}

.footer-nav-link:nth-child(2) {
    transform: translateY(24px);
}

.footer-nav-link:nth-child(3) {
    transform: translateY(48px);
}

.footer-nav-link:nth-child(4) {
    transform: translateY(72px);
}

.footer-nav-link:nth-child(1):hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-nav-link:nth-child(2):hover {
    color: var(--accent-color);
    transform: translateY(21px);
}

.footer-nav-link:nth-child(3):hover {
    color: var(--accent-color);
    transform: translateY(45px);
}

.footer-nav-link:nth-child(4):hover {
    color: var(--accent-color);
    transform: translateY(69px);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright-text {
    font-family: var(--font-body);
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.footer-privacy-link {
    font-family: var(--font-body);
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-privacy-link:hover {
    color: #999999;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive Web Design (Media Queries) */

/* Tablet View (810px - 1199px) - Modeled on Desktop Elegance */
@media (min-width: 810px) and (max-width: 1199px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding: 0 32px;
    }
    
    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 40px;
        letter-spacing: -1.2px;
    }
    
    .hero-title {
        font-size: clamp(48px, 6vw, 64px);
    }

    /* Tablet Stats */
    .stats-container {
        grid-template-columns: 260px 1fr;
        gap: 32px;
        align-items: center;
    }
    
    .stats-desc {
        max-width: 100%;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-label {
        font-size: 11.5px;
    }

    /* Tablet About Section - Perfectly Proportioned Desktop Model */
    .about-section {
        padding: 70px 0;
        background-color: var(--bg-color);
    }

    .about-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
    }
    
    .about-left {
        flex: 1;
        min-width: 0;
        background-color: transparent;
        padding: 0;
    }
    
    .about-left-content {
        width: 100%;
        max-width: 100%;
    }

    .about-card-row {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }

    .about-vertical-img-box {
        width: 160px;
        height: 240px;
        flex-shrink: 0;
        border-radius: 6px;
        overflow: hidden;
    }

    .about-text-area {
        flex: 1;
        min-width: 0;
        gap: 12px;
        height: auto;
    }

    .about-more-link {
        margin-top: 12px;
    }

    .about-heading {
        font-size: 17px;
        line-height: 1.35;
        letter-spacing: -0.3px;
    }

    .about-paragraph {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .about-text-area > .about-paragraph {
        max-width: 100%;
    }

    .about-more-text .about-paragraph {
        max-width: 100%;
    }
    
    .about-right {
        width: 320px;
        flex-shrink: 0;
        height: auto;
        min-height: 480px;
        border-radius: 12px;
        overflow: hidden;
    }

    .about-right-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    /* Tablet Offer Accordion Grid (Horizontal Desktop Model) */
    .offer-section {
        padding: 70px 0;
    }

    .offer-accordion {
        display: flex;
        flex-direction: row;
        gap: 16px;
        height: 520px;
    }

    .offer-card {
        flex: 1;
    }

    .offer-card.active {
        flex: 3;
    }

    /* Tablet Portfolio Layout (Desktop 2-Column Model) */
    .portfolio-layout {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 32px;
        align-items: stretch;
    }

    .portfolio-heading {
        font-size: 40px;
    }

    .portfolio-grid {
        height: 460px;
        gap: 16px;
    }

    .portfolio-grid-card {
        flex: 0 0 250px;
        width: 250px;
        height: 460px;
    }

    .portfolio-grid-col-stacked {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        height: 100% !important;
        flex: 0 0 250px !important;
        width: 250px !important;
    }

    .portfolio-grid-col-stacked .portfolio-grid-card {
        flex: 1 !important;
        width: 100% !important;
        height: calc(50% - 8px) !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .portfolio-grid-card.card-stacked-top,
    .portfolio-grid-card.card-stacked-bottom {
        height: calc(50% - 8px) !important;
        min-height: auto !important;
        max-height: none !important;
        width: 100% !important;
        flex: 1 !important;
    }

    .portfolio-grid-card.card-stacked-top .portfolio-card-img,
    .portfolio-grid-card.card-stacked-bottom .portfolio-card-img {
        height: 100% !important;
        width: 100% !important;
    }
    
    /* Tablet Contact Section */
    .contact-section {
        background-color: var(--bg-color);
        position: relative;
        padding: 70px 0 100px;
        overflow: hidden;
    }

    .contact-bg-watermark {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-family: var(--font-heading);
        font-weight: 900;
        font-size: clamp(110px, 19vw, 240px);
        color: #ffffff;
        line-height: 0.75;
        letter-spacing: -6px;
        text-transform: uppercase;
        z-index: 1;
        width: 100%;
        text-align: center;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
    }

    .contact-container {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 32px;
        align-items: start;
    }
    
    .contact-info-box {
        grid-column: 1;
        margin-top: 180px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }
    
    .contact-form-box {
        grid-column: 2;
        margin-top: 50px;
        width: 100%;
        max-width: 620px;
        background-color: #141414;
        border: none !important;
        border-radius: 16px;
        padding: 36px 32px;
        box-shadow: none !important;
        box-sizing: border-box;
    }

    /* Tablet Footer */
    .footer-top-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-nav-links {
        display: flex;
        gap: 32px;
        padding-top: 10px;
        padding-bottom: 60px;
    }

    .footer-nav-link:nth-child(1) { transform: translateY(0); }
    .footer-nav-link:nth-child(2) { transform: translateY(20px); }
    .footer-nav-link:nth-child(3) { transform: translateY(40px); }
    .footer-nav-link:nth-child(4) { transform: translateY(60px); }
}

/* Mobile View */
@media (max-width: 809px) {
    :root {
        --header-height: 60px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .offer-section {
        height: auto;
        padding: 60px 0;
    }

    /* Centered Mobile Top Floating Pill Navigation */
    .header {
        position: fixed;
        top: 12px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 480px;
        background-color: rgba(20, 20, 20, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 12px;
        padding: 6px 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        background-color: transparent;
        padding: 0;
        border-top: none;
        transform: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav-list {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        gap: 4px;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 13.5px;
        display: inline-block;
        width: auto;
        padding: 6px 8px;
        white-space: nowrap;
    }
    
    /* Hero mobile */
    .hero-section {
        height: 440px !important;
        margin: 68px auto 16px !important;
        width: calc(100% - 32px) !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 16px !important;
    }
    
    .hero-bg-img {
        object-position: center 20% !important;
    }

    .hero-overlay {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0) 75%) !important;
    }
    
    .hero-content {
        display: flex !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 5 !important;
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
        background: transparent !important;
    }
    
    .hero-text-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        margin-top: auto !important;
        gap: 8px !important;
    }
    
    .hero-logo-img {
        width: 75% !important;
        max-width: 260px !important;
        height: auto !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.95)) !important;
    }

    .hero-subtitle {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        font-weight: 500 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 1), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
        max-width: 310px !important;
        margin: 0 auto !important;
    }
    
    .hero-cta-strip {
        position: relative !important;
        z-index: 10 !important;
        display: block !important;
        height: auto !important;
        margin: 0 auto 16px auto !important;
        padding: 0 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    .hero-cta-container {
        padding: 0;
        height: auto !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Universal Mobile CTA Buttons - Solid 54px height & touch area */
    .btn-hero-white,
    .btn-hero-outline,
    .btn-yellow-accent,
    .btn-yellow-arrow,
    .btn-submit-minimal {
        height: 54px !important;
        min-height: 54px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        padding: 0 6px 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    .btn-hero-white .yellow-arrow-box,
    .btn-hero-outline .yellow-arrow-box,
    .btn-yellow-accent .dark-arrow-box,
    .btn-yellow-arrow .yellow-arrow-box,
    .btn-submit-minimal .yellow-arrow-box {
        width: 42px !important;
        height: 42px !important;
        top: 6px !important;
        right: 6px !important;
        border-radius: 6px !important;
    }

    .btn-hero-white:hover .yellow-arrow-box,
    .btn-hero-outline:hover .yellow-arrow-box,
    .btn-yellow-accent:hover .dark-arrow-box,
    .btn-yellow-arrow:hover .yellow-arrow-box,
    .btn-submit-minimal:hover .yellow-arrow-box {
        top: 0 !important;
        right: 0 !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 8px !important;
    }
    
    /* Stats mobile 2x2 + 1 Grid Layout matching user mockup */
    .stats-section {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        margin-top: 0 !important;
        padding: 24px 0 40px !important;
        clear: both !important;
        width: 100% !important;
    }

    .stats-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    .stats-info {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 32px !important;
        clear: both !important;
        float: none !important;
    }

    .stats-title {
        font-size: 32px !important;
        line-height: 1.15 !important;
        letter-spacing: -1px !important;
        margin: 0 0 16px 0 !important;
        padding-top: 0 !important;
        display: block !important;
        clear: both !important;
    }

    .stats-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }
    
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        grid-template-rows: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: both !important;
        float: none !important;
        box-sizing: border-box !important;
    }
    
    .stat-card {
        min-height: 190px;
        padding: 18px 16px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .card-black {
        border: 1.5px solid #ffffff;
    }

    /* Card 1 (10 mln) - top left */
    .stats-grid .stat-card:nth-child(1) {
        order: 1;
    }
    
    /* Card 2 (200) - top right */
    .stats-grid .stat-card:nth-child(2) {
        order: 2;
    }

    /* Card 4 (1000) - middle left */
    .stats-grid .stat-card:nth-child(4) {
        order: 3;
    }

    /* Card 5 (20 lat) - middle right */
    .stats-grid .stat-card:nth-child(5) {
        order: 4;
    }

    /* Card 3 (100) - bottom full width */
    .stats-grid .stat-card.card-tall {
        grid-column: 1 / -1;
        grid-row: auto;
        order: 5;
        min-height: 130px;
    }

    .stat-label {
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }

    .stat-number {
        font-size: 44px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -1.5px;
        display: inline-flex;
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
    }

    .stat-unit {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.5px;
        line-height: 1;
        display: inline-block;
    }
    
    /* About mobile - 100% Matching Reference Mockup */
    .about-section {
        display: flex;
        flex-direction: column;
        padding: 16px 16px 40px 16px;
        min-height: auto;
        border-bottom: none;
    }
    
    .about-container,
    .about-left,
    .about-left-content,
    .about-card-row,
    .about-text-area {
        display: contents;
    }

    /* 1. Title at the very top */
    .about-heading {
        order: 1;
        font-size: 26px;
        line-height: 1.25;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: -0.5px;
        margin-bottom: 24px;
        display: block;
        text-align: left;
    }

    /* 2. Studio portrait photo under heading */
    .about-right {
        order: 2;
        width: 100%;
        height: 256px;
        margin: 0 0 24px 0;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }
    
    .about-right-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 18%;
    }

    /* 3. Main bio paragraph */
    .about-text-area > .about-paragraph {
        order: 3;
        font-size: 14.5px;
        line-height: 1.6;
        color: var(--text-dimmed);
        max-width: 100%;
        margin-bottom: 20px;
        display: block;
        text-align: left;
    }

    /* 4. Więcej o mnie button */
    .about-more-link {
        order: 4;
        margin: 0 0 16px 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-align: left;
    }

    /* 5. Expandable bio paragraph */
    .about-more-text {
        order: 5;
        width: 100%;
        margin-bottom: 24px;
    }

    .about-more-text .about-paragraph {
        font-size: 14.5px;
        line-height: 1.6;
        color: var(--text-dimmed);
        max-width: 100%;
        text-align: left;
    }

    /* 6. Outdoor horizontal banner photo at the very bottom */
    .about-vertical-img-box {
        order: 6;
        width: 100%;
        height: 124px;
        border-radius: 12px;
        overflow: hidden;
        margin-top: 12px;
        border: none;
        flex-shrink: 0;
        display: block;
    }

    .about-vertical-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 60%;
    }
    
    /* Offer mobile - 100% Matching Reference Mockup */
    .offer-section {
        height: auto;
        padding: 40px 0;
    }

    .offer-accordion {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: auto;
        min-height: auto;
    }

    /* Collapsed Cards */
    .offer-card {
        background-color: #161616;
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        transition: all 0.3s ease;
        overflow: hidden;
        flex: none !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* Collapsed Cards - 100% Uniform with CTA Buttons (54px Height) */
    .offer-card:not(.active) {
        padding: 0;
        height: 54px !important;
        min-height: 54px !important;
        position: relative !important;
        background-color: #161616 !important;
        border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        box-sizing: border-box;
        overflow: hidden !important;
    }

    .offer-card:not(.active) .card-collapsed-ui {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 60px 0 20px !important;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        height: 54px !important;
        min-height: 54px !important;
        position: relative !important;
        flex-direction: row !important;
    }

    .offer-card:not(.active) .collapsed-title {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
        letter-spacing: -0.2px !important;
        text-align: left !important;
        display: block !important;
        width: calc(100% - 30px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .offer-card:not(.active):hover .collapsed-title {
        transform: translateX(6px) !important;
    }

    .offer-card:not(.active) .collapsed-arrow-box {
        position: absolute !important;
        right: 6px !important;
        top: 6px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 6px !important;
        background-color: #ffd400 !important;
        color: #161616 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0;
        overflow: hidden !important;
        transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                    height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                    top 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                    right 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                    border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .offer-card:not(.active):hover .collapsed-arrow-box,
    .offer-card:not(.active):active .collapsed-arrow-box {
        right: 0 !important;
        top: 0 !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 8px !important;
    }

    /* Expanded Active Card */
    .offer-card.active {
        background-color: #ffffff !important;
        color: #161616 !important;
        border-radius: 12px !important;
        padding: 24px 20px !important;
        border: none !important;
    }

    .offer-card.active .card-collapsed-ui {
        display: none !important;
    }

    .offer-card.active .card-expanded-ui {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        width: 100%;
    }

    .expanded-num {
        font-size: 64px;
        font-weight: 800;
        color: #ffd400;
        line-height: 1;
        margin-bottom: 24px;
        display: block;
    }

    .expanded-body {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .expanded-title {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.15;
        color: #161616;
        letter-spacing: -0.8px;
        margin-bottom: 16px;
        display: block;
    }

    .expanded-desc {
        font-size: 13.5px;
        line-height: 1.55;
        color: #333333;
        margin-bottom: 24px;
        display: block;
    }

    .expanded-actions {
        display: flex;
        flex-direction: column-reverse;
        gap: 16px;
        width: 100%;
        align-items: stretch;
        margin-top: 0;
    }

    .offer-see-more-link {
        color: #161616 !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: underline;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
        order: 2;
    }

    .offer-see-more-link .stagger-track-top {
        color: #161616 !important;
    }

    .btn-yellow-accent {
        width: 100% !important;
        height: 50px !important;
        background-color: #ffd400 !important;
        color: #161616 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        padding: 0 6px 0 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        box-sizing: border-box !important;
        order: 1;
    }

    .btn-yellow-accent .dark-arrow-box {
        position: static !important;
        width: 38px !important;
        height: 38px !important;
        background-color: #161616 !important;
        color: #ffffff !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Portfolio Mobile Carousel - 450px Height & Left/Right Spread Arrows */
    .portfolio-section {
        padding: 40px 0;
    }

    .portfolio-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .portfolio-info-col {
        width: 100%;
        max-width: 100%;
    }

    .portfolio-content-col {
        display: flex;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }

    .portfolio-grid {
        order: 1;
        display: flex !important;
        flex-direction: row !important;
        gap: 16px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        width: 100% !important;
        height: 450px !important;
        align-items: center !important;
        padding-bottom: 8px !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-grid-col-stacked {
        display: contents !important;
    }

    .portfolio-grid-card {
        flex: 0 0 280px !important;
        width: 280px !important;
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Square cards on mobile retain true 1:1 square ratio */
    .portfolio-grid-card.card-stacked-top,
    .portfolio-grid-card.card-stacked-bottom {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        width: 280px !important;
        flex: 0 0 280px !important;
        align-self: center !important;
    }

    .portfolio-grid-card.card-stacked-top .portfolio-card-img,
    .portfolio-grid-card.card-stacked-bottom .portfolio-card-img {
        height: 280px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    .portfolio-card-img {
        height: 450px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 12px !important;
    }

    /* Spread Arrows Left and Right */
    .portfolio-nav-controls {
        order: 2;
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 16px 0 0 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
    }

    .portfolio-progress-bar-container {
        order: 3;
        margin-top: 16px;
    }
    /* Contact Mobile - 100% Matching Reference Mockup */
    .contact-section {
        padding: 5px 0 60px;
        position: relative;
        overflow: visible;
    }

    .contact-bg-watermark {
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translateX(-50%);
        font-size: clamp(100px, 25vw, 150px);
        font-weight: 900;
        letter-spacing: -4px;
        color: rgba(255, 255, 255, 0.95);
        opacity: 0.95;
        width: 100%;
        text-align: center;
        pointer-events: none;
        z-index: 1;
        margin-top: 0;
        line-height: 0.85;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
        z-index: 2;
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Form Box Overlaps Watermark - Order 1 - No Border */
    .contact-form-box {
        order: 1;
        margin-top: 24px;
        width: 100%;
        max-width: 100%;
        background-color: #141414;
        border: none !important;
        border-radius: 16px;
        padding: 28px 20px;
        box-shadow: none !important;
        box-sizing: border-box;
        grid-column: auto;
    }
    
    .contact-form-intro {
        font-size: 14px;
        line-height: 1.55;
        color: var(--text-dimmed);
        margin-bottom: 28px;
        text-align: left;
    }

    .contact-form-minimal {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .form-group-minimal {
        width: 100%;
    }
    
    .form-textarea-minimal {
        min-height: 100px;
    }

    .form-checkbox-group-minimal {
        grid-column: auto;
        padding-bottom: 12px;
        text-align: left;
    }

    .btn-submit-minimal {
        grid-column: auto;
        width: 100% !important;
        height: 54px !important;
        min-height: 54px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        background-color: #ffffff !important;
        color: #161616 !important;
        border-radius: 8px !important;
        padding: 0 6px 0 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin-top: 8px;
    }

    .btn-submit-minimal .yellow-arrow-box {
        width: 42px !important;
        height: 42px !important;
        top: 6px !important;
        right: 6px !important;
        border-radius: 6px !important;
    }

    .btn-submit-minimal:hover .yellow-arrow-box {
        top: 0 !important;
        right: 0 !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 8px !important;
    }

    /* Contact Info & Social Media - Order 2 Below Form - Left Justified */
    .contact-info-box {
        order: 2;
        margin-top: 32px;
        grid-column: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
        text-align: left !important;
        padding-left: 0;
    }

    .contact-subtitle {
        font-size: 18px;
        font-weight: 800;
        color: var(--accent-color);
        margin-bottom: 4px;
        text-transform: none;
        letter-spacing: -0.3px;
        text-align: left !important;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .contact-detail-item {
        font-size: 15px;
        line-height: 1.4;
        text-align: left !important;
    }

    .contact-social-row {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: flex-start !important;
        margin-top: 12px;
        width: 100%;
    }

    .social-icon-link svg {
        width: 32px;
        height: 32px;
    }
    
    /* Footer Mobile - 100% Matching Reference Mockup */
    .footer {
        padding: 40px 0 32px !important;
        background-color: #141414 !important;
    }

    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .footer-top-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 28px !important;
    }

    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .footer-logo-link {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-logo-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block !important;
        object-fit: contain !important;
    }

    .footer-tagline {
        font-size: clamp(9px, 2.9vw, 12px) !important;
        color: #a0a0a0 !important;
        margin: 6px 0 0 0 !important;
        text-align: justify !important;
        text-align-last: justify !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        letter-spacing: -0.1px !important;
    }

    .footer-nav-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 32px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-nav-link {
        font-size: 16.5px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        text-decoration: none !important;
        transform: none !important;
        white-space: nowrap !important;
        line-height: 1.3 !important;
    }

    .footer-nav-link:nth-child(1),
    .footer-nav-link:nth-child(2),
    .footer-nav-link:nth-child(3),
    .footer-nav-link:nth-child(4) {
        transform: none !important;
    }

    .footer-nav-link:hover {
        transform: none !important;
        color: var(--accent-color) !important;
    }

    .footer-bottom-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        border-top: none !important;
        padding-top: 8px !important;
    }

    .footer-privacy-link {
        font-size: 13.5px !important;
        color: #a0a0a0 !important;
        text-decoration: none !important;
        display: block !important;
        margin: 0 !important;
    }

    .footer-copyright-text {
        font-size: 13.5px !important;
        color: #a0a0a0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
}
