/* ============================================
   3CMI - Modern Industrial Website
   Static HTML/CSS Version
   ============================================ */

/* CSS Variables */
:root {
    --background: #12151a;
    --background-light: #1a1e25;
    --card: #1e222a;
    --foreground: #f5f3f0;
    --foreground-muted: #8b8d91;
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --border: #2a2e36;
    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --shadow-glow: 0 0 60px rgba(245, 158, 11, 0.2);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section { padding: 7rem 0; }
}

@media (min-width: 1024px) {
    .section { padding: 8rem 0; }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 4.5rem; }
}

.section-title-small {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .section-title-small { font-size: 3rem; }
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: var(--transition);
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--background);
}

.btn-full {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 21, 26, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(42, 46, 54, 0.5);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(18, 21, 26, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .nav-desktop { display: flex; }
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 243, 240, 0.8);
    transition: var(--transition);
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop .btn-primary {
    padding: 0.75rem 1.5rem;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(42, 46, 54, 0.5);
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 1024px) {
    .nav-mobile { display: none !important; }
}

.nav-mobile a {
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 243, 240, 0.8);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-mobile a:hover {
    color: var(--primary);
}

.nav-mobile .btn-primary {
    text-align: center;
    margin-top: 1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18, 21, 26, 0.95), rgba(18, 21, 26, 0.8), var(--background));
}

.hero-overlay-side {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18, 21, 26, 0.9), transparent, rgba(18, 21, 26, 0.5));
}

.hero-decoration-1 {
    position: absolute;
    top: 5rem;
    right: 2.5rem;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transform: rotate(45deg);
    opacity: 0.5;
}

.hero-decoration-2 {
    position: absolute;
    bottom: 10rem;
    left: 2.5rem;
    width: 10rem;
    height: 10rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
    transform: rotate(12deg);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
}

.hero-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle { font-size: 1rem; }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: 8rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 12rem; }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(245, 243, 240, 0.9);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-tagline { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
    .hero-tagline { font-size: 2.25rem; }
}

.hero-services {
    font-size: 1.125rem;
    color: var(--foreground-muted);
    max-width: 48rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .hero-services { font-size: 1.25rem; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; }
}

.scroll-indicator {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--foreground-muted);
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 34, 42, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(42, 46, 54, 0.5);
    padding: 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .stat-number { font-size: 3rem; }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: linear-gradient(to bottom, var(--background), var(--card));
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    position: relative;
    z-index: 10;
    max-width: 400px;
}

.about-image-border {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.about-image-bg {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 75%;
    height: 75%;
    background: rgba(245, 158, 11, 0.1);
}

.about-text {
    space-y: 1.5rem;
    color: rgba(245, 243, 240, 0.8);
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: var(--primary);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--background);
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.service-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card), rgba(30, 34, 42, 0.5), transparent);
}

.service-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-icon svg {
    color: var(--background);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-content p {
    color: var(--foreground-muted);
    line-height: 1.6;
}

.service-details {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(245, 243, 240, 0.7);
}

.service-details p {
    margin-bottom: 0.25rem;
}

/* ============================================
   ACTIVITIES
   ============================================ */
.activities {
    background: var(--card);
    position: relative;
    overflow: hidden;
}

.activities-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.activities-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activities-grid {
    display: grid;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .activities-grid { grid-template-columns: 1fr 1fr; }
}

.activities-block {
    margin-bottom: 3rem;
}

.activities-block h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.title-bar {
    display: inline-block;
    width: 2rem;
    height: 0.25rem;
    background: var(--primary);
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.material-item {
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.material-item:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.material-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    opacity: 0.8;
    transition: var(--transition);
}

.material-item:hover .material-circle {
    opacity: 1;
}

.material-inox { background: linear-gradient(135deg, #94a3b8, #475569); }
.material-cuivre { background: linear-gradient(135deg, #fb923c, #ea580c); }
.material-fer { background: linear-gradient(135deg, #6b7280, #374151); }
.material-alu { background: linear-gradient(135deg, #d4d4d8, #71717a); }

.material-item p {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

/* Work Types */
.work-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.work-type-item {
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    padding: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.work-type-item:hover {
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateX(0.5rem);
}

/* Workshop Image */
.workshop-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

.workshop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.workshop-overlay p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .workshop-overlay p { font-size: 2rem; }
}

/* Techniques */
.techniques-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.technique-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.technique-item:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.05);
}

.technique-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--background);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 158, 11, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(245, 158, 11, 0.2);
    opacity: 1;
}

.gallery-overlay span {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--background);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(18, 21, 26, 0.95);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--foreground);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--primary);
    color: var(--background);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    background: var(--card);
    border-top: 1px solid rgba(42, 46, 54, 0.5);
    border-bottom: 1px solid rgba(42, 46, 54, 0.5);
    padding: 4rem 0;
}

.partners-subtitle {
    color: var(--foreground-muted);
    margin-top: 1rem;
}

.partners-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
}

.partner-card {
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.partner-number {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.partner-card:hover .partner-number {
    background: rgba(245, 158, 11, 0.2);
}

.partner-card p {
    font-size: 0.875rem;
    color: rgba(245, 243, 240, 0.9);
}

.cmac-logo {
    margin-top: 3rem;
    text-align: center;
}

.cmac-logo img {
    height: 4rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cmac-logo img:hover {
    opacity: 1;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: linear-gradient(to bottom, var(--card), var(--background));
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(245, 158, 11, 0.05);
    transform: skewX(12deg);
    transform-origin: top right;
}

.contact-grid {
    display: grid;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-desc {
    color: var(--foreground-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--primary);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-value {
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(145deg, rgba(30, 34, 42, 0.8), rgba(26, 30, 37, 0.8));
    border: 1px solid rgba(42, 46, 54, 0.5);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
    .contact-form-wrapper { padding: 2.5rem; }
}

.contact-form-wrapper h3 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--foreground-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--foreground-muted);
}

.form-group textarea {
    resize: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--background);
    border-top: 1px solid rgba(42, 46, 54, 0.5);
}

.footer-inner {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        text-align: left;
    }
}

.footer-logo {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-logo { justify-content: flex-start; }
}

.footer-logo img {
    height: 3rem;
}

.footer-center {
    text-align: center;
}

.footer-center p {
    font-size: 0.875rem;
    color: var(--foreground-muted);
}

.footer-sub {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links { justify-content: flex-end; }
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--foreground-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(42, 46, 54, 0.3);
    padding: 1rem 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(139, 141, 145, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation delays for hero elements */
.hero-subtitle { animation-delay: 0.2s; opacity: 0; }
.hero-title { animation-delay: 0.4s; opacity: 0; }
.hero-tagline { animation-delay: 0.6s; opacity: 0; }
.hero-services { animation-delay: 0.8s; opacity: 0; }
.hero-buttons { animation-delay: 1s; opacity: 0; }