/* ========================================
   nutrizionistadangelo.it — Stylesheet
   ======================================== */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blush:        #F2E8E4;
  --blush-mid:    #E8D5CE;
  --rose:         #C4907A;
  --rose-dark:    #9B6B56;
  --gold:         #B8956A;
  --charcoal:     #2A2420;
  --charcoal-mid: #5C5048;
  --off-white:    #FDFAF8;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.7;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,250,248,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,144,122,0.2);
  padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; flex-direction: column; text-decoration: none; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--charcoal);
}
.nav-logo-sub {
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 300; margin-top: -2px;
}
.nav-center { display: flex; gap: 40px; list-style: none; }
.nav-center a {
  text-decoration: none; font-size: 13px;
  letter-spacing: 0.06em; color: var(--charcoal-mid);
  font-weight: 300; transition: color 0.2s;
}
.nav-center a:hover { color: var(--charcoal); }
.nav-right-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--charcoal);
  font-weight: 500; text-decoration: none;
  padding: 10px 24px; border: 1px solid var(--charcoal);
  border-radius: 2px; transition: background 0.2s, color 0.2s;
}
.nav-right-btn:hover { background: var(--charcoal); color: white; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(253,250,248,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-menu.active { display: flex; }
.nav-mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300;
  color: var(--charcoal); text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--rose-dark); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  padding-top: 72px;
}
.hero-left {
  background: var(--blush);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 80px;
}
.hero-bg-text {
  position: absolute; top: 40px; left: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 220px; font-weight: 600;
  color: rgba(196,144,122,0.1);
  line-height: 0.85; user-select: none;
  letter-spacing: -0.05em;
}
.hero-logo-watermark {
  position: absolute; top: 32px; left: 32px;
  z-index: 1; opacity: 0.18; pointer-events: none;
}
.hero-logo-watermark img {
  width: 38%; max-width: 320px; min-width: 120px; height: auto;
}
.hero-photo-frame {
  position: absolute; top: 60px; right: 60px;
  width: 42%; max-width: 380px;
  aspect-ratio: 3/4;
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(196,144,122,0.4);
}
.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero-title-block { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 20px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(46px, 5.5vw, 68px);
  font-weight: 300; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 8px;
}
.hero-title strong {
  font-weight: 600; font-style: italic;
  color: var(--rose-dark);
}
.hero-right {
  display: flex; flex-direction: column;
  justify-content: center; padding: 80px 72px;
}
.hero-desc {
  font-size: 17px; color: var(--charcoal-mid);
  font-weight: 300; line-height: 1.85;
  margin-bottom: 48px;
  border-left: 2px solid var(--rose);
  padding-left: 24px;
}
.hero-cta-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---- BUTTONS ---- */
.btn-filled {
  display: inline-block;
  background: var(--charcoal); color: white;
  padding: 18px 40px; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; text-decoration: none;
  border-radius: 2px; transition: background 0.2s;
  text-align: center;
}
.btn-filled:hover { background: var(--rose-dark); }
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--charcoal);
  padding: 18px 40px; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 300; text-decoration: none;
  border: 1px solid var(--blush-mid);
  border-radius: 2px; text-align: center;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--rose); }

/* Trust items */
.hero-trust {
  display: flex; gap: 32px;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(196,144,122,0.2);
}
.trust-item { text-align: center; }
.trust-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 500;
  color: var(--rose-dark); display: block;
}
.trust-label {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--charcoal-mid);
  font-weight: 300;
}

/* ---- QUOTE BAND ---- */
.quote-band {
  background: var(--charcoal);
  padding: 72px 80px; text-align: center;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.4; max-width: 780px;
  margin: 0 auto;
}
.quote-attr {
  margin-top: 20px; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); font-weight: 300;
}

/* ---- APPROACH BAND ---- */
.approach {
  background: var(--off-white);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  gap: 60px; align-items: start;
}
.approach-div { background: rgba(196,144,122,0.2); }
.approach-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300;
  color: rgba(196,144,122,0.3);
  display: block; line-height: 1; margin-bottom: 12px;
}
.approach-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  color: var(--charcoal); margin-bottom: 12px;
}
.approach-text {
  font-size: 14px; color: var(--charcoal-mid);
  font-weight: 300; line-height: 1.8;
}

/* ---- SECTION UTILITIES ---- */
.section-tag {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 20px;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 300;
  line-height: 1.2; color: var(--charcoal);
  margin-bottom: 28px;
}
.section-heading em {
  font-style: italic; font-weight: 300;
  color: var(--rose-dark);
}
.section-body {
  font-size: 15px; color: var(--charcoal-mid);
  font-weight: 300; line-height: 1.85;
}

