/*
 * Ear Clinic Center – Pagine Specialistiche 1.2
 * Layout coordinato alle pagine esistenti (es. Per Centri).
 * Scope completo: non modifica header, menu, footer o altre pagine.
 */

.ecc-special-page{
  --ecc-ink:#0057A6;
  --ecc-ice:#EAF9FE;
  --ecc-ice-2:#F8FCFE;
  --ecc-white:#ffffff;
  --ecc-text:#0057A6;
  --ecc-muted:#0057A6;
  --ecc-border:rgba(0,87,166,.18);
  --ecc-shadow:0 28px 80px rgba(0,87,166,.10);
  --ecc-soft-shadow:0 16px 44px rgba(0,87,166,.08);
  font-family:Lato,Arial,sans-serif;
  color:var(--ecc-text);
  background:#fff;
  overflow:hidden;
  font-size:16px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.ecc-special-page *,
.ecc-special-page *::before,
.ecc-special-page *::after{box-sizing:border-box}

.ecc-container{max-width:1240px;margin:0 auto;padding:0 26px}
.ecc-narrow{max-width:980px;margin:0 auto}

/* HERO: stessa grammatica visuale delle altre pagine Ear Clinic */
.ecc-special-page .ecc-hero{
  position:relative;
  padding:98px 0 78px;
  background:
    radial-gradient(circle at 88% 8%,rgba(0,87,166,.18),transparent 34%),
    radial-gradient(circle at 4% 92%,rgba(0,87,166,.10),transparent 32%),
    linear-gradient(135deg,#fff 0%,var(--ecc-ice) 58%,#fff 100%);
  overflow:hidden;
}

.ecc-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:52px;
  align-items:center;
}

.ecc-special-page .ecc-hero h1{
  margin:0;
  font-family:Montserrat,Lato,sans-serif;
  font-size:clamp(44px,5.2vw,74px);
  line-height:.99;
  letter-spacing:-2.5px;
  font-weight:900;
  color:#0057A6!important;
  text-wrap:balance;
}

.ecc-hero-card{
  position:relative;
  min-height:340px;
  border-radius:44px 44px 110px 44px;
  background:#fff;
  box-shadow:var(--ecc-shadow);
  border:1px solid rgba(255,255,255,.78);
  overflow:hidden;
  display:grid;
  place-items:center;
}

.ecc-hero-card::before{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,87,166,.16),transparent 70%);
}

.ecc-hero-card::after{
  content:"";
  position:absolute;
  left:-120px;
  bottom:-140px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,87,166,.11),transparent 70%);
}

/* Decorazioni astratte: nessun contenuto testuale aggiunto */
.ecc-visual{position:relative;z-index:2;width:230px;height:230px}
.ecc-visual-line{position:absolute;display:block;border:3px solid rgba(0,87,166,.34);border-radius:46% 54% 44% 56%}
.ecc-visual-line-a{width:150px;height:200px;right:35px;top:13px;transform:rotate(9deg)}
.ecc-visual-line-b{width:88px;height:128px;right:66px;top:50px;border-width:2px;border-color:rgba(0,87,166,.22);transform:rotate(-10deg)}
.ecc-visual-dot{position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #0057A6;box-shadow:0 0 0 8px rgba(0,87,166,.07)}
.ecc-visual-dot-a{right:125px;top:48px}.ecc-visual-dot-b{right:62px;top:102px}.ecc-visual-dot-c{right:102px;top:172px}
.ecc-ear-ring{position:absolute;display:block;border:3px solid rgba(0,87,166,.30);border-radius:50% 45% 52% 48% / 48% 54% 46% 52%;transform:rotate(-14deg)}
.ecc-ear-ring-a{width:150px;height:210px;right:38px;top:8px}
.ecc-ear-ring-b{width:92px;height:142px;right:68px;top:43px;border-width:2px;border-color:rgba(0,87,166,.22)}
.ecc-ear-ring-c{width:42px;height:74px;right:91px;top:80px;border-width:2px;border-color:rgba(0,87,166,.16)}

/* CONTENT */
.ecc-section{padding:78px 0}
.ecc-section-light{
  background:
    radial-gradient(circle at 88% 8%,rgba(0,87,166,.10),transparent 34%),
    linear-gradient(135deg,var(--ecc-ice) 0%,var(--ecc-ice-2) 100%);
}

.ecc-panel,
.ecc-rich{
  position:relative;
  padding:36px;
  border-radius:34px;
  background:#fff;
  border:1px solid var(--ecc-border);
  box-shadow:var(--ecc-soft-shadow);
  overflow:hidden;
}

.ecc-panel::before,
.ecc-rich::before{
  content:"";
  position:absolute;
  right:-64px;
  top:-64px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,87,166,.09),transparent 70%);
  pointer-events:none;
}

