/* ── Hero Section ── */
.taf-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2a3a 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.taf-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.taf-hero h1 .highlight {
    color: var(--color-cyan);
}

.taf-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

/* ── Buttons ── */
.taf-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.taf-btn-primary {
    background: var(--color-cyan);
    color: #fff;
}

.taf-btn-primary:hover {
    background: #0095cc;
    color: #fff;
}

.taf-btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.taf-btn-accent:hover {
    background: #c9006f;
    color: #fff;
}

.taf-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.taf-btn-outline:hover {
    background: #ffffff;
    color: #0a0a0a;
}

.taf-btn-lg {
    padding: 1rem 3rem;
    font-size: 1rem;
}

/* ── Services Grid ── */
.taf-services {
    padding: 3.5rem 0;
}

.taf-services h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.taf-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.taf-service-card {
    background: #fff;
    padding: 2rem 1.75rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.taf-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.taf-service-card .taf-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    color: #fff;
}

.taf-service-card:nth-child(1) .taf-service-icon { background: var(--color-cyan); }
.taf-service-card:nth-child(2) .taf-service-icon { background: var(--color-magenta); }
.taf-service-card:nth-child(3) .taf-service-icon { background: var(--color-yellow); color: #1a1a1a; }

.taf-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.taf-service-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.taf-card-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition);
}

.taf-card-link:hover {
    color: var(--color-accent);
}

/* ── CTA Section ── */
.taf-cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2a3a 100%);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.taf-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.taf-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Why Us / Features ── */
.taf-features {
    padding: 3.5rem 0;
    background: var(--color-bg-alt);
}

.taf-features h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.taf-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.taf-feature {
    text-align: center;
    padding: 1.5rem;
}

.taf-feature .taf-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    color: var(--color-cyan);
}

.taf-feature h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.taf-feature p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── Blog / Posts ── */
.taf-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.taf-post-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.taf-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.taf-post-card-thumb {
    display: block;
    overflow: hidden;
}

.taf-post-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.taf-post-card:hover .taf-post-card-thumb img {
    transform: scale(1.03);
}

.taf-post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--color-bg-alt);
    color: var(--color-border);
}

.taf-post-card-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.taf-post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}

.taf-post-card-cat {
    background: var(--color-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.taf-post-card-date {
    color: var(--color-text-light);
}

.taf-post-card-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.taf-post-card-content h2 a {
    color: var(--color-text);
}

.taf-post-card-content h2 a:hover {
    color: var(--color-primary);
}

.taf-post-card-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.taf-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.taf-read-more:hover {
    color: var(--color-accent);
}

/* ── About Page ── */
.taf-about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.taf-about-lead {
    font-size: 1.3rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.taf-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.taf-about-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.taf-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.taf-about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.taf-about-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.taf-about-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.taf-about-section {
    margin-bottom: 2.5rem;
}

.taf-about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.taf-about-section p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.taf-about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.taf-about-service {
    padding: 1.25rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
}

.taf-about-service strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.taf-about-service p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.taf-about-location {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.taf-about-location h2 {
    border-bottom: none;
    padding-bottom: 0;
}

/* Widen content when about-page components are present */
.taf-page-content:has(.taf-about-grid) {
    max-width: 1000px;
}

/* ── Policy Pages ── */
.taf-policy-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.taf-policy-lead {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 550px;
    margin: 0 auto 0.5rem;
    line-height: 1.7;
}

.taf-policy-updated {
    font-size: 0.85rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

.taf-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.taf-policy-card {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.taf-policy-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.taf-policy-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.taf-policy-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Legal content body */
.taf-legal-content {
    max-width: 100%;
    padding: 0 0 3rem;
}

.taf-legal-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2.5rem 0 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-bg-alt);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.taf-legal-content h2:first-child {
    margin-top: 0;
}

.taf-legal-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.taf-legal-content ul {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.taf-legal-content li {
    margin-bottom: 0.4rem;
}

.taf-legal-content a {
    color: var(--color-primary);
}

.taf-legal-content em {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* ── Page Title ── */
.taf-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.taf-page-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.taf-page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.taf-page-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

/* ── Contact ── */
.taf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.taf-contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.taf-contact-info p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.taf-contact-info strong {
    color: var(--color-text);
}

.taf-contact-info a {
    color: var(--color-cyan);
}

/* ── Forms ── */
.wpcf7-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: border-color var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
}

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

.wpcf7-form input[type="submit"] {
    background: var(--color-cyan);
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition);
}

.wpcf7-form input[type="submit"]:hover {
    background: #0095cc;
}