/* ---- SERVICES ---- */
.services {
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 100px; align-items: start;
  background: white;
}
.services-sidebar { position: sticky; top: 100px; }
.services-list { display: flex; flex-direction: column; }
.service-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(196,144,122,0.15);
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 28px; align-items: start;
  transition: padding-left 0.2s;
  text-decoration: none;
  color: inherit;
}
.service-item:hover { padding-left: 8px; }
.service-item:first-child { border-top: 1px solid rgba(196,144,122,0.15); }
.s-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-weight: 300;
  color: var(--rose); padding-top: 4px;
  letter-spacing: 0.1em;
}
.s-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  color: var(--charcoal); margin-bottom: 8px;
}
.s-desc {
  font-size: 14px; color: var(--charcoal-mid);
  font-weight: 300; line-height: 1.75;
}
.s-arrow {
  font-size: 20px; color: var(--rose);
  align-self: center; transition: transform 0.2s;
}
.service-item:hover .s-arrow { transform: translateX(4px); }

/* ---- ABOUT ---- */
.about {
  background: var(--blush);
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 300;
  font-style: italic; line-height: 1.4;
  color: var(--rose-dark); margin: 28px 0;
}
.about-body {
  font-size: 16px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.9;
  margin-bottom: 18px;
}
.about-visual {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; height: 520px;
}
.av-main { border-radius: 4px; grid-row: span 2; overflow: hidden; }
.av-main img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.av-top {
  background: var(--charcoal); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.av-bottom {
  background: var(--rose); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.av-label {
  font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  font-weight: 300; text-align: center; padding: 16px;
}

/* ---- CTA SECTION ---- */
.cta {
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 300;
  line-height: 1.15; color: var(--charcoal);
  margin-bottom: 28px;
}
.cta-heading em { font-style: italic; color: var(--rose-dark); }
.cta-body {
  font-size: 16px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.85;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 12px; color: var(--charcoal-mid);
  font-weight: 300; letter-spacing: 0.05em;
  margin-top: 14px;
}

/* Contact list in CTA */
.cta-contacts-label {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 500; margin-bottom: 24px;
}
.cta-contact-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(196,144,122,0.15);
  display: flex; align-items: center; gap: 20px;
}
.cta-contact-item:first-child { border-top: 1px solid rgba(196,144,122,0.15); }
.cta-contact-item:last-child { border-bottom: none; }
.cta-contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center;
  justify-content: center; font-size: 18px;
  flex-shrink: 0;
}
.cta-contact-label {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--charcoal-mid);
  font-weight: 500; margin-bottom: 4px;
}
.cta-contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  color: var(--charcoal); text-decoration: none;
}
.cta-contact-value:hover { color: var(--rose-dark); }

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  padding: 80px 80px 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 64px; width: auto; margin-bottom: 8px; display: block; }
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300;
  color: var(--off-white); margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 300;
}
.footer-brand-desc {
  font-size: 14px; color: rgba(255,255,255,0.4);
  font-weight: 300; line-height: 1.8;
  margin-top: 20px; max-width: 260px;
}
.footer-col-title {
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  font-weight: 500; margin-bottom: 20px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { padding: 6px 0; }
.footer-col-links a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  text-decoration: none; font-weight: 300;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: white; }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between;
  align-items: center; font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-weight: 300; letter-spacing: 0.05em;
}

/* ---- PAGE HEADER (internal pages) ---- */
.page-header {
  padding: 160px 80px 80px;
  background: var(--blush);
  text-align: center;
}
.page-header .section-tag { margin-bottom: 16px; }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300; line-height: 1.15;
  color: var(--charcoal);
}
.page-header h1 em { font-style: italic; color: var(--rose-dark); }
.page-header p {
  font-size: 17px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.8;
  max-width: 600px; margin: 24px auto 0;
}

/* ---- CONTENT SECTION (internal pages) ---- */
.content-section {
  padding: 80px;
  max-width: 800px;
  margin: 0 auto;
}
.content-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500;
  color: var(--charcoal);
  margin: 48px 0 20px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p {
  font-size: 16px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.9;
  margin-bottom: 16px;
}
.content-section ul {
  list-style: none; margin: 16px 0 24px; padding: 0;
}
.content-section ul li {
  font-size: 16px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.9;
  padding: 6px 0 6px 24px;
  position: relative;
}
.content-section ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--rose);
}
.content-section .highlight-box {
  background: var(--blush);
  border-left: 3px solid var(--rose);
  padding: 24px 28px;
  border-radius: 2px;
  margin: 32px 0;
}
.content-section .highlight-box p {
  margin-bottom: 0;
  color: var(--charcoal);
}
.content-section .price-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500;
  color: var(--charcoal);
  margin: 24px 0;
}
.content-section .cta-inline {
  margin-top: 40px; text-align: center;
}

