/* Marketing Page Styles */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Numbered List Styles */
.numbered_list {
    display: flex;
    flex-direction: column;
    gap: var(--gutter, 1.5rem);
}

.numbered_list .list_item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--gutter, 1.5rem);
    padding-bottom: var(--gutter, 1.5rem);
    border-bottom: 1px solid #000;
}

.numbered_list .list_item:last-child {
    border-bottom: none;
}

.numbered_list .list_number {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.numbered_list .list_text {
    display: block;
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-family: Aeonik;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

/* Content Block Styles */
.content-block {
    margin-bottom: var(--section-spacer, 3rem);
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Text Medium Styling */
.text-medium {
    color: #000;
    font-family: Aeonik;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.text-medium:not(:last-child) {
    margin-bottom: 1rem;
}

/* Marketing Section Base */
.marketing_section {
    padding: 30px;
    border-top: 1px solid #000;
}

.marketing_section h2 {
    margin-bottom: 1rem;
}

/* Feature Block Styles */
.feature-block {
    padding-top: 2rem;
    border-top: 1px solid #000;
}

/* H3 Typography */
h3 {
    color: #000;
    leading-trim: both;
    text-edge: cap;
    font-family: Aeonik;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

/* Feature Block Paragraph Typography */
.feature-block p {
    color: #000;
    font-family: Aeonik;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

/* Challenge Solution Block Styles */
.challenge-solution-block {
    padding-top: 2rem;
    border-top: 1px solid #000;
}

.challenge-solution-block:first-child {
    padding-top: 0;
    border-top: none;
}

/* Section Subhead (H4) */
.section-subhead {
    color: #000;
    font-family: Aeonik;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

/* Case Study Quote */
.case-study-quote {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

/* Benefit List Styles */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #000;
}

.benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-number {
    display: block;
    color: #000;
    font-family: Aeonik;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    color: #000;
    font-family: Aeonik;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.benefit-text {
    color: #000;
    font-family: Aeonik;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
}

/* Client List Styles */
.client-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.client-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #000;
}

.client-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.client-number {
    display: block;
    color: #000;
    font-family: Aeonik;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.client-text {
    color: #000;
    font-family: Aeonik;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
}

/* Stats Block Styles */
.stats-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-item {
    border-top: 1px solid #000;
    padding: 2rem;
    text-align: left;
}
.stat-item:last-child {
    border-bottom: 1px solid #000;
}

.stat-number {
    display: block;
    color: #000;
    font-family: Aeonik;
    font-size: 80px;
    font-style: normal;
    font-weight: 400;
    line-height: 76px;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #000;
    font-family: Aeonik;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

/* CTA Link */
.cta-link {
    margin-top: 2rem;
}

.cta-link a {
    color: #000;
    text-decoration: none;
}

/* Client Logos Grid */
.border-top {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .client-logos-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    max-height: 85px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    margin-top: 2rem;
}

.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    border: none;
    border-bottom: 1px solid #000;
    padding: 0.75rem 0;
    font-family: Aeonik;
    font-size: 16px;
    color: #000;
    background: transparent;
    outline: none;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-bottom-color: #000;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #000;
}

/* Contact Form 7 Specific Styles */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
}

.wpcf7-form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 0.75rem 0;
    font-family: Aeonik;
    font-size: 16px;
    color: #000;
    background: transparent;
    outline: none;
}

.wpcf7-form-control:focus {
    border-bottom-color: #000;
}

.wpcf7-form-control::placeholder {
    color: #000;
}

.wpcf7-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1.5em;
    padding-right: 2rem;
}

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

.wpcf7-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-family: Aeonik;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    max-width: fit-content;
    margin-top: 1rem;
}

.wpcf7-submit:hover {
    opacity: 0.8;
}

/* Text Muted for form disclaimers */
.text-muted {
    color: #3f3f3f;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    margin-top: 1rem;
}

/* Form Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-col {
    width: 100%;
}

.contact-form-wrapper button {
    background: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: Aeonik;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    margin-top: 1rem;
}

.contact-form-wrapper button:hover {
    opacity: 0.8;
}

/* Discovery Call Section */
.discovery-heading {
    color: #000;
    font-family: Aeonik;
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 1rem;
}

.discovery-cta {
    margin-top: 1rem;
}

.discovery-cta a {
    color: #000;
    text-decoration: none;
    font-family: Aeonik;
    font-size: 16px;
    font-weight: 400;
}

/* Discovery Alternative */
.discovery-alternative {
    border-top: 1px solid #000;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border: 1px solid #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal.active {
    display: block;
}

.modal-content {
    padding: 3rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-title {
    color: #000;
    font-family: Aeonik;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-subtitle {
    color: #000;
    font-family: Aeonik;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 2rem;
}

.modal-form {
    margin-top: 1.5rem;
}

.modal-form .wpcf7-form-control {
    width: 100%;
    border: none;
    border-bottom: 1px solid #000;
    padding: 0.75rem 0;
    font-family: Aeonik;
    font-size: 16px;
    color: #000;
    background: transparent;
    outline: none;
}

.modal-form .wpcf7-form-control:focus {
    border-bottom-color: #000;
}

.modal-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-overlay.active {
    display: block;
}

/* Discovery Call Button */
.discovery-call-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: Aeonik;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

.contact-form-wrapper select, 
.modal-form select {
    padding: 0!important;
}
.footer-tagline h3 {
    color: white;
}