/* ============================================
   BLUE STONE PROPERTIES - Main Stylesheet
   ============================================ */

/* --------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #1a1a1a;
    --color-secondary: #4a4a4a;
    --color-accent: #8b7355;
    --color-accent-hover: #a08565;
    --color-background: #f8f7f5;
    --color-white: #ffffff;
    --color-border: #e5e3df;
    --color-text: #1a1a1a;
    --color-text-light: #6b6b6b;
    --color-error: #d32f2f;
    --color-success: #2e7d32;

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

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

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

    /* Layout */
    --container-max: 1400px;
    --container-padding: 1.5rem;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

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

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

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

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

body.menu-open {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

/* --------------------------------------------
   Typography
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

em {
    font-style: italic;
}

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

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-label--light {
    color: var(--color-accent);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

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

.section-title--light {
    color: var(--color-white);
}

/* --------------------------------------------
   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: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

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

.btn--outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: var(--text-base);
}

.btn--full {
    width: 100%;
}

.btn__text {
    transition: opacity var(--transition-fast);
}

.btn__loading {
    display: none;
    align-items: center;
    gap: var(--space-xs);
}

.btn--loading .btn__text {
    display: none;
}

.btn--loading .btn__loading {
    display: inline-flex;
}

.btn__spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --------------------------------------------
   Reveal Animations
   -------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up[data-delay="1"] { transition-delay: 0.1s; }
.reveal-up[data-delay="2"] { transition-delay: 0.2s; }
.reveal-up[data-delay="3"] { transition-delay: 0.3s; }
.reveal-up[data-delay="4"] { transition-delay: 0.4s; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header--scrolled .header__logo,
.header--scrolled .header__nav-link {
    color: var(--color-primary);
}

.header--scrolled .header__menu-bar {
    background-color: var(--color-primary);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    z-index: 1001;
}

.header__logo-icon {
    width: 50px;
    height: 35px;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
}

.header__logo-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1;
}

.header__logo-tagline {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.header__nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-white);
    position: relative;
    padding: 0.5rem 0;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width var(--transition-base);
}

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

.header__nav-link--cta {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-sm);
}

.header__nav-link--cta::after {
    display: none;
}

.header__nav-link--cta:hover {
    background-color: var(--color-accent-hover);
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.header__menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
}

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

.header__menu-toggle.active .header__menu-bar:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero.loaded .hero__image {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
}

.hero__title {
    font-size: var(--text-6xl);
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

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

.hero__subtitle {
    font-size: var(--text-lg);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

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

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator span {
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-white), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

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

.about__content {
    padding-right: var(--space-xl);
}

.about__text {
    font-size: var(--text-base);
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.about__stats {
    display: flex;
    gap: var(--space-xl);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 500;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.about__stat-label {
    font-size: var(--text-sm);
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Image */
.about__image-wrapper {
    position: relative;
}

.about__image-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    z-index: 0;
}

.about__image {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover;
    z-index: 1;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background-color: var(--color-background);
}

.services__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

/* Service Card */
.service-card {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent);
    transition: width var(--transition-base);
}

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

.service-card:hover::before {
    width: 100%;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

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

.service-card__text {
    color: var(--color-secondary);
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

.process__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.process__timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.process__step {
    flex: 1;
    text-align: center;
    padding: 0 var(--space-md);
    position: relative;
}

.process__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.process__step:hover .process__step-number {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.process__step-content {
    max-width: 220px;
    margin: 0 auto;
}

.process__step-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.process__step-text {
    font-size: var(--text-sm);
    color: var(--color-secondary);
    line-height: 1.7;
}

.process__connector {
    flex: 0 0 60px;
    height: 2px;
    background-color: var(--color-border);
    margin-top: 40px;
    position: relative;
}

.process__connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--color-border);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding: var(--space-4xl) 0;
    background-color: var(--color-background);
}

.portfolio__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.portfolio__header-left .section-title {
    margin-bottom: 0;
}

.portfolio__view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio__view-all svg {
    transition: transform var(--transition-fast);
}

.portfolio__view-all:hover svg {
    transform: translateX(4px);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--space-md);
}

.portfolio__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio__item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio__item--wide {
    grid-column: span 2;
}

.portfolio__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio__item:hover .portfolio__image {
    transform: scale(1.1);
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__title {
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.portfolio__location {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* Portfolio Video */
.portfolio__item--video {
    cursor: pointer;
}

.portfolio__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 72px;
    height: 72px;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    transition: all var(--transition-base);
}

.portfolio__play-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.portfolio__item--video:hover .portfolio__play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.portfolio__item--video.playing .portfolio__play-btn,
.portfolio__item--video.playing .portfolio__overlay--video {
    opacity: 0;
    pointer-events: none;
}

.portfolio__item--video.playing .portfolio__video {
    cursor: pointer;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-us {
    padding: var(--space-4xl) 0;
    background-color: var(--color-primary);
}

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

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

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

.why-us__feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--color-accent);
}

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

.why-us__feature-title {
    font-size: var(--text-lg);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.why-us__feature-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Why Us Images */
.why-us__images {
    position: relative;
    height: 500px;
}

.why-us__image-wrapper {
    position: absolute;
    overflow: hidden;
}

.why-us__image-wrapper--1 {
    top: 0;
    left: 0;
    width: 60%;
    height: 70%;
}

.why-us__image-wrapper--2 {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border: 4px solid var(--color-primary);
}

.why-us__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

.testimonials__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.testimonials__slider {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.testimonial[data-active="true"],
.testimonial:only-child {
    opacity: 1;
}

.testimonial__quote-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-lg);
    color: var(--color-accent);
    opacity: 0.5;
}

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

.testimonial__text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

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

.testimonial__name {
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial__location {
    font-size: var(--text-sm);
    color: var(--color-secondary);
}

/* Testimonial Dots */
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.testimonials__dot:hover {
    border-color: var(--color-accent);
}

.testimonials__dot.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background-color: var(--color-background);
    overflow: hidden;
}

.cta-section__background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
}

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

