/* ===================================
   Sharp Edge Barbershop — Styles
   Teal + Slate Grey Editorial Design
   =================================== */

/* CSS Custom Properties */
:root {
    --color-teal: #0d9488;
    --color-teal-dark: #0f766e;
    --color-teal-light: #14b8a6;
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-slate-300: #cbd5e1;
    --color-slate-200: #e2e8f0;
    --color-slate-100: #f1f5f9;
    --color-slate-50: #f8fafc;
    --color-white: #ffffff;
    --color-black: #000000;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --spacing-5xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-slate-800);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-slate-900);
}

/* Eyebrow */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: var(--spacing-md);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--spacing-2xl);
}

.text-teal {
    color: var(--color-teal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-teal);
    color: var(--color-white);
    border: 2px solid var(--color-teal);
}

.btn-primary:hover {
    background-color: var(--color-teal-dark);
    border-color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-lg) 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
}

.nav-logo-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    padding: 0.625rem 1.5rem;
    background-color: var(--color-teal);
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-slate-900);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-2xl);
        transition: right 0.4s ease;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    .nav-cta {
        padding: 0.875rem 2rem;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    padding-top: 80px;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-teal-light);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-headline {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-4xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-slate-50);
}

.section-header {
    margin-bottom: var(--spacing-4xl);
}

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

.service-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    transition: all 0.4s ease;
    border: 1px solid var(--color-slate-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-teal), var(--color-teal-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    border-radius: var(--radius-md);
    color: var(--color-teal);
    margin-bottom: var(--spacing-xl);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-desc {
    color: var(--color-slate-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-slate-600);
}

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

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-white);
}

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

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 30%;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--spacing-xs);
}

.about-content {
    padding-left: var(--spacing-xl);
}

.about-text {
    color: var(--color-slate-600);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.about-text:not(:last-child) {
    margin-bottom: var(--spacing-xl);
}

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

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

.value-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    border-radius: var(--radius-md);
    color: var(--color-teal);
    flex-shrink: 0;
}

.value-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-900);
    margin-bottom: var(--spacing-xs);
}

.value-desc {
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4xl);
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .about-img-secondary {
        right: -20px;
        bottom: -20px;
    }
    
    .about-experience-badge {
        top: -10px;
        right: 20%;
    }
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-slate-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: var(--spacing-md);
}

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

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-xl);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay span {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.gallery-item-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item-wide {
    grid-column: 1 / 4;
    grid-row: 2;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item-large {
        grid-column: 1 / 3;
        grid-row: auto;
        min-height: 350px;
    }
    
    .gallery-item-wide {
        grid-column: 1 / 3;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: 1;
    }
    
    .gallery-item {
        min-height: 250px;
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-white);
}

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

.testimonial-card {
    background-color: var(--color-slate-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    transition: all 0.4s ease;
    border: 1px solid var(--color-slate-200);
}

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

.testimonial-quote {
    color: var(--color-teal);
    margin-bottom: var(--spacing-xl);
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-slate-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-slate-900);
}

.author-location {
    font-size: 0.8125rem;
    color: var(--color-slate-500);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    position: relative;
    padding: var(--spacing-5xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(13, 148, 136, 0.7) 100%);
}

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

.cta-content .section-eyebrow {
    color: var(--color-teal-light);
}

.cta-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
}

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

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--spacing-5xl) 0;
    background-color: var(--color-slate-50);
}

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

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

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

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    border-radius: var(--radius-md);
    color: var(--color-teal);
    flex-shrink: 0;
}

.contact-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-slate-500);
    margin-bottom: var(--spacing-xs);
}

.contact-item p {
    color: var(--color-slate-700);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-teal);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-teal-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-slate-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-900);
    background-color: var(--color-slate-50);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-teal);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: var(--color-slate-400);
}

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

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

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    border-radius: 50%;
    color: var(--color-teal);
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.success-text {
    color: var(--color-slate-600);
    font-size: 0.9375rem;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-slate-900);
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.footer-logo-text {
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-slate-400);
    margin-bottom: var(--spacing-lg);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-links a,
.footer-contact a {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-teal-light);
}

.footer-contact li {
    color: var(--color-slate-400);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--color-slate-800);
    padding-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--color-slate-500);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
