/* ==========================================================================
   FJELLHØY PROSJEKT AS
   Nordic Maritime Craft Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts - Distinctive Nordic Editorial
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Core Colors */
    --ocean-deep: #1B3A4B;
    --ocean-mid: #2D5166;
    --ocean-light: #4A7C95;
    --wood-warm: #8B7355;
    --wood-light: #A8937A;
    --wood-dark: #6B5A45;
    --coastal-white: #F5F3EF;
    --coastal-cream: #EBE7E0;
    --copper-accent: #C17F59;
    --copper-light: #D4996F;
    --copper-dark: #A66B48;
    --slate-dark: #1A1A1A;
    --slate: #2C3E50;
    --slate-light: #4A5568;
    --stone-gray: #94A3B8;

    /* Semantic Colors */
    --primary: var(--ocean-deep);
    --secondary: var(--wood-warm);
    --accent: var(--copper-accent);
    --background: var(--coastal-white);
    --surface: #FFFFFF;
    --text: var(--slate);
    --text-light: var(--slate-light);
    --text-inverse: var(--coastal-white);

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Spacing Scale */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --max-width: 1440px;
    --content-width: 1200px;
    --narrow-width: 800px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.15s;
    --duration-base: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.8s;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(27, 58, 75, 0.08);
    --shadow-md: 0 4px 12px rgba(27, 58, 75, 0.1);
    --shadow-lg: 0 8px 30px rgba(27, 58, 75, 0.12);
    --shadow-xl: 0 20px 50px rgba(27, 58, 75, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.025;
    z-index: 10000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

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

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--slate-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

p {
    font-size: 1.0625rem;
    max-width: 65ch;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.3125rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-light);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--copper-accent);
}

.text-balance {
    text-wrap: balance;
}

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

.container--narrow {
    max-width: var(--narrow-width);
}

.container--content {
    max-width: var(--content-width);
}

.section {
    padding: var(--space-4xl) 0;
}

.section--lg {
    padding: var(--space-5xl) 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--ocean-deep);
    color: var(--text-inverse);
}

.btn--primary:hover {
    background: var(--ocean-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn--accent:hover {
    background: var(--copper-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 127, 89, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--ocean-deep);
    border: 2px solid var(--ocean-deep);
}

.btn--outline:hover {
    background: var(--ocean-deep);
    color: var(--text-inverse);
}

.btn--ghost {
    background: transparent;
    color: var(--ocean-deep);
    padding: 0.75rem 1rem;
}

.btn--ghost:hover {
    background: rgba(27, 58, 75, 0.08);
}

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

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--duration-base) var(--ease-out);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--background);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-md);
}

.header.scrolled::before {
    opacity: 0.98;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo__mark {
    width: 44px;
    height: 44px;
    position: relative;
}

.logo__mark svg {
    width: 100%;
    height: 100%;
}

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

.logo__name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ocean-deep);
    letter-spacing: -0.01em;
}

.logo__tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--wood-warm);
}

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

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    padding: var(--space-xs) 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--copper-accent);
    transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--ocean-deep);
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-dark);
    transition: all var(--duration-base) var(--ease-out);
    transform-origin: center;
}

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

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

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

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--background);
    z-index: 999;
    padding: 120px var(--space-lg) var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nav-mobile__link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--slate-dark);
    display: block;
    transform: translateX(-20px);
    opacity: 0;
    transition: all var(--duration-base) var(--ease-out);
}

.nav-mobile.active .nav-mobile__link {
    transform: translateX(0);
    opacity: 1;
}

.nav-mobile.active .nav-mobile__link:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.active .nav-mobile__link:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.active .nav-mobile__link:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.active .nav-mobile__link:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.active .nav-mobile__link:nth-child(5) { transition-delay: 0.3s; }

.nav-mobile__cta {
    margin-top: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-out) 0.35s;
}

.nav-mobile.active .nav-mobile__cta {
    opacity: 1;
    transform: translateY(0);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        rgba(245, 243, 239, 0.95) 50%,
        rgba(245, 243, 239, 0.85) 100%
    );
}

/* Decorative wave element */
.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: -1;
}

.hero__wave svg {
    display: block;
    width: 100%;
    height: auto;
}

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

.hero__text {
    max-width: 640px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    animation: fadeUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.hero__eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--copper-accent);
}

.hero__title {
    margin-bottom: var(--space-lg);
    animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
    opacity: 0;
}

.hero__title em {
    font-style: italic;
    color: var(--ocean-deep);
}

