:root {
    --terracotta-50: #fdf0ec;
    --terracotta-100: #f9ddd3;
    --terracotta-200: #f3bda7;
    --terracotta-300: #ec9574;
    --terracotta-400: #e4724e;
    --terracotta-500: #d95a35;
    --terracotta-600: #b85c38;
    --terracotta-700: #9a4b2f;
    --terracotta-800: #7d3d27;
    --terracotta-900: #62301f;
    --sand-50: #faf8f5;
    --sand-100: #f3ede4;
    --sand-200: #e8d9c8;
    --sand-300: #dbbfab;
    --sand-400: #cfa58c;
    --sand-500: #c29172;
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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.6;
    color: var(--neutral-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow var(--transition);
}

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

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--neutral-900);
}

.nav-logo-icon {
    color: var(--terracotta-600);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta-600);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--terracotta-600);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--terracotta-600);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), transform var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--sand-100) 50%, var(--terracotta-50) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta-700);
    background: var(--terracotta-100);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--terracotta-600);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--terracotta-600);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-600);
    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: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.btn-primary {
    color: #fff;
    background: var(--terracotta-600);
    box-shadow: 0 4px 14px rgba(184, 92, 56, 0.35);
}

.btn-primary:hover {
    background: var(--terracotta-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.4);
}

.btn-secondary {
    color: var(--neutral-800);
    background: #fff;
    border: 1.5px solid var(--neutral-200);
}

.btn-secondary:hover {
    border-color: var(--terracotta-300);
    color: var(--terracotta-700);
    transform: translateY(-2px);
}

.btn-white {
    color: var(--terracotta-600);
    background: #fff;
}

.btn-white:hover {
    background: var(--sand-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

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

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-200);
}

.hero-image {
    position: relative;
}

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

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

.hero-float-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta-100);
    border-radius: 50%;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.hero-float-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-800);
}

.hero-float-card span {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

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

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 16px;
}

.section-title .accent {
    color: var(--terracotta-600);
    font-style: italic;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ─── Services ─── */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--terracotta-200);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta-100);
    border-radius: var(--radius-sm);
    color: var(--terracotta-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

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

.service-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.925rem;
    color: var(--neutral-500);
    line-height: 1.65;
}

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: var(--sand-50);
}

.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-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

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

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terracotta-600);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-exp-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
}

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

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

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 36px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.about-features li svg {
    color: var(--terracotta-600);
    flex-shrink: 0;
}

/* ─── Gallery ─── */
.gallery {
    padding: 100px 0;
    background: #fff;
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    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.06);
}

/* ─── CTA Band ─── */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--terracotta-700) 0%, var(--terracotta-600) 50%, var(--terracotta-500) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: var(--sand-50);
}

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

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

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

.contact-desc {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

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

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.925rem;
    color: var(--neutral-500);
    transition: color var(--transition);
}

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

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

/* ─── Footer ─── */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 14px;
}

.footer-logo-icon {
    color: var(--terracotta-400);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--neutral-500);
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-300);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--neutral-500);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-400);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact span,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--neutral-500);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.825rem;
    color: var(--neutral-600);
    text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

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

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

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

    .nav-cta {
        justify-content: center;
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 60px 24px;
        gap: 48px;
    }

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

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

    .hero-stats {
        gap: 16px;
    }

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

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

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

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

    .about-experience {
        left: -10px;
        top: -10px;
    }

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

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

    .about-content .section-desc {
        text-align: center;
    }

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

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

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

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

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

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

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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

    html {
        scroll-behavior: auto;
    }

    .gallery-item img {
        transition: none;
    }
}
