/* ============================================
   CUBATATTOO CHAPLE — Custom Styles
   Color Palette: Midnight Blue (#0a2540) + Mint (#2dd4bf)
   Fonts: Syne (headings) + Space Grotesk (body)
============================================ */

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

:root {
    --midnight: #0a2540;
    --midnight-light: #133a5c;
    --midnight-dark: #061a2e;
    --mint: #2dd4bf;
    --mint-light: #5eead4;
    --mint-dark: #14b8a6;
    --mint-pale: #ccfbf1;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-50: #f1f5f9;
    --gray-100: #e2e8f0;
    --gray-200: #cbd5e1;
    --gray-300: #94a3b8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.1);
    --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.15);
    --shadow-xl: 0 16px 60px rgba(10, 37, 64, 0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--midnight);
}

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

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

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

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.06);
    transition: var(--transition);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--midnight);
}

.logo-dot {
    color: var(--mint);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--midnight);
}

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

.nav-cta {
    background: var(--midnight);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--midnight-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--white);
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.mobile-link {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--midnight);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-link:hover {
    color: var(--mint-dark);
}

.mobile-cta {
    margin-top: 24px;
    background: var(--mint);
    color: var(--midnight);
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

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

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

.geo-shape {
    position: absolute;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(45, 212, 191, 0.07);
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.3) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 15%;
    right: 35%;
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-aside {
    padding: 40px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mint-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 32px;
}

.tag-line {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-line {
    display: block;
}

.headline-line.accent {
    color: var(--mint);
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.35);
}

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

.btn-outline:hover {
    border-color: var(--mint);
    color: var(--mint-light);
    transform: translateY(-2px);
}

.btn-mint {
    background: var(--mint);
    color: var(--midnight);
}

.btn-mint:hover {
    background: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

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

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

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

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--mint);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.hero-img-main {
    width: 75%;
    height: 85%;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero-img-accent {
    width: 55%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 4px solid var(--midnight);
}

.hero-badge {
    position: absolute;
    bottom: 38%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--midnight);
    white-space: nowrap;
}

.hero-badge svg {
    color: var(--mint-dark);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-300);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--mint), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- SECTION COMMON ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mint-dark);
    background: var(--mint-pale);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-mint {
    color: var(--mint-dark);
}

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

.services-deco {
    position: absolute;
    top: 60px;
    right: -80px;
    pointer-events: none;
}

.deco-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--mint-pale);
}

.deco-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--mint), transparent);
    margin-top: -20px;
    margin-left: 60px;
    border-radius: 2px;
}

.services .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--mint);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(45, 212, 191, 0.2);
}

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

.service-card-accent {
    background: var(--midnight);
}

.service-card-accent h3 {
    color: var(--white);
}

.service-card-accent p {
    color: var(--gray-300);
}

.service-card-accent .service-link {
    color: var(--mint);
}

.service-card-accent .service-link:hover {
    color: var(--mint-light);
}

.service-card-accent::before {
    background: var(--mint);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-dark);
    margin-bottom: 20px;
}

.service-card-accent .service-icon {
    background: rgba(45, 212, 191, 0.15);
    color: var(--mint);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.925rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--midnight);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    color: var(--mint-dark);
    gap: 8px;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

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

.gallery-header {
    text-align: center;
    margin-bottom: 64px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
    margin-bottom: 48px;
}

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

.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-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.8) 0%, 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-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.gallery-item-lg {
    grid-column: span 5;
}

.gallery-item:not(.gallery-item-lg) {
    grid-column: span 3.5;
}

.gallery-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.gallery-cta p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

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

.about-visual {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    width: 75%;
    height: 80%;
    top: 0;
    left: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-float {
    position: absolute;
    width: 55%;
    height: 55%;
    bottom: 0;
    right: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--midnight);
}

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

.about-shape {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--mint);
    border-radius: var(--radius-lg);
    top: 10%;
    right: 5%;
    transform: rotate(15deg);
    opacity: 0.15;
}

.about-content {
    color: var(--white);
}

.about-content .section-tag {
    background: rgba(45, 212, 191, 0.15);
    color: var(--mint-light);
}

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

.about-text {
    color: var(--gray-200);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    flex-shrink: 0;
}

.value-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-200);
}

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

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

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    top: -150px;
    left: -100px;
}

.cta-shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    bottom: -80px;
    right: 10%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--midnight);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--midnight);
    opacity: 0.75;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

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

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

.contact-info .section-title {
    margin-bottom: 32px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-dark);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--midnight);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-md);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

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

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

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

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--mint-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--mint-dark);
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--midnight);
}

.form-success p {
    color: var(--gray-600);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--midnight-dark);
    padding: 80px 0 0;
}

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

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mint);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
    display: block;
    color: var(--gray-300);
    font-size: 0.875rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.8rem;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-aside {
        text-align: center;
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 72px;
        min-height: auto;
        padding-bottom: 80px;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    .hero-visual {
        height: 380px;
    }
    
    .hero-img-main {
        width: 70%;
        height: 78%;
    }
    
    .hero-img-accent {
        width: 55%;
        height: 55%;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item-lg {
        grid-column: span 2;
    }
    
    .gallery-item:not(.gallery-item-lg) {
        grid-column: span 1;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-visual {
        height: 380px;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 320px;
    }
    
    .hero-img-main {
        width: 72%;
        height: 75%;
    }
    
    .hero-img-accent {
        width: 58%;
        height: 58%;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 10px 14px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-lg {
        grid-column: span 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