.hero__description {
    margin-bottom: var(--space-xl);
    animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
    opacity: 0;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

.hero__features {
    display: flex;
    gap: var(--space-2xl);
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
    opacity: 0;
}

.hero__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.hero__feature-icon {
    width: 24px;
    height: 24px;
    color: var(--copper-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.hero__feature-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
}

.hero__feature-text span {
    display: block;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Image */
.hero__visual {
    position: relative;
    animation: fadeIn 1s var(--ease-out) 0.3s forwards;
    opacity: 0;
}

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

.hero__image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.hero__image-main img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 180px;
    height: 180px;
    background: var(--coastal-cream);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero__badge {
    position: absolute;
    bottom: var(--space-xl);
    right: -20px;
    background: var(--surface);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero__badge-icon {
    width: 40px;
    height: 40px;
    background: var(--ocean-deep);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.hero__badge-text span {
    display: block;
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--text-light);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
    background: var(--surface);
    position: relative;
}

.services__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.services__header .eyebrow {
    margin-bottom: var(--space-md);
}

.services__header h2 {
    margin-bottom: var(--space-md);
}

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

.service-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ocean-deep);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out);
}

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

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: white;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.service-card__description {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--copper-accent);
}

.service-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__link svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Why Choose Us / Features
   -------------------------------------------------------------------------- */
.features {
    background: var(--ocean-deep);
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.03'%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");
    opacity: 0.5;
}

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

.features__text .eyebrow {
    color: var(--copper-light);
    margin-bottom: var(--space-md);
}

.features__text h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.features__text .lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.features__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--copper-light);
}

.feature-item__icon svg {
    width: 24px;
    height: 24px;
}

.feature-item__content h4 {
    color: white;
    font-size: 1.0625rem;
    margin-bottom: var(--space-2xs);
}

.feature-item__content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Service Area Section
   -------------------------------------------------------------------------- */
.service-area {
    background: var(--coastal-cream);
}

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

.service-area__text .eyebrow {
    margin-bottom: var(--space-md);
}

.service-area__text h2 {
    margin-bottom: var(--space-md);
}

.service-area__text .lead {
    margin-bottom: var(--space-xl);
}

.service-area__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.area-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate);
    transition: all var(--duration-fast) var(--ease-out);
}

.area-tag:hover {
    background: var(--ocean-deep);
    color: white;
}

.area-tag--primary {
    background: var(--copper-accent);
    color: white;
}

.area-tag--primary:hover {
    background: var(--copper-dark);
}

.service-area__visual {
    position: relative;
}

.service-area__map {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.service-area__map-icon {
    width: 80px;
    height: 80px;
    background: var(--ocean-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
}

.service-area__map-icon svg {
    width: 40px;
    height: 40px;
}

.service-area__map h4 {
    margin-bottom: var(--space-xs);
}

.service-area__map p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

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

.cta__content .eyebrow {
    margin-bottom: var(--space-md);
}

.cta__content h2 {
    margin-bottom: var(--space-md);
}

.cta__content .lead {
    margin-bottom: var(--space-xl);
}

.cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.cta__phone svg {
    width: 24px;
    height: 24px;
    color: var(--copper-accent);
}

/* Decorative shapes */
.cta__decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.cta__decor--1 {
    width: 400px;
    height: 400px;
    background: var(--ocean-deep);
    top: -150px;
    left: -100px;
}

.cta__decor--2 {
    width: 300px;
    height: 300px;
    background: var(--copper-accent);
    bottom: -100px;
    right: -50px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--slate-dark);
    color: var(--text-inverse);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer__logo-icon {
    width: 40px;
    height: 40px;
}

.footer__logo-icon svg {
    width: 100%;
    height: 100%;
}

.footer__logo-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.footer__description {
    color: var(--stone-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--copper-light);
    margin-bottom: var(--space-lg);
}

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

.footer__link {
    color: var(--stone-gray);
    font-size: 0.9375rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
    color: white;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--stone-gray);
    font-size: 0.9375rem;
}

.footer__contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--copper-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contact-item a {
    color: var(--stone-gray);
}

.footer__contact-item a:hover {
    color: white;
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--stone-gray);
}

/* --------------------------------------------------------------------------
   Page Header (Subpages)
   -------------------------------------------------------------------------- */
.page-header {
    padding: 160px 0 var(--space-3xl);
    background: var(--coastal-cream);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(27, 58, 75, 0.03));
    transform: skewX(-15deg);
}

.page-header__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-light);
}

.page-header__breadcrumb a {
    color: var(--copper-accent);
}

.page-header__breadcrumb a:hover {
    color: var(--copper-dark);
}

.page-header__title {
    margin-bottom: var(--space-md);
}

