/*
Theme Name:   Tiger Style Combat Sports Child
Template:     Divi
Version:      1.0.0
Description:  Child theme for Tiger Style Combat Sports — built by USDSC
*/

/* ============================================
   GLOBAL VARIABLES
   ============================================ */
:root {
    --brand-primary:   #000000;
    --brand-accent:    #ffe000;
    --neutral-bg:      #000000;
    --text-primary:    #ffffff;
    --dark-alt:        #111111;
    --dark-2:          #1a1a1a;
    --text-muted:      rgba(255,255,255,0.72);
    --text-dim:        rgba(255,255,255,0.50);
    --yellow-text:     #000000;
    --space-xs:        8px;
    --space-sm:        16px;
    --space-md:        32px;
    --space-lg:        64px;
    --space-xl:        clamp(60px, 8vw, 120px);
    --radius-card:     8px;
    --radius-btn:      4px;
    --max-width:       1200px;
    --transition:      0.2s ease;
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: #000000;
    color: #ffffff;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   LAYOUT
   ============================================ */
.tcs-page { width: 100%; }

.tcs-section {
    width: 100%;
    padding: var(--space-xl) 0;
    background-color: #000000;
}

.tcs-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.tcs-centered { text-align: center; }
.tcs-centered .tcs-eyebrow,
.tcs-centered p { margin-left: auto; margin-right: auto; }

/* ============================================
   BACKGROUNDS
   ============================================ */
.tcs-bg-black  { background-color: #000000; }
.tcs-bg-dark   { background-color: #111111; }
.tcs-bg-darker { background-color: #1a1a1a; }
.tcs-bg-yellow { background-color: #ffe000; color: #000000; }
.tcs-bg-yellow h2,
.tcs-bg-yellow p,
.tcs-bg-yellow .tcs-section-sub { color: #000000; }
.tcs-bg-yellow .tcs-section-sub { color: rgba(0,0,0,0.68); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.tcs-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 12px;
}

.tcs-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 16px;
}

.tcs-bg-yellow h2 { color: #000000; }

.tcs-section-sub {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.tcs-section p {
    line-height: 1.75;
    color: var(--text-muted);
    font-size: 1rem;
}

.tcs-bg-yellow p { color: rgba(0,0,0,0.72); }

.tcs-section h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin: 0 0 8px;
}

.tcs-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* ============================================
   SECTION HEADERS (centered intros)
   ============================================ */
.tcs-section-header {
    margin-bottom: 52px;
}
.tcs-section-header.tcs-centered { text-align: center; }
.tcs-section-header.tcs-centered .tcs-section-sub {
    margin-left: auto;
    margin-right: auto;
}

/* Yellow underline accent on section H2 */
.tcs-section-header h2 {
    display: inline-block;
    position: relative;
}
.tcs-section-header.tcs-centered h2 {
    display: block;
}
.tcs-section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--brand-accent);
    margin-top: 12px;
}
.tcs-section-header.tcs-centered h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.tcs-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.tcs-btn-primary {
    background-color: var(--brand-accent);
    color: #000000;
    border-color: var(--brand-accent);
}
.tcs-btn-primary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
    text-decoration: none;
}

.tcs-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}
.tcs-btn-outline:hover {
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
}

.tcs-btn-outline-yellow {
    background-color: transparent;
    color: var(--brand-accent);
    border-color: var(--brand-accent);
}
.tcs-btn-outline-yellow:hover {
    background-color: var(--brand-accent);
    color: #000000;
    text-decoration: none;
}

.tcs-btn-dark {
    background-color: #000000;
    color: var(--brand-accent);
    border-color: #000000;
}
.tcs-btn-dark:hover {
    background-color: #111111;
    border-color: #111111;
    text-decoration: none;
}

.tcs-btn-outline-dark {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}
.tcs-btn-outline-dark:hover {
    background-color: #000000;
    color: var(--brand-accent);
    text-decoration: none;
}

.tcs-btn--full { width: 100%; text-align: center; display: block; }

.tcs-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}
.tcs-btn-row.tcs-left { justify-content: flex-start; }

/* ============================================
   HERO
   ============================================ */
#tcs-hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    background-color: #000000;
    overflow: hidden;
    padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
}

/* Diagonal yellow accent stripe */
#tcs-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 55%;
    height: 140%;
    background: linear-gradient(
        160deg,
        rgba(255,224,0,0.055) 0%,
        rgba(255,224,0,0.02)  40%,
        transparent           70%
    );
    transform: skewX(-8deg);
    pointer-events: none;
    z-index: 0;
}

