/* =========================
   RESET + BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url("../img/fondo.png") center / cover no-repeat fixed;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    color: #3b3b3b;
}

/* =========================
   VARIABLES
========================= */
:root {
    --rose-line: rgba(191, 150, 150, 0.6);
    --main-color: #bfa58a;
    --text-dark: #3b3b3b;
}

/* =========================
   HEADER
========================= */
header {
    padding: 20px 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

/* =========================
   TITULOS
========================= */
.title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
}

/* =========================
   CONTENEDORES GENERALES
========================= */
.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    width: 400%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 100%;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    min-height: 500px;
    border-radius: 30px;
}

.content.center {
    flex-direction: column;
    text-align: center;
}

.transparent {
    background: transparent;
}

/* =========================
   HERO
========================= */
.hero {
    gap: 30px;
}

/* =========================
   LOGO + LINEA
========================= */
.logo {
    height: 240px;
    width: auto;
}

.logo-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo-line .line {
    width: 60px;
    height: 1px;
    background: var(--rose-line);
}

/* =========================
   TEXTO
========================= */
.text h1 {
    font-size: 48px;
}

.text h2 {
    font-size: 32px;
    margin: 18px 0;
}

.subtitle {
    max-width: 420px;
    margin-bottom: 28px;
    color: #666;
}

/* =========================
   BOTONES
========================= */
.btn-primary,
.btn-contact {
    padding: 12px 26px;
    border-radius: 25px;
    border: none;
    background: var(--main-color);
    color: white;
    cursor: pointer;
}

/* =========================
   IMAGEN
========================= */
.image-box {
    border: 1px solid var(--rose-line);
    border-radius: 25px;
    padding: 15px;
}

.image-box img {
    width: 280px;
    border-radius: 20px;
    display: block;
}

/* =========================
   SERVICIOS
========================= */
.services-bar,
.services-extended {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    font-weight: 500;
}

.service-item img {
    width: 24px;
    height: 24px;
}

.divider {
    width: 1px;
    height: 30px;
    background: var(--rose-line);
}

/* =========================
   ABOUT
========================= */
.about {
    gap: 40px;
}

.about-text {
    max-width: 460px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat {
    border-left: 2px solid var(--rose-line);
    padding-left: 15px;
}

.stat .number {
    font-size: 28px;
    color: var(--main-color);
    font-weight: 600;
}

.stat .label {
    font-size: 14px;
    color: #666;
}

/* =========================
   CONTACT
========================= */
.contact {
    gap: 35px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.contact-item img {
    width: 20px;
    height: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .btn-contact {
        display: none;
    }
    
    .content {
        flex-direction: column;
        min-height: auto;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .logo {
        height: 160px;
    }

    .logo-line {
        justify-content: center;
    }

    .logo-line .line {
        display: none;
    }

    .text h1 {
        font-size: 30px;
    }

    .text h2 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
    }

    .image-box img {
        width: 100%;
        max-width: 260px;
    }

    .services-bar,
    .services-extended {
        flex-direction: column;
        gap: 14px;
    }

    .divider {
        width: 30px;
        height: 1px;
    }

    .contact {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        align-items: center;
    }
}
