/* ============================================================
   Home V3 — Awwwards-Level Medical Design
   Palette: teal caldo + oro/rame | Tipografia: Playfair + Inter
   ============================================================ */

/* ------------------------------------------------
   Design Tokens
   ------------------------------------------------ */
:root {
  --hp-teal:        #1a7f8a;
  --hp-teal-dark:   #0f5b6b;
  --hp-teal-light:  #e8f4f6;
  --hp-gold:        #c8956c;
  --hp-gold-light:  #f5ebe0;
  --hp-ink:         #1a1a2e;
  --hp-ink-light:   #3d3d56;
  --hp-body:        #4a4a5a;
  --hp-muted:       #8e8e9a;
  --hp-surface:     #faf9f7;
  --hp-white:       #ffffff;
  --hp-border:      #e8e6e1;
  --hp-radius-sm:   6px;
  --hp-radius:      12px;
  --hp-radius-lg:   20px;
  --hp-shadow-sm:   0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.03);
  --hp-shadow:      0 4px 20px rgba(0,0,0,0.06);
  --hp-shadow-lg:   0 8px 40px rgba(0,0,0,0.08);
  --hp-transition:  0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  --hp-font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --hp-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ------------------------------------------------
   Reveal Animation (driven by IntersectionObserver)
   ------------------------------------------------ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------
   Typography
   ------------------------------------------------ */
.hp-eyebrow {
  font-family: var(--hp-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--hp-teal);
  margin: 0 0 12px;
}
.hp-eyebrow--light { color: rgba(255,255,255,0.8); }

.hp-section-title {
  font-family: var(--hp-font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hp-ink);
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hp-section-title--light { color: var(--hp-white); }

/* ------------------------------------------------
   Section Layout
   ------------------------------------------------ */
.hp-section-header { text-align: center; margin-bottom: 56px; }

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hp-font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--hp-transition);
  line-height: 1;
}

.hp-btn--primary {
  background: var(--hp-teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,127,138,0.25);
}
.hp-btn--primary:hover,
.hp-btn--primary:focus-visible {
  background: var(--hp-teal-dark);
  box-shadow: 0 6px 20px rgba(26,127,138,0.35);
  transform: translateY(-1px);
  color: #fff;
}

.hp-btn--ghost {
  background: transparent;
  color: var(--hp-ink);
  border: 1.5px solid var(--hp-border);
  box-shadow: none;
}
.hp-btn--ghost:hover,
.hp-btn--ghost:focus-visible {
  border-color: var(--hp-teal);
  color: var(--hp-teal);
  background: var(--hp-teal-light);
}

.hp-btn--gold {
  background: var(--hp-gold);
  color: #4a2c18;
  box-shadow: 0 4px 14px rgba(200,149,108,0.3);
}
.hp-btn--gold:hover,
.hp-btn--gold:focus-visible {
  background: #b8804f;
  box-shadow: 0 6px 20px rgba(200,149,108,0.4);
  transform: translateY(-1px);
  color: #4a2c18;
}

.hp-btn--lg { padding: 17px 38px; font-size: 15px; }
.hp-btn--block { width: 100%; justify-content: center; }

/* ------------------------------------------------
   HERO — Split Layout
   ------------------------------------------------ */
.hp-hero {
  position: relative;
  background: var(--hp-surface);
  overflow: hidden;
  padding: 80px 0 40px;
}
@media (min-width: 768px) { .hp-hero { padding: 120px 0 80px; } }

.hp-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 992px) {
  .hp-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 0 40px;
  }
}

/* Hero Visual (photo) */
.hp-hero-visual {
  position: relative;
  order: 1;
}
@media (min-width: 992px) { .hp-hero-visual { order: 2; } }

.hp-hero-frame {
  position: relative;
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 600px;
  box-shadow: var(--hp-shadow-lg);
}
.hp-hero-portrait {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.hp-hero-frame-decor {
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--hp-teal);
  border-top-left-radius: var(--hp-radius);
  opacity: 0.8;
}
@media (min-width: 768px) {
  .hp-hero-frame-decor { width: 120px; height: 120px; }
}

.hp-hero-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  padding: 14px 20px;
  box-shadow: var(--hp-shadow-lg);
  display: none;
  z-index: 2;
}
@media (min-width: 768px) { .hp-hero-badge { display: block; } }

.hp-hero-badge-num {
  display: block;
  font-family: var(--hp-font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--hp-teal);
  line-height: 1;
}
.hp-hero-badge-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Hero Text */
.hp-hero-text {
  order: 2;
  max-width: 540px;
}
@media (min-width: 992px) { .hp-hero-text { order: 1; } }

