/* ============================================================
   TRATTAMENTO ACQUE — PHP nativo (no Elementor)
   Prefisso: tf-ta-*
   v3.7.0
   ============================================================ */

.tf-ta-page {
    --tf-ta-blue: #0aa3e0;
    --tf-ta-blue-dark: #0c3b5e;
    --tf-ta-navy: #0c2d48;
    --tf-ta-text: #2d3436;
    --tf-ta-text-soft: #5a6c72;
    --tf-ta-bg-soft: #e8f4fb;
    --tf-ta-bg-soft2: #f1f8fd;
    --tf-ta-border: #dbe7f0;
    --tf-ta-green: #2ecc71;
    --tf-ta-section-py: 70px;
    font-family: 'Open Sans', sans-serif;
    color: var(--tf-ta-text);
}

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

.tf-ta-section-head { text-align: center; margin-bottom: 50px; }
.tf-ta-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--tf-ta-text);
    margin: 0 0 12px;
}
.tf-ta-section-sub {
    font-size: 16px;
    color: var(--tf-ta-text-soft);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- HERO ---------- */
.tf-ta-hero {
    background: linear-gradient(120deg, #0c3b5e 0%, #1577ab 55%, #18b0e8 100%);
    color: #fff;
    padding: 70px 0 90px;
}
.tf-ta-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}
.tf-ta-breadcrumb { font-size: 14px; margin-bottom: 22px; opacity: 0.9; }
.tf-ta-breadcrumb a { color: #fff; text-decoration: none; opacity: 0.8; }
.tf-ta-breadcrumb a:hover { opacity: 1; }
.tf-ta-breadcrumb span { margin: 0 7px; }
.tf-ta-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    font-weight: 800;
    margin: 0 0 18px;
    color: #fff;
}
.tf-ta-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
}
.tf-ta-hero-btn {
    display: inline-block;
    background: #fff;
    color: var(--tf-ta-blue-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tf-ta-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.tf-ta-hero-media { display: flex; justify-content: center; }
.tf-ta-hero-drop {
    width: 180px;
    height: 180px;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- FEATURE CARDS ---------- */
.tf-ta-features {
    background: var(--tf-ta-bg-soft);
    padding: var(--tf-ta-section-py) 0;
}
.tf-ta-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.tf-ta-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(12, 59, 94, 0.06);
}
.tf-ta-feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--tf-ta-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tf-ta-feature-icon svg { width: 32px; height: 32px; }
.tf-ta-feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--tf-ta-text);
    margin: 0 0 12px;
}
.tf-ta-feature-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tf-ta-text-soft);
    margin: 0;
}

/* ---------- SOLUTION CARDS ---------- */
.tf-ta-solutions {
    background: #fff;
    padding: var(--tf-ta-section-py) 0;
}
.tf-ta-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tf-ta-sol-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 59, 94, 0.1);
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.25s, box-shadow 0.25s;
}
.tf-ta-sol-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(12, 59, 94, 0.16); }
.tf-ta-sol-head {
    position: relative;
    height: 150px;
    background: linear-gradient(150deg, #18a8e6 0%, #0e85c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tf-ta-sol-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    color: var(--tf-ta-blue-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 6px 14px;
    border-radius: 20px;
}
.tf-ta-sol-icon { color: rgba(255, 255, 255, 0.85); }
.tf-ta-sol-icon svg { width: 56px; height: 56px; }
.tf-ta-sol-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.tf-ta-sol-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--tf-ta-text);
    margin: 0 0 12px;
}
.tf-ta-sol-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--tf-ta-text-soft);
    margin: 0 0 18px;
}
.tf-ta-sol-list { list-style: none; margin: 0 0 24px; padding: 0; }
.tf-ta-sol-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--tf-ta-text);
    padding: 9px 0;
    border-top: 1px solid var(--tf-ta-border);
}
.tf-ta-sol-list li:first-child { border-top: none; }
.tf-ta-check {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--tf-ta-green);
    margin-top: 1px;
}
.tf-ta-check svg { width: 18px; height: 18px; }
.tf-ta-sol-cta {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--tf-ta-blue);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.tf-ta-sol-cta:hover { background: #0c85c4; }

/* ---------- COME FUNZIONA (steps) ---------- */
.tf-ta-how {
    background: var(--tf-ta-bg-soft2);
    padding: var(--tf-ta-section-py) 0;
}
.tf-ta-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}
.tf-ta-step {
    flex: 1 1 0;
    max-width: 230px;
    text-align: center;
    padding: 0 8px;
}
.tf-ta-step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--tf-ta-blue);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(10, 163, 224, 0.35);
}
.tf-ta-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--tf-ta-text);
    margin: 0 0 10px;
}
.tf-ta-step-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--tf-ta-text-soft);
    margin: 0;
}
.tf-ta-step-arrow {
    flex: 0 0 auto;
    color: var(--tf-ta-blue);
    margin-top: 16px;
    padding: 0 4px;
}
.tf-ta-step-arrow svg { width: 28px; height: 28px; }

