:root {
  --primary: #e85a4f;
  --primary-dark: #c44a40;
  --secondary: #4a90a4;
  --accent: #f9c74f;
  --dark: #2d3436;
  --light: #faf9f7;
  --gray: #636e72;
  --gray-light: #b2bec3;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--light);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: #3d7a8c;
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--light) 0%, #e8e4df 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-floating {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating.top {
  top: -20px;
  left: -30px;
}

.hero-floating.bottom {
  bottom: 20px;
  right: -20px;
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-gray {
  background: #f0eeea;
}

.section-primary {
  background: var(--primary);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: var(--gray-light);
}

/* Problem Section */
.problem-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.problem-card {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.problem-card p {
  color: var(--gray);
}

/* Story Section */
.story-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}

.story-layout.reverse {
  flex-direction: row-reverse;
}

.story-content {
  flex: 1;
}

.story-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.story-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.story-image {
  flex: 1;
}

.story-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Benefits */
.benefits-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.section-dark .benefit-item {
  background: rgba(255,255,255,0.05);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}

.benefit-text h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Services/Pricing */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.service-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 3px solid var(--primary);
  position: relative;
}

.service-card.featured::before {
  content: 'Più Popolare';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.service-image {
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-body p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray);
}

.service-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.service-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  flex: 1;
  min-width: 300px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--white);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--gray);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 16px;
}

/* Forms */
.form-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  color: var(--white);
}

.form-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.form-info {
  flex: 1;
}

.form-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.form-info p {
  color: var(--gray-light);
  margin-bottom: 24px;
}

.form-benefits {
  list-style: none;
}

.form-benefits li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
}

.form-benefits li::before {
  content: '★';
  color: var(--accent);
}

.form-box {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-box h3 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

/* Trust Section */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-badge-icon {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow);
}

.trust-badge span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Urgency Banner */
.urgency-banner {
  background: var(--accent);
  color: var(--dark);
  padding: 20px;
  text-align: center;
}

.urgency-banner p {
  font-weight: 600;
  font-size: 1.1rem;
}

.urgency-banner strong {
  color: var(--primary);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--gray);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 16px 20px;
  z-index: 999;
  display: none;
}

.sticky-cta.visible {
  display: block;
}

.sticky-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-cta-text {
  font-weight: 600;
}

.sticky-cta-text span {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-col p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: none;
  max-width: 500px;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.cookie-banner p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-buttons .btn {
  flex: 1;
  padding: 12px 20px;
}

/* About Page */
.about-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--light) 0%, #e8e4df 100%);
  text-align: center;
}

.about-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.value-card {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 30px;
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  width: 80px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.timeline-content {
  padding-left: 30px;
  border-left: 2px solid var(--gray-light);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray);
}

/* Contact Page */
.contact-grid {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-text p {
  color: var(--gray);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-box {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Legal Pages */
.legal-page {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 30px 0 12px;
}

.legal-content p {
  color: var(--gray);
  margin-bottom: 16px;
}

.legal-content ul {
  color: var(--gray);
  margin: 16px 0 16px 24px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* Thanks Page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--light) 0%, #e8e4df 100%);
}

.thanks-box {
  background: var(--white);
  padding: 60px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 500px;
}

.thanks-icon {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
  color: var(--white);
}

.thanks-box h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.thanks-box p {
  color: var(--gray);
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-floating {
    display: none;
  }

  .story-layout,
  .story-layout.reverse {
    flex-direction: column;
  }

  .form-wrapper {
    flex-direction: column;
  }

  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .form-box {
    padding: 30px 20px;
  }

  .sticky-cta-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}
