/* ============================================
   Quality First Drywall — Brand Stylesheet
   Palette: Terracotta + Sand
   ============================================ */

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

:root {
    --terracotta: #C0573E;
    --terracotta-dark: #A0452E;
    --terracotta-light: #E8735A;
    --sand: #E8D5C0;
    --sand-light: #F5EDE4;
    --sand-lighter: #FBF7F3;
    --sand-dark: #C4A882;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --cream: #FFF9F5;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 8px 30px rgba(44, 36, 32, 0.12);
    --shadow-lg: 0 20px 60px rgba(44, 36, 32, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--sand-lighter);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

.accent-italic {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--terracotta);
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 247, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 87, 62, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(251, 247, 243, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--terracotta);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo:hover .logo-mark {
    background: var(--terracotta-dark);
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--charcoal-light);
}

.nav a:hover {
    color: var(--terracotta);
    background: rgba(192, 87, 62, 0.08);
}

.nav-cta {
    background: var(--terracotta) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--terracotta-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle.active .hamburger { background: transparent; }
.nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.active .hamburger::after { bottom: 0; transform: rotate(-45deg); }

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    opacity: 0.15;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--terracotta);
    top: -200px;
    right: -150px;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: var(--sand-dark);
    bottom: 10%;
    left: 3%;
    transform: rotate(45deg);
    opacity: 0.2;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--terracotta-light);
    top: 30%;
    left: 8%;
    opacity: 0.1;
}

.geo-circle-2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--sand-dark);
    bottom: 20%;
    right: 15%;
    opacity: 0.3;
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--terracotta) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.3;
    top: 15%;
    left: 15%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 87, 62, 0.1);
    border: 1px solid rgba(192, 87, 62, 0.2);
    color: var(--terracotta);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 87, 62, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

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

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--sand-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

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

.hero-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--charcoal-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand-dark);
    opacity: 0.5;
}

/* Hero Image */
.hero-image {
    position: relative;
}

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

.hero-img-frame img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.hero-img-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid var(--terracotta);
    transform: translate(16px, 16px);
    z-index: -1;
    opacity: 0.3;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 87, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.hero-floating-card span {
    font-size: 0.8rem;
    color: var(--charcoal-light);
}

/* ---------- SECTION COMMON ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0 0;
    background: var(--white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.service-card {
    background: var(--sand-lighter);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 87, 62, 0.15);
    background: var(--white);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(192, 87, 62, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
    transform: scale(1.05) rotate(-3deg);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

.service-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.services-wave {
    margin-top: -1px;
}

.services-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--sand-light);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

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

.about-geo {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    opacity: 0.1;
    border-radius: var(--radius-md);
    transform: rotate(20deg);
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--terracotta);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
}

.about-experience-badge .exp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    opacity: 0.9;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--charcoal);
}

.value-icon {
    width: 32px;
    height: 32px;
    background: rgba(192, 87, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--sand-dark), var(--terracotta), var(--sand-dark));
    opacity: 0.3;
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--sand-dark);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    color: var(--terracotta);
    opacity: 1;
}

.step-dot {
    width: 16px;
    height: 16px;
    background: var(--terracotta);
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 6px rgba(192, 87, 62, 0.15);
    transition: var(--transition);
}

.process-step:hover .step-dot {
    box-shadow: 0 0 0 10px rgba(192, 87, 62, 0.1);
    transform: scale(1.2);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--sand-lighter);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 36, 32, 0.7), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.gallery-item--large {
    grid-column: span 7;
}

.gallery-item:not(.gallery-item--large) {
    grid-column: span 5;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    padding: 100px 0;
    background: var(--terracotta);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--white);
    top: -150px;
    right: -100px;
}

.cta-rect-1 {
    width: 160px;
    height: 160px;
    background: var(--sand);
    bottom: -40px;
    left: 5%;
    transform: rotate(30deg);
}

.cta-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--white) 2px, transparent 2px);
    background-size: 14px 14px;
    top: 20%;
    left: 10%;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-tag {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(192, 87, 62, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--terracotta);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light), var(--sand-dark));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--sand);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--sand-lighter);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192, 87, 62, 0.1);
}

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

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(192, 87, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--charcoal-light);
    font-size: 1rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    background: var(--terracotta);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact svg {
    color: var(--terracotta-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-desc {
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(251, 247, 243, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid rgba(192, 87, 62, 0.1);
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav.open {
        transform: translateY(0);
    }
    
    .nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav a {
        padding: 14px 16px;
        width: 100%;
        text-align: center;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 8px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }
    
    .hero-floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-flex;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        width: 160px;
        right: -10px;
        bottom: -20px;
    }
    
    .about-img-secondary img {
        height: 160px;
    }
    
    .about-experience-badge {
        right: 10px;
        top: -10px;
        padding: 14px 18px;
    }
    
    .about-experience-badge .exp-number {
        font-size: 1.6rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--large,
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