/* Bold bottom border */
#tcs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, transparent 80%);
}

#tcs-hero .tcs-container {
    position: relative;
    z-index: 1;
}

#tcs-hero h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.0;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    max-width: 860px;
}

/* Yellow accent on last word / strong */
#tcs-hero h1 em {
    color: var(--brand-accent);
    font-style: normal;
}

#tcs-hero .tcs-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Inner page heroes — shorter */
.tcs-page-instructors #tcs-hero,
.tcs-page-schedule #tcs-hero,
.tcs-page-contact #tcs-hero {
    min-height: 0;
    padding: 120px 0 80px;
}

.tcs-page-instructors #tcs-hero h1,
.tcs-page-schedule #tcs-hero h1,
.tcs-page-contact #tcs-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

/* ============================================
   TRUST BAR
   ============================================ */
#tcs-trust {
    background-color: var(--brand-accent);
    padding: 48px 0;
    position: relative;
}

.tcs-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
}

.tcs-stat {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.tcs-stat + .tcs-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(0,0,0,0.15);
}

.tcs-stat-num {
    display: block;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #000000;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tcs-stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.60);
}

/* ============================================
   GRIDS
   ============================================ */
.tcs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tcs-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tcs-two-col {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 64px;
    align-items: center;
}

.tcs-two-col.tcs-rev { grid-template-columns: 55% 45%; }
.tcs-two-col.tcs-rev .tcs-col-img { order: 2; }
.tcs-two-col.tcs-rev .tcs-col-text { order: 1; }

/* ============================================
   CARDS
   ============================================ */
.tcs-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid rgba(255,224,0,0.20);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    transition: border-color var(--transition), transform var(--transition), background-color var(--transition);
    display: flex;
    flex-direction: column;
}

.tcs-card:hover {
    border-color: rgba(255,224,0,0.50);
    border-top-color: var(--brand-accent);
    background-color: rgba(255,224,0,0.03);
    transform: translateY(-6px);
}

.tcs-card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255,224,0,0.10);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.tcs-card-icon::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-color: var(--brand-accent);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.tcs-card h3 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 1.15rem;
    transition: color var(--transition);
}
.tcs-card:hover h3 { color: var(--brand-accent); }
.tcs-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0; line-height: 1.7; }

/* ============================================
   IMAGE PLACEHOLDERS / PHOTO BLOCKS
   ============================================ */
.tcs-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255,224,0,0.15);
    position: relative;
    overflow: hidden;
}

.tcs-img-placeholder::after {
    content: 'Photo coming soon';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tcs-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}

.tcs-instructor-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255,224,0,0.12);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.tcs-instructor-photo::after {
    content: '';
    display: block;
}

.tcs-instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   ABOUT / TWO-COL SECTIONS
   ============================================ */
.tcs-col-text .tcs-eyebrow { margin-bottom: 12px; }
.tcs-col-text h2 { margin-bottom: 20px; }
.tcs-col-text p { margin-bottom: 16px; }
.tcs-col-text .tcs-btn { margin-top: 16px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.tcs-testimonial {
    border-left: 3px solid var(--brand-accent);
    padding: 32px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
    position: relative;
}

.tcs-testimonial::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 24px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(255,224,0,0.08);
    font-family: Georgia, serif;
    pointer-events: none;
}

.tcs-testimonial p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 20px;
}

.tcs-testimonial cite {
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    color: var(--brand-accent);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tcs-testimonial-single {
    max-width: 800px;
    margin: 24px auto 0;
}

/* ============================================
   CTA BANNER
   ============================================ */
#tcs-cta {
    background-color: var(--brand-accent);
    position: relative;
    overflow: hidden;
}

#tcs-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 24px,
        rgba(0,0,0,0.03) 24px,
        rgba(0,0,0,0.03) 25px
    );
    pointer-events: none;
}

#tcs-cta .tcs-container { position: relative; z-index: 1; }

#tcs-cta h2 {
    color: #000000;
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
}

#tcs-cta p {
    color: rgba(0,0,0,0.68);
    max-width: 580px;
    font-size: 1.05rem;
}

/* ============================================
   CONTACT PREVIEW (HOME)
   ============================================ */
#tcs-contact-preview {
    border-top: 1px solid rgba(255,224,0,0.12);
}

.tcs-info-block { padding: 8px 0; }

