
/*
Theme Name: Debora Di Paolo - Fisioterapia
Author: Alessandro
Description: Tema WordPress personalizzato per Debora Di Paolo.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: debora-di-paolo
*/

:root {
  --ink: #178bb5;
  --ink-dark: #116f91;
  --sage: #178bb5;
  --sage-light: #eaf6fa;
  --cream: #ffffff;
  --paper: #ffffff;
  --body: #414b50;
  --line: #e0e8eb;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font: 16px/1.7 var(--sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--sage);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  z-index: 1000;
  padding: 12px;
  background: white;
}

/* Header e logo */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid #e9e9e2;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  width: 35px;
  height: 47px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--sage);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font: 600 22px var(--serif);
}

.brand-copy small {
  margin-top: 7px;
  color: #7a8779;
  font-size: 9px;
  letter-spacing: 2.4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #263e47;
  font-size: 13px;
}

.main-nav a {
  padding: 12px 0;
}

.menu-toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

/* Pulsanti */

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 23px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s, color .2s;
}

.button:hover {
  background: var(--ink-dark);
  color: white;
}

.button-small {
  min-height: 39px;
  padding: 10px 17px;
  font-size: 12px;
}

.button-outline {
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--ink);
  color: white;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.button-light:hover {
  background: var(--sage-light);
  color: var(--ink);
}

/* Hero homepage */

.hero {
  position: relative;
  min-height: 555px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f8f7f1;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 38%;
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fbfaf6 0%,
    rgba(251,250,246,.97) 32%,
    rgba(251,250,246,.6) 54%,
    rgba(251,250,246,.02) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--sage);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.16;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -.8px;
}

h1 {
  max-width: 640px;
  margin: 0 0 20px;
  font-size: clamp(48px, 6vw, 74px);
}

h1 em,
h2 em {
  font-weight: 500;
}

.hero-lead {
  max-width: 460px;
  margin-bottom: 25px;
  font-size: 17px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

/* Fascia dei valori */

.values-strip {
  padding: 24px 0;
  background: var(--sage-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 5px 26px;
  border-right: 1px solid #cbd1c4;
}

.value-item:first-child {
  padding-left: 0;
}

.value-item:last-child {
  border: 0;
}

.line-icon {
  min-width: 40px;
  color: var(--sage);
  font: 40px/1 var(--serif);
}

.value-item h2 {
  margin: 0 0 5px;
  font-size: 16px;
  letter-spacing: 0;
}

.value-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

/* Sezioni e trattamenti */

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 27px;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 45px);
}

.section-heading > p:not(.eyebrow) {
  margin-top: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.treatment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.treatment-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 21px;
}

.card-body h3 {
  margin: 0 0 8px;
  font: 500 21px var(--serif);
}

.card-body p {
  font-size: 13px;
  line-height: 1.65;
}

.text-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.centered-action {
  margin-top: 28px;
  text-align: center;
}

/* Sezione La dottoressa */

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  background: #f1f1e9;
}

.about-photo {
  min-height: 400px;
  background-position: center 30%;
  background-size: cover;
}

.about-copy {
  align-self: center;
  padding: 55px clamp(30px, 6vw, 85px);
}

.about-copy h2 {
  font-size: clamp(32px, 4vw, 45px);
}

/* Invito al contatto */

.contact-banner {
  padding: 40px 0;
  background: var(--ink);
  color: white;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-banner h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 29px;
}

.contact-banner p {
  margin: 0;
  color: rgba(255,255,255,.82);
}

.eyebrow-light {
  color: #d3dfca;
}

.eyebrow-light span {
  background: #d3dfca;
}

/* Footer */

