:root {
  --olive-dark: #1e3a29;
  --olive-primary: #2d573f;
  --olive-accent: #4a7c59;
  --gold-primary: #c59b27;
  --gold-light: #f5ecc6;
  --cream-bg: #faf7ef;
  --card-bg: #ffffff;
  --text-main: #232b26;
  --text-muted: #55635a;
  --border-subtle: rgba(45, 87, 63, 0.14);
  --shadow-soft: 0 10px 30px rgba(30, 58, 41, 0.08);
  --shadow-hover: 0 16px 40px rgba(30, 58, 41, 0.14);
  --radius-md: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--cream-bg);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 58, 41, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: #fff;
}

.brand-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  flex-shrink: 0;
  background: var(--olive-primary);
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--gold-primary);
  color: #1a241d;
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1b3525 0%, #2d573f 60%, #3a6b4e 100%);
  color: #ffffff;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-primary);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(197, 155, 39, 0.22), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(197, 155, 39, 0.22);
  border: 1px solid rgba(245, 236, 198, 0.4);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
  color: #fff;
}

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

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 620px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--gold-primary);
  color: #19241c;
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.35);
}

.btn-primary:hover {
  background: #d7ac31;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-card-img {
  background: #fff;
  padding: 0.65rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  width: 100%;
  max-width: 340px;
}

.hero-card-img img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

.hero-card-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
  font-weight: 500;
}

/* Main Content Containers */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  color: var(--olive-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--olive-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Story & Azienda Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.card h2, .card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--olive-dark);
  margin-bottom: 1rem;
}

.card p + p {
  margin-top: 1.1rem;
}

/* Feature Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pillar-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  color: var(--olive-dark);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery Sidebar */
.photo-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-frame {
  background: var(--card-bg);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.photo-frame img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 0.65rem;
}

.photo-frame figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Press & Awards Banner */
.awards-banner {
  background: linear-gradient(135deg, #244733, #1b3525);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-soft);
}

.awards-banner h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.awards-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.press-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(245, 236, 198, 0.35);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Contact & Map Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.info-content strong {
  display: block;
  color: var(--olive-dark);
  font-size: 0.95rem;
}

.info-content a {
  color: var(--olive-primary);
  text-decoration: none;
  font-weight: 600;
}

.info-content a:hover {
  text-decoration: underline;
}

/* Modern Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(45, 87, 63, 0.28);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdfcf9;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--olive-primary);
  box-shadow: 0 0 0 3px rgba(45, 87, 63, 0.15);
  background: #fff;
}

.privacy-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.privacy-row input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--olive-primary);
}

.privacy-link {
  color: var(--olive-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.form-feedback {
  grid-column: 1 / -1;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #e7f4ec;
  color: #1b4b2e;
  border: 1px solid #a5d6b7;
}

.form-feedback.error {
  display: block;
  background: #fdecec;
  color: #8a1f1f;
  border: 1px solid #f3b5b5;
}

/* Map Frame */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 20, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #fff;
  max-width: 580px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.modal-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--olive-dark);
  margin-bottom: 0.85rem;
}

.modal-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--olive-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
  border-top: 3px solid var(--gold-primary);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col h4 {
  color: var(--gold-light);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 0.65rem;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1160px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 860px) {
  .hero-inner,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
