/* ==========================
    GOOGLE RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f7f3e9;
    color: #243b5a;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================
   VARIABLES
========================== */

:root {

    --primary: #243b5a;
    --secondary: #d8c9a3;
    --background: #f7f3e9;
    --white: #ffffff;
    --text: #243b5a;
    --border: #d9d3c6;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --transition: .3s ease;
}

/* ==========================
   GENERAL
========================== */

.container {
    width: min(1200px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    display: block;
    font-family: 'Oswald', sans-serif;
    color: #7b6b48;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

/* ==========================
   BARRA DE NAVEGACION
========================== */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(247,243,233,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 90px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: #7b6b48;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px;
    background: var(--primary);
}

/* ==========================
   MENU PARA DISPOSITIVOS MOVILES
========================== */

.mobile-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    background: var(--background);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: .4s;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    color: var(--primary);
    font-weight: 600;
}

/* ==========================
   HERO
========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    color: #7b6b48;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
}

.hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin: 20px 0;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==========================
   SOBRE NOSOTROS
========================== */

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.experience-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.experience-card span {
    font-size: 5rem;
    font-family: 'Oswald', sans-serif;
}

.experience-card p {
    font-weight: 600;
}

/* ==========================
   SERVICIOS
========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: #243b5a;
    color: #fff;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d8c9a3;
    border-radius: 50%;
    background: #fff;
    color: #243b5a;
    font-size: 2.2rem;
    transition: .3s ease;
}

/* ==========================
   GALERIA
========================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==========================
   BENEFICIOS
========================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #d8c9a3;
    border-radius: 50%;
    background: #fff;
    color: #243b5a;
    font-size: 2.2rem;
    transition: .3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: #243b5a;
    color: #fff;
}

/* ==========================
   CONTACTO
========================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-item h3 {
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* ==========================
   FOOTER
========================== */

.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    width: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.footer span {
    display: block;
    margin-top: 10px;
    opacity: .8;
}

/* ==========================
   WHATSAPP
========================== */

.whatsapp-float {
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:2rem;
    z-index:999;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){
    .hero-container,
    .about-grid,
    .contact-grid{
        grid-template-columns: 1fr;
    }

    .hero-image{
        order: -1;
    }

    .hero{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }
}

@media(max-width:768px){
    .nav-menu{
        display:none;
    }

    .hamburger{
        display:block;
    }

    .section{

        padding:80px 0;
    }

    .hero h1{
        font-size:4rem;
    }
}

/* =====================================
   REVEAL ANIMATION
===================================== */

.section-header,
.service-card,
.gallery-item,
.benefit-card,
.contact-item,
.experience-card {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}