@charset "utf-8";

/* =================================
   01. CONFIGURACIÓN GENERAL
================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

}

body {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    margin: 0;
    padding: 0;

    color: #4a4a4a;
    background-color: #fcfbfd;

    font-family: "DM Sans", sans-serif;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
}

.container {
    width: calc(100% - 96px);
    max-width: 1680px;

    margin-left: auto;
    margin-right: auto;
}


/* =================================
   02. HEADER
================================= */

.site-header {
    padding-top: 30px;
    padding-bottom: 20px;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.personal-logo {
    display: block;
    flex-shrink: 0;

    width: 90px;
    height: 90px;
}

.personal-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 60px;
}

.main-navigation a {
    position: relative;

    padding: 8px 0;

    color: #000000;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.main-navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background-color: #76587e;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
    color: #76587e;
}

.main-navigation a:hover::after,
.main-navigation a[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
}


/* =================================
   03. REDES SOCIALES
================================= */

.social-navigation {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-left: auto;
}

.social-navigation img {
    display: block;

    width: 30px;
    height: 30px;

    object-fit: contain;
}

.social-navigation a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 32px;

    color: #76587e;
    text-decoration: none;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.social-navigation a:hover {
    color: #c88bd4;

    transform: translateY(-3px);
}


/* =================================
   04. ACCESIBILIDAD
================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #c88bd4;
    outline-offset: 4px;
}

/* =================================
   05. FOOTER
================================= */

.site-footer {
    background-color: #3e274c;
    border-top: 4px solid #c9a8d8;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 45px;
    padding-bottom: 45px;
    color: #ffffff;
    text-align: center;
}

.footer-name {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-specialties {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 8px;
}

.footer-navigation a,
.footer-navigation span {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.footer-navigation a {
    transition: color 0.25s ease;
}

.footer-navigation a:hover {
    color: #c9a8d8;
}

.footer-copyright {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}




/* =================================
   TABLET COMPACTA
   768px a 899px
================================= */

@media (min-width: 768px) and (max-width: 899px) {

.header-container {
    gap: 24px;
}

.main-navigation {
    gap: 24px;
}

.main-navigation a {
    white-space: nowrap;
}

.social-navigation {
    gap: 12px;
}

.social-navigation a {
    min-width: 24px;
    font-size: 18px;
}
	
	
}


/* =================================
   MÓVIL
   Hasta 767px
================================= */

@media (max-width: 767px) {

.container {
    width: calc(100% - 40px);
    max-width: none;

    margin-right: auto;
    margin-left: auto;
}

.site-header {
    height: 60px;

    padding-top: 20px;
    padding-bottom: 0;
}

.header-container {
    position: relative;

    height: 40px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.personal-logo {
    width: 60px;
    height: 60px;

    flex-shrink: 0;
}

.menu-button {
    display: flex;

    width: 24px;
    height: 40px;

    margin-left: auto;
    padding: 0;

    flex-direction: column;
    justify-content: center;
    gap: 5px;

    border: 0;
    background-color: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 24px;
    height: 1px;

    background-color: #76587e;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.main-navigation {
    position: absolute;
    z-index: 10;

    top: calc(100% + 15px);
    right: 0;

    display: none;

    width: min(280px, 100%);
    padding: 20px;

    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    background-color: #ffffff;

    border-radius: 16px;

    box-shadow: 0 10px 24px rgba(36, 20, 47, 0.12);
}

.main-navigation.is-open {
    display: flex;
}

.main-navigation a {
    font-size: 16px;
    line-height: normal;
}

.social-navigation {
    display: none;
}
	
/* Footer móvil */

.footer-content {
    padding-top: 40px;
    padding-bottom: 60px;
}

.footer-name {
    margin: 0 0 8px;

    font-size: 20px;
    font-weight: 700;
    line-height: 18px;
}

.footer-specialties {
    margin: 0 0 24px;

    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.footer-navigation {
    margin: 0 0 8px;
}

.footer-navigation a,
.footer-navigation span {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}

.footer-copyright {
    margin: 0;

    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
}

.contact-note {
    grid-column: 1 / -1;
    grid-row: 3;

    width: calc(100% - 20px);
    max-width: none;
    min-height: 260px;

    justify-self: center;

    padding: 30px 24px;

    transform: rotate(1deg);
}
	


}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #ffffff;
    background: #3e274c;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #b891c2;
    outline-offset: 4px;
}
