/* ============================================
   B&B Homeowner Services — Custom Styles
   Deep Navy + Warm Gold | Vibrant Modern
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --navy: #0A1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #D4AF37;
    --gold-light: #E8C94A;
    --gold-dark: #B8941F;
    --white: #FFFFFF;
    --off-white: #F8F6F0;
    --cream: #FDF9EE;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.15);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.20);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

/* ---------- Typography ---------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(212, 175, 55, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--centered { text-align: center; }
.section-header--centered .section-desc { margin: 0 auto; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.logo-amp {
    color: var(--gold);
    font-style: italic;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link--cta {
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 700;
    border-radius: 50px;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

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

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

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

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

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

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

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

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

.geo-shape--circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--gold);
    top: -200px;
    right: -100px;
}

.geo-shape--square {
    width: 300px;
    height: 300px;
    background: var(--gold);
    bottom: 10%;
    left: -80px;
    transform: rotate(25deg);
}

.geo-shape--triangle {
    width: 0;
    height: 0;
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-bottom: 312px solid var(--gold);
    top: 20%;
    left: 35%;
    opacity: 0.04;
}

.geo-shape--ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 40px solid var(--gold);
    bottom: 15%;
    right: 10%;
    opacity: 0.05;
}

.geo-shape--dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 40%;
    right: 5%;
    opacity: 0.15;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    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-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-headline .text-gold {
    color: var(--gold);
    font-style: italic;
}

.hero-sub {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

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

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

.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

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

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

.hero-img-float {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--navy);
}

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

.hero-card {
    position: absolute;
    top: 38%;
    left: 10%;
    background: var(--gold);
    color: var(--navy);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

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

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(10, 22, 40, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.hero-card span {
    font-size: 0.78rem;
    opacity: 0.7;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--navy);
    padding: 100px 0 80px;
    position: relative;
}

.services .section-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

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

.services .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.services .section-header {
    margin-bottom: 56px;
}

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

.service-card {
    position: relative;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    pointer-events: none;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--navy);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--off-white);
    padding: 100px 0;
}

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

.about-img-stack {
    position: relative;
    height: 580px;
}

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

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

.about-img-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--off-white);
}

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

.about-accent-block {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gold);
    color: var(--navy);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-accent-block .accent-block-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
}

.about-accent-block .accent-block-year {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

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

.about-values {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.value-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 2px;
}

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

/* ============================================
   WHY US
   ============================================ */
.why-us {
    background: var(--cream);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.why-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-card--featured {
    background: var(--navy);
    border-color: var(--navy);
}

.why-card--featured:hover {
    border-color: var(--gold);
}

.why-card-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.12);
    line-height: 1;
    margin-bottom: 12px;
}

.why-card--featured .why-card-number {
    color: rgba(255, 255, 255, 0.08);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    margin-bottom: 20px;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.why-card--featured h3 {
    color: var(--white);
}

.why-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.why-card--featured p {
    color: rgba(255, 255, 255, 0.6);
}

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

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    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(10, 22, 40, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item:nth-child(2) { grid-column: span 3.5; }
.gallery-item:nth-child(3) { grid-column: span 3.5; }
.gallery-item:nth-child(4) { grid-column: span 3.5; }
.gallery-item:nth-child(5) { grid-column: span 3.5; }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

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

.cta-shape {
    position: absolute;
    opacity: 0.06;
}

.cta-shape--circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gold);
    top: -100px;
    left: -80px;
}

.cta-shape--square {
    width: 180px;
    height: 180px;
    background: var(--gold);
    bottom: -60px;
    right: 10%;
    transform: rotate(30deg);
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-content h2 .text-navy {
    color: var(--gold);
    font-style: italic;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

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

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

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

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

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--gold-dark);
}

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

/* Contact Form */
.contact-form-wrap {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-900);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

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

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

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

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(212, 175, 55, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.form-success p {
    font-size: 0.92rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    padding: 64px 0 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

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

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    transition: var(--transition);
}

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

.footer-links svg {
    flex-shrink: 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

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

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        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;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-stack {
        height: 420px;
        max-width: 480px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
        height: 280px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        height: 220px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        position: static;
        max-width: 560px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link--cta {
        margin-left: 0;
        text-align: center;
        margin-top: 8px;
    }
    
    .hero {
        padding: 100px 0 100px;
        min-height: auto;
    }
    
    .hero-container {
        padding-bottom: 40px;
    }
    
    .hero-visual {
        height: 360px;
        order: -1;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-num {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large {
        grid-column: span 1;
        height: 260px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 1;
        height: 200px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    
    .hero-visual {
        height: 280px;
    }
    
    .hero-img-float {
        width: 60%;
    }
    
    .hero-card {
        display: none;
    }
    
    .about-img-stack {
        height: 320px;
    }
    
    .about-accent-block {
        padding: 14px 20px;
    }
    
    .about-accent-block .accent-block-year {
        font-size: 1.8rem;
    }
}
