/* ===========================
   Diamond Artisan - Style Sheet
   Premium dark theme — distinctive identity
   =========================== */

:root {
    --bg-primary: #08090f;
    --bg-secondary: #0d0f18;
    --bg-card: #121522;
    --bg-card-hover: #191d30;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(195, 155, 100, 0.35);

    --text-primary: #eae8e3;
    --text-secondary: #9a9692;
    --text-muted: #6b6660;

    /* Warm copper/rose-gold accent — differentiates from DiamColor's pure gold */
    --accent: #c49a6c;
    --accent-light: #dbb88a;
    --accent-dim: rgba(196, 154, 108, 0.12);

    --accent-pink: #d4789b;
    --accent-blue: #6eaed4;
    --accent-teal: #4da891;
    --accent-purple: #a07ec8;

    --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --container-width: 1200px;
    --section-padding: 120px 0;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 18px;
    border: 1px solid var(--border-accent);
    border-radius: 20px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: background-color 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background-color: rgba(8, 9, 15, 0.92);
    backdrop-filter: blur(20px);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo img.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent) !important;
    font-weight: 500 !important;
    transition: all var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--bg-primary) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(196, 154, 108, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    font-size: 1.1rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Video / GIF background in hero */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: saturate(0.6);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 9, 15, 0.65) 0%,
        rgba(8, 9, 15, 0.40) 40%,
        rgba(8, 9, 15, 0.70) 80%,
        rgba(8, 9, 15, 1) 100%
    );
    z-index: 1;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
}

.hero-logo {
    margin-bottom: 28px;
}

.hero-logo img {
    height: 80px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 2px 12px rgba(196, 154, 108, 0.25));
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--accent);
    padding: 7px 20px;
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    margin-bottom: 28px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.hero-accent {
    color: var(--accent-pink);
}

.hero-accent2 {
    color: var(--accent-blue);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all var(--transition);
    opacity: 0;
    transform: translateY(24px);
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===========================
   Process Section
   =========================== */
.process {
    padding: var(--section-padding);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.process-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 24px;
    opacity: 0;
    transform: translateY(24px);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 20px;
    color: var(--bg-primary);
}

.process-step:nth-child(1) .step-number { background-color: var(--accent); }
.process-step:nth-child(3) .step-number { background-color: var(--accent-teal); }
.process-step:nth-child(5) .step-number { background-color: var(--accent-pink); }
.process-step:nth-child(7) .step-number { background-color: var(--accent-purple); }

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.process-connector {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--border-accent), transparent);
    margin-top: 50px;
    flex-shrink: 0;
}

/* ===========================
   Gallery Section
   =========================== */
.gallery {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-secondary);
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent);
    border-color: var(--accent);
    background-color: var(--accent-dim);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
}

.gallery-item.animate-in {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    filter: brightness(0.7);
}

/* Video play icon overlay */
.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(8, 9, 15, 0.6);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s;
}

.gallery-play-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
    margin-left: 3px;
}

.gallery-item:hover .gallery-play-icon {
    background: rgba(196, 154, 108, 0.7);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(8, 9, 15, 0.9) 0%, transparent 100%);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

/* ===========================
   Technology Section
   =========================== */
.technology {
    padding: var(--section-padding);
}

.tech-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.tech-block:last-child {
    margin-bottom: 0;
}

.tech-block-reverse {
    direction: rtl;
}

.tech-block-reverse > * {
    direction: ltr;
}

.tech-image {
    position: relative;
    opacity: 0;
    transform: translateX(-32px);
}

.tech-block-reverse .tech-image {
    transform: translateX(32px);
}

.tech-image.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.tech-image img,
.tech-image video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    aspect-ratio: 16/10;
    object-fit: cover;
}

.tech-image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(8, 9, 15, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    pointer-events: none;
}

.tech-content {
    opacity: 0;
    transform: translateY(24px);
}

.tech-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.tech-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
    opacity: 0.7;
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
}

.about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-subtle);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    transform: translateX(-24px);
}

.contact-info.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    color: var(--accent);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-method .location-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateY(24px);
}

.contact-form-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.show {
    display: block;
}

.form-success .check-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a9692' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--bg-card);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.footer-brand img {
    height: 28px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-dim);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ===========================
   Back to Top
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    color: var(--accent);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(196, 154, 108, 0.35);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===========================
   Animations
   =========================== */
[data-animate] {
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ===========================
   Lightbox — supports video too
   =========================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 15, 0.96);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img,
.lightbox video {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
    transition: color 0.2s;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--text-primary);
}

.lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-block {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 24px;
        transition: right 0.4s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo img {
        height: 56px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 1px;
        height: 40px;
        margin: 0;
        background: linear-gradient(to bottom, var(--border-accent), transparent);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Technology */
    .tech-block,
    .tech-block-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    /* About */
    .about-stats {
        flex-direction: column;
        gap: 32px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
