/* ===========================
   BASE / VARIABLES
   =========================== */
:root {
    --font-display: "Croissant One", cursive;
    --font-sans: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #fef6ff;
    font-family: var(--font-sans);
    font-weight: 400;
}

/* ===========================
   SOBRE MÍ
   =========================== */
.about-me-section {
    background: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.profile-img img {
    max-width: 320px;
    border: 6px solid #a569bd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.text-purple {
    color: #6d1a94;
}

.about-text h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(20px, 3.2vw, 28px);
    font-family: var(--font-display);
    font-weight: 400;
}

.about-text h5 {
    font-size: clamp(16px, 2.4vw, 20px);
    font-family: var(--font-sans);
    font-weight: 600;
}

.about-text p {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-family: var(--font-sans);
    font-weight: 400;
}

.obillo {
    width: clamp(18px, 5vw, 100px);
    height: auto;
}

/* ===========================
   INSPIRACIÓN
   =========================== */
.inspiration-section {
    background: #fff;
}

.inspiration-section .container {
    background: #d493f8;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title {
    font-size: 1.8rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 400;
}

.inspiration-img {
    width: 30%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    transition: transform .3s ease;
}

.inspiration-img:hover {
    transform: scale(1.08);
}

/* ===========================
   VALORES
   =========================== */
.value-section {
    background: #fff;
    padding-bottom: 3rem;
}

.value-section .container {
    background: #e6d3fa;
    border-radius: 40px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 70%;
}

.values-title {
    font-size: 1.7rem;
    color: #4b007d;
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 400;
}

.value-pill {
    background: #a849e8;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: .7rem 1.8rem;
    border-radius: 40px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .15);
    cursor: default;
    transition: transform .3s ease;
    width: 250px;
    height: 30%;
}

.value-pill:hover {
    transform: scale(1.1);
}

/* ===========================
   ANÉCDOTA
   =========================== */
.anecdote-section {
    background: #4b007d;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.anecdote-title {
    font-size: clamp(22px, 4vw, 36px);
    font-family: var(--font-display);
    font-weight: 400;
}

.anecdote-subtitle {
    font-size: clamp(14px, 2.4vw, 18px);
    font-family: var(--font-sans);
    font-weight: 600;
}

.anecdote-text {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-family: var(--font-sans);
}

.anecdote-butterfly {
    width: 300px;
    height: auto;
    opacity: .9;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ===========================
   BORDES ONDULADOS
   =========================== */
.wave-top,
.wave-bottom {
    width: 100%;
    height: 60px;
    background: transparent;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ===========================
   COLLAGE CLIENTES
   =========================== */
.clientes-collage {
    padding: 48px 0;
    background: #faf6ff;
}

.cc-title {
    color: #4b007d;
    margin-bottom: 30px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 50px;
    text-align: center;
    padding: 20px 0;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.cc-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 1/1;
}

.cc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.cc-item:hover img {
    transform: scale(1.04);
}

/* =====================================
   RESPONSIVE
   ===================================== */

/* ≤575.98px */
@media (max-width:575.98px) {
    .inspiration-section .container {
        height: auto;
        width: auto;
        margin: 0 20px;
    }

    .inspiration-img {
        width: 40%;
        height: 90%;
    }
}

/* ≤991.98px */
@media (max-width:991.98px) {

    /* collage */
    .cc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-grid .cc-item:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 2 / 2.5;
    }

    /* anécdota */
    .anecdote-butterfly {
        width: min(400px, 70vw);
        padding-top: 16px;
        padding-bottom: 0;
    }

    .wave-top,
    .wave-bottom {
        height: 40px;
    }

    .anecdote-section .container {
        align-items: center;
        padding: 30px;
    }
}

/* ≥992px */
@media (min-width:992px) {
    .cc-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-text {
        max-width: 70ch;
    }
}