@charset "utf-8";

/* =================================
   01. CONTACTO PRINCIPAL
================================= */

.contact-hero {
    padding-top: 20px;
    padding-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;

    align-items: center;
    min-height: 650px;
}

.contact-introduction,
.contact-illustration,
.contact-note {
    grid-row: 1;
}

.contact-introduction {
    grid-column: 1 / span 5;
}

.contact-greeting {
    margin: 0 0 14px 0;

    color: #9c73bd;

    font-family: "Caveat", cursive;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.contact-title {
    margin: 0;

    color: #24142f;

    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(52px, 4vw, 72px);
    font-weight: 700;
    line-height: 1;
}

.contact-description {
    max-width: 520px;

    margin: 30px 0 0 0;

    color: #222222;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

.contact-divider {
    display: block;

    width: 64px;
    height: 2px;

    margin-top: 28px;

    background-color: #9c73bd;
}


/* =================================
   02. DATOS DE CONTACTO
================================= */

.contact-details {
    display: flex;
    flex-direction: column;

    margin-top: 26px;

    font-style: normal;
	
	width: 80%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;

    min-width: 0;

    padding: 10px 0;

    color: #222222;

    border-bottom: 1px solid #e4dce8;

    text-decoration: none;
}

.contact-item-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

a.contact-item {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

a.contact-item:hover {
    color: #76587e;

    transform: translateX(5px);
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    color: #76587e;
    background-color: #eee4f2;

    border-radius: 50%;

    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.contact-item strong,
.contact-item small {
    display: block;
}

.contact-item strong {
    margin-bottom: 3px;

    color: #9c73bd;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-item small {
    overflow-wrap: anywhere;

    color: #222222;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

/* =================================
   03. ILUSTRACIÓN
================================= */

.contact-illustration {
    grid-column: 6 / span 4;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}

.contact-illustration-image {
    display: block;

    width: 100%;
    max-width: none;
    height: auto;

    object-fit: contain;
    transform: none;
}

/* =================================
   04. NOTA DECORATIVA
================================= */

.contact-note {
    position: relative;

    grid-column: 10 / span 3;

    align-self: center;

    padding: 42px 36px;

    background:
        linear-gradient(
            145deg,
            #f1e9f4 0%,
            #e5d6eb 100%
        );

    border-radius: 4px;

    box-shadow: 0 14px 28px rgba(36, 20, 47, 0.15);

    transform: rotate(2deg);
}

.contact-note::before {
    content: "";

    position: absolute;
    top: -12px;
    left: 50%;

    width: 76px;
    height: 24px;

    background-color: #efb2b9;

    box-shadow: 0 2px 4px rgba(36, 20, 47, 0.08);

    transform:
        translateX(-50%)
        rotate(-3deg);
}

.contact-note h2 {
    margin: 0 0 24px 0;

    color: #9c73bd;

    font-family: "Caveat", cursive;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

.contact-note p {
    margin: 0 0 20px 0;

    color: #222222;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.contact-note p:last-child {
    margin-bottom: 0;
}

/* =================================
   05. CURRÍCULUM
================================= */

.contact-cv {
    padding-top: 20px;
    padding-bottom: 80px;
}

.contact-cv-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;

    width: 100%;
    max-width: none;

    box-sizing: border-box;

    margin: 0;
    padding: 28px 42px;

    background-color: #ffffff;

    border: 1px solid #e4dce8;
    border-radius: 16px;

    box-shadow: 0 10px 24px rgba(36, 20, 47, 0.1);
}

.contact-cv-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 92px;
    height: 92px;

    background-color: #f2ebf5;
    border-radius: 50%;
}

.contact-cv-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.contact-cv-copy {
    padding-right: 30px;

    border-right: 1px solid #e4dce8;
}

.contact-cv-copy h2 {
    margin: 0 0 8px 0;

    color: #24142f;

    font-family: "Fraunces", Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-cv-copy p {
    margin: 0;

    color: #4a4a4a;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.contact-cv-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 230px;

    padding: 14px 24px;

    color: #76587e;
    background-color: transparent;

    border: 2px solid #9c73bd;
    border-radius: 999px;

    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-cv-button small {
    margin-top: 4px;

    font-size: 12px;
    font-weight: 500;
}

.contact-cv-button:hover {
    color: #ffffff;
    background-color: #76587e;

    transform: translateY(-3px);
}


/* =================================
   06. TABLET
   900px a 1199px
================================= */

@media (min-width: 900px) and (max-width: 1199px) {

.contact-hero {
    padding-top: 35px;
    padding-bottom: clamp(60px, 7vw, 85px);
}

.contact-grid {
    grid-template-columns:
        minmax(0, 5fr)
        minmax(0, 7fr);

    column-gap: clamp(24px, 4vw, 48px);

    min-height: 0;
    align-items: center;
}

/* PRESENTACIÓN */

.contact-introduction {
    grid-column: 1;
    grid-row: 1;

    min-width: 0;
    align-self: center;
}

/* ILUSTRACIÓN */

.contact-illustration {
    grid-column: 2;
    grid-row: 1;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 0;
}

.contact-illustration-image {
    display: block;

    width: 90%;
    max-width: 650px;
    height: auto;

    transform: translateX(
        clamp(0px, 2vw, 24px)
    );
}

/* NOTA SUPERPUESTA */

.contact-note {
    grid-column: 2;
    grid-row: 1;

    align-self: end;
    justify-self: start;

    z-index: 2;

    width: clamp(235px, 27vw, 310px);
    max-width: none;

    box-sizing: border-box;

    margin: 0 0 10px 0;
    padding: clamp(28px, 3vw, 40px);

    transform:
        translateX(clamp(-20px, -2vw, -8px))
        translateY(clamp(25px, 4vw, 45px))
        rotate(-2deg);
}

.contact-note h2 {
    margin-bottom: 20px;

    font-size: clamp(27px, 2.6vw, 32px);
}

.contact-note p {
    margin-bottom: 16px;

    font-size: 14px;
    line-height: 1.5;
}

   /* CURRÍCULUM */

.contact-cv-card {
    grid-template-columns:
        auto
        minmax(0, 1fr);

    width: 100%;
    max-width: none;

    column-gap: 30px;
    row-gap: 24px;

    padding: 28px 42px;
}

.contact-cv-icon {
    grid-column: 1;
    grid-row: 1;
}

.contact-cv-copy {
    grid-column: 2;
    grid-row: 1;

    min-width: 0;

    padding-right: 0;
    border-right: 0;
}

.contact-cv-button {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    max-width: 320px;
    min-width: 0;

    box-sizing: border-box;
    justify-self: center;
}

}


/* =================================
   07. TABLET COMPACTA
   768px a 899px
================================= */

@media (min-width: 768px) and (max-width: 899px) {

.contact-hero {
    padding-top: 40px;
    padding-bottom: 50px;
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 35px;

    min-height: 0;
}

.contact-introduction {
    grid-column: 1 / -1;
    grid-row: 1;
}

.contact-illustration {
    grid-column: 1;
    grid-row: 2;
}

.contact-note {
    grid-column: 2;
    grid-row: 2;

    width: 100%;
    max-width: 320px;

    justify-self: center;

    padding: 32px 28px;
	
	min-height: 350px;
}

.contact-note p {
    font-size: 14px;
    line-height: 22px;
}

.contact-greeting {
    font-size: 32px;
    line-height: normal;
}

.contact-title {
    font-size: 50px;
    line-height: 50px;
}

.contact-description {
    max-width: 580px;

    font-size: 18px;
    line-height: 22px;
}

.contact-illustration-image {
    width: 115%;
    max-width: none;

    transform: translateX(-5%);
}

.contact-note h2 {
    font-size: 32px;
    line-height: normal;
 }



/* PRESENTACIÓN EN DOS COLUMNAS */

.contact-introduction {
    grid-column: 1 / -1;
    grid-row: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: clamp(32px, 5vw, 50px);
    align-items: center;
}

/* COLUMNA IZQUIERDA */

.contact-greeting,
.contact-title,
.contact-description,
.contact-divider {
    grid-column: 1;
}

.contact-greeting {
    grid-row: 1;
}

.contact-title {
    grid-row: 2;
}

.contact-description {
    grid-row: 3;

    width: 100%;
    max-width: none;
}

.contact-divider {
    grid-row: 4;
}

/* COLUMNA DERECHA */

.contact-details {
    grid-column: 2;
    grid-row: 1 / span 4;

    align-self: center;

    width: 100%;
    max-width: none;

    margin-top: 0;
}

.contact-cv-copy h2 {
    font-size: 24px;
    line-height: 1.15;
}

}


/* =================================
   08. MÓVIL
   Hasta 767px
================================= */

@media (max-width: 767px) {

.contact-hero {
    padding-top: 30px;
    padding-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 25px;

    min-height: 0;
}

.contact-introduction {
    grid-column: 1 / -1;
    grid-row: 1;
}

.contact-greeting {
    margin-bottom: 15px;

    font-size: 24px;
    line-height: normal;
}

.contact-title {
    font-size: 40px;
    line-height: 40px;
}

.contact-description {
    max-width: none;

    margin-top: 25px;

    font-size: 14px;
    line-height: 20px;
}

.contact-divider {
    width: 50px;
    margin-top: 25px;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    gap: 12px;
    padding: 10px 0;
}

.contact-item-icon {
    width: 40px;
    height: 40px;

    font-size: 16px;
}

.contact-item strong,
.contact-item small {
    font-size: 14px;
    line-height: 20px;
}

.contact-illustration {
    grid-column: 1 / -1;
    grid-row: 2;
}

.contact-illustration-image {
    width: 100%;
    max-width: none;

    transform: none;
}

.contact-note {
    grid-column: 1 / -1;
    grid-row: 3;

    width: calc(100% - 20px);
    max-width: none;

    justify-self: center;

    padding: 30px 24px;

    transform: rotate(1deg);
}

.contact-note h2 {
    margin-bottom: 20px;

    font-size: 24px;
    line-height: normal;
}

.contact-note p {
    margin-bottom: 15px;

    font-size: 14px;
    line-height: 20px;
}

.contact-cv {
    padding-top: 10px;
    padding-bottom: 40px;
}

.contact-cv-card {
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 25px 20px;

    text-align: center;
}

.contact-cv-icon {
    justify-self: center;

    width: 76px;
    height: 76px;
}

.contact-cv-icon img {
    width: 60px;
    height: 60px;
}

.contact-cv-copy {
    padding-right: 0;
    border-right: 0;
}

.contact-cv-copy h2 {
    font-size: 24px;
    line-height: 24px;
}

.contact-cv-copy p {
    font-size: 14px;
    line-height: 20px;
}

.contact-cv-button {
    width: 100%;
    min-width: 0;
    max-width: 280px;

    justify-self: center;

    font-size: 14px;
}
	
}




