/* ============================================
   Carl's Meat Market — Brand Styles
   Palette: Midnight Blue (#0a1628) + Mint (#34d4a8)
   Fonts: Space Grotesk (headings) + DM Sans (body)
============================================ */

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

:root {
    --midnight: #0a1628;
    --midnight-light: #132240;
    --midnight-mid: #1a2d4a;
    --mint: #34d4a8;
    --mint-light: #5eead4;
    --mint-dark: #2bc497;
    --white: #ffffff;
    --off-white: #f0fdf6;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --accent-warm: #f59e0b;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.16);
    --shadow-xl: 0 16px 60px rgba(10, 22, 40, 0.20);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--midnight);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Geometric Background Shapes
============================================ */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.04;
    transition: transform 0.6s ease;
}

.geo-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--mint);
    border-radius: 50%;
    top: 10%;
    right: -80px;
}

.geo-shape.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--mint);
    top: 40%;
    left: -40px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-shape.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--mint);
    border-radius: 50%;
    top: 60%;
    right: 10%;
}

.geo-shape.shape-4 {
    width: 200px;
    height: 200px;
    border: 3px solid var(--mint);
    border-radius: 50%;
    top: 75%;
    left: 5%;
    opacity: 0.02;
}

.geo-shape.shape-5 {
    width: 60px;
    height: 60px;
    background: var(--mint);
    top: 25%;
    left: 15%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

/* ============================================
   Header / Navigation
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--midnight);
    letter-spacing: -0.02em;
}

.logo-text .accent {
    color: var(--mint);
    font-size: 1.8rem;
    line-height: 0;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--midnight);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--mint-dark);
    background: rgba(52, 212, 168, 0.08);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--midnight);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    margin-left: 8px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--mint);
    color: var(--midnight);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(52, 212, 168, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--mint-dark);
    background: rgba(52, 212, 168, 0.08);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--midnight);
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    margin-top: 16px;
    transition: var(--transition);
}

.mobile-cta:hover {
    background: var(--mint);
    color: var(--midnight);
}

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 212, 168, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--midnight);
    border: 2px solid rgba(10, 22, 40, 0.12);
}

.btn-secondary:hover {
    border-color: var(--mint);
    color: var(--mint-dark);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--mint);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Section Shared
============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint-dark);
    background: rgba(52, 212, 168, 0.12);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--mint);
    border-radius: 50%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 50%, rgba(52, 212, 168, 0.04) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--midnight);
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    border: 1px solid rgba(10, 22, 40, 0.06);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--midnight);
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    position: relative;
    color: var(--mint-dark);
    z-index: 1;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(52, 212, 168, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

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

.hero-img-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    width: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-badge-float {
    position: absolute;
    top: 32px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--midnight);
    z-index: 2;
}

/* Hero Geometric Accents */
.hero-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 212, 168, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(52, 212, 168, 0.15);
    bottom: 40px;
    left: -80px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(52, 212, 168, 0.12);
    top: 80px;
    left: 45%;
    transform: rotate(15deg);
}

/* ============================================
   Marquee Strip
============================================ */
.marquee-strip {
    background: var(--midnight);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Products Section
============================================ */
.products {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--white);
}

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

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

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

.product-card:hover {
    border-color: var(--mint);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.product-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mint), var(--mint-light));
    z-index: 2;
}

.product-card-img {
    height: 220px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.product-card-body {
    padding: 24px;
}

.product-card-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mint-dark);
    background: rgba(52, 212, 168, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.product-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   About Section
============================================ */
.about {
    padding: 100px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 212, 168, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
}

.about-img-stack {
    position: relative;
    height: 560px;
}

.about-img-1 {
    width: 85%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--midnight);
}

.about-img-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-exp-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--mint);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-badge .exp-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1;
}

.about-exp-badge .exp-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--midnight);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content .section-tag {
    background: rgba(52, 212, 168, 0.15);
    color: var(--mint-light);
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(52, 212, 168, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.about-feature span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ============================================
   Gallery Section
============================================ */
.gallery {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    z-index: 1;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.gallery-item--large {
    grid-column: span 7;
    height: 380px;
}

.gallery-item--wide {
    grid-column: span 8;
    height: 240px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    height: 240px;
}

/* ============================================
   CTA Section
============================================ */
.cta {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.cta-card {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-light) 100%);
    border-radius: var(--radius-xl);
    padding: 72px 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 212, 168, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.cta-circle-2 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(52, 212, 168, 0.12);
    bottom: -60px;
    left: 10%;
}

.cta-dots {
    position: absolute;
    bottom: 40px;
    right: 60px;
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 12px;
    opacity: 0.2;
}

.cta-dots::before,
.cta-dots::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
}

.cta-content .section-tag {
    background: rgba(52, 212, 168, 0.15);
    color: var(--mint-light);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 440px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* ============================================
   Contact Section
============================================ */
.contact {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    z-index: 1;
}

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

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.contact-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-decoration: none;
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--midnight);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--midnight);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(52, 212, 168, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
}

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

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--midnight);
    margin-top: 16px;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--midnight);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--mint);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--mint);
}

.footer-bottom {
    padding: 24px 0;
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }
    
    .hero-visual {
        height: 520px;
    }
    
    .about-inner {
        gap: 48px;
    }
    
    .cta-card {
        padding: 56px 40px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item--large {
        grid-column: span 12;
        height: 300px;
    }
    
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .nav, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 400px;
        order: -1;
    }
    
    .hero-img-float {
        left: -10px;
        width: 180px;
    }
    
    .hero-badge-float {
        right: -10px;
        top: 16px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-stack {
        height: 400px;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        gap: 32px;
    }
    
    .cta-actions {
        flex-direction: row;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large,
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        grid-column: span 1;
        height: 240px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .contact-form-card {
        padding: 28px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
}