.site-footer {
  background: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  align-items: center;
  gap: 22px;
  padding: 31px 0 25px;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-contact > span {
  color: var(--sage);
  font-size: 23px;
}

.footer-contact strong {
  color: var(--ink);
  font-size: 12px;
}

.footer-contact p {
  margin: 3px 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0 19px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.footer-bottom nav,
.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  width: 100%;
  margin: 3px 0;
  color: #858b86;
}

/* Pagine interne */

.page-hero {
  padding: 65px 0 55px;
  background: linear-gradient(110deg, #f1f2eb, #fbfaf6);
}

.page-hero h1 {
  font-size: clamp(44px, 5.4vw, 65px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 17px;
}

.prose {
  max-width: 850px;
}

.prose h2 {
  font: 500 32px var(--serif);
}

.prose p {
  margin-bottom: 18px;
}

.profile-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  max-height: 650px;
  min-height: 520px;
  border-radius: 150px 150px 12px 12px;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-top: 30px;
}

.feature-grid article {
  padding-top: 18px;
  border-top: 1px solid #c6cfc0;
}

.feature-grid h3 {
  font: 500 21px var(--serif);
}

.treatment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.treatment-detail {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.treatment-detail h2 {
  margin: 0 0 9px;
  font-size: 23px;
  letter-spacing: -.3px;
}

.treatment-detail p {
  margin: 0;
  font-size: 14px;
}

.treatment-detail .tag {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.soft-section {
  padding: 58px 0;
  background: var(--sage-light);
}

/* Contatti e modulo */

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: 55px;
}

.contact-form-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.contact-form-wrap h2 {
  font-size: 29px;
}

.contact-detail {
  display: flex;
  gap: 15px;
  margin: 22px 0;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sage);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0;
  font-size: 11px;
  line-height: 1.5;
}

.small-note {
  padding: 13px;
  border-radius: 8px;
  background: #f0f1eb;
  color: #737b78;
  font-size: 11px;
}

.success,
.error {
  padding: 13px;
  border-radius: 8px;
}

.success {
  background: #eaf3e8;
  color: #285d35;
}

.error {
  background: #f9e9e6;
  color: #8b2929;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.portrait-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.portrait-row img {
  width: 100%;
  height: 340px;
  border-radius: 12px;
  object-fit: cover;
}

/* Tablet */

@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    gap: 28px;
  }
}

/* Smartphone */

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 30px;
    height: 39px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: var(--paper);
    box-shadow: 0 18px 45px #16394414;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 650px;
    align-items: flex-end;
  }

  .hero-image {
    inset: 0 0 38% 0;
    background-position: center 24%;
  }

  .hero::after {
    background: linear-gradient(
      0deg,
      #fbfaf6 0%,
      rgba(251,250,246,.97) 40%,
      rgba(251,250,246,.08) 100%
    );
  }

  .hero-content {
    padding: 290px 0 38px;
  }

  h1 {
    font-size: clamp(43px, 11.5vw, 58px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .button-row {
    gap: 9px;
  }

  .button {
    padding: 12px 17px;
  }

  .values-grid,
  .cards-grid,
  .feature-grid,
  .profile-layout,
  .contact-layout,
  .treatment-list {
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item:first-child {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #cbd1c4;
  }

  .value-item:last-child {
    border: 0;
  }

  .section {
    padding: 53px 0;
  }

  .treatment-card img {
    height: 215px;
  }

  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 300px;
  }

  .about-copy {
    padding: 38px 23px;
  }

  .banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > .brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 49px 0 40px;
  }

  .profile-layout {
    gap: 28px;
  }

  .profile-photo {
    min-height: 0;
    height: auto;
    max-height: 530px;
    border-radius: 110px 110px 12px 12px;
  }

  .portrait-row {
    grid-template-columns: 1fr;
  }

  .portrait-row img {
    height: auto;
    max-height: 440px;
  }

  .contact-form-wrap {
    padding: 21px;
  }


/* Logo ufficiale Debora Di Paolo */

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 285px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-main .brand-logo {
  width: 260px;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 230px;
  }

  .footer-main .brand-logo {
    width: 230px;
  }
}


/* === Palette azzurra e bianca === */

body,
.site-header,
.site-footer,
.treatment-card,
.contact-form-wrap,
.treatment-detail,
.form-row input,
.form-row textarea {
  background-color: #ffffff;
}

.values-strip,
.soft-section {
  background-color: #eaf6fa;
}

.about-preview {
  background-color: #eaf6fa;
}

.hero {
  background-color: #ffffff;
}

.hero::after {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.97) 32%,
    rgba(255, 255, 255, 0.6) 54%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.page-hero {
  background: linear-gradient(110deg, #eaf6fa, #ffffff);
}

.main-nav,
.brand,
.text-link,
.footer-contact strong {
  color: #178bb5;
}

.eyebrow {
  color: #178bb5;
}

.eyebrow span {
  background: #178bb5;
}

.line-icon,
.contact-icon {
  color: #178bb5;
}

.contact-banner {
  background: #178bb5;
}

.button {
  border-color: #178bb5;
  background-color: #178bb5;
}

.button:hover {
  border-color: #116f91;
  background-color: #116f91;
}

.button-outline {
  background: transparent;
  color: #178bb5;
}

.button-outline:hover {
  background-color: #178bb5;
  color: #ffffff;
}

.about-photo {
  background-color: #eaf6fa;
}

.brand-logo {
  background: transparent;
}


/* Pagina trattamenti */
.treatments-hero {
    padding: 64px 0;
    background: #f5fafc;
}

.treatments-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 48px;
}

