/* ========================================
   Valerio DeRizzo — Professional Website
   Elegant, trustworthy, conversion-focused
   ======================================== */

:root {
  /* Color system — sophisticated Italian palette */
  --navy: #1a2332;
  --navy-light: #243044;
  --cream: #f7f3ed;
  --cream-dark: #efe8df;
  --warm-white: #fdfbf8;
  --gold: #b8956c;
  --gold-dark: #9a7a55;
  --terracotta: #c47a5a;
  --text: #2a2a2a;
  --text-muted: #5c5c5c;
  --border: #e5dfd6;
  --white: #ffffff;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & layout */
  --container: 1140px;
  --section-pad: 6.5rem;
  --radius: 6px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Typography helpers */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header.light .section-title {
  color: var(--white);
}

.section-header.light .section-eyebrow {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-large {
  padding: 1.15rem 2.4rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(26, 35, 50, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20, 28, 42, 0.88) 0%,
    rgba(20, 28, 42, 0.72) 45%,
    rgba(20, 28, 42, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  margin-top: 0.2rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-pad) 0;
}

/* Problem */
.problem-section {
  background: var(--cream);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 35, 50, 0.08);
}

.problem-icon {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.solution-banner {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 2.5rem;
  border-radius: 8px;
  text-align: center;
}

.solution-banner p {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
}

/* Services */
.services-section {
  background: var(--warm-white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(26, 35, 50, 0.07);
}

.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-card.featured h3 {
  color: var(--gold);
}

.service-card.featured p {
  color: rgba(255,255,255,0.85);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* When I can help */
.help-stages {
  margin: 0 0 2.5rem;
  text-align: center;
}
.help-stages-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark, #9a7b4f);
  margin-bottom: 1rem;
  font-weight: 600;
}
.help-stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.help-stage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

.hidden-honeypot {
  display: none !important;
}

/* Process */
.process-section {
  background: var(--navy);
  color: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.35rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

/* About */
.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 50px rgba(26, 35, 50, 0.15);
}

.about-image-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
}

.about-highlights {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-highlights li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.about-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Highlight */
.highlight-section {
  background: var(--warm-white);
}

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

.highlight-content .section-title {
  text-align: left;
}

.highlight-content p {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 1.05rem;
}

.highlight-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 40px rgba(26, 35, 50, 0.12);
}

/* Credentials */
.credentials-section {
  background: var(--cream);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.cred-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cred-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--gold);
}

.cred-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cred-card li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.cred-card li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Contact */
.contact-section {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item a {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--gold-dark);
}

.contact-item span:last-child {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--warm-white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 108, 0.18);
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.footer-brand .logo-name {
  font-size: 1.4rem;
  display: block;
}

.footer-brand .logo-tagline {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

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

.footer-legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .problem-grid,
  .services-grid,
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 3/3.6;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 4.5rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 4rem;
  }

  .hero-trust {
    gap: 1.75rem;
  }

  .problem-grid,
  .services-grid,
  .credentials-grid,
  .help-stages-grid {
    grid-template-columns: 1fr;
  }

  .solution-banner {
    padding: 1.5rem 1.5rem;
  }

  .solution-banner p {
    font-size: 1.05rem;
  }

  .contact-form-wrap {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
  }
}
