/* ============================================
   GRILL BRIGADE — Style System
   Emerald Green + Cream | Clean Minimalist
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-emerald-400: #34d399;
    --color-cream-50: #faf9f6;
    --color-cream-100: #f5f3ed;
    --color-cream-200: #ece8de;
    --color-cream-300: #e0dbd0;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #7a7a7a;
    --color-line: rgba(10, 74, 59, 0.12);
    --color-line-strong: rgba(10, 74, 59, 0.25);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream-50);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-700);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--color-emerald-600);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--color-text-primary);
    margin-bottom: 24px;
}

.title-accent {
    color: var(--color-emerald-700);
    font-style: italic;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    border-bottom-color: var(--color-line);
}

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

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

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--color-emerald-700);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
}

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

.nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-emerald-600);
    transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-emerald-700) !important;
    font-weight: 500;
}

.nav-phone svg {
    transition: transform 0.3s var(--ease-smooth);
}

.nav-phone:hover svg {
    transform: scale(1.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}

.mobile-menu.open {
    pointer-events: all;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(20px);
}

.mobile-menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-text-primary);
    transition: color 0.3s var(--ease-smooth);
}

.mobile-nav-link:hover {
    color: var(--color-emerald-700);
}

.mobile-phone-link {
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-emerald-700) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 80px;
    background: var(--color-cream-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cream-100) 0%, var(--color-cream-200) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.eyebrow-line {
    width: 48px;
    height: 1px;
    background: var(--color-emerald-600);
}

.eyebrow-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-700);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--color-text-primary);
}

.title-line {
    display: block;
}

.title-line.title-accent {
    color: var(--color-emerald-700);
    font-style: italic;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 480px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-emerald-700);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--color-emerald-700);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 78, 59, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease-smooth);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--color-line-strong);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--color-emerald-600);
    color: var(--color-emerald-700);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--color-emerald-700);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--color-emerald-600);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--color-emerald-700);
    color: #fff;
}

.btn-large {
    padding: 20px 40px;
    font-size: 0.85rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 700px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    overflow: hidden;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero-image-main:hover img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 78, 59, 0.15) 100%);
}

.hero-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 40%;
    overflow: hidden;
    border: 6px solid var(--color-cream-50);
}

.hero-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 38%;
    left: -10px;
    background: var(--color-cream-50);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--color-line);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.badge-icon {
    width: 44px;
    height: 44px;
    background: var(--color-emerald-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
}

.hero-badge span {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--color-line-strong);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-emerald-600);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* --- Section Divider --- */
.section-divider {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: var(--color-line);
}

/* --- Services Section --- */
.services {
    padding: 120px 48px;
    background: var(--color-cream-50);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-line);
    border: 1px solid var(--color-line);
}

.service-card {
    background: var(--color-cream-50);
    padding: 48px 40px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: var(--color-cream-100);
}

.service-card:hover .service-icon {
    background: var(--color-emerald-700);
    color: #fff;
}

.service-card:hover .service-icon svg {
    stroke: #fff;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-cream-300);
    line-height: 1;
    margin-bottom: 24px;
    transition: color 0.4s var(--ease-smooth);
}

.service-card:hover .service-number {
    color: var(--color-emerald-400);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-emerald-700);
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-smooth);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.service-description {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    padding-left: 16px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-emerald-500);
}

/* --- About Section --- */
.about {
    padding: 120px 48px;
    background: var(--color-cream-100);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
    height: 700px;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    overflow: hidden;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image-main:hover img {
    transform: scale(1.03);
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 45%;
    overflow: hidden;
    border: 6px solid var(--color-cream-100);
}

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

.about-content-col {
    padding-left: 20px;
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--color-emerald-600);
    margin-bottom: 32px;
}

.about-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-emerald-700);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-line-strong);
}

/* --- Portfolio Section --- */
.portfolio {
    padding: 120px 48px;
    background: var(--color-cream-50);
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
}

.portfolio-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.portfolio-item:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
}

.portfolio-item:nth-child(4) {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
}

.portfolio-item:nth-child(5) {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
    min-height: 280px;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 78, 59, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.5s var(--ease-smooth);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-300);
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: #fff;
}

/* --- Process Section --- */
.process {
    padding: 120px 48px;
    background: var(--color-emerald-900);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.process::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-header .section-eyebrow {
    color: var(--color-emerald-400);
}

.process-header .section-eyebrow::before {
    background: var(--color-emerald-400);
}

.process-header .section-title {
    color: #fff;
}

.process-header .title-accent {
    color: var(--color-emerald-400);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 20px;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.process-connector {
    width: 60px;
    flex-shrink: 0;
    margin-top: 36px;
}

.process-connector::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}

/* --- CTA Section --- */
.cta {
    padding: 120px 48px;
    background: var(--color-cream-100);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 300px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 48px;
    background: var(--color-cream-50);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    padding-right: 20px;
}

.contact-divider {
    width: 60px;
    height: 1px;
    background: var(--color-emerald-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line-strong);
    color: var(--color-emerald-700);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-text a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-primary);
    transition: color 0.3s var(--ease-smooth);
    line-height: 1.5;
}

.contact-text a:hover {
    color: var(--color-emerald-700);
}

.contact-map {
    border: 1px solid var(--color-line);
    overflow: hidden;
    height: 250px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.4s var(--ease-smooth);
}

.contact-map:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* Contact Form */
.contact-form-col {
    background: var(--color-cream-100);
    padding: 48px;
    border: 1px solid var(--color-line);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

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

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

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-line-strong);
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    font-weight: 300;
}

.form-input:focus {
    border-bottom-color: var(--color-emerald-600);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

.form-select option {
    background: var(--color-cream-50);
    color: var(--color-text-primary);
}

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

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--color-emerald-700);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid var(--color-emerald-700);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn-submit:hover {
    background: var(--color-emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 78, 59, 0.25);
}

.btn-submit svg {
    transition: transform 0.3s var(--ease-smooth);
}

.btn-submit:hover svg {
    transform: translate(4px, -4px);
}

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-emerald-600);
    color: var(--color-emerald-700);
    margin-bottom: 24px;
    border-radius: 50%;
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.success-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--color-text-primary);
    color: #fff;
    padding: 80px 48px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 28px;
    height: 28px;
    background: var(--color-emerald-600);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
}

.footer-tagline {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.footer-link-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-col a {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s var(--ease-smooth);
}

.footer-link-col a:hover {
    color: var(--color-emerald-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

.footer-address {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        height: 500px;
        order: -1;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero::before {
        width: 100%;
        opacity: 0.3;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-col {
        height: 500px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: auto;
    }
    
    .portfolio-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    
    .portfolio-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: auto;
    }
    
    .portfolio-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: auto;
    }
    
    .portfolio-item:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: auto;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .process-connector {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-badge {
        display: none;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .services,
    .about,
    .portfolio,
    .process,
    .cta,
    .contact {
        padding: 80px 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .about-image-col {
        height: 400px;
    }
    
    .about-content-col {
        padding-left: 0;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4),
    .portfolio-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .portfolio-item img {
        min-height: 220px;
    }
    
    .process {
        padding: 80px 24px;
    }
    
    .process-step {
        flex: none;
        width: 100%;
    }
    
    .cta {
        padding: 80px 24px;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .contact {
        padding: 80px 24px;
    }
    
    .contact-form-col {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 60px 24px 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 0.78rem;
    }
}