.cta-section__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        var(--color-background) 0%,
        var(--color-background) 20%,
        transparent 60%
    );
}

.cta-section__content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.cta-section__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

.cta-section__text {
    font-size: var(--text-base);
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

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

.contact__intro {
    color: var(--color-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.contact__detail-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

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

.contact__detail-content h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact__detail-content p {
    color: var(--color-secondary);
    line-height: 1.6;
}

.contact__detail-content a {
    color: var(--color-secondary);
    transition: color var(--transition-fast);
}

.contact__detail-content a:hover {
    color: var(--color-accent);
}

/* Contact Form */
.contact__form-wrapper {
    background-color: var(--color-background);
    padding: var(--space-xl);
}

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

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

.form-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.form-input {
    padding: 1rem;
    font-size: var(--text-base);
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-accent);
}

.form-input.error {
    border-color: var(--color-error);
}

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

.form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

/* Form Success Message */
.form-success {
    display: none;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background-color: rgba(46, 125, 50, 0.1);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-sm);
    color: var(--color-success);
}

.form-success svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-primary);
    padding: var(--space-3xl) 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 Logo */
.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

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

.footer__logo-text {
    display: flex;
    flex-direction: column;
}

.footer__logo-name {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 0.15em;
    line-height: 1;
}

.footer__logo-tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    opacity: 0.7;
}

.footer__description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 300px;
}

/* Footer Columns */
.footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

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

.footer__links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent);
}

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

.footer__contact li {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__contact a:hover {
    color: var(--color-accent);
}

/* Social Links */
.footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

.footer__social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Footer Bottom */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

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

.footer__legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet - 1200px and below */
@media (max-width: 1200px) {
    :root {
        --text-6xl: 3.5rem;
        --text-5xl: 3rem;
        --text-4xl: 2.25rem;
    }

    .about__grid,
    .contact__grid {
        gap: var(--space-xl);
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

    .portfolio__item--large {
        grid-column: span 1;
        grid-row: span 2;
    }

    .portfolio__item--wide {
        grid-column: span 2;
    }

    .why-us__images {
        height: 450px;
    }

    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* Tablet - 992px and below */
@media (max-width: 992px) {
    .process__timeline {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .process__step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        padding: 0;
        max-width: 500px;
        width: 100%;
    }

    .process__step-number {
        margin: 0 var(--space-lg) 0 0;
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        font-size: var(--text-xl);
    }

    .process__step-content {
        max-width: none;
        margin: 0;
    }

    .process__connector {
        display: none;
    }

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

    .why-us__images {
        order: -1;
        height: 400px;
    }

    .cta-section__background {
        width: 50%;
    }

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

    .footer__column--brand {
        grid-column: span 2;
    }
}

/* Tablet - 768px and below */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.75rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --header-height: 70px;
        --container-padding: 1.25rem;
    }

    /* Header Mobile */
    .header__menu-toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-list {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .header__nav-link {
        font-size: var(--text-2xl);
        color: var(--color-white);
    }

    .header__nav-link--cta {
        font-size: var(--text-lg);
        margin-top: var(--space-md);
    }

    .header--scrolled .header__nav-link {
        color: var(--color-white);
    }

    /* Hero */
    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__subtitle {
        font-size: var(--text-base);
    }

    .hero__scroll-indicator {
        display: none;
    }

    /* About */
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__content {
        padding-right: 0;
    }

    .about__image-wrapper {
        order: -1;
    }

    .about__image {
        height: 350px;
    }

    .about__image-frame {
        top: -15px;
        right: -15px;
    }

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

    /* Portfolio */
    .portfolio__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .portfolio__item {
        height: 250px;
    }

    .portfolio__item--large,
    .portfolio__item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio__item--large {
        height: 350px;
    }

    /* Why Us */
    .why-us__features {
        grid-template-columns: 1fr;
    }

    .why-us__images {
        height: 350px;
    }

    .why-us__image-wrapper--1 {
        width: 65%;
        height: 75%;
    }

    .why-us__image-wrapper--2 {
        width: 50%;
        height: 50%;
    }

    /* CTA Section */
    .cta-section__background {
        width: 100%;
        opacity: 0.3;
    }

    .cta-section__gradient {
        background: linear-gradient(
            to right,
            var(--color-background) 0%,
            rgba(248, 247, 245, 0.9) 100%
        );
    }

    .cta-section__content {
        text-align: center;
        max-width: 100%;
    }

    /* Contact */
    .contact__grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial__text {
        font-size: var(--text-xl);
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__column--brand {
        grid-column: span 1;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__description {
        max-width: 100%;
    }

    .footer__social {
        justify-content: center;
    }

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

/* Mobile - 480px and below */
@media (max-width: 480px) {
    :root {
        --text-6xl: 2.25rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --space-4xl: 5rem;
        --space-3xl: 4rem;
    }

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

    .hero__cta .btn {
        width: 100%;
    }

    .about__stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .about__stat {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        text-align: left;
    }

    .about__stat-number {
        font-size: var(--text-3xl);
        min-width: 80px;
    }

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

    .process__step-number {
        margin: 0 auto var(--space-md);
    }

    .why-us__feature {
        flex-direction: column;
        text-align: center;
    }

    .why-us__feature-icon {
        margin: 0 auto;
    }

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

    .contact__detail-icon {
        margin: 0 auto;
    }

    .contact__form-wrapper {
        padding: var(--space-md);
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal-up {
        opacity: 1;
        transform: none;
    }

    .hero__image {
        transform: none;
    }
}
