/*
Theme Name: RGC Counsel
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root{

    --primary:#121B2F;
    --gold:#8F7440;
    --light:#F5F4F0;
    --dark:#2B2B2B;

    --container:1280px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--light);

    color:var(--dark);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.container{

    width:min(90%,1280px);

    margin:auto;
}

h1,h2,h3,h4,h5{

    font-family:'Cormorant Garamond',serif;
}


h2{

    text-align:center;

    font-size:3rem;

    color:var(--primary);

    margin-bottom:70px;

    position:relative;
}

h2::after{

    content:"";

    width:120px;

    height:3px;

    background:var(--gold);

    position:absolute;

    bottom:-20px;

    left:50%;

    transform:translateX(-50%);
}
.site-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.3s;
}

.site-header.scrolled{

    background:rgba(18,27,47,.95);

    backdrop-filter:blur(10px);

    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.header-wrapper{
    display:flex;

    align-items:center;

    justify-content:space-between;
}

.logo img{

    height:65px;
}

nav ul{

    list-style:none;

    display:flex;

    gap:40px;
}

nav a{

    color:var(--light);

    text-decoration:none;

    text-transform:uppercase;

    font-size:14px;

    letter-spacing:1px;
}

nav a:hover{

    color:var(--gold);
}

.header-btn{

    background:var(--gold);

    color:white;

    padding:14px 28px;

    border-radius:4px;

    text-decoration:none;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    text-align: center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 0px;
    overflow: hidden;
}
.hero-mask-container {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
    pointer-events: none;
}
.hero-mask-left {
    width: 50%;
    background: linear-gradient(rgba(18, 27, 47, .85), rgba(18, 27, 47, .85));
}

.hero-mask-right {
    width: 20%;
    background: linear-gradient(rgba(18, 27, 47, .85), rgba(18, 27, 47, .85));
}
.hero-mask {
    flex: 1;
    position: relative;
}
.hero-mask::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(rgba(18, 27, 47, .85), rgba(18, 27, 47, .85));
}
.hero-mask::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(rgba(18, 27, 47, .85), rgba(18, 27, 47, .85));
}








.hero-content {
    width: 100%;
    position: relative;
}
.hero-left-container {
    justify-content: flex-start;
    display: flex;
    padding-bottom: 80px;
}
.hero-left {
    text-align: left;
    border: solid 2px #8f7440;
    padding: 40px;
    border-radius: 5px;
}
.hero h1 {
    color: white;
    font-size: 80px;
    line-height: 80px;
    margin-bottom: 15px;
}
.hero p {
    color: white;
    font-size: 20px;
    max-width: 450px;
    margin: auto;
    line-height: 1.8;
}

.btn{

    background:var(--gold);

    color:white;

    text-decoration:none;

    padding:16px 40px;

    border-radius:4px;

    display:inline-block;
}
.cards{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fit,
        minmax(280px,1fr)
    );

    gap:30px;
}

.card{

    background:white;

    padding:40px;

    border-radius:12px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{

    transform:translateY(-8px);
}

.card h3{

    color:var(--gold);

    margin-bottom:20px;

    font-size:2rem;
}
.stats{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.areas-container {
    padding: 120px 0px;
    display: flex;
    gap: 50px;
    position: relative;
    align-items: center;
}
.areas-container:before {
    content: '';
    position: absolute;
    width: 50%;
    height: 90%;
    background: rgba(18, 27, 47, .95);
    top: 5%;
    right: 0;
    z-index: -1;
}
.areas-card {
    width: 60%;
    flex: none;
}
.areas-cont {
    position: relative;
    padding-right: 60px;
}
.areas-content-l {
    padding-bottom: 50px;
}.areas-content-l h2 {
    text-align: right;
    font-size: 45px;
    margin-bottom: 30px;
    color: white;
}.areas-content-l h2:after {
    right: 0;
    transform: none;
    bottom: -10px;
    left: inherit;
}.areas-content-l p {
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    color: white;
}.areas-cont img {
    width: calc(100% + 120px);
    display: block;
    border: solid 1px white;
    border-radius: 10px;
}
.valores {
    background-size: cover;
    background-position: center;
    padding: 150px 0px;
    background-attachment: fixed;
}

.dato1, .dato2, .dato3, .dato4 {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: #07152A;
    border-radius: 20px;
}

.principal {
    grid-row: 1 / span 2;
    background: #D5D5DE;
    border-radius: 20px;
    gap: 15xp;
    max-width: 250xp;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #07152A;
}
.principal h3 {
    font-size: 50px;
    line-height: 1.2;
}
.principal h2 {
    font-size: 140px;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    margin-bottom: 45px;
}
.principal span {
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 700;
}
.principal span{
    color:var(--gold);
}
.principal h3 {
    font-size: 50px;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}
.card.card-padd .content {
    padding: 20px 30px;
}
.card.card-padd {
    padding: 0px;
    overflow: hidden;
}

.dato1 h4,
.dato2 h4,
.dato3 h4,
.dato4 h4{
    font-size: 80px;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    line-height: 90px;
    font-family: 'Inter', sans-serif;
}
.dato1 p, .dato2 p, .dato3 p, .dato4 p {
    font-size: 18px;
    text-align: center;
}
.stats {
    padding: 60px 0px;
}
.flip-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:30px;
}

.flip-card{

    height:320px;

    perspective:1000px;
}

.flip-card-inner{

    width:100%;

    height:100%;

    position:relative;

    transition:.8s;

    transform-style:preserve-3d;
}

.flip-card:hover .flip-card-inner{

    transform:rotateY(180deg);
}

.flip-card-front,
.flip-card-back{

    position:absolute;

    width:100%;

    height:100%;

    border-radius:15px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:30px;

    text-align:center;

    backface-visibility:hidden;
}

.flip-card-front{

    background:var(--primary);

    color:white;
}

section#reconocimientos {
    padding-bottom: 70px;
}
.member .containerss {
    background: white;
    border-bottom-left-radius: 10px;
    width: calc(100% - 40px);
    position: relative;
    left: 40px;
    padding: 30px 20px;
    text-align: left;
    top: -40px;
}
.flip-card-front h3 {
    font-size: 70px;
    color: var(--gold);
    font-family: 'Inter', sans-serif;
}
.flip-card-back p {
    font-size: 20px;
    line-height: 28px;
}
.flip-card-back h3 {
    font-size: 45px;
    margin-bottom: 20px;
}
.flip-card-back{

    background:var(--gold);

    color:white;

    transform:rotateY(180deg);
}
.team-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:40px;
}

.member{

    text-align:center;
}

.member img{

    border-radius:15px;

    aspect-ratio:3/4;

    object-fit:cover;

    margin-bottom:20px;
}
section.testimonios {
    background: var(--primary);
    padding: 30px 0px;
    padding-bottom: 70px;
}
section.testimonios h2 {
    color: white;
}
.member h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 40px;
}
section#equipo:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    background: var(--primary);
    z-index: -1;
    bottom: 0;
}
section#equipo {
    position: relative;
}
.contacto{

    background:var(--primary);
}
section#contacto {
    position: relative;
    border-top: solid 4px var(--gold);
    border-bottom: solid 4px var(--gold);
    z-index: 1;
    background-position: center;
    background-size: cover;
    padding: 50px 0px;
}section#contacto:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary);
    opacity: 0.7;
    top: 0;
}
.background_meepe {
    display: flex;
    flex-direction: row-reverse;
}
.contacto h2 {
    color: white;
    text-align: left;
    margin-bottom: 20px;
    font-size: 40px;
}

.contacto h2:after {
    transform: none;
    left: 0;
}

.contacto input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.contacto textarea {
    height: 90px;
    resize: none;
    width: 100%;
    margin-bottom: 10px;
}
.contacto form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:20px;
}

.contacto input,
.contacto textarea{

    padding:16px;

    border:none;

    border-radius:4px;
}

.contacto button{

    background:var(--gold);

    color:white;

    border:none;

    padding:16px;

    cursor:pointer;
}
footer{

    background:var(--dark);

    color:white;

    padding:60px 8%;
}

.footer-container{

    max-width:1280px;

    margin:auto;
}

.footer-content{

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:40px;
}

.footer-copy{

    margin-top:40px;

    text-align:center;

    opacity:.6;
}
.header-wrapper {
    padding: 5px 0px;
}
@media(max-width:768px){
.hero-mask-left, .hero-mask-right {
    display: none;
}
.hero {
    background-attachment: initial;
}
.hero-mask::after {
    height: 55%;
}
.hero-left h1 {
    font-size: 40px;
    line-height: 40px;
}
.hero-left {
    padding: 20px;
}

    .hero h1{

        font-size:3rem;
    }
    .suppheader .container .right p {
        display: none;
    }
    nav ul{

        display:none;
    }
.stats {
        display: block;
    }

    .principal {
        padding: 20px;
        margin-bottom: 10px;
    }.principal h3 {
    font-size: 35px;
}.dato1, .dato2, .dato3, .dato4 {
    margin-bottom: 10px;
}
    .areas-container {
    display: flex;
    padding-top: 10px;
    padding-bottom: 60px;
    flex-direction: column-reverse;
}.areas-card {
    width: 100%;
}.areas-container:before {
    width: 100%;
    top: 0;
}
.valores {
    padding: 20px 0px;
}
.areas-cont {
    padding: 10px;
}
.areas-content-l h2:after {
    right: 50%;
    transform: translateX(50%);
}
.areas-content-l p {
    text-align: center;
}
.areas-content-l h2 {
    text-align: center;
    font-size: 36px;
}
}
footer{

    background:var(--primary);

    color:white;

    padding:80px 8% 40px;
}

.footer-container{

    max-width:1280px;

    margin:auto;
}

.footer-top{

    display:flex;

    justify-content:center;

    margin-bottom:40px;
}

.footer-brand img{

    height:90px;

    width:auto;
}

footer hr{

    border:none;

    height:1px;

    background:rgba(255,255,255,.15);

    margin:40px 0;
}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:50px;

    flex-wrap:wrap;
}

.footer-info{

    display:flex;

    flex-direction:column;

    gap:15px;
}

.footer-info p{

    color:rgba(255,255,255,.8);

    font-size:15px;
}

.footer-social{

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.footer-social a{

    color:white;

    text-decoration:none;

    transition:.3s;
}

.footer-social a:hover{

    color:var(--gold);
}

.footer-bottom{

    margin-top:50px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.1);

    text-align:center;
}

.footer-bottom p{

    color:rgba(255,255,255,.6);

    font-size:14px;
}

.suppheader {
    background: black;
}
.suppheader .container {
    display: flex;
    flex-direction: row-reverse;
}
.suppheader .container .right {
    display: flex;
    font-size: 12px;
    gap: 20px;
    padding: 7px 0px;
    align-items: center;
}.suppheader .container .right p {
    color: white;
}.suppheader .container .right a {
    color: white;
    text-decoration: none;
    border: solid 1px white;
    padding: 5px;
    border-radius: 5px;
}
.header-wrapper nav {
    display: flex;
    align-items: center;
    gap: 50px;
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #11da00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse-animation 2s infinite;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    text-decoration: none;
}
.suppheader .container .right a i {
    margin-right: 5px;
}
@keyframes pulse-animation {

    0% {
        box-shadow: 0 0 0 0 rgba(17, 218, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(17, 218, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(17, 218, 0, 0);
    }

}
