/* =============================================
   CONTATTI — Styles
   ============================================= */

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

.contatti-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;
}

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

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

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

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

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

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

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

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

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

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

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

/* ---- CONTACT CARDS ---- */
.contact-card {
    border-radius: 1.5rem;
    border: none;
    background: linear-gradient(145deg, rgba(254, 250, 243, 0.95) 0%, rgba(255,255,255,0.85) 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    padding: 2.25rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

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

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    color: inherit;
}

.contact-card.card-whatsapp:hover {
    box-shadow: 0 16px 44px rgba(37, 211, 102, 0.18), 0 4px 12px rgba(0,0,0,0.06);
}

.contact-card.card-email:hover {
    box-shadow: 0 16px 44px rgba(242, 107, 42, 0.18), 0 4px 12px rgba(0,0,0,0.06);
}

.contact-card.card-phone:hover {
    box-shadow: 0 16px 44px rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.20), 0 4px 12px rgba(0,0,0,0.06);
}

/* Icon badge */
.contact-card .icon-badge {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 30%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover .icon-badge {
    transform: rotate(-8deg) scale(1.1);
}

.icon-badge-green {
    background-color: var(--ciotolandia-green, #4fa46e);
    box-shadow: 0 4px 14px rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.30);
}

.icon-badge-green:hover {
    box-shadow: 0 8px 22px rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.40);
}

.icon-badge-whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.30);
}

.icon-badge-orange {
    background-color: var(--ciotolandia-orange, #F26B2A);
    box-shadow: 0 4px 14px rgba(242, 107, 42, 0.30);
}

.contact-card .icon-badge > i,
.contact-card .icon-badge > svg {
    color: #fff;
    fill: #fff;
    font-size: 1.6rem;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.contact-card .contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ciotolandia-green, #4fa46e);
    margin-bottom: 0.4rem;
    word-break: break-all;
}

.card-email .contact-value {
    color: var(--ciotolandia-orange, #F26B2A);
}

.card-whatsapp .contact-value {
    color: #1da851;
}

.contact-card .contact-desc {
    font-size: 0.87rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ---- ARROW ---- */
.contact-card .arrow-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-card:hover .arrow-icon {
    background: rgba(0,0,0,0.09);
    transform: translate(2px, -2px);
}

.contact-card .arrow-icon > i {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ---- FAQ / INFO BOX ---- */
.info-box {
    background: linear-gradient(135deg, var(--ciotolandia-green-30, #e8f5ec) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ciotolandia-green-rgb, 80, 160, 100), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.info-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.93rem;
    color: #374151;
    line-height: 1.5;
}

.info-list li > i {
    color: var(--ciotolandia-green);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ---- ORARI BOX ---- */
.orari-box {
    background: linear-gradient(135deg, rgba(242, 107, 42, 0.08) 0%, rgba(255,255,255,0.9) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.orari-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.orari-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.92rem;
}

.orari-row:last-child {
    border-bottom: none;
}

.orari-row .day {
    color: #374151;
    font-weight: 500;
}

.orari-row .time {
    color: var(--ciotolandia-green);
    font-weight: 600;
}

.orari-row .closed {
    color: #d1d5db;
    font-weight: 500;
}