.hp-hero-title {
  font-family: var(--hp-font-display);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--hp-ink);
  margin: 0 0 24px;
  letter-spacing: -1px;
}
.hp-hero-title-line { display: block; }
.hp-hero-title-line--accent { color: var(--hp-teal); font-style: italic; }

.hp-hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hp-body);
  margin: 0 0 32px;
  max-width: 460px;
}
@media (min-width: 768px) { .hp-hero-desc { font-size: 17px; } }

.hp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hp-hero-trust {
  font-size: 12px;
  color: var(--hp-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero Wave */
.hp-hero-wave {
  color: var(--hp-white);
  margin-top: 40px;
  line-height: 0;
}
.hp-hero-wave svg { width: 100%; height: 80px; display: block; }
@media (max-width: 767px) { .hp-hero-wave { display: none; } }

/* ------------------------------------------------
   NAV PILLS
   ------------------------------------------------ */
.hp-pills {
  background: var(--hp-white);
  padding: 40px 0 60px;
}
@media (min-width: 768px) { .hp-pills { padding: 48px 0 80px; } }

.hp-pills-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .hp-pills-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.hp-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--hp-surface);
  border-radius: var(--hp-radius);
  text-decoration: none;
  transition: all var(--hp-transition);
  border: 1px solid transparent;
}
.hp-pill:hover {
  background: var(--hp-white);
  border-color: var(--hp-border);
  box-shadow: var(--hp-shadow);
  transform: translateY(-2px);
}
.hp-pill:hover .hp-pill-arrow { opacity: 1; transform: translateX(0); }

.hp-pill-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--hp-teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hp-teal);
}
.hp-pill-text strong {
  display: block;
  font-family: var(--hp-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-ink);
  margin-bottom: 3px;
}
.hp-pill-text small {
  display: block;
  font-size: 13px;
  color: var(--hp-muted);
  line-height: 1.4;
}
.hp-pill-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--hp-teal);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--hp-transition);
  flex-shrink: 0;
}
@media (max-width: 767px) { .hp-pill-arrow { opacity: 0.4; transform: none; } }

/* ------------------------------------------------
   CHI SONO
   ------------------------------------------------ */
.hp-about { padding: 80px 0; background: var(--hp-white); }
@media (min-width: 768px) { .hp-about { padding: 100px 0; } }

.hp-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .hp-about-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.hp-about-text .hp-section-title { margin-bottom: 20px; }

.hp-about-p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--hp-body);
  margin-bottom: 28px;
}

.hp-about-visual { position: relative; }

.hp-about-frame {
  position: relative;
  border-radius: 50% 50% 10px 50%;
  overflow: hidden;
  box-shadow: var(--hp-shadow-lg);
  aspect-ratio: 3/4;
  max-width: 440px;
  margin-left: auto;
}
@media (max-width: 991px) {
  .hp-about-frame { margin: 0 auto; max-width: 360px; }
}
.hp-img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

.hp-frame-accent {
  position: absolute;
  top: -12px; right: -12px;
  width: 40px; height: 40px;
  background: var(--hp-teal);
  border-radius: 50%;
  z-index: 1;
}
@media (min-width: 768px) { .hp-frame-accent { width: 56px; height: 56px; } }

/* ------------------------------------------------
   PATOLOGIE TRATTATE
   ------------------------------------------------ */
.hp-pato {
  padding: 80px 0;
  background: var(--hp-surface);
}
@media (min-width: 768px) { .hp-pato { padding: 100px 0; } }

.hp-pato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px)  { .hp-pato-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px)  { .hp-pato-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.hp-pato-card {
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  padding: 28px 24px 24px;
  border: 1px solid var(--hp-border);
  transition: all var(--hp-transition);
  display: flex;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.hp-pato-card:hover {
  border-color: var(--hp-teal);
  box-shadow: var(--hp-shadow);
  transform: translateY(-3px);
}
.hp-pato-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--hp-teal);
  transition: height 0.4s ease;
}
.hp-pato-card:hover::before { height: 100%; }

.hp-pato-num {
  font-family: var(--hp-font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--hp-teal-light);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--hp-transition);
}
.hp-pato-card:hover .hp-pato-num { opacity: 1; color: var(--hp-teal); }

.hp-pato-content { flex: 1; }

.hp-pato-name {
  font-family: var(--hp-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-ink);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
}
@media (min-width: 768px) { .hp-pato-name { font-size: 17px; } }

.hp-pato-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--hp-body);
  margin: 0 0 14px;
}

.hp-pato-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-teal);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.hp-pato-link:hover { gap: 8px; color: var(--hp-teal-dark); }

/* ------------------------------------------------
   TELEMEDICINA
   ------------------------------------------------ */
