:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --border: #e4e4e4;
  --accent: #bf360c;
  --sidebar: #ffffff;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 28px 22px 40px;
}
.sidebar-inner { position: sticky; top: 24px; }
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--fg);
  text-align: center;
  text-decoration: none;
  margin-bottom: 32px;
}
.brand:hover { text-decoration: none; color: var(--fg); }
.brand img { width: 168px; height: auto; }
.brand strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav a {
  color: var(--muted);
  padding: 10px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 400;
}
.nav a:hover,
.nav a.is-active {
  color: var(--fg);
  text-decoration: none;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}
.menu-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
}

.main { min-width: 0; }
.hero {
  position: relative;
  min-height: 50vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #000 28%, transparent);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  width: 100%;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(22px, 3.6vw, 46px);
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}
.hero-copy p {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  margin: 14px 0 0;
  white-space: nowrap;
}

.content { max-width: 920px; margin: 0 auto; padding: 56px 32px 80px; }
.page-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 28px; }
.madonna { width: 155px; margin: 0 auto 28px; }
.pilgrim { text-align: center; margin: 8px 0 40px; }
.pilgrim h2 {
  font-size: clamp(22px, 3vw, 45px);
  margin: 0 0 10px;
}
.pilgrim h2 a { color: var(--fg); }
.pilgrim h2 a:hover { color: var(--accent); }
.pilgrim p { font-size: 1.15rem; font-weight: 700; margin: 0; }
.pilgrim p a { color: var(--accent); }

.split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  margin: 0 0 48px;
}
.split-media {
  width: 280px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.split p {
  text-align: left;
  margin: 0;
  max-width: 54ch;
  line-height: 1.75;
}
.contacts-head { text-align: center; font-size: 1.7rem; margin: 48px 0 20px; }
.contacts-photo { width: min(266px, 100%); margin: 0 auto 20px; }
.contacts-text { text-align: center; }
.contacts-text p { margin: 0 0 8px; }

.pagefoot {
  border-top: 1px solid var(--border);
  padding: 24px 32px 32px;
  color: var(--muted);
  font-size: 13px;
}
.full { max-width: 920px; margin: 0 auto; }
.lead-img { margin: 0 0 24px; }
.pdf-link {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  color: var(--fg);
  font-weight: 600;
}
.pdf-link:hover { background: var(--accent); text-decoration: none; }
.form { display: grid; gap: 12px; max-width: 420px; }
.form label { font-size: 13px; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
}
.form button {
  justify-self: start;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.form button:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.hours { font-size: 1.05rem; }

@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.is-open { display: flex; }
  .hero-copy h1,
  .hero-copy p { white-space: normal; }
  .content { padding: 36px 20px 64px; }
}
@media (max-width: 640px) {
  .split { grid-template-columns: 1fr; gap: 16px; }
  .split-media { width: 100%; }
}

/* =========================================================
   FACEBOOK - COLLEGAMENTO NELL'HEADER
   Allineato verticalmente alle voci del menu
   ========================================================= */

.gprp-facebook-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  flex: 0 0 auto;
  gap: 8px;
  position: relative;
  top: 3px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  color: #43372b !important;
  background: transparent !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.gprp-facebook-link:hover {
  color: var(--gprp-marrone) !important;
  background: rgba(118, 83, 41, 0.10) !important;
}

.gprp-facebook-link:focus-visible {
  outline: 3px solid rgba(11, 79, 138, 0.20);
  outline-offset: 3px;
}

.gprp-facebook-logo {
  display: block !important;
  flex: 0 0 30px;
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

.gprp-facebook-text {
  display: inline-block;
  color: #43372b !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.gprp-facebook-link:hover .gprp-facebook-text {
  color: var(--gprp-marrone) !important;
}

@media screen and (max-width: 1180px) {
  .gprp-facebook-link {
    padding: 6px;
  }

  .gprp-facebook-text {
    display: none;
  }
}
