/* Vertascale Theme - 1:1 Match to Live Site */

:root {
    --orange: #F5A623;
    --orange-dark: #E8951A;
    --blue: #1E6FD9;
    --blue-dark: #1A5FC0;
    --teal: #00BCD4;
    --text: #000000;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --border: #e0e0e0;
    --radius: 8px;
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Vertascale Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

/* Top Bar */
.top-bar {
    background: var(--orange);
    color: white;
    padding: 12px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
.top-bar a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-bar a:hover { text-decoration: underline; }

/* Header */
.site-header {
    background: var(--bg);
    padding: 16px 0;
    position: relative;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img {
    width: auto;
    height: 74px;
    object-fit: contain;
    flex-shrink: 0;
}
.x-link {
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px;
    transition: color 0.2s;
}
.x-link:hover { color: var(--orange); }

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: #333;
    border-radius: 1px;
}
.main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 12px 16px;
    min-width: 220px;
    z-index: 100;
    flex-direction: column;
    gap: 0;
}
.main-nav.open {
    display: flex;
}
.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.nav-link:last-child { border-bottom: none; }
.nav-link:hover, .nav-link.active { color: var(--orange); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.email-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}
.email-link:hover { text-decoration: underline; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--orange);
    color: white;
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* Ticker Bar */
.ticker-bar {
    background: var(--orange);
    color: white;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
.ticker-content span {
    display: inline-block;
    padding: 0 16px;
}
.ticker-sep {
    opacity: 0.8;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero - Matching live site structure */
.hero {
    padding: 40px 0 60px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 100" opacity="0.03"><text x="0" y="50" font-family="Arial" font-size="14" fill="%23000">VERTASCALE</text></svg>');
    background-size: 300px 100px;
    pointer-events: none;
}
.hero-top {
    text-align: left;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}
.hero-brand {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--orange) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.hero h1, .hero h2 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 60px;
    color: var(--text);
}
.hero h1 em, .hero h2 em {
    color: var(--orange);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}
.hero-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}
.hero-phone:hover { color: var(--orange); }
.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}
.hero-form-panel {
    background: #FCE8D0;
    padding: 28px;
    border-radius: 8px;
}
.hero-form-panel h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text);
    font-style: italic;
}
.form-group {
    margin-bottom: 16px;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
}
.form-group input:focus {
    outline: none;
    border-color: var(--orange);
}
.contact-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.check-item:last-child { border-bottom: none; }
.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.check-item input[type="checkbox"]:checked {
    background: var(--orange);
    border-color: var(--orange);
}
.check-item input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.hero-form-panel .btn-full {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 14px;
    font-size: 1rem;
}
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.hero-image-placeholder {
    text-align: center;
    color: var(--text-light);
}
.hero-image-placeholder svg {
    margin-bottom: 16px;
}
.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}
.stat-item {
    font-size: 0.9rem;
    color: var(--text);
}
.stat-item strong {
    font-weight: 700;
    color: var(--text);
}
.hero-trust {
    margin-top: 16px;
}
.hero-trust p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}
.google-text {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
}
.google-text .g1 { color: #4285F4; }
.google-text .g2 { color: #EA4335; }
.google-text .g3 { color: #FBBC05; }
.google-text .g4 { color: #4285F4; }
.google-text .g5 { color: #34A853; }
.google-text .g6 { color: #EA4335; }
.stars {
    color: #F4B400;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Hero Wave Divider */
.hero-wave {
    line-height: 0;
    background: var(--bg);
    margin-bottom: -1px;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 72px;
}
.hero-wave path {
    fill: var(--orange);
}

/* Marquee Bar */
.marquee-bar {
    background: var(--orange);
    color: white;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.marquee-content span {
    display: inline-block;
    padding: 0 40px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.service-tags-bar {
    background: #E8951A;
    color: white;
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: 500;
}
.service-tags-bar .container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tag-sep {
    opacity: 0.7;
}

/* Services - Orange cards */
.services {
    padding: 80px 0;
    background: var(--bg);
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.section-header h2 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text);
}
.section-header p { color: var(--text-light); font-size: 1.1rem; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--orange);
    padding: 40px 32px;
    border-radius: var(--radius);
    color: white;
    transition: transform 0.2s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: white;
}
.service-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-link {
    display: inline-block;
    background: white;
    color: var(--orange);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.service-icon {
    margin-bottom: 20px;
    opacity: 0.9;
}
.service-card.service-cta {
    background: var(--blue);
}
.service-card.service-cta .service-link {
    color: var(--blue);
}
.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

/* Section Eyebrow */
.section-eyebrow {
    display: inline-block;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--bg-alt);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-image-placeholder {
    height: 200px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-image {
    height: 200px;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.1rem;
    padding: 20px 24px 8px;
    color: var(--orange);
}
.blog-card p {
    padding: 0 24px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.blog-link {
    display: inline-block;
    padding: 0 24px 20px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works { padding: 80px 0; background: var(--bg); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 48px;
}
.step { text-align: center; }
.step-number {
    width: 60px;
    height: 60px;
    background: var(--teal);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}
.step h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text);
}
.step p { color: var(--text-light); }

/* Testimonials */
.testimonials { padding: 80px 0; background: var(--bg-alt); }
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.testimonial-card h4 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--text);
}
.testimonial-card .role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
}

/* Service Areas Home Section */
.service-areas-home {
    padding: 80px 0;
    background: var(--bg);
}
.service-areas-home .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}
.service-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
    color: var(--text-light);
    font-size: 1.05rem;
}
.service-area-grid h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
}
.location-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    text-align: center;
}
.location-grid a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.2s;
}
.location-grid a:hover {
    color: var(--orange);
}
@media (max-width: 768px) {
    .location-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/cta-earth-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}
.cta-section h2 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.cta-section p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 32px; }

