/* =============================================
   ABOUT — Enhanced Styles
   ============================================= */

/* ---- HERO SECTION ---- */
.about-container {
    background: linear-gradient(155deg, rgba(242, 107, 42, 0.07) 0%, rgba(255,255,255,0) 55%);
    position: relative;
    overflow: hidden;
}

.about-container::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 107, 42, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- HERO TITLE ---- */
.about-container .title-container h1 {
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.about-container .title-container p {
    color: #6b7280;
    line-height: 1.75;
    max-width: 480px;
}

@media (max-width: 767px) {
    .about-container h1 {
        font-size: 2.6rem;
    }

    .about-container .title-container > div {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (min-width: 768px) {
    .about-container h1 {
        font-size: 4.2rem;
    }

    .about-container .title-container > div {
        padding-right: 5rem;
        padding-left: 3rem;
    }
}

@media (min-width: 1200px) {
    .about-container h1 {
        font-size: 5rem;
    }
}

/* ---- HERO IMAGE ---- */
.about-container .hero-img {
    transform: rotate(3deg);
    width: 24rem;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-container .hero-img:hover {
    transform: rotate(1deg) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.17);
}

/* ---- SUB CONTAINER (white wave) ---- */
.about-sub-container {
    border-radius: 4rem 4rem 0 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about-sub-container::before {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 107, 42, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- STORIA SECTION ---- */
.about-sub-container .storia-img {
    width: 75%;
    background: none;
    object-fit: contain;
    min-height: 260px;
    transition: transform 0.35s ease;
}

.about-sub-container .storia-img:hover {
    transform: scale(1.02) translateY(-3px);
}

.about-sub-container .color-orange.fw-medium {
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.about-sub-container h3 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-sub-container .storia-text p {
    color: #4b5563;
    line-height: 1.75;
    font-size: 0.96rem;
}

/* ---- VALORI SECTION ---- */
.valori-title h3 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.valori-title p {
    color: #6b7280;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ---- CARD VALORI ---- */
.card-about {
    background: linear-gradient(145deg, rgba(254, 250, 243, 0.95) 0%, rgba(255,255,255,0.85) 100%);
    border-radius: 1.5rem !important;
    height: 100%;
    border: none !important;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    position: relative;
    overflow: hidden;
}

.card-about::before {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.07) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.28s;
}

.card-about:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06) !important;
    background: linear-gradient(145deg, #fff 0%, rgba(254, 250, 243, 1) 100%);
}

.card-about:hover::before {
    opacity: 2;
}

/* Icon badge */
.card-about .icon-badge {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 30%;
    background-color: var(--ciotolandia-green, #4fa46e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 14px rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-about:hover .icon-badge {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 8px 22px rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.38);
}

.card-about .icon-badge > i {
    color: #fff !important;
    font-size: 1.5rem !important;
}

.card-about h2 {
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.card-about p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- RESPONSIVE CARD GAP ---- */
.row-cols-1.row-cols-md-3 {
    gap: 0;
    row-gap: 1.25rem;
}

@media (min-width: 768px) {
    .row-cols-1.row-cols-md-3 {
        column-gap: 0;
    }
    .row-cols-1.row-cols-md-3 .col {
        padding: 0 0.75rem;
    }
}