/* ==========================================================================
   Mandras SNC - foglio di stile (TYPO3 13)
   Ricrea l'aspetto del vecchio sito, responsive, senza Bootstrap/jQuery.
   ========================================================================== */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../Fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../Fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../Fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../Fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("../Fonts/lato-latin-700-italic.woff2") format("woff2"); }

:root {
  --red: #dc2b19;
  --red-dark: #b42213;
  --text: #555;
  --text-dark: #333;
  --muted: #888;
  --line: #e2e2e2;
  --bg-soft: #f2f2f2;
  --grey-band: #c8c8c8;
  --header-h: 80px;
  --container: 1170px;
  --gutter: 16px;
  --font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--text); background: #fff; }
img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--red-dark); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text-dark); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 30px; font-weight: 300; }
h2 { font-size: 22px; font-weight: 400; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 700; color: var(--text-dark); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--red); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- Bottoni ---------------- */
.btn { display: inline-block; padding: 10px 22px; font: 400 15px/1.3 var(--font); border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--red); color: #fff !important; border-color: var(--red); }
.btn-primary:hover, .btn-primary:focus { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--text-dark); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 2px solid var(--red); box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { display: block; width: 180px; height: auto; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 28px 16px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.nav-item > a:hover, .nav-item.is-active > a { color: var(--red); }
.nav-item.has-children > a::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.sub-toggle { display: none; }
.sub-nav { position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border-top: 2px solid var(--red); box-shadow: 0 6px 16px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-item:hover > .sub-nav, .nav-item:focus-within > .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 8px 18px; font-size: 14px; color: var(--text); text-decoration: none; }
.sub-nav a:hover, .sub-nav .is-active > a { color: var(--red); background: var(--bg-soft); }
.nav-toggle { display: none; }

@media (max-width: 991px) {
  :root { --header-h: 64px; }
  .brand img { width: 140px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .nav-toggle-bar { display: block; height: 2px; background: var(--text-dark); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 2px) 0 0 0; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .main-nav.is-open { transform: none; }
  .nav-list { flex-direction: column; gap: 0; padding: 8px 0 40px; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item > a { padding: 14px var(--gutter); font-size: 15px; }
  .nav-item.has-children > a::after { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 52px; height: 51px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"]::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .sub-nav { position: static; display: none; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sub-nav.is-open { display: block; }
  .sub-nav a { padding: 10px calc(var(--gutter) + 16px); }
  body.nav-open { overflow: hidden; }
}

/* ---------------- Elementi di contenuto (fluid_styled_content) ---------------- */
.frame { margin-bottom: 30px; }
.frame:last-child { margin-bottom: 0; }
.home-content > .frame { margin-bottom: 0; }
.ce-bodytext ul li { margin-bottom: .3em; }
.ce-gallery img { display: block; }
.ce-gallery figcaption { font-size: 13px; color: var(--muted); padding-top: 4px; }
.ce-intext.ce-right .ce-gallery { margin-left: 20px; }
.ce-intext.ce-left .ce-gallery { margin-right: 20px; }
@media (max-width: 640px) {
  .ce-intext.ce-right .ce-gallery, .ce-intext.ce-left .ce-gallery { float: none; margin: 0 0 16px; }
  .ce-gallery .ce-column, .ce-gallery .ce-row { float: none; width: 100% !important; margin: 0 0 10px; }
  .ce-gallery img { width: 100% !important; }
}
.html-embed iframe { display: block; width: 100%; border: 0; }
.video { display: block; width: 100%; height: auto; background: #000; }

/* blocco al posto degli iframe senza consenso */
.cc-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 260px; padding: 24px; text-align: center; background: var(--bg-soft) repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,.025) 12px 24px); border: 1px solid var(--line); color: var(--text); }
.cc-placeholder p { margin: 0; max-width: 480px; }

/* ---------------- Slider principale (home) ---------------- */
.hero { position: relative; overflow: hidden; background: #222; }
.hero-track, .product-track, .gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hero-track::-webkit-scrollbar, .product-track::-webkit-scrollbar, .gallery-track::-webkit-scrollbar, .logo-track::-webkit-scrollbar { display: none; }
.hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(420px, 78vh, 760px); display: flex; align-items: center; justify-content: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-box { position: relative; width: min(520px, calc(100% - 120px)); }
.hero-kicker { margin: 0; padding: 12px 16px; background: #fff; color: var(--red); font-size: 17px; text-transform: uppercase; border-bottom: 3px solid var(--red); }
.hero-title { background: #fff; padding: 12px 16px 14px; color: var(--red); font-size: clamp(20px, 3vw, 26px); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.2; }
.hero-title p { margin: 0; color: inherit; }
.hero-cta { display: block; margin-top: 18px; padding: 12px 16px; background: var(--red); color: #fff !important; font-size: 19px; text-decoration: none !important; transition: background .2s; }
.hero-cta:hover { background: var(--red-dark); }
.hero-arrow { position: absolute; top: 50%; width: 52px; height: 110px; margin-top: -55px; background: none; border: 0; cursor: pointer; z-index: 2; }
.hero-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translate(-25%, -50%) rotate(45deg); }
.hero-next::before { transform: translate(-75%, -50%) rotate(-135deg); }
.hero-prev { left: 3%; }
.hero-next { right: 3%; }
.hero-arrow.small { width: 40px; height: 60px; margin-top: -30px; }
.hero-arrow.small::before { width: 26px; height: 26px; border-color: #fff; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.slider-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: #fff; opacity: .8; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--red); opacity: 1; }
.hero .slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; }
@media (max-width: 640px) {
  .hero-slide { height: 70vh; min-height: 380px; }
  .hero-box { width: calc(100% - 2 * var(--gutter)); }
  .hero-arrow { display: none; }
}

/* ---------------- Carosello prodotti (home) ---------------- */
.product-carousel { padding: 50px 0 0; background: #fff; }
.product-track { gap: 30px; }
.product-card { flex: 0 0 calc(50% - 15px); scroll-snap-align: start; display: flex; align-items: center; gap: 24px; padding: 10px 0 30px; }
.product-img { flex: 0 0 auto; display: block; width: 190px; height: 190px; border-radius: 50%; overflow: hidden; border: 3px solid var(--red); box-shadow: 0 14px 18px -12px rgba(0,0,0,.45); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-title { font-size: 17px; font-weight: 400; text-transform: uppercase; margin-bottom: 12px; }
.product-title a { color: var(--text); }
.product-text { font-size: 14px; color: var(--muted); }
.product-text p { margin-bottom: .6em; }
.more-link { color: var(--muted); font-size: 14px; }
.product-dots { background: var(--grey-band); }
.product-dots .slider-dots button { background: #fff; }
@media (max-width: 991px) { .product-card { flex-basis: 100%; } }
@media (max-width: 520px) {
  .product-card { flex-direction: column; text-align: center; }
  .product-img { width: 160px; height: 160px; }
}

/* ---------------- Sezione servizi ---------------- */
.services { position: relative; padding: 70px 0 60px; background: #333 center / cover no-repeat; color: #fff; text-align: center; }
.services::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.services .container { position: relative; }
.services-title { color: #fff; font-size: clamp(20px, 2.6vw, 30px); font-weight: 400; max-width: 900px; margin: 0 auto 40px; }
.services-intro { max-width: 800px; margin: 0 auto 30px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.service-link { display: block; color: #fff !important; text-decoration: none !important; }
.service-icon { display: block; width: 80px; height: 80px; object-fit: contain; margin: 0 auto 16px; transition: transform .3s; }
.service-link:hover .service-icon { transform: translateY(-6px); }
.service-title { color: #fff; font-size: 17px; font-weight: 400; margin-bottom: 8px; }
.service-text { font-size: 14px; color: rgba(255,255,255,.85); }
.service-text p { margin-bottom: .6em; }
.service .btn { margin-top: 6px; }

/* ---------------- Invito all'azione ---------------- */
.cta { padding: 50px 0; text-align: center; background: var(--bg-soft); }
.cta-title { color: var(--red); font-size: 26px; text-transform: uppercase; letter-spacing: .03em; }
.cta-text { max-width: 860px; margin: 0 auto; }
.cta-action { margin: 20px 0 0; }
.cta-compact { padding: 30px 0; background: #fff; }
.cta-compact .cta-action { margin: 0; }
.home-content .frame-type-mandras_cta + .frame-type-mandras_cta .cta { background: #fff; }

/* ---------------- Pagine interne ---------------- */
.page-banner { height: clamp(160px, 26vw, 320px); overflow: hidden; background: #ddd; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 12px 0; font-size: 12px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.breadcrumb li + li::before { content: "/"; padding: 0 6px; color: var(--muted); }
.breadcrumb a { color: var(--text); }
.inner-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 50px; padding: 30px 0 50px; }
.inner-main h1 { color: var(--text-dark); padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.inner-sidebar { border-left: 1px solid var(--line); padding-left: 30px; }
.inner-sidebar h2, .inner-sidebar .ce-headline-left h2 { color: var(--red); font-size: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--red); }
.inner-sidebar .frame { font-size: 14px; }
.section-nav ul { list-style: none; margin: 0 0 30px; padding: 0; }
.section-nav li { border-bottom: 1px solid var(--line); }
.section-nav a { display: block; padding: 10px 0 10px 14px; color: var(--muted); font-size: 14px; text-decoration: none; }
.section-nav a:hover { color: var(--red); }
.section-nav .is-active > a { color: var(--red); font-style: italic; font-weight: 700; }
.section-nav .is-active > a::before { content: "|"; margin-left: -12px; margin-right: 7px; }
.page-bottom { border-top: 1px solid var(--line); padding: 30px 0; }
@media (max-width: 991px) {
  .inner-grid { grid-template-columns: 1fr; gap: 30px; }
  .inner-sidebar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* ---------------- Galleria ---------------- */
.gallery { position: relative; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.gallery-slide img { width: 100%; height: auto; aspect-ratio: 900 / 560; object-fit: cover; display: block; }
.gallery-slide figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }
.gallery .slider-dots button { background: #ccc; }

/* ---------------- Schede ---------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.card-img img { display: block; width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card-title { color: var(--red); text-transform: uppercase; font-weight: 400; }
.card-text { flex: 1; font-size: 14px; }
.card .btn { align-self: flex-start; }

/* ---------------- Loghi ---------------- */
.logo-strip { display: flex; align-items: center; gap: 12px; }
.logo-track { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; flex: 1; padding: 10px 0; }
.logo-item { flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; width: 180px; height: 90px; }
.logo-item img { max-width: 100%; max-height: 90px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-item:hover img { filter: none; opacity: 1; }
.round-arrow { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #888; cursor: pointer; position: relative; }
.round-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-30%, -50%) rotate(45deg); }
.round-arrow.next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.round-arrow:hover { background: var(--red); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; padding: 20px 0 40px; }
.logo-tile { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 30px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.logo-tile:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.logo-tile img { max-height: 140px; width: auto; }
.home-content .frame-type-mandras_logos { padding: 40px 0 0; }
.home-content .frame-type-mandras_logos > header, .home-content .frame-type-mandras_logos > .logo-grid, .home-content .frame-type-mandras_logos > .logo-strip { max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.home-content > .frame:not([class*="frame-type-mandras"]):not(.frame-type-shortcut) { max-width: var(--container); margin: 40px auto; padding: 0 var(--gutter); }
.home-content > .frame-type-shortcut > .frame { margin: 0; }
.inner-sidebar .ce-headline-center, .inner-sidebar header { text-align: left; }
.inner-sidebar .ce-gallery { float: none !important; margin: 0 0 10px !important; }

/* ---------------- Social ---------------- */
.social-links { display: flex; gap: 14px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.social-link::before { content: ""; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.social-facebook { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.41 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.04V9.41c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.5c-1.5 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.62 23.1 24 18.1 24 12.07'/%3E%3C/svg%3E"); }
.social-instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.16c3.2 0 3.58.01 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s-.01 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58-.01-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.7 3.7 0 0 1-1.38-.9 3.7 3.7 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23C2.17 15.58 2.16 15.2 2.16 12s.01-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.17 8.8 2.16 12 2.16M12 0C8.74 0 8.33.01 7.05.07 5.78.13 4.9.33 4.14.63a5.9 5.9 0 0 0-2.13 1.38A5.9 5.9 0 0 0 .63 4.14C.33 4.9.13 5.78.07 7.05.01 8.33 0 8.74 0 12s.01 3.67.07 4.95c.06 1.27.26 2.15.56 2.91.31.79.72 1.46 1.38 2.13a5.9 5.9 0 0 0 2.13 1.38c.76.3 1.64.5 2.91.56C8.33 23.99 8.74 24 12 24s3.67-.01 4.95-.07c1.27-.06 2.15-.26 2.91-.56a5.9 5.9 0 0 0 2.13-1.38 5.9 5.9 0 0 0 1.38-2.13c.3-.76.5-1.64.56-2.91.06-1.28.07-1.69.07-4.95s-.01-3.67-.07-4.95c-.06-1.27-.26-2.15-.56-2.91a5.9 5.9 0 0 0-1.38-2.13A5.9 5.9 0 0 0 19.86.63C19.1.33 18.22.13 16.95.07 15.67.01 15.26 0 12 0zm0 5.84a6.16 6.16 0 1 0 0 12.32 6.16 6.16 0 0 0 0-12.32zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.4-11.85a1.44 1.44 0 1 0 0 2.88 1.44 1.44 0 0 0 0-2.88z'/%3E%3C/svg%3E"); }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; color: #fff; background: #3a2f27 url("../Images/background-footer.jpg") center / cover no-repeat; font-size: 13px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(40, 28, 20, .72); }
.site-footer > * { position: relative; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 50px; padding-bottom: 30px; }
.site-footer h2 { color: #fff; font-size: 17px; text-transform: uppercase; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.35); margin-top: 0; }
.site-footer .frame { margin-bottom: 24px; }
.site-footer strong { color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3b3ab; }
.site-footer .social-link::before { width: 26px; height: 26px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; padding-bottom: 24px; padding-right: 70px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-nav a { color: var(--red); }
.footer-nav a:hover { color: #fff; }
.footer-nav span { color: rgba(255,255,255,.5); }
.copyright { margin: 0; color: rgba(255,255,255,.7); }
.back-to-top { position: absolute; right: var(--gutter); bottom: 20px; width: 40px; height: 40px; background: var(--red); }
.back-to-top::before { content: ""; position: absolute; left: 50%; top: 55%; width: 10px; height: 10px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.back-to-top:hover { background: var(--red-dark); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------------- Banner cookie ---------------- */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: rgba(40, 40, 40, .96); color: #fff; font-size: 14px; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
.cc-banner[hidden] { display: none; }
.cc-inner { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.cc-copy p { margin: 0; }
.cc-title { font-weight: 700; font-size: 16px; margin-bottom: 4px !important; }
.cc-banner a { color: #ff9c8f; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 760px) {
  .cc-inner { flex-direction: column; align-items: stretch; }
  .cc-actions { flex-direction: column-reverse; }
  .cc-actions .btn { width: 100%; text-align: center; }
}

/* ---------------- Lightbox ---------------- */
.lb { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.88); padding: 30px; }
.lb img { max-width: 100%; max-height: 90vh; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
