/* ============================================
   THE BEST NAILS — West Hartford
   Vibrant Modern | Teal + Slate Grey
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --accent-pink: #f472b6;
    --accent-coral: #fb7185;
    
    --font-heading: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

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

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

body {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--slate-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* --- Page Wrapper --- */
.page-wrapper {
    position: relative;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--teal-500);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--teal-600);
    bottom: 20%;
    left: -100px;
}

.geo-circle-3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--accent-pink);
    top: 50%;
    right: 5%;
    opacity: 0.03;
}

.geo-diagonal {
    width: 500px;
    height: 500px;
    background: var(--teal-400);
    top: 30%;
    right: -200px;
    transform: rotate(45deg);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

.geo-dot-grid {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--teal-600) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 10%;
    right: 10%;
    opacity: 0.08;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.08);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo {
    color: var(--slate-900);
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--teal-500);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: white;
    transition: background 0.3s ease;
}

.navbar.scrolled .nav-logo-mark {
    background: var(--teal-600);
}

.nav-logo-text {
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-400);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: white;
}

.navbar.scrolled .nav-link {
    color: var(--slate-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--slate-900);
}

.navbar.scrolled .nav-link::after {
    background: var(--teal-600);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--teal-500);
    color: white !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-toggle-bar {
    background: var(--slate-800);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.92) 0%,
        rgba(15, 23, 42, 0.88) 50%,
        rgba(4, 47, 46, 0.85) 100%
    );
}

.hero-geometric {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.geo-block {
    position: absolute;
}

.geo-block-teal {
    width: 500px;
    height: 500px;
    background: var(--teal-600);
    opacity: 0.15;
    top: -100px;
    right: -100px;
    border-radius: 50%;
    filter: blur(80px);
}

.geo-block-accent {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    opacity: 0.08;
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    filter: blur(60px);
}

.geo-dots {
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 16px 16px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--teal-200);
    margin-bottom: var(--space-2xl);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.05;
    color: white;
    letter-spacing: -2px;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.headline-accent {
    background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-500);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
    background: var(--teal-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--slate-900);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover {
    background: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover {
    background: white;
    color: var(--slate-900);
    border-color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-lg) var(--space-3xl);
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal-600);
    margin-bottom: var(--space-md);
}

.tag-line {
    width: 30px;
    height: 2px;
    background: var(--teal-500);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.title-dark {
    color: var(--slate-900);
}

.title-light {
    color: white;
}

.title-accent {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent-light {
    background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Services Section --- */
.services {
    position: relative;
    padding: var(--space-5xl) 0 var(--space-5xl);
    background: var(--slate-50);
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--slate-100);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--teal-500);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card.card-teal {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    border-color: transparent;
}

.service-card.card-teal .service-title,
.service-card.card-teal .service-desc {
    color: white;
}

.service-card.card-teal .service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card.card-slate {
    background: var(--slate-800);
    border-color: transparent;
}

.service-card.card-slate .service-title,
.service-card.card-slate .service-desc {
    color: white;
}

.service-card.card-slate .service-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--teal-300);
}

.service-card.card-slate::before {
    background: var(--teal-400);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: var(--space-xl);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--teal-500);
    color: white;
    transform: scale(1.05);
}

.service-card.card-teal .service-icon,
.service-card.card-slate .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-tag {
    display: inline-block;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.services-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-accent {
    position: absolute;
}

.geo-rect-1 {
    width: 300px;
    height: 300px;
    background: var(--teal-100);
    opacity: 0.4;
    top: -50px;
    left: -80px;
    border-radius: var(--radius-xl);
    transform: rotate(15deg);
}

.geo-rect-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-pink);
    opacity: 0.06;
    bottom: 10%;
    right: -40px;
    border-radius: 50%;
}

.geo-circle-accent {
    width: 150px;
    height: 150px;
    border: 3px solid var(--teal-200);
    opacity: 0.3;
    top: 20%;
    right: 5%;
    border-radius: 50%;
}

