/* ============================================
   Franklin Industrial Minerals — Stylesheet
   Classic & Elegant | Emerald + Cream Palette
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-emerald-900: #0d3b24;
    --color-emerald-800: #1a5f3a;
    --color-emerald-700: #237a4a;
    --color-emerald-600: #2d9258;
    --color-emerald-500: #3aad6a;
    --color-cream-50: #faf8f4;
    --color-cream-100: #f5f0e8;
    --color-cream-200: #ebe4d6;
    --color-cream-300: #d4c9b4;
    --color-gold-400: #d4a853;
    --color-gold-500: #c49a3e;
    --color-gold-600: #b08a30;
    --color-dark: #1a1a18;
    --color-dark-soft: #2d2d2a;
    --color-text: #3a3a36;
    --color-text-light: #6b6b64;
    --color-text-muted: #9a9a92;
    --color-white: #ffffff;
    --color-border: #e8e2d6;
    
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(26, 26, 24, 0.06), 0 1px 2px rgba(26, 26, 24, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 26, 24, 0.08), 0 2px 6px rgba(26, 26, 24, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 26, 24, 0.12), 0 4px 12px rgba(26, 26, 24, 0.06);
    --shadow-xl: 0 24px 60px rgba(26, 26, 24, 0.16);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-dark);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-700);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 2px;
    background: var(--color-gold-400);
    transform: translateY(-50%);
}

.section-label--light {
    color: var(--color-gold-400);
}

.section-label--light::before {
    background: var(--color-gold-400);
}

/* --- Section Titles --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--color-dark);
}

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

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

.title-accent-light {
    color: var(--color-gold-400);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-emerald-800);
    color: var(--color-white);
    border-color: var(--color-emerald-800);
}

.btn-primary:hover {
    background: var(--color-emerald-700);
    border-color: var(--color-emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-emerald-800);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-md) 0;
    box-shadow: 0 2px 20px rgba(26, 26, 24, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo {
    color: var(--color-dark);
}

.nav-logo-text {
    line-height: 1.2;
}

.nav-logo-text em {
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold-400);
    font-size: 0.85em;
}

.navbar.scrolled .nav-logo-text em {
    color: var(--color-emerald-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-400);
    transition: width var(--transition-base);
}

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

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

.navbar.scrolled .nav-link {
    color: var(--color-text-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-dark);
}

.nav-link--cta {
    background: var(--color-gold-400);
    color: var(--color-dark) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.nav-link--cta:hover {
    background: var(--color-gold-500);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle-bar {
    background: var(--color-dark);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-emerald-900);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(26, 95, 58, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(13, 59, 36, 0.8) 0%, transparent 50%),
        linear-gradient(135deg, #0d3b24 0%, #1a5f3a 50%, #0d3b24 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 120px var(--space-xl) 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-400);
    margin-bottom: var(--space-xl);
    padding: 8px 16px;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.hero-title-accent {
    color: var(--color-gold-400);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold-400);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Image Layout */
.hero-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-accent {
    position: absolute;
    bottom: -40px;
    left: -60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream-50);
}

.hero-image-accent img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    display: block;
}

.hero-image-badge {
    position: absolute;
    top: 40px;
    right: -30px;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-white);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream-50);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-images {
    position: relative;
    min-height: 600px;
}

.about-image-primary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-primary img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream-50);
}

.about-image-secondary img {
    width: 400px;
    height: 280px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--color-emerald-800);
    color: var(--color-white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold-400);
    line-height: 1;
}

.about-exp-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.about-content {
    padding: var(--space-xl) 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.about-value {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.about-value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(26, 95, 58, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-value h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.about-value p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--color-cream-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 59, 36, 0.6) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.service-card-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold-400);
    line-height: 1;
}

.service-card-content {
    padding: var(--space-xl);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 95, 58, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.service-card > .service-card-content > p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

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

.service-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text);
}

.service-card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--color-cream-100);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.why-us-content {
    padding-top: var(--space-xl);
}

.why-us-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-2xl);
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.why-us-feature {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
}

.why-us-feature-number {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-emerald-800);
    opacity: 0.2;
    line-height: 1;
    padding-top: 4px;
}

.why-us-feature-content h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-dark);
}

.why-us-feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.why-us-image-column {
    position: relative;
}

.why-us-image-large {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image-large img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    display: block;
}

.why-us-quote-card {
    position: absolute;
    bottom: -40px;
    left: -40px;
    background: var(--color-emerald-800);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 340px;
}

.quote-icon {
    margin-bottom: var(--space-md);
}

.why-us-quote-card blockquote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.quote-attribution {
    font-size: 0.8rem;
    color: var(--color-gold-400);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-emerald-900);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(26, 95, 58, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(13, 59, 36, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, #0d3b24 0%, #1a5f3a 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-title {
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info {
    padding-top: var(--space-xl);
}

.contact-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.contact-detail {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(26, 95, 58, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-dark);
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-dark);
    background: var(--color-cream-50);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-emerald-600);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(45, 146, 88, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

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

.form-success-icon {
    margin-bottom: var(--space-lg);
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-logo span em {
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold-400);
    font-size: 0.85em;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

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

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-list a:hover {
    color: var(--color-gold-400);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-xl);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a:hover {
    color: var(--color-gold-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image-accent {
        left: -20px;
        bottom: -20px;
    }
    
    .hero-image-badge {
        right: -10px;
    }
    
    .about-layout,
    .why-us-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-emerald-900);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu.open .nav-link {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.1rem;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.show {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding-bottom: var(--space-3xl);
    }
    
    .hero-container {
        padding: 100px var(--space-lg) var(--space-3xl);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-image-main img {
        height: 450px;
    }
    
    .hero-image-accent {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
    }
    
    .hero-image-accent img {
        width: 100%;
        height: 220px;
    }
    
    .hero-image-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-flex;
        margin-top: var(--space-md);
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-quote-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-lg);
        max-width: 100%;
    }
    
    .why-us-image-large img {
        height: 400px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-stat-divider {
        width: 48px;
        height: 1px;
    }
    
    .about-image-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: var(--space-md);
    }
    
    .about-image-secondary img {
        width: 100%;
        height: 200px;
    }
    
    .about-experience-badge {
        top: auto;
        right: auto;
        position: relative;
        display: inline-block;
        margin-bottom: var(--space-lg);
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
