/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --terracotta: #C07251;
    --terracotta-deep: #A0573A;
    --terracotta-light: #D4956F;
    --sand: #F5EDE4;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD2;
    --cream: #FFFDF9;
    --text-dark: #2C1E16;
    --text-body: #4A3528;
    --text-muted: #7A6355;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(44, 30, 22, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 30, 22, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 30, 22, 0.12);
    --shadow-card: 0 4px 24px rgba(192, 114, 81, 0.10);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--terracotta-deep);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    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: 1000;
    font-weight: 600;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    padding: 12px 28px;
}

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

.btn-primary:hover {
    background: var(--terracotta-deep);
    border-color: var(--terracotta-deep);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

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

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

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

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

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

.btn-ghost:hover {
    background: var(--white);
    color: var(--terracotta-deep);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 114, 81, 0.1);
    transition: box-shadow var(--transition);
}

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

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

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.logo-icon {
    flex-shrink: 0;
}

/* Nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

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

.nav-menu a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu a:hover {
    color: var(--terracotta);
    background: rgba(192, 114, 81, 0.08);
}

/* ===== HERO ===== */
.hero {
    padding-top: 76px;
    background: var(--sand);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 114, 81, 0.12);
    color: var(--terracotta-deep);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-headline {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.text-accent {
    color: var(--terracotta);
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(192, 114, 81, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}

.trust-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

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

.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-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-lg);
    z-index: 2;
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.float-card-text {
    display: flex;
    flex-direction: column;
}

.float-card-text strong {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.float-card-text span {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

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

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(192, 114, 81, 0.08);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(192, 114, 81, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(192, 114, 81, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--terracotta);
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    background: var(--sand);
    overflow: hidden;
}

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

.about-images {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--sand);
}

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

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

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 4px;
}

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

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

.about-text {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon-sm {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 8px;
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--cream);
}

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

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

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

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

.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / 11;
    grid-row: 2 / 3;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--terracotta);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

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

/* ===== CONTACT ===== */
.contact {
    background: var(--sand-light);
}

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

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid rgba(192, 114, 81, 0.08);
    transition: all var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-card);
    border-color: rgba(192, 114, 81, 0.2);
}

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

.contact-card h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-card p a {
    color: var(--text-dark);
    font-weight: 500;
}

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

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--terracotta);
    margin-top: 8px;
}

.link-arrow:hover {
    color: var(--terracotta-deep);
}

.link-arrow svg {
    transition: transform var(--transition);
}

.link-arrow:hover svg {
    transform: translate(4px, -2px);
}

.small-text {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(192, 114, 81, 0.08);
}

.form-title {
    font-size: 24px;
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--sand-light);
    transition: all var(--transition);
    appearance: none;
}

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

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

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

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

.form-success h4 {
    font-size: 22px;
    margin: 16px 0 8px;
    color: var(--terracotta);
}

.form-success p {
    color: var(--text-muted);
    font-size: 15px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer {
    margin-bottom: 16px;
}

.logo-text-light {
    color: var(--white);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    transition: color var(--transition);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact ul li svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terracotta-deep);
    transform: translateY(-4px);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(192, 114, 81, 0.1);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        z-index: 99;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 16px;
    }

    .nav-menu .btn-primary {
        text-align: center;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 60px 0 80px;
    }

    .hero-image {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        max-width: 480px;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-content .btn {
        margin: 8px auto 0;
    }

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

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

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

@media (max-width: 640px) {
    section {
        padding: 72px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero-grid {
        padding: 48px 0 64px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

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

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

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

    .gallery-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item {
        height: 200px;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

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

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

    html {
        scroll-behavior: auto;
    }

    .back-to-top {
        transition: none;
    }
}
