/* cd-main.css - Premium Minimalist Click-Driven Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    /* --bg-color: #F1F1F1; */
    --bg-color: #EEEFEF;
    --text-primary: #232323;
    --text-secondary: #707070;
    --white: #FFFFFF;
    --spacing-base: 18px;
    --radii-pill: 9999px;
    --radii-bento: 24px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Constraints */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(1.25rem, 7.5vw, 5rem);
    line-height: 1.1;
    margin: 1.5rem 0;
    white-space: nowrap;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Layout Constraints */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    max-width: 810px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero p {
    max-width: 583px;
}

section {
    padding: 100px 0;
}

section>p {
    margin-bottom: 3rem;
}

/* ── Top Navigation (index2 style) ── */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
}

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

.nav-container img {
    height: 24px;
    display: block;
}

.desktop-nav {
    display: none;
}

#menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-primary);
}

#mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 160px;
    overflow: hidden;
}

#mobile-nav.open {
    display: flex;
}

#mobile-nav a {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-primary);
}

/* Badge */
.badge {
    background: var(--white);
    padding: 4px 12px;
    border-radius: var(--radii-pill);
    font-size: clamp(0.55rem, 2vw, 0.75rem);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    white-space: nowrap;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
}

@media (max-width: 470px) {
    .button-group {
        flex-direction: column;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--radii-pill);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.button.primary {
    background: var(--text-primary);
    color: var(--white);
}

.button.primary:hover {
    background: #383838;
}

.button.secondary {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.button.secondary:hover {
    background: #FAFAFA;
}

/* Billboard Section */
.billboard {
    padding-top: 0;
}

.billboard-figure {
    background: var(--white);
    border-radius: var(--radii-bento);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.billboard-figure img {
    width: 100%;
    display: block;
    border-radius: 16px;
    min-height: 300px;
    max-height: 560px;
    object-fit: cover;
    object-position: 60% center;
}

/* Team Section */
.team-section {
    display: flex;
    justify-content: center;
}

.team-card {
    background: var(--white);
    border-radius: var(--radii-bento);
    max-width: 340px;
    width: 100%;
    padding: 32px 24px;
    text-align: center;
}

.team-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.team-card img {
    width: 100%;
    border-radius: 16px;
    margin: 1.5rem 0;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-card h3+p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Bento Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

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

@media (max-width: 750px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}



.intro-column p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radii-bento);
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.7, 0, 0, 1);
}

.card:hover {
    opacity: 0.85;
}

.card .image-wrapper {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card .content {
    padding: 2rem;
}

.card h4 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.card p {
    font-size: 0.875rem;
}

/* Testimonials Section & Carousel */
.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

.testimonials-header h2 {
    margin-bottom: 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    /* Creates minimal space for overlap */
}

.carousel-nav-btn {
    position: absolute;
    bottom: 2rem;
    /* Moves them up to overlap the cards */
    z-index: 10;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow to lift off card */
}

.carousel-nav-btn.prev {
    left: -1rem;
    /* Pull them out slightly to straddle the edge */
}

.carousel-nav-btn.next {
    right: -1rem;
}

.carousel-nav-btn:hover {
    background: var(--text-primary);
    color: var(--white);
}

/* Testimonials Carousel */
.testimonial-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    max-width: 1000px;
    margin: 0 auto;

    /* Hide scrollbar */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 calc(50% - 12px);
    background: var(--white);
    border-radius: var(--radii-bento);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

@media (max-width: 580px) {
    .testimonial-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }
}

.testimonial-logo {
    height: 28px;
    width: 120px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 2rem;
    align-self: center;
}

.testimonial-quote {
    flex-grow: 1;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radii-bento);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: var(--text-primary);
    color: var(--white);
}

.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured li {
    color: var(--white);
}

.pricing-card.featured .button.primary {
    background: var(--white);
    color: var(--text-primary);
}

.pricing-card.featured .button.primary:hover {
    background: #FAFAFA;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0 2rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    font-weight: 500;
}

.pricing-card.featured li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card .button {
    width: 100%;
    justify-content: center;
}

/* Pricing Blur Overlay */
.pricing-wrapper {
    position: relative;
    border-radius: var(--radii-bento);
    overflow: hidden;
}

.pricing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(241, 241, 241, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radii-bento);
}

.pricing-overlay p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: var(--radii-pill);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.pricing-grid {
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

/* Footer Section Constraints */
footer {
    text-align: center;
    padding-bottom: 4rem;
}

.contact-section {
    padding-bottom: 5rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radii-bento);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-card p {
    margin-bottom: 0;
    max-width: 470px !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s ease;
}

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

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom a {
        margin: 0 0.75rem;
    }
}



address {
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 500;
}