@font-face {
    font-family: "Public Sans";
    src: url("fonts/PublicSans-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/PublicSans-Bold.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/PublicSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Public Sans";
    src: url("fonts/PublicSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Public Sans", system-ui, sans-serif;
    background-color: white;
    color: #333;
}

.navbar {
    background-color: white;
    padding: 20px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;        
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    height: 50px;
}

.hero-section {
    background-color: #f5f5f5;
    padding: 40px 10px 40px;    
}

.hero-section > .hero-title {
    max-width: 1200px;
    margin: 0 auto;

}

.hero-section > .whatsapp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.hero-title,
.whatsapp-section {
    text-align: left;
}

.hero-title {
    margin-bottom: 60px;
}

.hero-title h1 {
    font-size: 5rem;
    font-weight: 700;
    color: #ff682c;
}

.hero-title h2 {
    font-size: 3rem;
    font-weight: 700;
}

.whatsapp-section {
    max-width: 800px;
    display: flex;
    align-items: center;       
    justify-content: space-between; 
    gap: 30px;
}

.whatsapp-section p {
    font-size: 1.5rem;
    color: #555;
    margin: 0;
    font-weight: 700;
}

.whatsapp-section p strong {
    color: black;
    font-weight: 800;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* Cards Section - Fondo blanco */
.cards-section {
    background-color: white;
    padding: 10px 10px 40px;
}

.main-section {
    max-width: 1200px;
    margin: 0 auto;
}

.cards-container {
    padding: 0;
}

.category-title{
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
    margin: 30px 0 15px;
    border-bottom: 3px solid black;
    padding-bottom: 20px;
    padding-left: 25px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: .3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 68pt;
    font-weight: 700;
    font-family: Arial, sans-serif;
    padding: 35px;
}

.card-body {
    background:#f0f0f0;
    padding: 25px;
    flex: 1;
}

.card-body h4 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    font-weight: 800;
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.card-body li strong {
    display: block;
    font-weight: 700;
    color: #555;
    margin-bottom: 3px;
    font-size: 1rem;
}

.ps .card-header   { background:#157774; color:white; }
.plc .card-header  { background:#449290; color:white; }
.pe .card-header   { background:#73ADAC; color:white; }
.atd .card-header  { background:#80386D; color:white; }
.nrpt .card-header { background:#C12C60; color:white; }
.rpt .card-header  { background:#FFC815; color:#333; }

/* Reglamento Section - Fondo gris */
.reglamento-section {
    text-align: left;
    background-color: #f5f5f5;
    padding: 40px 20px;
}

.reglamento-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reglamento-section p {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 0;
}

.pdf-download {
    display: inline-block;
    background:#ff682c;
    color:white;
    padding:12px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition: all 0.3s ease;
}

.pdf-download:hover {
    background-color: #ff682c;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: rgb(28, 32, 38);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    align-items: center;
}

.footer-logo img {
    height: 70px;
}

.footer-info {
    text-align: left;
}

.footer-info img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.footer-section p,
.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    width: max-content;
}

.footer-section a:hover {
    color: #ff682c;
}

:root{
    --content-offset: 25px;
}

.hero-title,
.whatsapp-section{
    padding-left: var(--content-offset);
}

.reglamento-content{
    padding-left: var(--content-offset);
}

.footer-content{
    padding-left: var(--content-offset);
}

.navbar-inner{
    padding-left: 25px;  
}

@media (min-width: 769px) {
    .footer-logo {
        justify-self: start;
    }

    .footer-info {
        justify-self: end;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: flex-start;
        padding-left: 25px;
    }

    .footer-logo {
        justify-self: flex-start;
    }

    .footer-info {
        width: 100%; 
        margin: 0 auto; 
        text-align: left; 
        justify-self: center;
    }

    .footer-section p {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin: 0;
    }
}


@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2rem;
    }
    
    .whatsapp-section p {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .cards-section {
        padding: 40px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .whatsapp-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .whatsapp-btn {
        align-self: flex-start;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-title h1 {
        font-size: 2.2rem;
    }

    .hero-title h2 {
        font-size: 1.5rem;
    }

    .whatsapp-section p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .reglamento-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .reglamento-section p {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .pdf-download {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding-bottom: 40px; 
    }

    .cards-section {
        padding-top: 10px;
    }

    .category-title {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    
    .card-body li strong {
        display: inline;
        margin-right: 6px;
    }

    .card-body {
        min-height: 200px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-body li {
        margin-bottom: 16px;
        font-weight: 600;
    }

    .card-body h4 {
        margin-top: 16px;
        font-weight: 800;
    }
}

@media (max-width: 768px) {

    .navbar-inner {
        margin: 0;             
        padding-left: 35px;     
        justify-content: flex-start;
    }

    .navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .logo {
        display: block;
    }
}
