/* ========================================
   Automatic Door Company — Styles
   Plum + Amber | Confident Corporate
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #f5f0f7;
    --plum-100: #ebe0ef;
    --plum-200: #d4bfd9;
    --plum-300: #b894be;
    --plum-400: #9d6ba3;
    --plum-500: #7d4f82;
    --plum-600: #633d68;
    --plum-700: #4A2C5A;
    --plum-800: #3d244d;
    --plum-900: #2e1a3a;
    --plum-950: #1a0e20;

    --amber-50: #fef9ee;
    --amber-100: #fdf0d3;
    --amber-200: #fce1a0;
    --amber-300: #f8cc5a;
    --amber-400: #E8A838;
    --amber-500: #d4902a;
    --amber-600: #b07220;
    --amber-700: #8a5719;
    --amber-800: #6e4517;
    --amber-900: #5a3915;

    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-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: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(74, 44, 90, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(74, 44, 90, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(74, 44, 90, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 60px rgba(74, 44, 90, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 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: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--plum-700);
    color: #fff;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

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

.btn-primary {
    background: var(--amber-400);
    color: var(--plum-950);
    border-color: var(--amber-400);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: #fff;
    color: var(--plum-700);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    background: var(--plum-700);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: var(--plum-700);
    color: #fff;
    transform: translateY(-2px);
}

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

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--plum-100);
    transition: box-shadow var(--transition-base);
}

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

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

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--plum-700);
    font-weight: 700;
    transition: color var(--transition-fast);
}

.logo-icon {
    color: var(--plum-700);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--plum-700);
}

.logo-secondary {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-600);
}

.logo--light .logo-primary,
.logo--light .logo-icon {
    color: #fff;
}

.logo--light .logo-secondary {
    color: var(--amber-300);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--plum-700);
    background: var(--plum-50);
}

.nav-link--cta {
    background: var(--plum-700);
    color: #fff !important;
    margin-left: var(--space-sm);
}

.nav-link--cta:hover,
.nav-link--cta:focus-visible {
    background: var(--plum-600);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--plum-950);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(74, 44, 90, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(232, 168, 56, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(232, 168, 56, 0.12);
    border: 1px solid rgba(232, 168, 56, 0.25);
    border-radius: 100px;
    color: var(--amber-300);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-xl);
    max-width: 560px;
}

.text-accent {
    color: var(--amber-400);
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--plum-200);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

.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-lg);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--plum-300);
    font-weight: 500;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    padding-left: var(--space-xl);
}

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

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 14, 32, 0.4) 0%, transparent 40%);
    pointer-events: none;
}

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

.hero-image-float img {
    width: 280px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hero-badge-float {
    position: absolute;
    top: 30px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--plum-700);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--plum-900);
    margin-bottom: var(--space-lg);
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--neutral-600);
    max-width: 560px;
}

.section-subtitle--light {
    color: var(--plum-200);
    max-width: 480px;
}

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

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- Services --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
    transition: background var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--plum-700);
    color: var(--amber-400);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--plum-700);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-md);
    color: var(--amber-600);
}

.service-link--phone {
    color: var(--amber-600);
}

.service-link--phone:hover {
    color: var(--amber-700);
}

/* --- Why Us --- */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--plum-950);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.why-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 168, 56, 0.12);
    border-radius: var(--radius-sm);
    color: var(--amber-400);
}

.why-item-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xs);
}

.why-item-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--plum-300);
}

.why-image-stack {
    position: relative;
}

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

.why-image-stack__main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.why-image-stack__accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--plum-800);
}

.why-image-stack__accent img {
    width: 300px;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* --- About --- */
.about {
    padding: var(--space-4xl) 0;
    background: #fff;
}

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

.about-image-group {
    position: relative;
}

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

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

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

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

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--neutral-200);
}

.about-highlight {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--space-lg);
    align-items: baseline;
}

.highlight-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-600);
    padding-top: 2px;
}

.highlight-value {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    font-weight: 500;
}

/* --- Gallery --- */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
}

.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 var(--transition-slow);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 14, 32, 0.85) 0%, rgba(26, 14, 32, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-item-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--amber-400);
    color: var(--plum-950);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    width: fit-content;
    margin-bottom: var(--space-sm);
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

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

.gallery-item--wide img {
    height: 300px;
}

.gallery-item img {
    height: 240px;
}

/* --- CTA --- */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' 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='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.cta-content {
    flex: 1;
    max-width: 520px;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--plum-200);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* --- Contact --- */
.contact {
    padding: var(--space-4xl) 0;
    background: #fff;
}

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

.contact-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

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

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

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: var(--space-xs);
}

.contact-detail-value {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--plum-700);
    transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
    color: var(--amber-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: var(--space-xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(74, 44, 90, 0.1);
}

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

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

/* Form Success */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-md);
}

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

.form-success svg {
    color: #16a34a;
}

.form-success-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--plum-900);
}

.form-success-text {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--plum-950);
    color: var(--plum-200);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--plum-300);
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--plum-300);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--amber-400);
    padding-left: var(--space-sm);
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--plum-300);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--plum-300);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-2xl);
    font-size: 0.8125rem;
    color: var(--plum-400);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hero-visual {
        padding-left: 0;
        max-width: 520px;
    }

    .hero-image-main img {
        height: 480px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .why-image-stack__main img {
        height: 440px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image-main img {
        height: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }
}

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

    .header-inner {
        height: 68px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: var(--space-xs);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        padding: var(--space-md);
        font-size: 1rem;
        border-bottom: 1px solid var(--neutral-100);
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: var(--space-md);
        text-align: center;
        border-bottom: none;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(1.875rem, 7vw, 2.5rem);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-image-float {
        left: -10px;
        bottom: -20px;
    }

    .hero-image-float img {
        width: 200px;
        height: 150px;
    }

    .hero-badge-float {
        right: 10px;
        top: 15px;
        font-size: 0.75rem;
        padding: var(--space-sm) var(--space-md);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .gallery-item--wide img,
    .gallery-item img {
        height: 220px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .why-image-stack__accent {
        right: -10px;
        bottom: -20px;
    }

    .why-image-stack__accent img {
        width: 200px;
        height: 150px;
    }

    .about-image-secondary {
        right: -10px;
        bottom: -20px;
    }

    .about-image-secondary img {
        width: 220px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .gallery-item img {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }
}
