/* Pomod'Oro 2026 — design system ispirato a LOGOPOMODORO2026 + COPERTINA2026 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,600&display=swap');

:root {
  --pomo-red: #c41e1e;
  --pomo-red-dark: #8b1010;
  --pomo-yellow: #ffe566;
  --pomo-yellow-soft: #fff3a0;
  --pomo-orange: #e85d04;
  --pomo-green: #1b5e20;
  --pomo-green-light: #2e7d32;
  --pomo-ink: #1a0f0f;
  --pomo-ink-soft: #3d2a2a;
  --pomo-cream: #fffdf5;
  --pomo-card: rgba(255, 255, 255, 0.06);
  --pomo-border: rgba(255, 255, 255, 0.12);
  --pomo-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --pomo-radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--pomo-cream);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200, 30, 30, 0.35), transparent 55%),
    linear-gradient(180deg, #120808 0%, #1f1010 40%, #0d0606 100%);
  min-height: 100vh;
}

a { color: var(--pomo-yellow); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: #fff; }

img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; border-radius: var(--pomo-radius); }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(10, 4, 4, 0.96) 0%, rgba(18, 8, 8, 0.92) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pomo-border);
  flex-wrap: wrap;
}

@media (min-width: 961px) {
  .site-header {
    flex-wrap: nowrap;
  }
  .brand { order: 1; }
  .site-nav {
    order: 2;
    flex: 1;
    display: flex !important;
    justify-content: center;
    padding: 0;
    border: none;
  }
  .site-nav ul {
    justify-content: center;
  }
  .header-cta { order: 3; }
  .nav-toggle {
    display: none !important;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  height: clamp(52px, 10vw, 72px);
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.nav-toggle {
  display: none;
  background: var(--pomo-card);
  border: 1px solid var(--pomo-border);
  color: var(--pomo-cream);
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: rgba(255, 253, 245, 0.88);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(196, 30, 30, 0.35);
  color: #fff;
}
.site-nav a.is-active {
  box-shadow: 0 0 0 1px rgba(255, 229, 102, 0.35);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--pomo-orange), var(--pomo-red));
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.45);
  border: none;
  white-space: nowrap;
}
.header-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none;
    width: 100%;
    order: 10;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--pomo-border);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { border-radius: 12px; }
  .header-cta { font-size: 0.78rem; padding: 0.55rem 0.9rem; }
}

/* ——— Layout ——— */
main { overflow-x: hidden; }

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section--tight { padding-top: 2rem; padding-bottom: 2rem; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.page-lead {
  margin: 0 0 2rem;
  color: rgba(255, 253, 245, 0.7);
  font-size: 1.1rem;
  max-width: 52ch;
}

/* ——— Hero home ——— */
.hero-home {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem 3rem;
  background-image:
    linear-gradient(165deg, rgba(18, 6, 6, 0.55) 0%, rgba(10, 4, 4, 0.88) 45%, rgba(8, 3, 3, 0.95) 100%),
    url('../../COPERTINA2026.png');
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid rgba(196, 30, 30, 0.6);
}

.hero-home__badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 229, 102, 0.12);
  border: 1px solid rgba(255, 229, 102, 0.35);
  color: var(--pomo-yellow-soft);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  line-height: 1.15;
}

.hero-home p {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1.15rem;
  color: rgba(255, 253, 245, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pomo-yellow) 0%, #ffc400 50%, var(--pomo-orange) 100%);
  color: var(--pomo-ink) !important;
  box-shadow: 0 12px 40px rgba(255, 196, 0, 0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: var(--pomo-ink) !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ——— Feature cards ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--pomo-card);
  border: 1px solid var(--pomo-border);
  border-radius: var(--pomo-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--pomo-shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 229, 102, 0.25);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--pomo-yellow-soft);
}
.feature-card p {
  margin: 0;
  color: rgba(255, 253, 245, 0.75);
  font-size: 0.98rem;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  filter: grayscale(0.2);
}

/* ——— Content blocks ——— */
.content-panel {
  background: linear-gradient(145deg, rgba(40, 18, 18, 0.5) 0%, rgba(20, 10, 10, 0.65) 100%);
  border: 1px solid var(--pomo-border);
  border-radius: var(--pomo-radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 2rem;
}

.map-embed {
  border-radius: var(--pomo-radius);
  overflow: hidden;
  border: 1px solid var(--pomo-border);
  box-shadow: var(--pomo-shadow);
}
.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* ——— Menu slider ——— */
.menu-slider-root {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: var(--pomo-radius);
  overflow: hidden;
  border: 1px solid var(--pomo-border);
  background: #0a0505;
}
.menu-slider-viewport { overflow: hidden; }
.menu-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
.menu-slider-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.menu-slider-slide img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.menu-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--pomo-border);
  background: rgba(10, 4, 4, 0.75);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.menu-slider-btn:hover { background: rgba(196, 30, 30, 0.6); }
.menu-slider-prev { left: 12px; }
.menu-slider-next { right: 12px; }
.menu-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  flex-wrap: wrap;
}
.menu-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
}
.menu-slider-dot.is-active {
  background: var(--pomo-yellow);
  transform: scale(1.15);
}

/* ——— Gallery grid ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-grid a {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pomo-border);
  aspect-ratio: 4/3;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid a:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Video grid ——— */
.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.video-card {
  background: var(--pomo-card);
  border-radius: var(--pomo-radius);
  padding: 1rem;
  border: 1px solid var(--pomo-border);
}
.video-card video {
  width: 100%;
  background: #000;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem clamp(1rem, 4vw, 2rem) 2rem;
  border-top: 1px solid var(--pomo-border);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 0.75rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pomo-card);
  border: 1px solid var(--pomo-border);
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff !important;
}
.footer-social a:hover {
  background: rgba(196, 30, 30, 0.4);
}

.footer-meta {
  font-size: 0.9rem;
  color: rgba(255, 253, 245, 0.55);
}
.footer-meta a { color: rgba(255, 229, 102, 0.85); }

.cta-strip {
  text-align: center;
  padding: 2rem 1rem;
  margin: 2rem auto 0;
  max-width: 720px;
  border-radius: var(--pomo-radius);
  background: linear-gradient(135deg, rgba(196, 30, 30, 0.35), rgba(27, 94, 32, 0.25));
  border: 1px solid rgba(255, 229, 102, 0.2);
}
.cta-strip p {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.reviews-frame {
  border-radius: var(--pomo-radius);
  overflow: hidden;
  border: 1px solid var(--pomo-border);
  min-height: 520px;
  background: #fff;
}
.reviews-frame iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
}

.contact-phones {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.contact-phones a {
  color: var(--pomo-yellow-soft) !important;
}

.whatsapp-cta img {
  max-width: 180px;
  margin: 1rem auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
