/**
 * @package     mod_sec_socios
 * @copyright   Copyright (C) SEC. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

#haztesocio {
    --teal:        #9D142E;
    --teal-dark:   #760F22;
    --teal-light:  #e8f7f5;
    --yellow:      #eee;
    --yellow-dark: #d4a820;
    --white:       #ffffff;
    --gray-light:  #f7f9f9;
    --gray-mid:    #e2ecea;
    --text-dark:   #1a2e2c;
    --text-muted:  #5a7572;
    font-family: "frutiger", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-dark);
}

#haztesocio * { box-sizing: border-box; }


/* ── ABOUT SECTION ── */
#haztesocio .about-section {
    background: var(--white);
    padding: 0 0 50px 0;
}
#haztesocio .about-section .section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 20px;
}
#haztesocio .about-section p {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #3a4f4d;
}
#haztesocio .about-section ul.objectives {
    list-style: none;
    padding: 0;
    margin: 0;
}
#haztesocio .about-section ul.objectives li {
    padding: 9px 0 9px 25px;
	list-style: none;
    position: relative;
    font-size: 1.8rem;
    color: #3a4f4d;
    border-bottom: 1px solid var(--gray-mid);
    line-height: 1.4;
}
#haztesocio .about-section ul.objectives li:last-child { border-bottom: none; }
#haztesocio .about-section ul.objectives li::before {
    content: "\f21e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: var(--teal);
    font-size: 1.8rem;
}

#haztesocio .stat-box {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
}
#haztesocio .stat-box .stat-number {
    font-size: 46px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    display: block;
}
#haztesocio .stat-box .stat-label {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
    margin-top: 6px;
}

/* ── BENEFITS SECTION ── */
#haztesocio .benefits-section {
    background: var(--white);
    padding: 0 0 10px;
}
#haztesocio .benefits-section .section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--teal);
    text-align: center;
    margin-bottom: 8px;
}
#haztesocio .benefits-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.8rem;
    margin-bottom: 36px;
}

/* Membership type cards */
#haztesocio .membership-cards {
    margin-bottom: 36px;
}
#haztesocio .member-card {
    border-radius: 10px;
    padding: 22px 16px 18px;
    text-align: center;
    height: 100%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.09);
    transition: transform 0.2s, box-shadow 0.2s;
}
#haztesocio .member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.13);
}
#haztesocio .member-card .card-type {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
#haztesocio .member-card .card-desc {
    font-size: 1.5rem;
    line-height: 1.5;
    min-height: 46px;
}
#haztesocio .member-card .card-price {
    font-size: 28px;
    display: block;
    margin-top: 12px;
    line-height: 1;
}
#haztesocio .member-card .card-price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 2px;
    display: block;
}

#haztesocio .card-numerario  { background: var(--teal); color: var(--white); }
#haztesocio .card-residente  { background: #f0faf9; color: var(--teal-dark); }
#haztesocio .card-asociado   { background: var(--yellow); color: var(--text-dark); }
#haztesocio .card-afiliado   { background: #fff8e1; color: #6b4c00; }

#haztesocio .card-numerario .card-type  { color: var(--yellow); }
#haztesocio .card-residente .card-type  { color: var(--teal); }
#haztesocio .card-asociado .card-type   { color: var(--teal-dark); }
#haztesocio .card-afiliado .card-type   { color: var(--yellow-dark); }

/* Benefits table */
#haztesocio .table-benefits {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.08);
    margin-bottom: 0;
}
#haztesocio .table-benefits > thead > tr > th {
    font-size: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 700;
    vertical-align: middle;
    text-align: center;
    border-bottom: 3px solid var(--teal);
    padding: 14px 10px;
}
#haztesocio .table-benefits > thead > tr > th:first-child {
    text-align: left;
    width: 38%;
}
#haztesocio .th-numerario  { background: var(--teal); color: var(--white) !important; }
#haztesocio .th-residente  { background: var(--teal-light); color: var(--teal-dark) !important; }
#haztesocio .th-asociado   { background: var(--yellow); color: var(--text-dark) !important; }
#haztesocio .th-afiliado   { background: #fff8e1; color: #6b4c00 !important; }

