/* ========================================
   BROWN CHIP CONSTRUCTION — Website Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Variables */
:root {
    --navy: #1a2744;
    --navy-dark: #0f1a2e;
    --navy-light: #2a3f66;
    --accent: #d4a44c;
    --accent-light: #e8c476;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f1f3;
    --gray-200: #e2e4e8;
    --gray-400: #9ca3af;
    --gray-600: #6b7280;
    --gray-800: #374151;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVIGATION ========== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
#navbar.scrolled {
    background: rgba(15, 26, 46, 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;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-bc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--navy-dark);
    font-weight: 900;
    font-size: 18px;
    border-radius: 6px;
}
.logo-text {
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
}
.logo-sub {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
    background: var(--accent) !important;
    color: var(--navy-dark) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: all 0.2s !important;
}
.nav-cta:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><rect fill="none"/><g opacity="0.03"><rect x="100" y="100" width="200" height="300" stroke="white" stroke-width="2" fill="none"/><rect x="350" y="150" width="150" height="250" stroke="white" stroke-width="2" fill="none"/><line x1="100" y1="400" x2="500" y2="400" stroke="white" stroke-width="1"/><line x1="300" y1="100" x2="300" y2="400" stroke="white" stroke-width="1"/></g></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(212, 164, 76, 0.15);
    border: 1px solid rgba(212, 164, 76, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.accent { color: var(--accent); }
.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--accent);
    color: var(--navy-dark);
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 164, 76, 0.3);
}
.btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-emergency {
    background: #dc2626;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
    display: inline-block;
    transition: all 0.2s;
}
.btn-emergency:hover { background: #b91c1c; }
.full-width { width: 100%; justify-content: center; }

/* ========== SECTIONS ========== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-tag.light { color: var(--accent-light); }
.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ========== SERVICES GRID ========== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card.featured {
    background: var(--navy);
    color: var(--white);
    border-color: transparent;
}
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-card.featured .service-link { color: var(--accent); }
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--navy-dark);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(212, 164, 76, 0.1);
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
}
.service-card.featured .service-icon {
    background: rgba(212, 164, 76, 0.2);
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--gray-600);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ========== INSURANCE SECTION ========== */
.insurance-section {
    padding: 100px 0;
    background: var(--navy-dark);
    color: var(--white);
}
.insurance-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}
.insurance-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
}
.lead {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 164, 76, 0.15);
    color: var(--accent);
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 164, 76, 0.3);
}
.step-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.step-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.insurance-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.damage-types {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}
.damage-types h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.damage-types li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}
.damage-types li:last-child { border: none; }
.damage-types li i { color: var(--accent); width: 20px; text-align: center; }
.callout-box {
    background: rgba(212, 164, 76, 0.1);
    border: 1px solid rgba(212, 164, 76, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.callout-box h4 {
    color: var(--accent);
    font-size: 17px;
    margin-bottom: 8px;
}
.callout-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ========== PROPERTY MANAGERS / PRICING ========== */
.pm-section {
    padding: 100px 0;
    background: var(--white);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.pricing-card {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
    border-color: var(--accent);
    background: var(--white);
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--navy-dark);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pricing-tier {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.pricing-properties {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 16px;
}
.pricing-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 32px;
}
.pricing-amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-400);
}
.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-800);
}
.pricing-features li i {
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
}
.pricing-card .btn-outline {
    border-color: var(--navy);
    color: var(--navy);
}
.pricing-card .btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--navy-dark);
}
.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
}
.pricing-note a { color: var(--accent); font-weight: 600; }

/* ========== CONSULTING ========== */
.consulting-section {
    padding: 100px 0;
    background: var(--gray-50);
}
.consulting-content {
    max-width: 800px;
}
.consulting-content .lead {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 16px;
}
.consulting-content > p {
    color: var(--gray-600);
    margin-bottom: 40px;
}
.consulting-options {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}
.consult-option {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}
.consult-option:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.consult-option h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.consult-option p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}
.consult-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

/* ========== ABOUT ========== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 24px;
}
.about-content p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.7;
}
.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}
.credential i {
    color: var(--accent);
    font-size: 18px;
    width: 20px;
    text-align: center;
}
.about-image { position: relative; }
.about-placeholder {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
}
.about-placeholder i { font-size: 64px; margin-bottom: 20px; color: var(--accent); }
.about-placeholder p { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.placeholder-note { font-size: 12px; color: var(--gray-400); font-style: italic; }
.family-note {
    background: var(--accent);
    color: var(--navy-dark);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
}
.family-note p {
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    text-align: center;
}

/* ========== CONTACT ========== */
.contact-section {
    padding: 100px 0;
    background: var(--navy-dark);
    color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
}
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--gray-800);
}
.form-group {
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-800);
}
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--white);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 164, 76, 0.15);
}
textarea { resize: vertical; min-height: 100px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item i {
    color: var(--accent);
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-item a, .contact-item span {
    font-size: 15px;
    color: var(--white);
    line-height: 1.5;
}
.contact-item a:hover { color: var(--accent); }
.emergency-card {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}
.emergency-card i { font-size: 28px; color: #f87171; margin-bottom: 12px; }
.emergency-card h4 { font-size: 17px; margin-bottom: 8px; }
.emergency-card p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 16px;
    transition: all 0.2s;
}
.social-links a:hover {
    background: var(--accent);
    color: var(--navy-dark);
}

/* ========== FOOTER ========== */
.footer {
    background: #0a1020;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.6; }
.footer-license { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 12px; }
.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .insurance-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 24px; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
    .hero { padding: 100px 24px 60px; min-height: auto; }
    .hero h1 { font-size: 32px; }
    .hero-stats { flex-direction: row; gap: 24px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .credentials { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 28px; }
    .consulting-content { max-width: 100%; }
}