/* ---------- APPLICAZIONI ---------- */
.tf-ta-apps {
    background: #fff;
    padding: var(--tf-ta-section-py) 0;
}
.tf-ta-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tf-ta-app-card {
    background: linear-gradient(150deg, #0c3b5e 0%, #14628c 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    transition: transform 0.25s, box-shadow 0.25s;
}
.tf-ta-app-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(12, 45, 72, 0.28); }
.tf-ta-app-icon { color: #5cc6f0; margin-bottom: 18px; }
.tf-ta-app-icon svg { width: 48px; height: 48px; }
.tf-ta-app-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.tf-ta-app-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* ---------- PARTNER ---------- */
.tf-ta-partners {
    background: var(--tf-ta-bg-soft);
    padding: 56px 0;
}
.tf-ta-partners-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--tf-ta-text);
    margin: 0 0 36px;
}
.tf-ta-partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.tf-ta-partner { display: flex; align-items: center; justify-content: center; }
.tf-ta-partner img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}
.tf-ta-partner-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #9fb3c2;
    letter-spacing: 0.5px;
}

/* ---------- FAQ ---------- */
.tf-ta-faq {
    background: #fff;
    padding: var(--tf-ta-section-py) 0;
}
.tf-ta-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.tf-ta-faq-card {
    background: var(--tf-ta-bg-soft2);
    border-left: 4px solid var(--tf-ta-blue);
    border-radius: 0 12px 12px 0;
    padding: 26px 28px;
}
.tf-ta-faq-q {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--tf-ta-blue-dark);
    margin: 0 0 12px;
}
.tf-ta-faq-a {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--tf-ta-text-soft);
}
.tf-ta-faq-a strong { color: var(--tf-ta-text); }

/* ---------- CTA ---------- */
.tf-ta-cta {
    background: linear-gradient(120deg, #0c85c4 0%, #0aa3e0 100%);
    padding: 70px 0;
    text-align: center;
    color: #fff;
}
.tf-ta-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}
.tf-ta-cta-text {
    font-size: 17px;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.92);
}
.tf-ta-cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.tf-ta-btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}
.tf-ta-btn-solid { background: #fff; color: var(--tf-ta-blue-dark); }
.tf-ta-btn-solid:hover { transform: translateY(-2px); }
.tf-ta-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.8); }
.tf-ta-btn-ghost:hover { background: #fff; color: var(--tf-ta-blue-dark); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .tf-ta-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .tf-ta-hero-media { order: -1; }
    .tf-ta-hero-drop { width: 120px; height: 120px; }
    .tf-ta-features-grid { grid-template-columns: repeat(2, 1fr); }
    .tf-ta-solutions-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .tf-ta-apps-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

    /* Steps in 2x2 con frecce nascoste */
    .tf-ta-steps { flex-wrap: wrap; gap: 36px 0; }
    .tf-ta-step { flex: 0 0 50%; max-width: 50%; }
    .tf-ta-step-arrow { display: none; }
}

@media (max-width: 768px) {
    .tf-ta-hero { padding: 50px 0 60px; }
    .tf-ta-hero-title { font-size: 36px; }
    .tf-ta-hero-sub { font-size: 16px; }
    .tf-ta-section-title { font-size: 26px; }
    .tf-ta-cta-title { font-size: 28px; }
    .tf-ta-faq-grid { grid-template-columns: 1fr; }
    .tf-ta-features, .tf-ta-solutions, .tf-ta-how, .tf-ta-apps, .tf-ta-faq { padding: 56px 0; }
}

@media (max-width: 480px) {
    .tf-ta-container { padding: 0 16px; }
    .tf-ta-hero-title { font-size: 30px; }
    .tf-ta-section-title { font-size: 23px; }
    .tf-ta-cta-title { font-size: 24px; }
    .tf-ta-features-grid { grid-template-columns: 1fr; }
    .tf-ta-step { flex: 0 0 100%; max-width: 100%; }
    .tf-ta-partners-row { gap: 30px; }
    .tf-ta-btn, .tf-ta-hero-btn { width: 100%; text-align: center; }
    .tf-ta-cta-actions { flex-direction: column; }
}