.tcs-info-block h4 {
    color: var(--brand-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.tcs-info-block p {
    color: rgba(255,255,255,0.80);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.tcs-info-block a {
    color: rgba(255,255,255,0.80);
    border-bottom: 1px solid rgba(255,224,0,0.30);
    transition: color var(--transition), border-color var(--transition);
}

.tcs-info-block a:hover {
    color: var(--brand-accent);
    border-color: var(--brand-accent);
    text-decoration: none;
}

/* ============================================
   INSTRUCTOR CARDS
   ============================================ */
.tcs-instructor-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}

.tcs-instructor-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    margin: 0 0 8px;
    display: block;
}

.tcs-instructor-cred {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.50);
    margin: 0 0 14px;
}

.tcs-instructor-bio {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 20px;
}

.tcs-divider {
    border: none;
    border-top: 1px solid rgba(255,224,0,0.18);
    margin: 20px 0 0;
}

/* ============================================
   SCHEDULE TABLE
   ============================================ */
.tcs-schedule-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255,255,255,0.08);
}

.tcs-schedule-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.tcs-schedule-table thead th {
    background-color: var(--brand-accent);
    color: #000000;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.12);
}

.tcs-schedule-table tbody td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    vertical-align: middle;
    min-width: 85px;
    background-color: #0a0a0a;
}

.tcs-schedule-table .tcs-time {
    color: var(--brand-accent);
    font-weight: 800;
    font-size: 0.80rem;
    white-space: nowrap;
    background-color: #050505 !important;
    border-right: 2px solid rgba(255,224,0,0.20) !important;
}

.tcs-schedule-table .tcs-class-bjj {
    background-color: rgba(255,224,0,0.07) !important;
    color: #ffe000;
    font-weight: 600;
    font-size: 0.83rem;
}

.tcs-schedule-table .tcs-class-muay {
    background-color: rgba(255,120,0,0.08) !important;
    color: #ff9a4d;
    font-weight: 600;
    font-size: 0.83rem;
}

.tcs-schedule-table .tcs-class-mma {
    background-color: rgba(100,180,255,0.07) !important;
    color: #7cc4fa;
    font-weight: 600;
    font-size: 0.83rem;
}

.tcs-schedule-table .tcs-class-kids {
    background-color: rgba(100,220,120,0.07) !important;
    color: #7de89a;
    font-weight: 600;
    font-size: 0.83rem;
}

.tcs-schedule-table .tcs-empty { color: rgba(255,255,255,0.18); }

.tcs-schedule-note {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin-top: 16px;
    text-align: center;
}

.tcs-schedule-note a { color: var(--brand-accent); }
.tcs-schedule-note a:hover { text-decoration: underline; }

/* Schedule legend */
.tcs-schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.82rem;
}

