/* ==========================================================================
   VigoreMaschile - Stile di Vita Attivo, Energia e Longevità
   Palette:
   - SFONDO PRINCIPALE: #FFFFFF
   - ELEMENTI BASE & TONI OLIVA: #4A5D4E (Olive Primary)
   - TONI SCURI TESTO: #1F2D24
   - ACCENTI PULSANTI: #17A2B8 (Turchese)
   - HOVER ACCENTI: #138496
   - SCHEDE ED ELEMENTI MORBIDI: #EDF2EE (Grigio-Verde Pastello)
   - BORDER RADIUS: 18px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-main: #FFFFFF;
  --bg-card: #EDF2EE;
  --bg-card-hover: #E4ECE5;
  --primary-olive: #4A5D4E;
  --primary-olive-dark: #37463A;
  --primary-olive-light: #657A6A;
  --accent-turquoise: #17A2B8;
  --accent-turquoise-hover: #138496;
  --accent-turquoise-light: #E0F7FA;
  --text-dark: #1F2D24;
  --text-muted: #57695B;
  --text-light: #7E9082;
  --white: #FFFFFF;
  --border-color: #D6E0D8;
  --radius-main: 18px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --shadow-subtle: 0 6px 20px rgba(74, 93, 78, 0.06);
  --shadow-medium: 0 12px 32px rgba(74, 93, 78, 0.10);
  --shadow-hover: 0 18px 40px rgba(74, 93, 78, 0.15);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-olive-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.7;
}

a {
  color: var(--accent-turquoise);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-turquoise-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-bg {
  background-color: var(--bg-card);
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 93, 78, 0.1);
  padding: 1rem 0;
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-olive-dark);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.site-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-olive), #2F3E32);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(74, 93, 78, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-turquoise);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-olive-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-olive-dark);
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav Drawer */
@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 71px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-main);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent-turquoise);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(23, 162, 184, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-turquoise-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23, 162, 184, 0.35);
}

.btn-secondary {
  background-color: var(--primary-olive);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(74, 93, 78, 0.2);
}

.btn-secondary:hover {
  background-color: var(--primary-olive-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 93, 78, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-olive);
  color: var(--primary-olive);
}

.btn-outline:hover {
  background-color: var(--primary-olive);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.1rem;
}

/* Badge / Label */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background-color: #E2ECE5;
  color: var(--primary-olive-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

/* Card Styling */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-main);
  padding: 2.25rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(74, 93, 78, 0.08);
}

.card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--primary-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

/* Hero Section */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-main);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-medium);
}

.hero-badge-overlay-icon {
  width: 42px;
  height: 42px;
  background-color: var(--accent-turquoise-light);
  color: var(--accent-turquoise-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-badge-overlay-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-olive-dark);
}

.hero-badge-overlay-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-wrapper img {
    height: 360px;
  }
}

/* Feature Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Section Header Text Alignment */
.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Article / Content Blocks */
.content-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-block-grid.reverse {
  direction: rtl;
}

.content-block-grid.reverse > * {
  direction: ltr;
}

.image-card {
  border-radius: var(--radius-main);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .content-block-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .image-card img {
    height: 320px;
  }
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-turquoise-light);
  color: var(--accent-turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Daily Routine / Lifestyle Schedule Table & Cards */
.schedule-card {
  background-color: var(--white);
  border-radius: var(--radius-main);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
  border-left: 4px solid var(--accent-turquoise);
  margin-bottom: 1.25rem;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.schedule-time {
  font-weight: 800;
  color: var(--primary-olive);
  font-size: 0.95rem;
  background-color: var(--bg-card);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

/* Offerta / Product Page Specifics */
.product-showcase {
  background-color: var(--bg-card);
  border-radius: var(--radius-main);
  padding: 3.5rem;
  border: 1px solid rgba(74, 93, 78, 0.12);
}

.product-image-container {
  position: relative;
  border-radius: var(--radius-main);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: var(--white);
}

.product-image-container img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.quality-seal-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-olive-dark);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cert-card {
  background: var(--white);
  border-radius: var(--radius-main);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-card);
  color: var(--primary-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

/* Contact Form Styling */
.form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-main);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(74, 93, 78, 0.1);
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--primary-olive-dark);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 1.05rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-main);
  background-color: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-turquoise);
  box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.15);
}

.form-control::placeholder {
  color: var(--text-light);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-turquoise);
  margin-top: 0.2rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label a {
  text-decoration: underline;
}

/* Thank You Page */
.thank-you-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-main);
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 640px;
  margin: 3rem auto;
  box-shadow: var(--shadow-medium);
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-turquoise);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 25px rgba(23, 162, 184, 0.3);
}

/* Callout Box */
.callout-box {
  background: linear-gradient(135deg, var(--primary-olive-dark), var(--primary-olive));
  color: var(--white);
  border-radius: var(--radius-main);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.callout-box h2, .callout-box p {
  color: var(--white);
}

.callout-box p {
  opacity: 0.9;
}

/* Site Footer */
.site-footer {
  background-color: #18231C;
  color: #C2CEBE;
  padding: 4.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand .site-logo {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: #A3B5A6;
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #A3B5A6;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-turquoise);
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #839686;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6A7B6D;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
