/* Reset and Base Styles */
@font-face {
    font-family: 'PP Neue Montreal';
    src: url('assets/fonts/PPNeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-grey-light: #f5f5f5;
    --color-grey-medium: #e0e0e0;
    --color-grey-dark: #333333;
    --color-gold: #f4c430;
    --color-blue-light: #e3f2fd;
    --color-green-light: #e8f5e9;
    --color-green: #4caf50;
    --font-family: 'PP Neue Montreal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fragment Mono', monospace;
}

body {
    font-family: var(--font-family);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navigation */
.header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.header.scrolled .logo-text {
    color: var(--color-black);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.header.scrolled .nav-menu a {
    color: var(--color-black);
}

.nav-menu a:hover {
    opacity: 0.8;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-phone a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.header.scrolled .header-phone a {
    color: var(--color-black);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.header.scrolled .nav-toggle span {
    background: var(--color-black);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    height: 440px;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--color-white);
    width: 800px;
    padding: 40px 0 3.5rem 0;
    margin-left: 0;
}

.hero .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.25rem;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.about {
    padding-bottom: 0;
}

.credentials {
    padding-top: 32px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about .section-label {
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-grey-dark);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Services Section */
.services {
    background: var(--color-white);
    padding-top: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    background: var(--color-gold);
    padding: 1rem 1rem 0 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 150px;
}

.service-image img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0;
}

.service-info {
    background: var(--color-black);
    color: var(--color-white);
    padding: 1rem 0.75rem;
    text-align: left;
}

.service-info h3 {
    display: none;
}

.service-info p {
    font-size: 26px;
    font-weight: 600;
    opacity: 0.9;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* IRS Audit Card */
.irs-audit-card {
    background: var(--color-black);
    border-radius: 12px;
    padding: 32px;
    margin-top: 2rem;
    overflow: hidden;
}

.irs-audit-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.irs-audit-icon {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.irs-audit-icon::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0) 80%);
    z-index: 0;
}

.irs-audit-icon img {
    height: 120px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.irs-audit-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.irs-audit-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.irs-audit-subtext {
    font-size: 1.25rem;
    font-weight: 300 !important;
    font-family: var(--font-family);
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

.irs-audit-subtext-2 {
    font-size: 24px;
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0.9;
}

.btn-irs-help {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-top: 0.5rem;
    width: fit-content;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.btn-irs-help:hover {
    transform: translateY(-2px);
}

/* About Section */
.about {
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-content .section-title-left {
    grid-column: 1;
    margin-bottom: 1rem;
}

.about-text {
    grid-column: 2 / 4;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-grey-dark);
    flex: 1;
}

/* Credentials Section */
.credentials {
    background: var(--color-white);
    padding: 32px 0 30px 0;
}

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

.credential-card {
    background: var(--color-grey-light);
    border-radius: 12px;
    padding: 10px 10px 0.875rem 10px;
    text-align: left;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credential-card:nth-child(1) {
    background: #CCEDFF;
}

.credential-card:nth-child(2) {
    background: #CCD9FF;
}

.credential-card:nth-child(3) {
    background: #CDFFCC;
}

.credential-icon-container {
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.credential-card:nth-child(1) .credential-icon-container {
    background: #88CCF2;
}

.credential-card:nth-child(2) .credential-icon-container {
    background: #8CA7F2;
}

.credential-card:nth-child(3) .credential-icon-container {
    background: #8EE779;
}

.credential-icon-container img {
    max-width: 120px;
    height: 120px;
    width: auto;
    object-fit: contain;
}

.credential-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    text-align: left;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Client Expectations Section */
.client-expectations {
    background: var(--color-white);
    padding-top: 60px;
    padding-bottom: 60px;
}

.client-expectations .section-subtitle {
    margin-bottom: 0;
}

.expectations-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.expectations-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expectation-card {
    background: var(--color-grey-light);
    border: none;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.expectation-card:hover {
    background: var(--color-grey-medium);
}

.expectation-card.active {
    background: var(--color-black);
    color: var(--color-white);
}

.expectation-card span {
    display: block;
}

.expectations-details {
    position: relative;
    min-height: 280px;
}

.expectation-detail {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: var(--color-black);
    border-radius: 8px;
    padding: 24px 24px 40px 24px;
    border: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
}

.expectation-detail:first-child {
    position: relative;
    height: auto;
    min-height: 280px;
}

.expectation-detail:first-child:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.expectation-detail.active:first-child {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 1;
}

.expectation-detail.active:not(:first-child) {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    visibility: visible;
}

.expectation-detail::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 100, 1) 0%, rgba(0, 255, 100, 0.8) 20%, rgba(0, 255, 100, 0.4) 40%, rgba(0, 255, 100, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.expectation-detail.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.expectation-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.expectation-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}

.expectation-detail-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.expectation-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.expectation-detail p {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--color-white);
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact .section-subtitle {
    margin-bottom: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-card {
    background: var(--color-grey-light);
    border-radius: 12px;
    padding: 2rem 12px;
    border: none;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-grey-dark);
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-item p {
    color: var(--color-grey-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-size: 20px;
}

.contact-item:nth-child(1) p,
.contact-item:nth-child(2) p,
.contact-item:nth-child(3) p {
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    text-underline-offset: 3px;
}

.contact-item a {
    color: var(--color-black);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    text-underline-offset: 3px;
}

.contact-item a:hover {
    text-decoration-color: var(--color-black);
}

.map-placeholder {
    background: var(--color-grey-light);
    border-radius: 12px;
    min-height: 400px;
    border: none;
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 12px;
}

/* Consultation CTA Section */
.consultation-cta {
    background: var(--color-white);
    padding: 60px 0 64px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 24px;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-right p {
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-grey-dark);
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-icon {
    height: 50px;
    width: auto;
}

.footer-info {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-text {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expectations-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 20px;
    }

    .nav-menu,
    .header-phone {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
    }

    .nav-menu.active a {
        color: var(--color-black);
    }

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

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

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

    /* Hero adjustments */
    .hero {
        min-height: 450px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Reduce section spacing by 1/2 */
    section {
        padding: 30px 0;
    }

    .services {
        padding-top: 60px;
    }

    .section-title,
    .section-title-left,
    .cta-title,
    .irs-audit-title {
        font-size: 2rem;
    }

    /* Services grid: 2 columns, 3 rows */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 3rem;
    }

    .service-info p {
        font-size: 16px;
    }

    .service-image {
        min-height: 120px;
        padding: 1rem 1.5rem 0 1.5rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .credential-card {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 10px;
    }

    .credential-icon-container {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        padding: 12px;
        border-radius: 8px;
    }

    .credential-icon-container img {
        max-width: 60px;
        height: 60px;
        width: auto;
    }

    .credential-card h2 {
        flex: 1;
        margin: 0;
        font-size: 1rem;
    }

    .expectations-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* About section: vertical stack */
    .about-content {
        grid-template-columns: 1fr;
        gap: 0;
        row-gap: 0;
    }

    .about-content .section-title-left {
        grid-column: 1;
        margin-bottom: 1rem;
    }

    .about-text {
        grid-column: 1;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* IRS Audit icon: reduce by 1/4 */
    .irs-audit-icon img {
        height: 90px;
    }

    .irs-audit-content {
        flex-direction: column;
        gap: 2rem;
    }

    .irs-audit-icon {
        display: flex;
        justify-content: center;
    }

    .client-expectations {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .contact {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .consultation-cta {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 30px 0;
    }

    .services {
        padding-top: 60px;
    }

    .testimonial-card {
        min-width: 280px;
    }
}