.ecc-panel-lead{margin-bottom:26px;padding:42px 40px}
.ecc-panel-lead::after{
  content:"";
  position:absolute;
  left:0;
  top:24px;
  bottom:24px;
  width:5px;
  border-radius:0 5px 5px 0;
  background:#0057A6;
}

.ecc-content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.ecc-special-page .ecc-panel p,
.ecc-special-page .ecc-rich p{
  position:relative;
  z-index:1;
  margin:0 0 20px;
  color:#0057A6!important;
  font-size:16.5px;
  line-height:1.85;
}

.ecc-special-page .ecc-panel p:last-child,
.ecc-special-page .ecc-rich p:last-child{margin-bottom:0}

.ecc-special-page .ecc-panel-lead p{
  font-size:clamp(18px,1.55vw,22px);
  line-height:1.62;
  font-weight:700;
}

.ecc-rich{padding:40px 42px}

/* CHIUSURA: come fascia CTA delle altre pagine, ma senza testo aggiunto */
.ecc-cta{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--ecc-ice) 0%,#fff 100%);
  padding:78px 0;
  border-top:1px solid var(--ecc-border);
}

.ecc-cta-card{
  position:relative;
  padding:40px 44px;
  border-radius:34px;
  background:#fff;
  border:1px solid var(--ecc-border);
  box-shadow:var(--ecc-shadow);
  overflow:hidden;
}

.ecc-cta-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:#0057A6;
}

.ecc-cta-card::after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  right:-92px;
  top:-112px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,87,166,.12),transparent 70%);
}

.ecc-special-page .ecc-cta-card p{
  position:relative;
  z-index:2;
  max-width:860px;
  margin:0;
  color:#0057A6!important;
  font-family:Montserrat,Lato,sans-serif;
  font-size:clamp(20px,2vw,26px);
  line-height:1.55;
  font-weight:800;
  letter-spacing:-.45px;
}

/* Coerenza cromatica finale con le indicazioni Ear Clinic Center */
html body .ecc-special-page h1,
html body .ecc-special-page p,
html body .ecc-special-page span,
html body .ecc-special-page strong,
html body .ecc-special-page em,
html body .ecc-special-page b{color:#0057A6!important}

/* Flatsome: neutralizza solo il wrapper delle due pagine gestite. */
body.ecc-specialist-page-active .page-wrapper,
body.ecc-specialist-page-active .page-wrapper > .row,
body.ecc-specialist-page-active .page-wrapper > .row > .col,
body.ecc-specialist-page-active .page-wrapper > .row > .col > .col-inner{
  max-width:none;
  width:100%;
  padding-left:0;
  padding-right:0;
  margin-left:0;
  margin-right:0;
}
body.ecc-specialist-page-active .page-wrapper{padding-top:0;padding-bottom:0}

@media(max-width:1120px){
  .ecc-hero-grid{grid-template-columns:1fr .78fr;gap:34px}
  .ecc-hero-card{min-height:300px}
}

@media(max-width:849px){
  .ecc-container{padding:0 20px}
  .ecc-special-page .ecc-hero{padding:68px 0 62px}
  .ecc-hero-grid{grid-template-columns:1fr;gap:28px}
  .ecc-special-page .ecc-hero h1{font-size:clamp(38px,8.8vw,58px);letter-spacing:-1.8px}
  .ecc-hero-card{min-height:250px;border-radius:34px 34px 82px 34px}
  .ecc-visual{transform:scale(.84)}
  .ecc-section,.ecc-cta{padding:62px 0}
  .ecc-content-grid{grid-template-columns:1fr}
  .ecc-panel,.ecc-rich{padding:30px 26px;border-radius:28px}
  .ecc-panel-lead{padding:34px 30px}
  .ecc-cta-card{padding:34px 30px;border-radius:28px}
}

@media(max-width:549px){
  .ecc-container{padding:0 18px}
  .ecc-special-page .ecc-hero{padding:54px 0 48px}
  .ecc-special-page .ecc-hero h1{font-size:clamp(32px,10.4vw,44px);line-height:1.04;letter-spacing:-1.25px}
  .ecc-hero-card{min-height:210px;border-radius:30px 30px 68px 30px}
  .ecc-visual{transform:scale(.70)}
  .ecc-section,.ecc-cta{padding:48px 0}
  .ecc-panel,.ecc-rich{padding:26px 22px;border-radius:24px}
  .ecc-panel-lead{padding:29px 24px 29px 28px}
  .ecc-special-page .ecc-panel p,.ecc-special-page .ecc-rich p{font-size:16px;line-height:1.76}
  .ecc-special-page .ecc-panel-lead p{font-size:18px;line-height:1.62}
  .ecc-cta-card{padding:30px 24px 30px 28px;border-radius:24px}
  .ecc-special-page .ecc-cta-card p{font-size:18px;line-height:1.55}
}