/* ---- PERCORSI GRID (index page) ---- */
.percorsi-grid {
  padding: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.percorso-card {
  background: white;
  border: 1px solid rgba(196,144,122,0.15);
  border-radius: 4px;
  padding: 40px 32px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.percorso-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}
.percorso-card .s-index {
  display: block; margin-bottom: 16px;
}
.percorso-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  color: var(--charcoal); margin-bottom: 12px;
}
.percorso-card p {
  font-size: 14px; font-weight: 300;
  color: var(--charcoal-mid); line-height: 1.75;
  margin-bottom: 16px;
}
.percorso-card .card-price {
  font-size: 13px; font-weight: 500;
  color: var(--rose-dark);
  letter-spacing: 0.05em;
}
.percorso-card .card-arrow {
  display: block; text-align: right;
  font-size: 20px; color: var(--rose);
  margin-top: 16px;
}

/* ---- CONTATTI PAGE ---- */
.contatti-grid {
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.contatti-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 500;
  color: var(--charcoal); margin-bottom: 32px;
}
.contatti-map {
  border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(196,144,122,0.15);
  height: 100%; min-height: 400px;
}
.contatti-map iframe {
  width: 100%; height: 100%; border: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ---- TABLET (<=1024px) ---- */
@media (max-width: 1024px) {
  nav { padding: 0 28px; }
  .nav-center { gap: 24px; }
  .nav-center a { font-size: 12px; }

  .hero { grid-template-columns: 1fr 1fr; }
  .hero-left { padding: 60px 40px; }
  .hero-right { padding: 60px 40px; }
  .hero-desc { font-size: 15px; }

  .approach {
    grid-template-columns: 1fr;
    gap: 40px; padding: 60px 40px;
  }
  .approach-div { display: none; }

  .services { padding: 80px 40px; gap: 60px; }
  .about { padding: 80px 40px; gap: 60px; }
  .cta { padding: 80px 40px; gap: 60px; }
  footer { padding: 60px 40px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .page-header { padding: 140px 40px 60px; }
  .content-section { padding: 60px 40px; }
  .percorsi-grid { padding: 60px 40px; }
  .contatti-grid { padding: 60px 40px; gap: 48px; }
}

/* ---- MOBILE (<=768px) ---- */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 60px; }
  .nav-center { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right-btn { font-size: 11px; padding: 8px 16px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    min-height: 55vw;
    padding: 28px 24px 32px;
  }
  .hero-photo-frame {
    width: 48% !important;
    right: 20px !important;
    top: 16px !important;
  }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 12px; }
  .hero-right { padding: 40px 24px 56px; }
  .hero-desc { font-size: 15px; margin-bottom: 32px; }
  .hero-trust { gap: 20px; flex-wrap: wrap; }
  .trust-num { font-size: 26px; }
  .trust-label { font-size: 10px; }

  .quote-band { padding: 48px 24px; }
  .quote-text { font-size: clamp(20px, 5vw, 28px); }

  .approach {
    grid-template-columns: 1fr !important;
    padding: 56px 24px; gap: 36px;
  }
  .approach-div { display: none; }
  .approach-num { font-size: 40px; }

  .services {
    grid-template-columns: 1fr !important;
    padding: 60px 24px; gap: 48px;
  }
  .services-sidebar { position: static; }
  .section-heading { font-size: 34px !important; }
  .service-item { grid-template-columns: 44px 1fr auto; gap: 16px; }
  .s-title { font-size: 20px; }

  .about {
    grid-template-columns: 1fr !important;
    padding: 60px 24px; gap: 48px;
  }
  .about-visual { height: 380px !important; }
  .about-quote { font-size: 22px; }

  .cta {
    grid-template-columns: 1fr !important;
    padding: 60px 24px !important; gap: 48px !important;
  }
  .cta-heading { font-size: 38px; }

  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr !important; gap: 36px; }
  .footer-bottom {
    flex-direction: column; gap: 8px;
    text-align: center;
  }

  .btn-filled, .btn-outline {
    display: block; width: 100%; text-align: center;
  }

  .page-header { padding: 120px 24px 48px; }
  .content-section { padding: 48px 24px; }
  .percorsi-grid {
    padding: 48px 24px;
    grid-template-columns: 1fr;
  }
  .contatti-grid {
    grid-template-columns: 1fr;
    padding: 48px 24px; gap: 36px;
  }
  .contatti-map { min-height: 300px; }
}

/* ---- SMALL MOBILE (<=480px) ---- */
@media (max-width: 480px) {
  .hero-left { min-height: 70vw; padding: 20px 18px 28px; }
  .hero-photo-frame {
    width: 44% !important;
    right: 12px !important;
  }
  .hero-title { font-size: clamp(28px, 9vw, 40px); }
  .about-visual { height: 280px !important; }
  .av-main img { object-position: top center; }
}