/* Page Header */
.page-header {
    padding: 80px 0 40px;
    background: var(--blue);
    color: white;
    text-align: center;
}
.page-header h1 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 3rem;
    margin-bottom: 16px;
}
.page-subtitle { font-size: 1.2rem; opacity: 0.9; }

/* Page Content */
.page-content { padding: 64px 0; }
.content { max-width: 800px; margin: 0 auto; }
.content h2 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 2rem;
    margin: 48px 0 24px;
    color: var(--text);
}
.content h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.5rem;
    margin: 32px 0 16px;
}
.content p { margin-bottom: 20px; color: var(--text-light); }
.content ul { margin-bottom: 20px; padding-left: 24px; }
.content li { margin-bottom: 8px; color: var(--text-light); }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-method { margin-bottom: 32px; }
.contact-method h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.contact-method a { color: var(--orange); text-decoration: none; }
.contact-form-wrapper {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--bg);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--orange);
}

/* Footer - Black background matching live site */
.site-footer {
    background: #000000;
    color: rgba(255,255,255,0.8);
    padding: 64px 0 32px;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo-name {
    font-family: 'Vertascale Display', sans-serif;
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.footer-brand .logo-tagline { color: var(--orange); margin-bottom: 16px; font-size: 0.8rem; }
.footer-brand p { color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: background 0.2s;
}
.footer-social a:hover { background: var(--orange-dark); }
.footer-links h4, .footer-contact h4 {
    font-family: 'Vertascale Display', sans-serif;
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--orange); }
.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.footer-contact a:hover { color: var(--orange); }
.footer-contact span {
    display: block;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    font-size: 0.9rem;
}
/* Blog Post */
.blog-post {
    padding: 64px 0;
    background: var(--bg);
}
.post-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}
.post-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.post-date {
    color: var(--orange);
    font-weight: 600;
}
.post-category {
    background: var(--bg-alt);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
}
.post-header h1 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 2.5rem;
    color: var(--text);
    line-height: 1.2;
}
.post-content {
    max-width: 800px;
    margin: 0 auto;
}
.post-content h2 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text);
}
.post-content h3 {
    font-family: 'Vertascale Display', sans-serif;
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--text);
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 24px 0;
}
.post-content blockquote {
    border-left: 4px solid var(--orange);
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-light);
}
.post-tags {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-tag {
    background: var(--bg-alt);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
}
.post-nav {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.post-nav a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    max-width: 45%;
}
.post-nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 8px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-bottom { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .location-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .main-nav { display: none; }
}