.hp-tele {
  position: relative;
  background: var(--hp-teal-dark);
  padding: 80px 0;
  overflow: hidden;
}
@media (min-width: 768px) { .hp-tele { padding: 100px 0; } }

.hp-tele-bg { position: absolute; inset: 0; overflow: hidden; }

.hp-tele-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hp-tele-orb--1 { width: 300px; height: 300px; top: -100px; right: -80px; }
.hp-tele-orb--2 { width: 200px; height: 200px; bottom: -60px; left: 10%; }
.hp-tele-orb--3 { width: 140px; height: 140px; top: 40%; left: 60%; }
@media (max-width: 767px) {
  .hp-tele-orb--1 { width: 180px; height: 180px; }
  .hp-tele-orb--2 { width: 120px; height: 120px; }
}

.hp-tele-content {
  position: relative; z-index: 1;
  max-width: 620px;
}

.hp-tele-p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 12px 0;
}

.hp-tele-note {
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin: 8px 0 28px;
}

/* ------------------------------------------------
   DOVE VISITO — Timeline
   ------------------------------------------------ */
.hp-sedi { padding: 80px 0; background: var(--hp-white); }
@media (min-width: 768px) { .hp-sedi { padding: 100px 0; } }

.hp-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-left: 24px;
}
.hp-timeline::before {
  content: '';
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--hp-teal), var(--hp-border), var(--hp-teal));
}

.hp-timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 32px;
}

.hp-timeline-marker {
  position: absolute; left: -24px; top: 6px;
  width: 16px; height: 16px;
}
.hp-timeline-dot {
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--hp-white);
  border: 2px solid var(--hp-teal);
}

.hp-timeline-card {
  background: var(--hp-surface);
  border-radius: var(--hp-radius);
  padding: 22px 24px;
  border: 1px solid var(--hp-border);
  transition: all var(--hp-transition);
}
.hp-timeline-card:hover {
  border-color: var(--hp-teal);
  box-shadow: var(--hp-shadow);
}

.hp-timeline-name {
  font-family: var(--hp-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--hp-ink);
  margin: 0 0 4px;
}

.hp-timeline-addr {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 0 0 8px;
}

.hp-timeline-desc {
  font-size: 13px;
  color: var(--hp-body);
  margin: 0;
  font-style: italic;
}

/* ------------------------------------------------
   ORARI — CTA centrata
   ------------------------------------------------ */
.hp-orari { padding: 80px 0; background: var(--hp-surface); }
@media (min-width: 768px) { .hp-orari { padding: 100px 0; } }

.hp-orari-cta {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.hp-orari-p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--hp-body);
  margin-bottom: 28px;
}

/* ------------------------------------------------
   CHI SONO EXTENDED — Full width
   ------------------------------------------------ */
.hp-about-ext { background: var(--hp-white); }

.hp-about-ext-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px) {
  .hp-about-ext-grid { grid-template-columns: 1fr 1fr; }
}

.hp-about-ext-visual {
  min-height: 400px;
  overflow: hidden;
}
@media (min-width: 768px) { .hp-about-ext-visual { min-height: 560px; } }

.hp-about-ext-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.hp-about-ext-text {
  padding: 48px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 768px) { .hp-about-ext-text { padding: 64px 56px; } }
@media (min-width: 992px) { .hp-about-ext-text { padding: 80px 72px; } }

.hp-about-ext-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-ink);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hp-about-ext-p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--hp-body);
  margin-bottom: 28px;
}

/* ------------------------------------------------
   CONTATTAMI
   ------------------------------------------------ */
.hp-contact { padding: 80px 0; background: var(--hp-surface); }
@media (min-width: 768px) { .hp-contact { padding: 100px 0; } }

.hp-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 992px) {
  .hp-contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.hp-contact-sub {
  font-size: 15px;
  color: var(--hp-body);
  margin-bottom: 32px;
}

.hp-contact-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 20px;
}

.hp-contact-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--hp-body);
}

.hp-contact-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--hp-teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--hp-teal);
}

.hp-contact-list strong {
  font-size: 13px; color: var(--hp-ink); font-family: var(--hp-font-body);
}
.hp-contact-list a { color: var(--hp-teal); text-decoration: none; }
.hp-contact-list a:hover { color: var(--hp-teal-dark); }

/* Form */
.hp-contact-form {
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  padding: 36px 28px;
  box-shadow: var(--hp-shadow);
}
@media (min-width: 768px) { .hp-contact-form { padding: 44px 36px; } }

