/* Podere Cafasso V127.3 - Travel Proud / LGBTQ+ landing. Mobile hero height refinement. */
.proud-page{background:#fff;color:#26342f}
.proud-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.proud-section{padding:92px 0}
.proud-soft{background:#f3f0e8}
.proud-eyebrow,.proud-page .section-kicker{font-family:"DM Sans",sans-serif;font-size:.78rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase}

.proud-hero{position:relative;min-height:76vh;display:flex;align-items:flex-end;background:#465649 center/cover no-repeat;background-image:var(--proud-hero);color:#fff;overflow:hidden}
.proud-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,35,29,.78) 0%,rgba(22,35,29,.48) 52%,rgba(22,35,29,.16) 100%),linear-gradient(0deg,rgba(17,28,23,.42),rgba(17,28,23,0) 45%)}
.proud-hero-copy{position:relative;z-index:1;padding:72px 0 76px;max-width:860px;margin-left:max(20px,calc((100% - 1180px)/2));margin-right:auto;width:min(860px,calc(100% - 40px))}
.proud-hero h1{font-family:"Playfair Display",serif;font-size:clamp(3rem,6vw,6.2rem);line-height:.98;font-weight:500;letter-spacing:-.03em;margin:16px 0 24px;max-width:950px}
.proud-hero p{font-size:clamp(1.08rem,1.8vw,1.34rem);line-height:1.65;max-width:760px;margin:0;color:rgba(255,255,255,.92)}
.proud-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:34px}
.proud-actions .button{margin:0}
.proud-text-link{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:600;border-bottom:1px solid rgba(255,255,255,.5);padding:8px 0 6px}
.proud-text-link:hover{border-bottom-color:#fff}

.proud-cert-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);gap:72px;align-items:center}
.proud-cert-copy h2,.proud-heading h2,.proud-story-copy h2,.proud-faq-heading h2{font-family:"Playfair Display",serif;font-size:clamp(2.35rem,4vw,4.15rem);line-height:1.08;font-weight:500;letter-spacing:-.025em;margin:12px 0 24px;color:#25372f}
.proud-lead{font-size:1.23rem;line-height:1.7;color:#31473d}
.proud-cert-copy p:not(.proud-lead),.proud-story-copy p:not(.proud-lead){font-size:1.04rem;line-height:1.8;color:#506057}
.proud-cert-card{margin:0;border-radius:24px;overflow:hidden;box-shadow:0 22px 55px rgba(24,43,34,.16);background:#224f91}
.proud-cert-card img{display:block;width:100%;height:auto}

.proud-heading{max-width:760px;margin-bottom:48px}
.proud-heading>p{font-size:1.12rem;line-height:1.75;color:#56655d;margin:0}
.proud-heading-center{text-align:center;margin:0 auto 50px}
.proud-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.proud-feature{background:#fff;border:1px solid rgba(47,72,61,.1);border-radius:18px;padding:30px;min-height:230px;box-shadow:0 10px 30px rgba(36,55,47,.04)}
.proud-feature-number,.proud-feature-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#e6ede8;color:#2f4f40;font-weight:600;font-size:1.1rem;margin-bottom:28px}
.proud-feature-icon{font-size:1.45rem;font-weight:400}
.proud-feature h3{font-family:"Playfair Display",serif;font-size:1.55rem;font-weight:500;margin:0 0 12px;color:#25372f}
.proud-feature p{font-size:.98rem;line-height:1.65;color:#5b6962;margin:0}

.proud-story-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1.05fr);gap:72px;align-items:center}
.proud-story-photo{border-radius:28px;overflow:hidden;aspect-ratio:4/5;background:#e8e8e1;box-shadow:0 20px 50px rgba(29,49,40,.12)}
.proud-story-photo img{width:100%;height:100%;object-fit:cover;display:block}
.proud-story-copy{max-width:650px}

.proud-photo-grid{display:grid;grid-template-columns:1.35fr .8fr .8fr;grid-auto-rows:410px;gap:16px}
.proud-photo{margin:0;border-radius:20px;overflow:hidden;background:#ddd}
.proud-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.proud-photo:hover img{transform:scale(1.02)}
.proud-photo-wide img{object-position:center}
.proud-center-action{text-align:center;margin-top:38px}

.proud-link-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.proud-link-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:175px;padding:28px;border:1px solid #d8dfda;border-radius:18px;text-decoration:none;color:#263b31;background:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.proud-link-card:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(35,57,47,.09);border-color:#9eafa6}
.proud-link-card span{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;color:#74837b;font-weight:600}
.proud-link-card strong{font-family:"Playfair Display",serif;font-size:1.55rem;font-weight:500;max-width:280px}
.proud-link-card i{position:absolute;right:26px;bottom:24px;font-style:normal;font-size:1.3rem}

.proud-faq-section{background:#fff}
.proud-faq-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:70px;align-items:start}
.proud-faq-heading{position:sticky;top:110px}
.proud-faq-list details{border-top:1px solid #d9dfdb;padding:0}
.proud-faq-list details:last-child{border-bottom:1px solid #d9dfdb}
.proud-faq-list summary{cursor:pointer;list-style:none;font-family:"Playfair Display",serif;font-size:1.42rem;line-height:1.35;color:#263b31;padding:24px 42px 24px 0;position:relative}
.proud-faq-list summary::-webkit-details-marker{display:none}
.proud-faq-list summary:after{content:"+";position:absolute;right:4px;top:20px;font-family:"DM Sans",sans-serif;font-size:1.55rem;font-weight:400}
.proud-faq-list details[open] summary:after{content:"−"}
.proud-faq-list details p{margin:-5px 42px 26px 0;color:#596861;line-height:1.75}

.proud-closing{position:relative;min-height:560px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;background:#334b3f center/cover no-repeat;background-image:var(--proud-close)}
.proud-closing-overlay{position:absolute;inset:0;background:rgba(21,35,28,.64)}
.proud-closing-copy{position:relative;z-index:1;max-width:860px;padding:90px 20px}
.proud-closing h2{font-family:"Playfair Display",serif;font-size:clamp(2.8rem,5vw,5.3rem);line-height:1.02;font-weight:500;letter-spacing:-.03em;margin:16px 0 22px}
.proud-closing p{font-size:1.18rem;line-height:1.7;max-width:650px;margin:0 auto;color:rgba(255,255,255,.9)}
.proud-actions-center{justify-content:center}
.proud-text-link-light{color:#fff}

@media (max-width:980px){
  .proud-section{padding:76px 0}
  .proud-cert-grid,.proud-story-grid,.proud-faq-grid{grid-template-columns:1fr;gap:44px}
  .proud-cert-card{max-width:700px}
  .proud-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proud-story-photo{max-width:620px;aspect-ratio:16/11}
  .proud-story-photo img{object-position:center 35%}
  .proud-photo-grid{grid-template-columns:1.2fr 1fr;grid-auto-rows:330px}
  .proud-photo-wide{grid-row:span 2}
  .proud-link-cards{grid-template-columns:1fr}
  .proud-faq-heading{position:static}
}

@media (max-width:680px){
  .proud-wrap{width:min(100% - 28px,1180px)}
  .proud-section{padding:62px 0}
  .proud-hero{min-height:590px;align-items:flex-start}
  .proud-hero-overlay{background:linear-gradient(0deg,rgba(18,31,25,.84) 0%,rgba(18,31,25,.45) 68%,rgba(18,31,25,.2) 100%)}
  .proud-hero-copy{padding:44px 0 54px;margin-left:14px;margin-right:14px;width:calc(100% - 28px)}
  .proud-hero h1{font-size:clamp(2.75rem,13vw,4.3rem)}
  .proud-hero p{font-size:1.03rem;line-height:1.6}
  .proud-actions{gap:16px;margin-top:26px}
  .proud-cert-grid{gap:34px}
  .proud-cert-copy h2,.proud-heading h2,.proud-story-copy h2,.proud-faq-heading h2{font-size:2.55rem}
  .proud-feature-grid{grid-template-columns:1fr}
  .proud-feature{min-height:0;padding:26px}
  .proud-story-photo{aspect-ratio:4/5}
  .proud-photo-grid{grid-template-columns:1fr;grid-auto-rows:270px}
  .proud-photo-wide{grid-row:auto}
  .proud-link-card{min-height:145px}
  .proud-closing{min-height:580px}
  .proud-closing-copy{padding:74px 10px}
  .proud-closing h2{font-size:3.2rem}
}

/* =========================================================
   V127.4 — TRAVEL PROUD IN HEADER + MOBILE LANGUAGE SWITCH
   ========================================================= */

/* Badge Travel Proud: presente solo in questa landing. */
.proud-page .proud-header-mark{
  flex:0 0 auto;
  width:44px;
  height:52px;
  display:block;
  overflow:hidden;
  border-radius:7px;
  box-shadow:0 5px 14px rgba(24,57,106,.16);
}
.proud-page .proud-header-mark img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Dopo lo spostamento fuori dalla nav il selettore lingua resta sempre visibile. */
.proud-page .proud-language-switch{
  flex:0 0 auto;
  margin:0 2px;
}

@media (max-width:1180px) and (min-width:781px){
  .proud-page .proud-header-mark{
    width:38px;
    height:45px;
  }
  .proud-page .proud-language-switch{
    padding:4px 6px;
    font-size:.62rem;
  }
}

@media (max-width:780px){
  /* Lascia spazio sulla destra del blocco brand ai due comandi. */
  .proud-page .brand{
    padding-right:72px;
  }
  .proud-page .brand-sub{
    max-width:calc(100% - 78px);
  }

  /* Marchio in alto a destra della testata. */
  .proud-page .proud-header-mark{
    position:absolute;
    top:13px;
    right:18px;
    z-index:4;
    width:46px;
    height:54px;
  }

  /* IT / EN sempre a vista, sotto il marchio, e non più in fondo al menu orizzontale. */
  .proud-page .proud-language-switch{
    position:absolute;
    top:76px;
    right:18px;
    z-index:4;
    min-width:58px;
    justify-content:center;
    margin:0;
    padding:6px 8px;
    background:rgba(247,244,238,.97);
    border-color:rgba(41,66,55,.25);
    box-shadow:0 4px 14px rgba(36,49,40,.07);
    font-size:.72rem;
  }
}
