/* ==========================================================================
   ANDERSEN BYGG & VEDLIKEHOLD AS
   Coastal Scandinavian Craftsmanship Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --deep-ocean: #1B4965;
    --deep-ocean-light: #2B5F7D;
    --deep-ocean-dark: #143A52;
    --driftwood: #A67C52;
    --driftwood-light: #C49B6F;
    --driftwood-dark: #8A6643;
    --coral: #E8927C;
    --coral-light: #F0A999;
    --coral-dark: #D97860;
    --warm-white: #FDFBF7;
    --cream: #F7F3ED;
    --sand: #EDE6DC;
    --charcoal: #2D3436;
    --charcoal-light: #4A4E50;
    --slate: #636E72;

    /* Semantic */
    --primary: var(--deep-ocean);
    --secondary: var(--driftwood);
    --accent: var(--coral);
    --background: var(--warm-white);
    --text: var(--charcoal);
    --text-muted: var(--slate);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(27, 73, 101, 0.06);
    --shadow-md: 0 4px 20px rgba(27, 73, 101, 0.08);
    --shadow-lg: 0 8px 40px rgba(27, 73, 101, 0.12);
    --shadow-xl: 0 20px 60px rgba(27, 73, 101, 0.15);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

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: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

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.375rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-muted);
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--driftwood);
}

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

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

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

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

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

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: var(--deep-ocean);
    color: white;
    box-shadow: 0 4px 20px rgba(27, 73, 101, 0.25);
}

.btn--primary:hover {
    background: var(--deep-ocean-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 73, 101, 0.3);
}

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

.btn--secondary:hover {
    background: var(--deep-ocean);
    color: white;
}

.btn--coral {
    background: var(--coral);
    color: white;
    box-shadow: 0 4px 20px rgba(232, 146, 124, 0.3);
}

.btn--coral:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 146, 124, 0.4);
}

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

.btn--icon {
    padding: 0.75rem;
    border-radius: 50%;
}

.btn svg {
    width: 20px;
    height: 20px;
}

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

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--warm-white);
    opacity: 0;
    transition: opacity var(--transition-base);
    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 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo__mark {
    width: 48px;
    height: 48px;
    background: var(--deep-ocean);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo__mark::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background: var(--driftwood);
    transform: rotate(-45deg);
}

.logo__mark::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: var(--coral);
    transform: rotate(45deg);
    top: 60%;
}

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

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

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

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

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

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

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

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

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

.nav__cta {
    display: none;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

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

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

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

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

/* Mobile nav overlay */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--warm-white);
    z-index: 999;
    padding: 100px var(--space-md) var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.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(--charcoal);
    display: block;
    transform: translateX(-20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.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-xl);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base) 0.35s;
}

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

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

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

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(30%);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--warm-white) 0%,
        rgba(253, 251, 247, 0.95) 40%,
        rgba(253, 251, 247, 0.8) 100%
    );
}

/* Decorative elements */
.hero__decor {
    position: absolute;
    pointer-events: none;
}

.hero__decor--1 {
    top: 15%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid var(--sand);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero__decor--2 {
    bottom: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--coral), transparent);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite reverse;
}

.hero__decor--3 {
    top: 40%;
    left: 5%;
    width: 2px;
    height: 100px;
    background: var(--driftwood);
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 10px) rotate(-3deg); }
}

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

.hero__text {
    max-width: 600px;
}

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

.hero__label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--driftwood);
}

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

.hero__title span {
    display: block;
}

.hero__title .highlight {
    color: var(--deep-ocean);
    position: relative;
}

.hero__title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: var(--coral);
    opacity: 0.3;
    z-index: -1;
}

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

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

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

.hero__stat {
    position: relative;
    padding-left: var(--space-md);
}

.hero__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--driftwood), transparent);
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--deep-ocean);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.hero__image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s forwards;
    opacity: 0;
}

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

.hero__image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(166, 124, 82, 0.2);
    border-radius: var(--radius-lg);
    z-index: 1;
}

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

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero__image-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: -30px;
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
}

.hero__image-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero__image-badge-text {
    font-weight: 600;
    color: var(--charcoal);
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--driftwood), transparent);
    opacity: 0.3;
}

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

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

.service-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--deep-ocean);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-category--maintenance::before {
    background: var(--driftwood);
}

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

