/*
Theme Name: Nakanishi Webcraft
Theme URI: https://example.com
Author: Nakanishi
Author URI: https://example.com
Description: ビジネスを効率化するITソリューションサイト用カスタムテーマ
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nakanishi-webcraft
*/

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --color-navy: #0f172a;
    --color-charcoal: #334155;
    --color-bg: #f0fdfa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    line-height: 1.8;
    color: #374151;
    background: var(--color-bg);
}

/* ==========================================
   Global Grid Overlay
   Continuous grid pattern across entire page
   ========================================== */
.global-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(20, 184, 166, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 2;
    animation: gridMove 60s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* ==========================================
   Glassmorphism Effect
   ========================================== */
.glassmorphism {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(10px);
        opacity: 0.6;
    }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-slow-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Scroll-triggered animation states */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 30s linear infinite;
}

.animate-spin-slow-reverse {
    animation: spin-slow-reverse 25s linear infinite;
}

/* ==========================================
   Header
   ========================================== */
.site-header {
    background: rgba(240, 253, 250, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    text-decoration: none;
}

.main-navigation {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0d9488;
}

.header-cta {
    background: linear-gradient(to right, #14b8a6, #06b6d4);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.header-cta:hover {
    opacity: 0.9;
}

/* ==========================================
   Hero Section
   ========================================== */
/* Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    border-radius: 50%;
    opacity: 0.4;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 25%; top: 80%; animation-delay: 1s; animation-duration: 14s; width: 8px; height: 8px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 16s; width: 12px; height: 12px; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 13s; width: 6px; height: 6px; }
.particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(6) { left: 90%; top: 85%; animation-delay: 5s; animation-duration: 11s; width: 14px; height: 14px; }
.particle:nth-child(7) { left: 15%; top: 55%; animation-delay: 6s; animation-duration: 17s; width: 7px; height: 7px; }
.particle:nth-child(8) { left: 55%; top: 15%; animation-delay: 7s; animation-duration: 14s; width: 9px; height: 9px; }

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
    20% {
        transform: translateY(-30px) translateX(15px) scale(1.1);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-60px) translateX(10px) scale(0.95);
        opacity: 0.45;
    }
    60% {
        transform: translateY(-80px) translateX(-10px) scale(0.9);
        opacity: 0.35;
    }
    80% {
        transform: translateY(-50px) translateX(-20px) scale(1.05);
        opacity: 0.45;
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 1rem 2rem;
    overflow: hidden;
}

/* Base gradient overlay - uses opacity crossfade for smooth transition */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ccfbf1, #a5f3fc, #e0f2fe);
    opacity: 0.9;
}

/* Soft blend into the next section */
.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
    z-index: 2;
}

/* Second gradient layer for smooth crossfade */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-gradient-overlay .gradient-layer {
    position: absolute;
    inset: 0;
}