#haztesocio .table-benefits > tbody > tr > td {
    vertical-align: middle;
    font-size: 16px;
    padding: 11px 10px;
    color: #3a4f4d;
    border-top: 1px solid var(--gray-mid);
}
#haztesocio .table-benefits > tbody > tr > td:not(:first-child) {
    text-align: center;
}
#haztesocio .table-benefits > tbody > tr:nth-child(odd) {
    background: var(--gray-light);
}
#haztesocio .table-benefits > tbody > tr:hover {
    background: var(--teal-light) !important;
}

#haztesocio .benefit-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    display: block;
}
#haztesocio .benefit-detail {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 2px;
    display: block;
    line-height: 1.4;
}

#haztesocio .check    { color: var(--teal); font-size: 17px; font-weight: 700; }
#haztesocio .badge-included {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 2px 10px;
    letter-spacing: 0.4px;
}
#haztesocio .badge-reduced {
    display: inline-block;
    background: var(--yellow);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 2px 9px;
}
#haztesocio .badge-free {
    display: inline-block;
    background: #e8f4f2;
    color: var(--teal-dark);
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 2px 9px;
    border: 1px solid var(--teal);
}
#haztesocio .badge-no {
    color: #c5d1cf;
    font-size: 17px;
}

/* Price footer row */
#haztesocio .table-benefits .price-row > td {
    background: var(--teal-dark) !important;
    color: var(--white);
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    padding: 16px 10px;
    border-top: 3px solid var(--yellow) !important;
}
#haztesocio .table-benefits .price-row > td:first-child {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--yellow);
}
#haztesocio .price-yellow { color: var(--yellow); }

/* ── NOTES ── */
#haztesocio .notes-section {
    background: var(--white);
    padding: 28px 0;
}
#haztesocio .note-item {
    background: var(--teal-light);
    border-left: 4px solid var(--teal);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

/* ── TESTIMONIALS ── */
#haztesocio .testimonials-section {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    padding: 2rem;
    border-radius: 0.8rem;
}
#haztesocio .testimonials-section .section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--yellow);
    text-align: center;
    margin-bottom: 36px;
}
#haztesocio .testimonial-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 24px 22px;
    color: var(--white);
    margin-bottom: 24px;
}
#haztesocio .testimonial-card p {
    font-size: 14px;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 14px;
    color: rgba(255,255,255,0.92);
}
#haztesocio .testimonial-card .author {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.5px;
}

/* ── CTA ── */
#haztesocio .cta-section {
    background: var(--white);
    padding: 44px 0;
    text-align: center;
}
#haztesocio .cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 8px;
}
#haztesocio .cta-section p {
    font-size: 1.8rem;
    color: rgba(30,50,48,0.8);
    margin: 0 0 24px;
}
#haztesocio .btn-cta {
    background: var(--teal-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 36px;
    border-radius: 30px;
    border: none;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}
#haztesocio .btn-cta:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}
#haztesocio .cta-contact {
    margin-top: 20px;
    font-size: 1.8rem;
    color: var(--teal-dark);
}
#haztesocio .cta-contact a { color: var(--teal-dark); font-weight: 700; }

/* ── FOOTER ── */
#haztesocio footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 22px 0;
    font-size: 12.5px;
}
#haztesocio footer strong { color: rgba(255,255,255,0.85); }

/* ── RESPONSIVE tweaks ── */
@media (max-width: 767px) {
    #haztesocio .stat-box .stat-number { font-size: 38px; }
    #haztesocio .member-card { margin-bottom: 16px; }
    #haztesocio .table-benefits > thead > tr > th,
    #haztesocio .table-benefits > tbody > tr > td {
    font-size: 11.5px;
    padding: 8px 6px;
    }
    #haztesocio .badge-included, #haztesocio .badge-reduced, #haztesocio .badge-free { font-size: 9.5px; padding: 2px 6px; }
}