/* === RIVIERA HOTEL CONSULTING === */

:root {
  --teal:        #2A9090;
  --teal-dark:   #1D6B6B;
  --teal-light:  #E8F4F4;
  --teal-xlight: #F0FAFA;
  --beige:       #F7F3ED;
  --beige-dark:  #EAE4D9;
  --sand:        #C9B99A;
  --sand-dark:   #A8956E;
  --text:        #2C2C2C;
  --text-mid:    #5A5857;
  --text-light:  #8A8480;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(42,144,144,.10);
  --shadow-lg:   0 8px 40px rgba(42,144,144,.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo { text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: .02em;
}
.logo-text strong {
  font-weight: 700;
  color: var(--teal);
}

.site-nav { margin-left: auto; }

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

.nav-list li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all .2s;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nav-list li a:hover,
.nav-list li.current-menu-item a,
.nav-list li.current_page_item a {
  color: var(--teal);
  background: var(--teal-xlight);
}
.nav-list li:last-child a {
  background: var(--teal);
  color: var(--white);
  border-radius: 6px;
}
.nav-list li:last-child a:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--teal-xlight);
  color: var(--teal-dark);
  border-color: var(--teal-xlight);
}
.btn-full { width: 100%; text-align: center; }

/* ── TYPOGRAPHY HELPERS ───────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em {
  color: var(--teal);
  font-style: italic;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: var(--beige);
  padding: 100px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,144,144,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,185,154,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  color: var(--teal);
  font-style: italic;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual { display: none; }

/* ── SERVICES GRID ────────────────────────────────── */
.section-services {
  padding: 96px 0;
  background: var(--white);
}

.section-services .container { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  transition: all .3s;
  border: 1px solid var(--beige-dark);
}
.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--teal-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  color: var(--teal);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
}
.card-link:hover { color: var(--teal-dark); }

/* ── ABOUT ────────────────────────────────────────── */
.section-about {
  padding: 96px 0;
  background: var(--beige);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: center;
}

.about-img-placeholder {
  background: var(--beige-dark);
  border-radius: 16px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img-inner { color: var(--teal); width: 120px; opacity: .5; }
.about-img-inner svg { width: 100%; }

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}
.badge-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .85;
  line-height: 1.4;
}

.about-visual { position: relative; padding-bottom: 24px; }

.about-text .section-title { margin-top: 8px; }

.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
}
.about-text .btn { margin-top: 8px; }

/* ── CTA STRIP ────────────────────────────────────── */
.section-cta { padding: 0 0 96px; background: var(--white); }

.cta-strip {
  background: var(--teal);
  border-radius: 16px;
  padding: 60px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
}

/* ── PAGE HERO ────────────────────────────────────── */
.page-hero {
  background: var(--beige);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--beige-dark);
}
.page-hero--teal {
  background: var(--teal-dark);
}
.page-hero--teal .section-label { color: rgba(255,255,255,.6); }
.page-hero--teal h1 { color: var(--white); }
.page-hero--teal .page-hero-sub { color: rgba(255,255,255,.75); }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-hero-sub {
  font-size: 17px;
  color: var(--text-mid);
}

/* ── SERVICES DETAIL ──────────────────────────────── */
.section-service-detail { padding: 80px 0; background: var(--white); }
.section-service-alt { background: var(--beige); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 64px;
  align-items: start;
}
.service-detail-grid--reverse {
  grid-template-columns: 1fr 160px;
}
.service-detail-grid--reverse .service-detail-icon { order: 2; }
.service-detail-grid--reverse .service-detail-text { order: 1; }

.service-detail-icon {
  width: 120px;
  height: 120px;
  color: var(--teal);
  padding: 24px;
  background: var(--teal-light);
  border-radius: 20px;
}
.service-detail-icon svg { width: 100%; height: 100%; }

.service-detail-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
  color: var(--text);
}
.service-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
}
.service-list {
  list-style: none;
  margin-bottom: 32px;
}
.service-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-mid);
  border-bottom: 1px solid var(--beige-dark);
  font-size: 15px;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── BIO ──────────────────────────────────────────── */
.section-bio { padding: 80px 0 96px; }

.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