.service-category--maintenance .service-category__icon {
    background: linear-gradient(135deg, var(--driftwood), var(--driftwood-light));
}

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

.service-category__subtitle {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

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

.service-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.service-list__item:hover {
    background: var(--cream);
}

.service-list__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--coral);
}

.service-list__content h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.service-list__content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Why Choose Us
   -------------------------------------------------------------------------- */
.why-us {
    position: relative;
}

.why-us__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    align-items: center;
}

.why-us__image {
    position: relative;
}

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

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

.why-us__image-overlay {
    position: absolute;
    top: var(--space-lg);
    right: -30px;
    background: var(--deep-ocean);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.why-us__image-overlay-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

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

.feature-card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    background: var(--cream);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--coral), var(--coral-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: white;
}

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

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

/* --------------------------------------------------------------------------
   Service Area Section
   -------------------------------------------------------------------------- */
.service-area {
    background: var(--deep-ocean);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-area::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.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");
}

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

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

.service-area__text .lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

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

.service-area__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.service-area__tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.service-area__tag--primary {
    background: var(--coral);
}

.service-area__map {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-area__map-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.service-area__map-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    background: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__decor {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--driftwood), transparent);
    opacity: 0.05;
}

.cta__decor--1 {
    top: -200px;
    left: -100px;
}

.cta__decor--2 {
    bottom: -200px;
    right: -100px;
}

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

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

.cta__text {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.cta__buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.cta__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: 1.25rem;
    color: var(--deep-ocean);
}

.cta__phone svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--charcoal);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer__brand {
    max-width: 300px;
}

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

.footer__logo-mark {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer__logo-mark::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--deep-ocean);
    transform: rotate(-45deg);
}

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

.footer__description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

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

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: white;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer__contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--coral);
}

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

.footer__org {
    font-family: var(--font-body);
}

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

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, var(--sand));
    opacity: 0.5;
}

.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-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.page-header__breadcrumb a:hover {
    color: var(--deep-ocean);
}

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

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

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

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

.service-detail__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    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 h3 {
    margin-bottom: var(--space-md);
}

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

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

.service-detail__list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

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

/* Price indicator */
.price-indicator {
    background: var(--cream);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--driftwood);
}

.price-indicator__label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

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

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

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    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(--deep-ocean);
    color: white;
    padding: var(--space-md) var(--space-lg);
    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: 700;
    line-height: 1;
}

.about-intro__badge-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

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

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

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

/* Values section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

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

.value-card:nth-child(2) .value-card__icon {
    background: linear-gradient(135deg, var(--driftwood), var(--driftwood-light));
}

.value-card:nth-child(3) .value-card__icon {
    background: linear-gradient(135deg, var(--coral), var(--coral-light));
}

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

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

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

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

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

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

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

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

.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-muted);
    font-size: 0.875rem;
}

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

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

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

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

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

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

.contact-info {
    background: var(--deep-ocean);
    color: white;
    padding: var(--space-xl);
    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-xl);
}

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

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

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

.contact-info__label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

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

.contact-info__value a {
    color: white;
}

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

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

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

.contact-info__hours-item {
    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: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

.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(--deep-ocean);
}

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

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

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    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(--cream);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.map-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-sm);
    opacity: 0.5;
}

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

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

    .hero__stats {
        justify-content: center;
    }

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

    .hero__image-badge {
        left: auto;
        right: -20px;
    }

    .hero__cta {
        justify-content: center;
    }

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

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

    .why-us__content {
        grid-template-columns: 1fr;
    }

    .why-us__image {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

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

    .about-intro__image {
        max-width: 400px;
        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-2xl: 4rem;
        --space-3xl: 6rem;
    }

    .nav__list,
    .nav__cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-mobile {
        display: block;
    }

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

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .hero__image {
        display: none;
    }

    .hero__decor {
        display: none;
    }

    .why-us__features {
        grid-template-columns: 1fr;
    }

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

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

    .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%;
    }
}

/* --------------------------------------------------------------------------
   Animations & Effects
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* Smooth scroll offset for fixed header */
:target {
    scroll-margin-top: 100px;
}

/* Selection styling */
::selection {
    background: var(--deep-ocean);
    color: white;
}

/* Focus styling for accessibility */
:focus-visible {
    outline: 2px solid var(--deep-ocean);
    outline-offset: 2px;
}

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

    body {
        font-size: 12pt;
    }

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