/* ==========================================================================
   Template 335: HEALTHCARE - Healthcare & Insurance Services
   Faithful recreation of original template layout from webdemo.cloud/sitishop.it
   ========================================================================== */

:root {
  --primary: #005ca2;
  --primary-hover: #00457a;
  --accent-blue: #4A85C5;
  --btn-blue: #387ac5;
  --dark-footer: #212529;
  --sub-footer: #18181b;
  --bg-light: #ffffff;
  --bg-grey: #f1f5f9;
  --text-dark: #222222;
  --text-body: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-card: 28px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  background-image: url('images/bg_header_facets.jpg');
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #334155;
  padding: 8px 0;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.header-user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header-user-btn:hover {
  color: var(--primary-hover);
  transform: scale(1.1);
}

/* ==========================================================================
   HERO SECTION (Skyscraper with geometric overlays)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 600px;
  background-color: #f1f5f9;
  background-image: url('images/hero_building.jpg');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Angular & Gradient Overlays matching original */
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 35%, rgba(255,255,255,0.3) 70%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.hero-overlay-poly {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(3px);
  clip-path: polygon(0 45%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding: 80px 0;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.65;
  font-weight: 400;
}

/* ==========================================================================
   ABOUT SECTION (Professional Woman + 3 Icons)
   ========================================================================== */
.about-section {
  padding: 90px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-eyebrow {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.about-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-point-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.point-icon {
  font-size: 1.75rem;
  color: var(--primary);
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

/* ==========================================================================
   MEETING BLUE SECTION (Team table + blue overlay + 3 columns)
   ========================================================================== */
.meeting-section {
  position: relative;
  background-color: #0b1f3a;
  background-image: url('images/bg_meeting_blue.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 95px 0 105px;
  color: #ffffff;
  overflow: hidden;
}

.meeting-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 38, 77, 0.82);
  z-index: 1;
}

.meeting-content {
  position: relative;
  z-index: 2;
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.meeting-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meeting-col-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.meeting-col-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

.btn-pill-blue {
  background: var(--btn-blue);
  color: #ffffff;
  padding: 10px 36px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.btn-pill-blue:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   SERVICES SECTION (4 Rounded Illustration Cards)
   ========================================================================== */
.services-section {
  padding: 95px 0 105px;
  background: #ffffff;
}

.section-title-center {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* ==========================================================================
   FEATURED BANNER SECTION (Blue background + White Card with Curved Building)
   ========================================================================== */
.featured-section {
  background-color: var(--accent-blue);
  padding: 85px 0;
}

.featured-card-split {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.featured-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-logo {
  height: 48px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 24px;
}

.featured-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 18px;
}

.featured-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 14px;
}

.featured-image-col img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   NEWS / FAMILY PROTECTION CARDS SECTION (3 Cards)
   ========================================================================== */
.news-section {
  padding: 90px 0;
  background-color: var(--bg-grey);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.news-card-img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 26px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.35;
}

.news-card-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER & COPYRIGHT
   ========================================================================== */
.main-footer {
  background-color: var(--dark-footer);
  color: #ffffff;
  padding: 55px 0 40px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 400px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  color: #ffffff;
}

.sub-footer {
  background-color: var(--sub-footer);
  padding: 18px 0;
  text-align: center;
  color: #a1a1aa;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap img {
    height: 360px;
  }
  .meeting-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card-split {
    grid-template-columns: 1fr;
  }
  .featured-image-col img {
    min-height: 280px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-row {
    height: 80px;
  }
  .main-nav {
    display: none;
  }
  .hero-section {
    min-height: 480px;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .featured-content {
    padding: 32px 24px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   PAGE SPECIFIC STYLES (Consolidated from in-page <style> tags)
   ========================================================================== */

/* Extracted from chi-siamo.php */
.page-hero {
      position: relative;
      background: linear-gradient(135deg, rgba(14, 38, 77, 0.88), rgba(0, 92, 162, 0.8)), url('images/hero_building.jpg') center/cover no-repeat;
      padding: 85px 0 75px;
      color: #ffffff;
      text-align: center;
    }
    .page-hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 16px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .page-hero p {
      font-size: 1.15rem;
      max-width: 680px;
      margin: 0 auto;
      color: #e2e8f0;
      line-height: 1.6;
    }

/* Extracted from contatti.php */
.page-hero {
      position: relative;
      background: linear-gradient(135deg, rgba(14, 38, 77, 0.88), rgba(0, 92, 162, 0.8)), url('images/hero_building.jpg') center/cover no-repeat;
      padding: 85px 0 75px;
      color: #ffffff;
      text-align: center;
    }
    .page-hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 16px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .page-hero p {
      font-size: 1.15rem;
      max-width: 680px;
      margin: 0 auto;
      color: #e2e8f0;
      line-height: 1.6;
    }
    .contacts-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 48px;
      padding: 85px 0 100px;
    }
    .contact-form-box {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 40px;
      box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    }
    .contact-form-box h3 {
      font-size: 1.6rem;
      font-weight: 800;
      color: #1e293b;
      margin-bottom: 12px;
    }
    .contact-form-box p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 28px;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-group label {
      display: block;
      font-size: 0.88rem;
      font-weight: 600;
      color: #334155;
      margin-bottom: 6px;
    }
    .form-control {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.2s;
    }
    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 92, 162, 0.12);
    }
    .contact-info-cards {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .info-card-item {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 24px;
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }
    .info-card-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(0, 92, 162, 0.1);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }
    .info-card-text h4 {
      font-size: 1.1rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 4px;
    }
    .info-card-text p {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    @media (max-width: 991px) {
      .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

/* Extracted from polizza.php */
.breadcrumb-wrap {
      padding: 1rem 0;
      background: #f1f5f9;
      border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .breadcrumb-nav a {
      color: var(--navy);
      font-weight: 700;
    }
    .breadcrumb-nav a:hover {
      color: var(--primary);
    }
    .breadcrumb-sep {
      color: var(--text-light);
    }

    .policy-detail-section {
      padding: 3.5rem 0 5rem;
      background: #ffffff;
    }
    .policy-grid-layout {
      display: grid;
      grid-template-columns: 1.45fr 1fr;
      gap: 3.5rem;
      align-items: start;
    }
    @media (max-width: 991px) {
      .policy-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
    }

    .policy-hero-card {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      margin-bottom: 2.5rem;
    }
    .policy-hero-img {
      width: 100%;
      height: 360px;
      object-fit: cover;
    }
    .policy-hero-body {
      padding: 2rem;
      background: #ffffff;
    }
    .policy-badge-row {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }
    .badge-tag-poly {
      background: #eff6ff;
      color: var(--primary);
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-full);
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
    }
    .badge-price-poly {
      background: #ecfdf5;
      color: #059669;
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      font-weight: 800;
      margin-left: auto;
    }

    .policy-h1 {
      font-size: 2.3rem;
      font-weight: 900;
      color: var(--navy);
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 0.5rem;
    }
    .policy-sub {
      color: var(--text-muted);
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }
    .policy-lead-desc {
      font-size: 1.05rem;
      line-height: 1.7;
      color: var(--text-main);
      margin-bottom: 2rem;
    }

    /* Coverage Table */
    .coverage-specs-table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.5rem 0;
    }
    .coverage-specs-table th, .coverage-specs-table td {
      padding: 0.9rem 1.1rem;
      border-bottom: 1px solid var(--border);
      text-align: left;
    }
    .coverage-specs-table th {
      width: 35%;
      font-weight: 800;
      color: var(--navy);
      background: #f8fafc;
    }

    /* Features List */
    .features-list-box {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.75rem;
      margin: 2rem 0;
    }
    .features-list-box h3 {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 1rem;
    }
    .features-poly-ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .features-poly-ul li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--navy);
    }
    .features-poly-ul li i {
      color: #10b981;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    /* Interactive Quote Box */
    .quote-sidebar-box {
      position: sticky;
      top: 90px;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2.25rem;
      box-shadow: var(--shadow-lg);
    }
    .quote-sidebar-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 0.35rem;
    }
    .quote-sidebar-sub {
      color: var(--text-muted);
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }

    .quote-form-cell {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 1rem;
    }
    .quote-form-cell label {
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--navy);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .quote-form-cell input, .quote-form-cell select {
      padding: 0.7rem 0.9rem;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 0.92rem;
      outline: none;
      transition: var(--transition);
    }
    .quote-form-cell input:focus, .quote-form-cell select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    .quote-price-result {
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: var(--radius-md);
      padding: 1.25rem;
      margin: 1.25rem 0;
      text-align: center;
    }
    .quote-price-result .price-big {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 0.25rem;
    }
    .quote-price-result .price-note {
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    .btn-quote-send {
      width: 100%;
      padding: 0.95rem;
      background: var(--primary);
      color: #ffffff;
      border: none;
      border-radius: var(--radius-sm);
      font-weight: 800;
      font-size: 1rem;
      cursor: pointer;
      transition: var(--transition);
    }
    .btn-quote-send:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
    }

    .btn-quote-wa {
      width: 100%;
      padding: 0.85rem;
      background: #25D366;
      color: #fff;
      border-radius: var(--radius-sm);
      font-weight: 800;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 0.65rem;
      text-decoration: none;
      transition: var(--transition);
    }
    .btn-quote-wa:hover {
      background: #1eb857;
      color: #fff;
    }

    /* Other policies section */
    .other-policies-section {
      background: #f8fafc;
      padding: 4.5rem 0;
      border-top: 1px solid var(--border);
    }

/* Extracted from polizze.php */
.breadcrumb-wrap {
      padding: 1rem 0;
      background: #f1f5f9;
      border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .breadcrumb-nav a {
      color: var(--navy);
      font-weight: 700;
    }
    .breadcrumb-nav a:hover {
      color: var(--primary);
    }

    .polizze-hero-banner {
      background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%);
      color: #ffffff;
      padding: 4.5rem 0 3.5rem;
      text-align: center;
    }
    .polizze-hero-banner h1 {
      font-size: 2.8rem;
      font-weight: 900;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }
    .polizze-hero-banner p {
      color: #94a3b8;
      font-size: 1.15rem;
      max-width: 650px;
      margin: 0 auto;
    }

    .polizze-list-section {
      padding: 4.5rem 0 6rem;
      background: #ffffff;
    }

/* Extracted from servizi.php */
.page-hero {
      position: relative;
      background: linear-gradient(135deg, rgba(14, 38, 77, 0.88), rgba(0, 92, 162, 0.8)), url('images/hero_building.jpg') center/cover no-repeat;
      padding: 85px 0 75px;
      color: #ffffff;
      text-align: center;
    }
    .page-hero h1 {
      font-size: 2.8rem;
      font-weight: 800;
      margin-bottom: 16px;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .page-hero p {
      font-size: 1.15rem;
      max-width: 680px;
      margin: 0 auto;
      color: #e2e8f0;
      line-height: 1.6;
    }
    .services-detail-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 36px;
      padding: 80px 0;
    }
    .service-detail-box {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: 0 6px 20px rgba(0,0,0,0.04);
      display: flex;
      flex-direction: column;
      transition: var(--transition);
    }
    .service-detail-box:hover {
      transform: translateY(-5px);
      box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    }
    .service-detail-img-wrap {
      background: #f8fafc;
      padding: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid var(--border);
    }
    .service-detail-img-wrap img {
      max-height: 220px;
      object-fit: contain;
    }
    .service-detail-body {
      padding: 32px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .service-detail-subtitle {
      color: var(--primary);
      font-weight: 700;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin-bottom: 8px;
    }
    .service-detail-title {
      font-size: 1.4rem;
      font-weight: 800;
      color: #1e293b;
      margin-bottom: 14px;
    }
    .service-detail-desc {
      font-size: 0.95rem;
      color: var(--text-body);
      line-height: 1.65;
      margin-bottom: 24px;
      flex: 1;
    }
    @media (max-width: 768px) {
      .services-detail-grid {
        grid-template-columns: 1fr;
      }
      .page-hero h1 {
        font-size: 2.1rem;
      }
    }

/* Extracted from sinistri.php */
.breadcrumb-wrap {
      padding: 1rem 0;
      background: #f1f5f9;
      border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .breadcrumb-nav a {
      color: var(--navy);
      font-weight: 700;
    }
    .breadcrumb-nav a:hover {
      color: var(--primary);
    }

    .sinistri-hero {
      background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
      color: #ffffff;
      padding: 4.5rem 0 3.5rem;
      text-align: center;
    }
    .sinistri-hero h1 {
      font-size: 2.8rem;
      font-weight: 900;
      margin-bottom: 0.75rem;
    }
    .sinistri-hero p {
      color: #fca5a5;
      font-size: 1.15rem;
      max-width: 680px;
      margin: 0 auto;
    }

    .claim-form-card {
      background: #ffffff;
      padding: 2.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
    }
    .form-group-cl {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 1.15rem;
    }
    .form-group-cl label {
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--navy);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .form-group-cl input, .form-group-cl select, .form-group-cl textarea {
      padding: 0.75rem 1rem;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 0.95rem;
      outline: none;
      transition: var(--transition);
    }
    .form-group-cl input:focus, .form-group-cl select:focus, .form-group-cl textarea:focus {
      border-color: #dc2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    }


/* Responsive Layout Grid Utilities (Auto-migrated from inline styles) */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-split-responsive {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.grid-split-rev-responsive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.grid-3col-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4col-responsive {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .grid-4col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3col-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
  }
}


/* Comprehensive Mobile Polish (360px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  button, .btn, .nav-link, a.btn {
    min-height: 42px;
  }
  
  h1, .hero-title, .page-hero-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
    line-height: 1.25 !important;
  }
  h2, .section-title, .shelf-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
  }
  
  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .grid-2col-responsive,
  .grid-3col-responsive,
  .grid-4col-responsive,
  .grid-split-responsive,
  .grid-split-rev-responsive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
}
