/* ============================================================
   CONTATTI / CONTATTACI — PHP nativo (no Elementor)
   Prefisso: tf-ct-*
   v3.4.0
   ============================================================ */

.tf-ct-page {
    --tf-ct-blue: #0077b6;
    --tf-ct-blue-dark: #023e8a;
    --tf-ct-pink: #DE5A86;
    --tf-ct-text: #2d3436;
    --tf-ct-text-soft: #777777;
    --tf-ct-bg-alt: #f5f5f5;
    --tf-ct-border: #e3e8ee;
    font-family: 'Open Sans', sans-serif;
    color: var(--tf-ct-text);
}

.tf-ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HERO ---------- */
.tf-ct-hero {
    background: linear-gradient(135deg, #0c3b5e 0%, #1a5276 50%, #2980b9 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.tf-ct-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #FFFFFF;
}

.tf-ct-breadcrumb {
    font-size: 15px;
    opacity: 0.95;
}

.tf-ct-breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

.tf-ct-breadcrumb a:hover { opacity: 1; }
.tf-ct-breadcrumb span { margin: 0 8px; }

/* ---------- 4 CARD CONTATTO ---------- */
.tf-ct-cards-section {
    padding: 100px 0 50px;
}

.tf-ct-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tf-ct-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

a.tf-ct-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(222, 90, 134, 0.2);
}

.tf-ct-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--tf-ct-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-ct-card-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
    stroke: currentColor;
    fill: none;
}

.tf-ct-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tf-ct-text);
    margin: 0 0 10px;
}

.tf-ct-card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--tf-ct-text-soft);
    margin: 0;
    line-height: 1.6;
}

/* ---------- FORM + MAPPA ---------- */
.tf-ct-main-section {
    padding: 50px 0;
}

.tf-ct-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Form CF7 styling */
.tf-ct-form-col .wpcf7-form p {
    margin: 0 0 18px;
}

.tf-ct-form-col label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--tf-ct-text);
}

.tf-ct-form-col input[type="text"],
.tf-ct-form-col input[type="email"],
.tf-ct-form-col input[type="tel"],
.tf-ct-form-col select,
.tf-ct-form-col textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tf-ct-border);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.tf-ct-form-col input:focus,
.tf-ct-form-col select:focus,
.tf-ct-form-col textarea:focus {
    outline: none;
    border-color: var(--tf-ct-blue);
}

.tf-ct-form-col textarea {
    min-height: 160px;
    resize: vertical;
}

.tf-ct-form-col .wpcf7-submit {
    background: var(--tf-ct-blue);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s;
    width: auto;
}

.tf-ct-form-col .wpcf7-submit:hover {
    background: var(--tf-ct-blue-dark);
}

.tf-ct-form-col .wpcf7-acceptance {
    font-size: 13px;
    color: var(--tf-ct-text-soft);
}

/* Mappa colonna */
.tf-ct-map-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--tf-ct-text);
    margin: 0 0 12px;
}

.tf-ct-map-text {
    font-size: 16px;
    color: var(--tf-ct-text-soft);
    margin: 0 0 24px;
}

.tf-ct-map-embed {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    line-height: 0;
}

.tf-ct-map-link {
    display: inline-block;
    margin: 14px 0 24px;
    color: var(--tf-ct-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.tf-ct-map-link:hover { text-decoration: underline; }

/* Info box orari + parcheggio */
.tf-ct-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--tf-ct-bg-alt);
    border-radius: 20px;
    padding: 24px;
}

.tf-ct-info-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tf-ct-info-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--tf-ct-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-ct-info-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke: currentColor;
    fill: none;
}

.tf-ct-info-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tf-ct-text);
    margin: 0 0 6px;
}

.tf-ct-info-text {
    font-size: 13.5px;
    color: var(--tf-ct-text-soft);
    margin: 0;
    line-height: 1.5;
}

/* ---------- FAQ ---------- */
.tf-ct-faq-section {
    background: var(--tf-ct-bg-alt);
    padding: 70px 0;
    margin-top: 50px;
}

.tf-ct-faq-head {
    text-align: center;
    margin-bottom: 40px;
}

.tf-ct-faq-title {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--tf-ct-text);
    margin: 0 0 10px;
}

.tf-ct-faq-sub {
    font-size: 16px;
    color: var(--tf-ct-text-soft);
    margin: 0;
}

.tf-ct-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tf-ct-faq-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tf-ct-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--tf-ct-text);
    text-align: left;
    transition: color 0.2s;
}

.tf-ct-faq-q:hover { color: var(--tf-ct-blue); }

/* Icona +/- */
.tf-ct-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.tf-ct-faq-icon::before,
.tf-ct-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--tf-ct-text);
    transition: transform 0.25s, opacity 0.25s;
}

.tf-ct-faq-icon::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.tf-ct-faq-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.tf-ct-faq-q[aria-expanded="true"] .tf-ct-faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.tf-ct-faq-q[aria-expanded="true"] .tf-ct-faq-icon::before {
    background: var(--tf-ct-blue);
}

.tf-ct-faq-a {
    display: none;
    padding: 0 24px 20px;
}

.tf-ct-faq-a p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--tf-ct-text-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .tf-ct-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-ct-cards-section { padding: 60px 0 30px; }
    .tf-ct-main-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .tf-ct-hero { padding: 56px 0; }
    .tf-ct-hero-title { font-size: 36px; }
    .tf-ct-cards-grid { grid-template-columns: 1fr; }
    .tf-ct-card { padding: 30px; }
    .tf-ct-map-heading { font-size: 26px; }
    .tf-ct-faq-title { font-size: 26px; }
    .tf-ct-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .tf-ct-container { padding: 0 16px; }
    .tf-ct-hero { padding: 44px 0; }
    .tf-ct-hero-title { font-size: 30px; }
    .tf-ct-cards-section { padding: 44px 0 20px; }
    .tf-ct-card { padding: 26px; }
    .tf-ct-card-icon { width: 60px; height: 60px; }
    .tf-ct-map-heading { font-size: 23px; }
    .tf-ct-faq-title { font-size: 23px; }
    .tf-ct-faq-section { padding: 50px 0; }
    .tf-ct-faq-q { padding: 16px 18px; font-size: 15px; }
    .tf-ct-faq-a { padding: 0 18px 16px; }
    .tf-ct-map-embed iframe { height: 260px; }
    .tf-ct-info-grid { padding: 20px; }
}