.bio-photo-wrap { margin-bottom: 24px; }
.bio-photo-placeholder {
  background: var(--beige-dark);
  border-radius: 16px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.bio-photo-placeholder svg { width: 120px; opacity: .5; }
.photo-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

.bio-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.bio-highlight-item {
  background: var(--teal-light);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}
.highlight-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-label {
  font-size: 11px;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.3;
}

.bio-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 20px;
  color: var(--text);
}
.bio-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 15.5px;
}

.bio-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}
.bio-value {
  padding: 20px;
  background: var(--beige);
  border-radius: 10px;
  border-top: 3px solid var(--teal);
}
.bio-value h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
  letter-spacing: .03em;
}
.bio-value p {
  font-size: 13.5px;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.6;
}

/* ── CONTACT ──────────────────────────────────────── */
.section-contact { padding: 80px 0 96px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text);
}
.contact-info > p {
  color: var(--text-mid);
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-mid);
  font-size: 15px;
}
.contact-detail-item svg { color: var(--teal); flex-shrink: 0; }
.contact-detail-item a { color: var(--text-mid); }
.contact-detail-item a:hover { color: var(--teal); }

.contact-form-wrap {
  background: var(--beige);
  border-radius: 16px;
  padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--beige-dark);
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,144,144,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: var(--teal);
}
.form-success svg { margin: 0 auto 16px; }
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text);
}
.form-success p { color: var(--text-mid); }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,.75);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand .logo-text { color: rgba(255,255,255,.9); }
.footer-brand .logo-text strong { color: var(--white); }
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 12px;
  opacity: .65;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  margin-bottom: 16px;
}
.footer-contact a {
  color: rgba(255,255,255,.75);
}
.footer-contact a:hover { color: var(--white); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  transition: background .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.22); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ── PAGE GENERIC ─────────────────────────────────── */
.page-content {
  padding: 60px 0 96px;
  max-width: 720px;
}
.page-content h1, .page-content h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 360px; }
  .bio-grid { grid-template-columns: 1fr; gap: 48px; }
  .bio-highlights { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-detail-grid,
  .service-detail-grid--reverse { grid-template-columns: 1fr; }
  .service-detail-grid--reverse .service-detail-icon,
  .service-detail-grid--reverse .service-detail-text { order: unset; }
  .cta-strip { flex-direction: column; text-align: center; padding: 48px 36px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--beige-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .site-nav.is-open { display: block; }
  .site-header { position: relative; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list li a { display: block; }

  .services-grid { grid-template-columns: 1fr; }
  .bio-values { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 60px 24px 60px; min-height: auto; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .dati-table th { width: 45%; }
}

/* === PRIVACY POLICY === */
.privacy-doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 0 80px;
}
.privacy-intro {
  background: var(--teal-xlight);
  border-left: 4px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 40px;
  font-size: .97rem;
}
.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--beige-dark);
}
.privacy-section:last-of-type { border-bottom: none; }
.privacy-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.privacy-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.privacy-section p { margin-bottom: 12px; font-size: .96rem; line-height: 1.75; }
.privacy-section ul {
  padding-left: 20px;
  margin: 10px 0 14px;
}
.privacy-section ul li { font-size: .96rem; line-height: 1.7; margin-bottom: 6px; }
.privacy-section a { color: var(--teal); text-decoration: none; }
.privacy-section a:hover { text-decoration: underline; }
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  margin-top: 12px;
}
.privacy-table th,
.privacy-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--beige-dark);
  vertical-align: top;
}
.privacy-table th {
  background: var(--beige);
  font-weight: 600;
  color: var(--text-mid);
  width: 35%;
}
.privacy-updated {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 32px;
}

/* === DATI SOCIETARI === */
.dati-societari-grid { max-width: 760px; margin: 0 auto; padding: 48px 0 64px; }

.dati-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .97rem;
}
.dati-table th,
.dati-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--beige-dark);
  vertical-align: top;
}
.dati-table th {
  width: 38%;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--beige);
  white-space: nowrap;
}
.dati-table td { color: var(--text); }
.dati-table tr:last-child th,
.dati-table tr:last-child td { border-bottom: none; }
.dati-table a { color: var(--teal); text-decoration: none; }
.dati-table a:hover { text-decoration: underline; }