.treatments-hero-copy h1 {
    margin: 18px 0;
}

.treatments-hero-text {
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.treatments-hero-image {
    height: 360px;
    overflow: hidden;
    border-radius: 18px;
}

.treatments-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatments-intro {
    padding: 64px 0 24px;
    text-align: center;
}

.treatments-intro h2 {
    margin: 12px 0;
}

.treatments-intro > .container > p:last-child {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.treatments-section {
    padding-top: 24px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.treatment-feature-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe8ec;
    border-radius: 16px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.treatment-feature-card:hover {
    box-shadow: 0 10px 30px rgba(23, 139, 181, 0.09);
    transform: translateY(-2px);
}

.treatment-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eaf6fa;
}

.treatment-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-card-content {
    padding: 22px;
}

.treatment-card-content h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    line-height: 1.35;
}

.treatment-card-description {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #4c5557;
}

.treatment-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 0 0;
    border: 0;
    border-top: 1px solid #e0e8eb;
    background: transparent;
    color: #178bb5;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.treatment-plus {
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf6fa;
    font-size: 1.4rem;
    line-height: 1;
}

.treatment-toggle:focus-visible {
    outline: 2px solid #178bb5;
    outline-offset: 4px;
}

.treatment-expanded {
    padding-top: 18px;
}

.treatment-expanded-title {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.92rem;
}

.treatment-expanded ul {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.treatment-expanded li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.treatment-expanded li::before {
    position: absolute;
    left: 0;
    color: #178bb5;
    content: "✓";
    font-weight: 700;
}

.treatment-expanded-description {
    font-size: 0.9rem;
    line-height: 1.7;
}

.treatment-expanded .text-link {
    display: inline-block;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .treatments-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .treatment-card-content {
        padding: 18px;
    }
}

@media (max-width: 600px) {
    .treatments-hero {
        padding: 40px 0;
    }

    .treatments-hero-grid {
        grid-template-columns: 1fr;
    }

    .treatments-hero-image {
        height: 240px;
    }

    .treatments-intro {
        padding: 44px 0 20px;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .treatment-card-content {
        padding: 20px;
    }
}


/* ==========================================
   PAGINA TRATTAMENTI - REVISIONE GRAFICA
   ========================================== */

/* Più spazio tra header e hero */
.treatments-hero {
    padding-top: 65px !important;
    padding-bottom: 65px !important;
    width: 100%;
    max-width: none;
}

/* Hero a tutta larghezza, testo e immagine affiancati */
.treatments-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    align-items: center;
    gap: 55px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(24px, 5vw, 90px) !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* Testo della hero */
.treatments-hero-copy {
    padding: 20px 0;
    min-width: 0;
}

.treatments-hero-copy h1 {
    font-size: clamp(42px, 4.5vw, 70px);
    line-height: 1.08;
    margin-top: 20px;
    margin-bottom: 24px;
}

/* Immagine grande fino al bordo destro */
.treatments-hero-image {
    width: 100%;
    min-width: 0;
    height: 520px;
    overflow: hidden;
}

.treatments-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Introduzione */
.treatments-intro {
    padding-top: 75px;
    padding-bottom: 45px;
}

/* Tre trattamenti per riga su desktop */
.treatment-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100%;
    align-items: start;
}

/* Schede più compatte */
.treatment-feature-card {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

/* Immagini delle schede */
.treatment-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.treatment-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenuto della scheda */
.treatment-card-content {
    padding: 22px;
}

.treatment-card-content h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-top: 0;
}

/* Tablet: due schede per riga */
@media (max-width: 950px) {
    .treatments-hero-grid {
        grid-template-columns: 1fr !important;
        padding: 0 28px !important;
        gap: 30px;
    }

    .treatments-hero-image {
        height: 400px;
    }

    .treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Smartphone: una scheda per riga */
@media (max-width: 600px) {
    .treatments-hero {
        padding-top: 38px !important;
        padding-bottom: 35px !important;
    }

    .treatments-hero-grid {
        padding: 0 20px !important;
    }

    .treatments-hero-image {
        height: 300px;
    }

    .treatment-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .treatment-card-content {
        padding: 20px;
    }

    .treatments-intro {
        padding-top: 50px;
        padding-bottom: 30px;
    }
}


}