.hp-form-field { margin-bottom: 20px; }
.hp-form-field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--hp-ink-light); margin-bottom: 6px;
}
.hp-req { color: #e05555; }

.hp-form-field input[type="text"],
.hp-form-field input[type="email"],
.hp-form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-family: var(--hp-font-body);
  font-size: 15px;
  background: var(--hp-surface);
  color: var(--hp-ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.hp-form-field input:focus,
.hp-form-field textarea:focus {
  outline: none;
  border-color: var(--hp-teal);
  box-shadow: 0 0 0 3px rgba(26,127,138,0.1);
  background: var(--hp-white);
}
.hp-form-field textarea { resize: vertical; min-height: 120px; }

.hp-form-consent label {
  display: flex !important;
  align-items: flex-start; gap: 10px;
  font-size: 12px !important; font-weight: 400 !important;
  color: var(--hp-muted) !important; line-height: 1.5;
}
.hp-form-consent input[type="checkbox"] {
  margin-top: 2px; flex-shrink: 0;
  width: 16px; height: 16px; accent-color: var(--hp-teal);
}
.hp-form-consent a { color: var(--hp-teal); font-weight: 500; text-decoration: underline; }
.hp-form-consent a:hover { color: var(--hp-ink); }

/* CF7 compatibility */
.hp-contact-form .wpcf7-form input[type="text"],
.hp-contact-form .wpcf7-form input[type="email"],
.hp-contact-form .wpcf7-form input[type="tel"],
.hp-contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-family: var(--hp-font-body);
  font-size: 15px;
  margin-bottom: 14px;
  background: var(--hp-surface);
}
.hp-contact-form .wpcf7-form input[type="submit"] {
  background: var(--hp-teal);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--hp-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--hp-transition);
  width: 100%;
  box-shadow: 0 4px 14px rgba(26,127,138,0.25);
}
.hp-contact-form .wpcf7-form input[type="submit"]:hover {
  background: var(--hp-teal-dark);
  box-shadow: 0 6px 20px rgba(26,127,138,0.35);
}

/* ------------------------------------------------
   TESTIMONIANZE — Carousel
   ------------------------------------------------ */
.hp-testimonials { padding: 80px 0; background: var(--hp-white); }
@media (min-width: 768px) { .hp-testimonials { padding: 100px 0; } }

.hp-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hp-carousel-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--hp-radius);
}

.hp-carousel-slide {
  flex: 0 0 100%;
  padding: 0 4px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hp-testi-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 32px 28px;
  margin: 0;
  height: 100%;
}

.hp-testi-stars {
  color: var(--hp-gold);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.hp-testi-text {
  font-size: 15px;
  font-style: italic;
  color: var(--hp-body);
  line-height: 1.7;
  margin: 0 0 20px;
}

.hp-testi-author strong {
  color: var(--hp-ink);
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
}

.hp-testi-author span {
  display: block;
  font-size: 12px;
  color: var(--hp-muted);
  margin-top: 2px;
  font-style: normal;
}

/* Carousel controls */
.hp-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hp-carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--hp-border);
  background: var(--hp-white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--hp-ink);
  transition: all var(--hp-transition);
}
.hp-carousel-btn:hover {
  border-color: var(--hp-teal);
  color: var(--hp-teal);
}

.hp-carousel-dots {
  display: flex; gap: 8px;
}

.hp-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hp-border);
  border: none; cursor: pointer; padding: 0;
  transition: all var(--hp-transition);
}
.hp-carousel-dot.active {
  background: var(--hp-teal);
  width: 24px;
  border-radius: 4px;
}

/* ------------------------------------------------
   CTA FINALE
   ------------------------------------------------ */
.hp-cta-final { padding: 80px 0; background: var(--hp-surface); }
@media (min-width: 768px) { .hp-cta-final { padding: 100px 0; } }

.hp-cta-final-card {
  background: linear-gradient(135deg, var(--hp-teal-dark), var(--hp-teal));
  border-radius: var(--hp-radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 12px 40px rgba(15,91,107,0.25);
}
@media (min-width: 768px) { .hp-cta-final-card { padding: 64px 48px; } }

.hp-cta-final-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 767px) {
  .hp-hero { padding: 40px 0 20px; }
  .hp-hero-grid { gap: 32px; }
  .hp-hero-text { text-align: center; }
  .hp-hero-desc { margin-left: auto; margin-right: auto; }
  .hp-hero-actions { justify-content: center; }
  .hp-hero-trust { text-align: center; }

  .hp-about-frame { max-width: 280px; }
  .hp-about-text { text-align: center; }

  .hp-about-ext-text { padding: 36px 24px; }
  .hp-about-ext-visual { min-height: 280px; }

  .hp-section-title { font-size: 26px; }

  .hp-pills { padding: 24px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-pato-card::before { transition: none; }
  .hp-pato-card:hover::before { height: 100%; transition: none; }
}