.tcs-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tcs-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.tcs-legend-dot.bjj   { background-color: #ffe000; }
.tcs-legend-dot.muay  { background-color: #ff9a4d; }
.tcs-legend-dot.mma   { background-color: #7cc4fa; }
.tcs-legend-dot.kids  { background-color: #7de89a; }

/* ============================================
   CLASS DESCRIPTION CARDS
   ============================================ */
.tcs-class-card {
    border-left: 3px solid var(--brand-accent);
    padding: 24px;
    background-color: rgba(255,255,255,0.03);
    border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.tcs-class-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.tcs-class-card p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   NEW STUDENT CALLOUT
   ============================================ */
.tcs-callout-box {
    background-color: var(--brand-accent);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    text-align: center;
}

.tcs-callout-box h3 {
    color: #000000;
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.tcs-callout-box .tcs-callout-sub {
    color: rgba(0,0,0,0.65);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.tcs-callout-phone {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 4px;
}

.tcs-callout-phone:hover { text-decoration: none; color: #000; }

.tcs-callout-email {
    display: block;
    color: rgba(0,0,0,0.60);
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.tcs-callout-email:hover { color: #000; text-decoration: underline; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.tcs-contact-info { padding-right: 40px; }

.tcs-contact-block {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,224,0,0.12);
}

.tcs-contact-block:last-child { border-bottom: none; }

.tcs-contact-block h4 {
    color: var(--brand-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.tcs-contact-block p,
.tcs-contact-block a {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    border-bottom: none;
}

.tcs-contact-block a {
    border-bottom: 1px solid rgba(255,224,0,0.25);
    transition: color var(--transition), border-color var(--transition);
}

.tcs-contact-block a:hover {
    color: var(--brand-accent);
    border-color: var(--brand-accent);
    text-decoration: none;
}

.tcs-parking-note {
    color: rgba(255,255,255,0.40);
    font-size: 0.82rem;
    font-style: italic;
    margin-top: 20px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.tcs-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tcs-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tcs-form-group--full {
    grid-column: 1 / -1;
}

.tcs-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.70);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tcs-form-group input,
.tcs-form-group select,
.tcs-form-group textarea {
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    border-radius: var(--radius-btn);
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition);
    width: 100%;
    -webkit-appearance: none;
}

.tcs-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffe000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.tcs-form-group select option {
    background-color: #111111;
    color: #ffffff;
}

.tcs-form-group input::placeholder,
.tcs-form-group textarea::placeholder {
    color: rgba(255,255,255,0.28);
}

.tcs-form-group input:focus,
.tcs-form-group select:focus,
.tcs-form-group textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: rgba(255,224,0,0.04);
}

.tcs-form-group textarea { resize: vertical; min-height: 130px; }

.tcs-form-success {
    background-color: rgba(255,224,0,0.10);
    border: 1px solid rgba(255,224,0,0.40);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 24px;
    grid-column: 1 / -1;
}

.tcs-form-success a { color: var(--brand-accent); }

/* ============================================
   MAP EMBED
   ============================================ */
#tcs-map {
    padding: 0 !important;
}

.tcs-map-wrap {
    width: 100%;
    line-height: 0;
}

.tcs-map-wrap iframe {
    width: 100%;
    height: 440px;
    border: 0;
    display: block;
    filter: grayscale(25%) brightness(0.85);
}

/* ============================================
   DIVI OVERRIDES — FULL WIDTH BREAKOUT
   ============================================ */

/* Force entire site background black */
body,
#page-container,
#main-content,
.et_pb_section,
article.et_pb_post,
.entry-content,
#et-main-area {
    background-color: #000000 !important;
}

/* Remove Divi's default page/post padding */
.et_full_width_page #main-content { padding: 0 !important; }
.et_full_width_page .entry-content { padding: 0 !important; }
.et_full_width_page #et-main-area  { padding: 0 !important; }
.et_full_width_page article        { padding: 0 !important; }

/* Break our tcs-page out of Divi's row max-width constraint */
.et_pb_text_inner > .tcs-page,
.et_pb_module_inner > .tcs-page {
    width:  100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 !important;
    margin:  0 !important;
}

/* Zero out every Divi wrapper that contains our page */
.et_pb_section:has(.tcs-page) {
    padding: 0 !important;
    margin:  0 !important;
    background: #000 !important;
}
.et_pb_row:has(.tcs-page) {
    max-width: 100% !important;
    width:     100% !important;
    padding:   0 !important;
    margin:    0 !important;
}
.et_pb_column:has(.tcs-page),
.et_pb_text:has(.tcs-page),
.et_pb_text_inner:has(.tcs-page) {
    padding: 0 !important;
    margin:  0 !important;
    width:   100% !important;
}

/* Fallback without :has() — targets the text module inside a 4_4 single-col row */
.et_pb_row .et_pb_column_4_4 > .et_pb_text:first-child:last-child > .et_pb_text_inner {
    padding: 0 !important;
}
.et_pb_row .et_pb_column_4_4 > .et_pb_text:first-child:last-child {
    padding: 0 !important;
}
.et_pb_row:first-child:last-child {
    padding-left:  0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* ============================================
   MOBILE (≤ 767px)
   ============================================ */
@media (max-width: 767px) {
    .tcs-section { padding: 48px 0; }

    .tcs-hero-short { padding: 72px 0 !important; }

    #tcs-hero { min-height: 0; padding: 80px 0 60px; }
    #tcs-hero h1 { font-size: 1.9rem !important; }
    .tcs-hero-sub { font-size: 1rem !important; }

    .tcs-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .tcs-stat-num { font-size: 2rem; }

    .tcs-grid-3,
    .tcs-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tcs-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tcs-two-col.tcs-rev .tcs-col-img { order: 1; }
    .tcs-two-col.tcs-rev .tcs-col-text { order: 2; }

    .tcs-contact-info { padding-right: 0; }

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

    .tcs-btn-row {
        flex-direction: column;
    }
    .tcs-btn-row .tcs-btn {
        width: 100%;
        text-align: center;
    }

    .tcs-callout-box { padding: 28px 20px; }

    .tcs-section h2 { font-size: 1.5rem !important; }

    .tcs-testimonial-single { max-width: 100%; }
}

/* ============================================
   TABLET (768px – 980px)
   ============================================ */
@media (min-width: 768px) and (max-width: 980px) {
    .tcs-section { padding: 64px 0; }

    #tcs-hero h1 { font-size: 2.4rem; }

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

    .tcs-two-col {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .tcs-map-wrap iframe { height: 340px; }
}