.hero-gradient-overlay .gradient-layer-1 {
    background: linear-gradient(135deg, #99f6e4, #67e8f9, #bae6fd);
    animation: smoothFade1 16s ease-in-out infinite;
}

.hero-gradient-overlay .gradient-layer-2 {
    background: linear-gradient(160deg, #a7f3d0, #a5f3fc, #c7d2fe);
    animation: smoothFade2 16s ease-in-out infinite;
}

@keyframes smoothFade1 {
    0%, 100% { opacity: 0; }
    33% { opacity: 0.3; }
    66% { opacity: 0; }
}

@keyframes smoothFade2 {
    0%, 100% { opacity: 0; }
    50% { opacity: 0; }
    75% { opacity: 0.25; }
    90% { opacity: 0; }
}

/* Grid pattern - now handled by .global-grid-overlay */

.decorative-circle {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    pointer-events: none;
}

.decorative-circle-1 {
    width: 384px;
    height: 384px;
    border-color: rgba(20, 184, 166, 0.35);
    border-width: 2px;
    top: -80px;
    left: -80px;
    animation: spin-slow 45s linear infinite, pulse-ring 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.decorative-circle-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(6, 182, 212, 0.3);
    border-width: 2px;
    top: -40px;
    left: -40px;
    animation: spin-slow-reverse 40s linear infinite, pulse-ring 10s cubic-bezier(0.4, 0, 0.2, 1) infinite 2s;
}

.decorative-circle-3 {
    width: 500px;
    height: 500px;
    border-color: rgba(20, 184, 166, 0.25);
    border-width: 2px;
    bottom: -128px;
    right: -128px;
    animation: spin-slow 50s linear infinite, pulse-ring 12s cubic-bezier(0.4, 0, 0.2, 1) infinite 4s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.02);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    75% {
        transform: scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.blur-teal {
    background-color: rgba(20, 184, 166, 0.1);
    animation: floatBlob 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.blur-cyan {
    background-color: rgba(6, 182, 212, 0.1);
    animation: floatBlob 12s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    20% {
        transform: translate(15px, -10px) scale(1.05);
    }
    40% {
        transform: translate(20px, -20px) scale(1.1);
    }
    60% {
        transform: translate(5px, -25px) scale(1.05);
    }
    80% {
        transform: translate(-10px, -10px) scale(1.02);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-content {
    max-width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title-highlight {
    background: linear-gradient(to right, #0d9488, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 0.05em;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    height: 10px;
    background: linear-gradient(to right, rgba(20, 184, 166, 0.2), rgba(6, 182, 212, 0.15));
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-cta {
    display: inline-block;
    background: var(--color-navy);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.45);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 28rem;
    margin: 0 auto;
}

.hero-illustration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    transform: rotate(-12deg);
}

.hero-illustration-card {
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-illustration-card:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 40px -10px rgba(20, 184, 166, 0.3);
}

.hero-illustration-card:nth-child(1) {
    animation: cardFloat 4s ease-in-out infinite;
}

.hero-illustration-card:nth-child(2) {
    margin-top: 2rem;
    animation: cardFloat 4.5s ease-in-out infinite 0.5s;
}

.hero-illustration-card:nth-child(3) {
    margin-top: -1rem;
    animation: cardFloat 5s ease-in-out infinite 1s;
}

.hero-illustration-card:nth-child(4) {
    margin-top: 1rem;
    animation: cardFloat 4.2s ease-in-out infinite 1.5s;
}

@keyframes cardFloat {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(-10px);
    }
    75% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-illustration-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.5rem;
}

.hero-illustration-bar {
    height: 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.25rem;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

/* Decorative blurs for services */
.services-section::before {
    content: '';
    position: absolute;
    top: 60px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: rgba(20, 184, 166, 0.18);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: rgba(6, 182, 212, 0.16);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 18s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.services-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .services-title {
        font-size: 3rem;
    }
}

.services-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(20, 184, 166, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, rgba(20,184,166,0.3), rgba(6,182,212,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(20, 184, 166, 0.25);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: #fff;
    fill: none;
}

.service-badge {
    display: inline-block;
    background-color: #cffafe;
    color: #0e7490;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #4b5563;
    line-height: 1.75;
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
    padding: 5rem 1rem;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* About: decorative blur accent (grid now handled globally) */
.about-section::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: rgba(6, 182, 212, 0.15);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 14s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

/* Decorative blur */
.about-section::after {
    content: '';
    position: absolute;
    top: 90px;
    right: 60px;
    width: 160px;
    height: 160px;
    background: rgba(6, 182, 212, 0.16);
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 80px, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 80px, #000 100%);
    animation: floatBlob 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.about-container {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-content {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .about-content {
        padding: 3rem;
    }
}

.about-intro {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-column h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-column h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(to bottom, #14b8a6, #06b6d4);
    border-radius: 9999px;
    flex-shrink: 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-list li {
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.about-list li::before {
    content: "•";
    color: #14b8a6;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* ==========================================
   Process / Flow Section
   ========================================== */
.process-section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
}

.process-section::before {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: rgba(6, 182, 212, 0.18);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to top, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 16s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.process-section::after {
    content: '';
    position: absolute;
    top: 60px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: rgba(20, 184, 166, 0.16);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 14s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
}

.process-container {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .process-title {
        font-size: 3rem;
    }
}

.process-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
}

.process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Timeline line */
.process-steps::before {
    content: '';
    position: absolute;
    left: 2.25rem;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-navy), var(--color-charcoal), var(--color-navy));
    display: none;
}

@media (min-width: 768px) {
    .process-steps::before {
        display: block;
    }
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.process-number {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--color-navy);
    color: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.3);
    position: relative;
    z-index: 10;
    transition: all 0.4s;
}

.process-step:hover .process-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.4);
}

.process-content {
    flex: 1;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 184, 166, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-content:hover {
    transform: translateX(8px);
    box-shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.3);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.process-content p {
    color: #4b5563;
    line-height: 1.75;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 5rem 1rem;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

/* Contact: decorative blur accent (grid now handled globally) */
.contact-section::before {
    content: '';
    position: absolute;
    top: 60px;
    right: -40px;
    width: 280px;
    height: 280px;
    background: rgba(20, 184, 166, 0.18);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    animation: floatBlob 16s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Decorative circles */
.contact-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    width: 180px;
    height: 180px;
    background: rgba(20, 184, 166, 0.35);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlob 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

.contact-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
        gap: 3rem;
    }
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-sidebar-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-sidebar-card p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.75;
}

.contact-sidebar-card a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

.contact-sidebar-card a:hover {
    color: #0f766e;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.75;
}

.contact-form {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 3rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #111827;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
}

.submit-button {
    display: block;
    width: auto;
    max-width: 280px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    background: var(--color-navy);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.3);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .contact-info {
        flex-direction: row;
        gap: 1rem;
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item:hover {
    color: #0d9488;
}

.contact-info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================
   Section Decorative Blobs - Subtle Override
   ========================================== */
.services-section::before,
.services-section::after,
.about-section::before,
.about-section::after,
.process-section::before,
.process-section::after,
.contact-section::before,
.contact-section::after {
    opacity: 0.25;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    padding: 3rem 1rem 1.5rem;
    background: var(--color-navy);
    color: #94a3b8;
}

.footer-inner {
    max-width: 1152px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer-brand .footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #94a3b8;
    max-width: 280px;
}

.footer-nav-section h4,
.footer-social-section h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-section a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-nav-section a:hover {
    color: #5eead4;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-link:hover {
    background: rgba(94, 234, 212, 0.15);
    color: #5eead4;
}

.footer-social-link svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-bottom {
    max-width: 1152px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-text {
    color: #64748b;
    font-size: 0.8125rem;
    margin: 0;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 767px) {
    .main-navigation {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-illustration {
        display: none;
    }
}