.page-header__description {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Services Page - Detailed Sections
   -------------------------------------------------------------------------- */
.service-detail {
    padding: var(--space-4xl) 0;
}

.service-detail:nth-child(even) {
    background: var(--coastal-cream);
}

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

.service-detail:nth-child(even) .service-detail__content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail__content > * {
    direction: ltr;
}

.service-detail__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-detail__text .eyebrow {
    margin-bottom: var(--space-md);
}

.service-detail__text h3 {
    margin-bottom: var(--space-md);
}

.service-detail__text p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.service-detail__list {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.service-detail__list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
}

.service-detail__list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--copper-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Price indicator */
.price-box {
    background: var(--surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--copper-accent);
    box-shadow: var(--shadow-sm);
}

.price-box__label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.price-box__value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ocean-deep);
}

.price-box__note {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-intro__image {
    position: relative;
}

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

.about-intro__image-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-intro__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--ocean-deep);
    color: white;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-intro__badge-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}

.about-intro__badge-label {
    font-size: 0.8125rem;
    opacity: 0.8;
    margin-top: var(--space-2xs);
}

.about-intro__content .eyebrow {
    margin-bottom: var(--space-md);
}

.about-intro__content h2 {
    margin-bottom: var(--space-lg);
}

.about-intro__content p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.about-quote {
    background: var(--coastal-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--copper-accent);
    margin: var(--space-xl) 0;
}

.about-quote p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--slate-dark);
    margin: 0;
}

/* Values Grid */
.values-section {
    background: var(--surface);
}

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

.value-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--background);
    border-radius: var(--radius-lg);
    transition: all var(--duration-base) var(--ease-out);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    background: var(--ocean-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.value-card:nth-child(2) .value-card__icon {
    background: var(--wood-warm);
}

.value-card:nth-child(3) .value-card__icon {
    background: var(--copper-accent);
}

.value-card__icon svg {
    width: 32px;
    height: 32px;
}

.value-card__title {
    margin-bottom: var(--space-sm);
}

.value-card__text {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Projects Page
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base) var(--ease-out);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card__image {
    position: relative;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--ocean-deep);
    color: white;
    padding: var(--space-2xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-card__content {
    padding: var(--space-lg);
}

.project-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.project-card__location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
    font-size: 0.875rem;
}

.project-card__location svg {
    width: 16px;
    height: 16px;
}

/* Placeholder state */
.project-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    background: var(--coastal-cream);
    border-radius: var(--radius-lg);
    text-align: center;
}

.project-placeholder__icon {
    width: 80px;
    height: 80px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--wood-warm);
}

.project-placeholder__icon svg {
    width: 40px;
    height: 40px;
}

.project-placeholder__title {
    margin-bottom: var(--space-sm);
}

.project-placeholder__text {
    color: var(--text-light);
    max-width: 400px;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
}

.contact-info {
    background: var(--ocean-deep);
    color: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.contact-info__title {
    color: white;
    margin-bottom: var(--space-md);
}

.contact-info__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 24px;
    height: 24px;
    color: var(--copper-light);
}

.contact-info__label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-2xs);
}

.contact-info__value {
    font-size: 1rem;
}

.contact-info__value a {
    color: white;
}

.contact-info__value a:hover {
    color: var(--copper-light);
}

.contact-info__hours {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info__hours h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.contact-info__hours-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
    background: var(--surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form__title {
    margin-bottom: var(--space-xl);
}

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

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--slate-dark);
}

.form-label .required {
    color: var(--copper-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--coastal-cream);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--duration-fast) var(--ease-out);
    background: var(--background);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ocean-deep);
    background: var(--surface);
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--ocean-deep);
}

.form-checkbox span {
    font-size: 0.9375rem;
}

.form-submit {
    margin-top: var(--space-xl);
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
    display: none;
}

.form-message--success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message--error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Map Section */
.map-section {
    background: var(--coastal-cream);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   Animations - Scroll Triggered
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

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

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }

    .hero__text {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero__eyebrow {
        justify-content: center;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__features {
        justify-content: center;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__badge {
        right: auto;
        left: -20px;
    }

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

@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .service-area__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-area__tags {
        justify-content: center;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-intro__image {
        max-width: 450px;
        margin: 0 auto;
    }

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

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

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

    .service-detail__content {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-detail__content {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

    .nav__list,
    .nav .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-mobile {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 var(--space-3xl);
    }

    .hero__features {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }

    .hero__visual {
        display: none;
    }

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

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

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

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

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

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

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

    .hero__cta .btn {
        width: 100%;
    }

    .cta__buttons {
        flex-direction: column;
    }

    .cta__buttons .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .header,
    .footer,
    .cta {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:target {
    scroll-margin-top: 100px;
}

::selection {
    background: var(--ocean-deep);
    color: white;
}

:focus-visible {
    outline: 2px solid var(--copper-accent);
    outline-offset: 2px;
}