/* --- About Section --- */
.about {
    position: relative;
    padding: var(--space-5xl) 0;
    background: white;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-images {
    position: relative;
}

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

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

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-500);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: 40px;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

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

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--slate-900);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-experience .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--teal-400);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.about-experience .exp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.about-content {
    padding: var(--space-xl) 0;
}

.tag-left {
    justify-content: flex-start;
}

.about-text {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--slate-700);
    font-weight: 500;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--teal-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

/* --- Gallery Section --- */
.gallery {
    padding: var(--space-5xl) 0;
    background: var(--slate-900);
    overflow: hidden;
}

.section-header-light {
    margin-bottom: var(--space-3xl);
}

.tag-light {
    color: var(--teal-300);
}

.tag-line-light {
    background: var(--teal-400);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.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.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.gallery-item-wide {
    grid-column: span 7;
    height: 350px;
}

.gallery-item:not(.gallery-item-wide) {
    grid-column: span 5;
    height: 350px;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: var(--space-5xl) 0;
    background: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--slate-100);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card.card-teal {
    background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
    border-color: transparent;
}

.testimonial-card.card-teal .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-card.card-teal .testimonial-quote {
    color: white;
}

.testimonial-card.card-teal .author-name {
    color: white;
}

.testimonial-card.card-teal .author-location {
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-quote {
    color: var(--teal-600);
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.author-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-900);
}

.author-location {
    font-size: 0.8rem;
    color: var(--slate-400);
}

/* --- CTA Section --- */
.cta {
    position: relative;
    padding: var(--space-5xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.93) 0%,
        rgba(15, 23, 42, 0.90) 100%
    );
}

.cta-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-geo-shape {
    position: absolute;
}

.cta-geo-1 {
    width: 400px;
    height: 400px;
    background: var(--teal-500);
    opacity: 0.1;
    border-radius: 50%;
    top: -150px;
    left: -100px;
    filter: blur(60px);
}

.cta-geo-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-pink);
    opacity: 0.07;
    border-radius: 50%;
    bottom: -80px;
    right: 10%;
    filter: blur(40px);
}

.cta-geo-dots {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 14px 14px;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--teal-300);
    padding: var(--space-sm) var(--space-xl);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-xl);
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.cta-accent {
    background: linear-gradient(135deg, var(--teal-300), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* --- Contact Section --- */
.contact {
    padding: var(--space-5xl) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--teal-500);
    color: white;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-400);
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
    font-weight: 500;
}

.contact-link {
    color: var(--teal-600);
    font-weight: 600;
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

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

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* --- Footer --- */
.footer {
    background: var(--slate-950);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.footer-geo-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--teal-700);
    opacity: 0.06;
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.footer-geo-dots {
    position: absolute;
    bottom: 40px;
    left: 5%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--teal-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    color: white;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a,
.footer-contact a {
    font-size: 0.95rem;
    color: var(--slate-400);
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
    padding-left: var(--space-sm);
}

.footer-contact li:last-child {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--teal-400);
}

.footer-bottom a:hover {
    color: var(--teal-300);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .gallery-item-wide {
        grid-column: span 12;
    }
    
    .gallery-item:not(.gallery-item-wide) {
        grid-column: span 6;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --space-5xl: 4rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-2xl) var(--space-2xl);
        gap: var(--space-lg);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--slate-700) !important;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        background: var(--teal-500) !important;
    }
    
    .nav-cta {
        margin-top: var(--space-md);
    }
    
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-headline {
        letter-spacing: -1px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .about-img-float {
        right: 10px;
        bottom: -30px;
        width: 180px;
    }
    
    .about-img-float img {
        height: 220px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-wide,
    .gallery-item:not(.gallery-item-wide) {
        grid-column: span 12;
        height: 250px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    .contact-map iframe {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
