/* ====== TIROPRACTICO — TheEvent inspired ====== */

:root {
    --tp-dark: #040919;
    --tp-dark-2: #08101f;
    --tp-dark-3: #0c1628;
    --tp-gold: #AA975D;
    --tp-gold-dark: #6D5C20;
    --tp-gold-light: #E6DEC8;
    --tp-gold-light-2: #F1EFE9;
}

/* === Section padding === */
.tp-section { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .tp-section { padding: 6rem 1.5rem; } }

/* === Section dark / light alternation === */
.tp-dark-bg { background: var(--tp-dark); }
.tp-dark2-bg { background: var(--tp-dark-2); }
.tp-light-bg { background: #fff; }
.tp-light-bg .tp-label { color: var(--tp-gold-dark); }
.tp-light-bg .tp-title { color: #111 !important; }
.tp-light-bg .tp-underline { background: var(--tp-gold); }
.tp-light-bg .about-text { color: #555; }
.tp-light-bg .about-text p { color: #555; }
.tp-light-bg .about-text strong { color: #222; }
.tp-light-bg ul li { color: #555 !important; }
.tp-light-bg ul li strong { color: #333 !important; }
.tp-light-bg .fee-card { background: var(--tp-gold-light-2); border-color: rgba(170,151,93,0.15); }
.tp-light-bg .fee-card:hover { border-color: var(--tp-gold); }
.tp-light-bg .fee-card h3 { color: #111; }
.tp-light-bg .fee-card .fee-price { color: #111; }
.tp-light-bg .fee-card .fee-price small { color: #777; }
.tp-light-bg .fee-card .fee-desc { color: #666; }
.tp-light-bg .fee-icon { background: rgba(170,151,93,0.06); border-color: rgba(170,151,93,0.15); }
.tp-light-bg .team-card { background: #fff; }
.tp-light-bg .team-card h3 { color: #111; }
.tp-light-bg .team-card .desc { color: #777; }
.tp-light-bg .venue-info p { color: #555; }
.tp-light-bg .venue-contact .info-item { border-color: #eee; }
.tp-light-bg .venue-contact .info-item p { color: #555 !important; }
.tp-light-bg .venue-contact .info-item .tp-heading { color: #111 !important; }
.tp-light-bg .contact-form { background: var(--tp-gold-light-2); border-color: rgba(170,151,93,0.12); }
.tp-light-bg .contact-form input,
.tp-light-bg .contact-form textarea { background: #fff; border-color: #ddd; color: #333; }
.tp-light-bg .contact-form label { color: #999; }
.tp-light-bg .contact-info .info-item .icon { background: rgba(170,151,93,0.06); border-color: rgba(170,151,93,0.15); }
.tp-light-bg .contact-info .info-item .tp-heading { color: #111 !important; }
.tp-light-bg .contact-info .info-item p { color: #555 !important; }

/* === Fonts === */
.tp-heading { font-family: 'Raleway', sans-serif; }
.tp-body   { font-family: 'Open Sans', sans-serif; }

/* === Hero === */
#intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.intro-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.intro-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}
.intro-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,rgba(4,9,25,0.3) 0%,rgba(4,9,25,0.6) 60%,rgba(4,9,25,0.92) 100%);
}
.intro-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* === Header === */
#tp-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#tp-header.scrolled {
    background: rgba(4, 9, 25, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
#tp-header .nav-link {
    position: relative;
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
    transition: color 0.25s;
    padding: 0.5rem 0.8rem;
}
#tp-header .nav-link:hover,
#tp-header .nav-link.active {
    color: var(--tp-gold);
}
#tp-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0.8rem; right: 0.8rem;
    height: 2px;
    background: var(--tp-gold);
}

/* === Section titles === */
.tp-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tp-gold);
    margin-bottom: 0.75rem;
    display: inline-block;
}
.tp-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .tp-title { font-size: 3rem; } }
@media (min-width: 1024px) { .tp-title { font-size: 3.5rem; } }
.tp-underline {
    width: 50px;
    height: 3px;
    background: var(--tp-gold);
    margin-bottom: 1.5rem;
}

/* === About section === */
#about .about-text { color: rgba(255,255,255,0.6); line-height: 1.75; }
#about .about-text p { margin-bottom: 1rem; }
#about .about-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 2px solid rgba(170,151,93,0.15);
    transition: border-color 0.3s;
}
#about .about-grid img:hover { border-color: var(--tp-gold); }

/* === Services / Fees === */
.fee-card {
    background: var(--tp-dark-2);
    border: 1px solid rgba(170,151,93,0.1);
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.fee-card:hover {
    transform: translateY(-5px);
    border-color: rgba(170,151,93,0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.fee-card.featured {
    border-color: rgba(170,151,93,0.4);
    position: relative;
}
.fee-card.featured::before {
    content: 'RECOMENDADO';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tp-gold);
    color: var(--tp-dark);
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    padding: 4px 18px;
}
.fee-icon {
    width: 56px; height: 56px;
    background: rgba(170,151,93,0.08);
    border: 1px solid rgba(170,151,93,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--tp-gold);
    font-size: 1.35rem;
    transition: background 0.3s;
}
.fee-card:hover .fee-icon { background: rgba(170,151,93,0.15); }
.fee-card h3 { font-family: 'Raleway',sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.fee-card .fee-duration { font-size: 0.78rem; color: var(--tp-gold); font-weight: 600; margin-bottom: 0.75rem; }
.fee-card .fee-desc { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1.25rem; }
.fee-card .fee-price { font-family: 'Raleway',sans-serif; font-size: 1.8rem; font-weight: 800; color: #fff; }
.fee-card .fee-price small { font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.3); }

/* === Team === */
.team-card {
    background: var(--tp-dark);
    border: 1px solid rgba(170,151,93,0.08);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(170,151,93,0.3);
}
.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: filter 0.4s;
    filter: grayscale(20%);
}
.team-card:hover img { filter: grayscale(0%); }
.team-card .team-info { padding: 1.25rem; }
.team-card .team-info h3 { font-family: 'Raleway',sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.team-card .team-info .role { font-size: 0.78rem; color: var(--tp-gold); font-weight: 600; margin-bottom: 0.5rem; }
.team-card .team-info .desc { font-size: 0.8rem; color: #fff; line-height: 1.55; }

/* === Venue === */
.venue-info p { color: rgba(255,255,255,0.5); line-height: 1.75; }
.venue-contact .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.venue-contact .info-item i {
    color: var(--tp-gold);
    font-size: 1.15rem;
    margin-top: 0.15rem;
}

/* === Gallery === */
.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.35s, transform 0.35s;
}
.gallery-grid img:hover {
    opacity: 0.8;
    transform: scale(1.03);
}

/* === Contact === */
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info .info-item .icon {
    width: 40px; height: 40px;
    background: rgba(170,151,93,0.08);
    border: 1px solid rgba(170,151,93,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--tp-gold);
}

.contact-form { background: var(--tp-dark-2); border: 1px solid rgba(170,151,93,0.08); padding: 2.5rem; }
.contact-form label {
    font-family: 'Raleway',sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.4rem;
    display: block;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--tp-dark);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--tp-gold);
}

/* === Footer === */
#footer { background: #020611; border-top: 1px solid rgba(170,151,93,0.08); }
#footer h4 {
    font-family: 'Raleway',sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin-bottom: 1.25rem;
}
#footer a { color: rgba(255,255,255,0.35); font-size: 0.85rem; transition: color 0.25s; }
#footer a:hover { color: var(--tp-gold); }

/* === Buttons === */
.tp-btn {
    font-family: 'Raleway',sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 2.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.tp-btn-primary {
    background: var(--tp-gold);
    color: var(--tp-dark);
}
.tp-btn-primary:hover {
    background: var(--tp-gold-dark);
    color: #fff;
}
.tp-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
}
.tp-btn-outline:hover {
    border-color: var(--tp-gold);
    color: var(--tp-gold);
}
.tp-btn-gold-outline {
    background: transparent;
    color: var(--tp-gold);
    border: 1px solid var(--tp-gold);
}
.tp-btn-gold-outline:hover {
    background: var(--tp-gold);
    color: var(--tp-dark);
}

/* === Mobile === */
#tp-mobile { background: rgba(4,9,25,0.98); backdrop-filter: blur(20px); }
#tp-mobile a {
    font-family: 'Raleway',sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
#tp-mobile a:hover { color: var(--tp-gold); }
