@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: 'Inter', sans-serif;
    color:#243746;
    background:#e2e7f0;
    line-height:1.7;
}

header{
    position:fixed;
    top:0;
    width:100%;
    background:#ffffff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 8%;
    z-index:1000;
}

.logo h1{
    color:#0F4C5C;
    font-family:'Playfair Display', serif;
    font-size:2.3rem;
    font-weight:700;
}

.logo p{
    color:#C79A2B;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}
.logo img{
    height: 110px;
    width: auto;
    display: block;
}
nav{
    display:flex;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#183A5A;
    font-weight:600;
    font-size:1rem;
    letter-spacing:.5px;
    transition:.3s;
}
nav a:visited{
    color:#183A5A;
}

nav a:hover{
    color:#C89A2B;
}


.hero{
    min-height:100vh;

    background:
     min-height:100vh;
    background:
    linear-gradient(rgba(15,76,92,.75), rgba(15,76,92,.75)),
    url("../img/hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 10%;
}

.hero-content{
    max-width:850px;
}

.hero h2{
    font-family:'Playfair Display', serif;
    font-size:4.2rem;
    font-weight:700;
    line-height:1.15;
    margin-bottom:25px;
}

.hero p{
    font-size:1.2rem;
    margin-bottom:40px;
}

.botones{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-primary{
    background:#C99A2E;
    color:white;
    border-radius:none;

}
.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.20);
}

.btn-primary:hover{
    background:#B48622;
}

.btn-secondary{
    background:#ffffff;
    color:#123B5D;
    border:2px solid #ffffff;
    border-radius:8px;
}

.btn-secondary:hover{
    background:#F5F5F5;
    color:#123B5D;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.20);
}

.valores{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin:70px 8%;
}

.valor{
    background:#F8F9FC;
    border-radius:22px;
    padding:40px 30px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    border:1px solid #ECECEC;
}

.valor:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);

}
.valor h3{
    color:#123B5D;
    font-size:24px;
    line-height:1.3;
    font-family:'Playfair Display',serif;
    margin-bottom:18px;
}

.valor p{
    color:#425466;
    font-size:20px;
    line-height:1.7;
}

.valor .linea{
    display:block;
    width:70px;
    height:4px;
    background:#D6A52A;
    border-radius:20px;
    margin:18px auto 25px;
}


.section{
    padding:80px 8%;
}

.section h2{
    font-family:'Playfair Display',serif;
    font-size:52px;
    color:#123B5D;
    margin-bottom:25px;
}
.section>p{
    max-width:850px;
    margin:auto;
    text-align:center;
    font-size:1.1rem;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    margin-top:45px;
}

.card{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition: .3s ease;
    cursor: default;
}

.card:hover{
     transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.card h3{
    font-family:'Playfair Display', serif;
    color:#B68B2D;
    margin-bottom:15px;
}

/*=========================
 CONTACTO
==========================*/

.contacto{
    background:#214B6D;
    color:#fff;
    text-align:center;
    padding:60px 8%;
}

.contacto h2{

    font-family:'Playfair Display',serif;

    font-size:3rem;

    margin-bottom:10px;

}

.contacto .subtitulo{

    color:#EAEAEA;

    margin-bottom:25px;

    font-size:1.1rem;

}


.contacto-card{
    max-width:520px;
    margin:20px auto 30px;
    background:#ffffff;
    border-radius:18px;
    padding:20px 30px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
}



.contacto-card .dato{

    display:flex;
    align-items:center;
    gap:15px;

    padding:14px 0;

    color:#0c5353;

    font-size:1.05rem;

    border-bottom:1px solid #ECECEC;

}


.contacto-card .dato:last-child{

    border-bottom:none;

}

.contacto-botones{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:25px;

    flex-wrap:wrap;

}

footer{
FyP Soluciones Empresariales

Consultoría Contable • Impositiva • Empresarial

© 2026 Todos los derechos reservados.
}

@media(max-width:900px){

header{
    flex-direction:center;
    gap:15px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h2{
    font-size:2.2rem;
}

.hero p{
    font-size:1rem;
}

}
/* ===========================
   SERVICIOS
=========================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
    margin-top:60px;
}

.card.servicio{
    background:linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%);
    background:#ffffff;
    border-radius:24px;
    padding:40px 30px;
    text-align:center;
    box-shadow:0 12px 30px rgba(16,40,70,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    min-height:360px;
}

.card.servicio:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 55px rgba(18,59,93,.18);
}


.card.servicio img{
    width:90px;
    height:90px;
    object-fit:contain;
    margin-bottom:25px;
}

.card.servicio h3{
    font-family:'Playfair Display',serif;
    font-size:1.55rem;
    color:#123B5D;
    margin-bottom:15px;
    font-weight:700;
}

.linea{
    width:85px;
    height:5px;
    background:#D6A52A;
    border-radius:20px;
    margin:0 auto 25px;
}

.card.servicio p{
    color:#555;
    font-size:1rem;
    line-height:1.8;
    margin:0;
}

#servicios{
    background:#FAF7F2;
    padding:110px 8%;
}

#servicios h2{
    text-align:center;
    font-size:3rem;
    color:#123B5D;
    margin-bottom:20px;
}
/* ===========================
   NOSOTROS
=========================== */

.nosotros{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.nosotros-texto p{

    font-size:1.1rem;

    line-height:1.9;

    color:#555;

}

.nosotros-texto ul{

    margin-top:30px;

    padding-left:20px;

}

.nosotros-texto li{

    margin-bottom:15px;

    font-weight:600;

    color:#123B5D;

}

.nosotros-imagen img{

    width:100%;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}
