/* ==========================================================
   VARIABLES
========================================================== */

:root {
    --navy: #071729;
    --navy-light: #0d2138;

    --gold: #b18a54;
    --gold-light: #c39a61;

    --white: #ffffff;
    --cream: #f8f7f4;

    --text: #111827;
    --text-light: #444444;

    --border: #dddddd;
}


/* ==========================================================
   RESET
========================================================== */

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

html {
    scroll-behavior: smooth;
}

#inicio,
#sobre-mi,
#areas,
#contacto {
    scroll-margin-top: 90px;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    display: block;
    width: 30px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}


/* ==========================================================
   CONTENEDORES Y ESTRUCTURA GENERAL
========================================================== */

.container {

    width: min(100% - 70px, 1380px);

    margin: 0 auto;

}


main {

    width: 100%;

    padding-top: 78px;

}


/* ==========================================================
   HEADER FIJO
========================================================== */

#header-container {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

}


/* ==========================================================
   HEADER AL LLEGAR AL FOOTER
========================================================== */

#header-container.header-at-footer {

    position: absolute;

    left: 0;

    width: 100%;

}

.main-content {
    width: 100%;
    background: var(--white);
}

.content-container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-header-inner,
.footer-inner {
    width: 65%;
    margin: 0 auto;
}


/* ==========================================================
   BOTONES GENERALES
========================================================== */

.btn {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border: 1px solid transparent;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border 0.25s ease;
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: var(--navy-light);
}


/* ==========================================================
   TITULOS DE SECCIÓN
========================================================== */

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
}

.heading-line {
    width: 38px;
    height: 1px;
    background: var(--gold);
    margin: 6px auto 0;
}

.section-heading-light h2 {
    color: white;
}


/* ==========================================================
   RESPONSIVE GLOBAL
========================================================== */

@media (min-width: 1600px) {
    .hero-text {
        padding-left: 90px;
    }
}

@media (max-width: 1000px) {
    .container {
        width: 100%;
    }

    .header-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-text {
        padding: 40px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .practice-card {
        padding: 0 18px;
    }

    .contact-container {
        gap: 35px;
    }
}

@media (max-width: 700px) {

    .site-header-inner,
    .main-content,
    .footer-inner {

        width: 100%;

    }


    .container {

        width: calc(100% - 40px);

    }


    main {

        padding-top: 130px;

    }

    #inicio,
    #sobre-mi,
    #areas,
    #contacto {
        scroll-margin-top: 145px;
    }

}



