/* ===================================================================
   Italiana Membrane — generated stylesheet
   Palette: emerald-gold · Fonts: cormorant-inter
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary:        #2a6e5c;
  --primary-dark:   #1d4f42;
  --primary-soft:   #e6efeb;
  --accent:         #c9a665;
  --accent-soft:    #f4ecd8;

  --text:           #1f2a26;
  --text-soft:      #4d5b54;
  --muted:          #8a9690;
  --border:         #e9ede9;
  --bg:             #fbf9f3;
  --surface:        #ffffff;
  --surface-warm:   #faf6ec;

  --shadow-sm:      0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:      0 18px 48px rgba(0,0,0,0.16);

  --r-sm:           8px;
  --r-md:           16px;
  --r-lg:           26px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; color: var(--primary-dark); line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.55rem); margin-bottom: 18px; }
h3 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
p { margin-bottom: 14px; }

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

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-strip {
  background: var(--primary-dark); color: rgba(255,255,255,0.88);
  padding: 9px 0; font-size: 0.82rem;
}
.header-strip .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.header-strip a { color: rgba(255,255,255,0.92); }
.header-strip a:hover { color: var(--accent); }
.header-strip .item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) {
  .header-strip { font-size: 0.74rem; padding: 7px 0; }
  .header-strip .container { justify-content: center; }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.35rem;
  flex-shrink: 0; border-radius: 8px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: 1.3rem; color: var(--primary-dark);
}
.logo-sub {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.7rem; font-weight: 600; color: var(--accent);
  letter-spacing: 1.4px; text-transform: uppercase;
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  color: var(--text-soft); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 0; flex-shrink: 0;
  border-radius: 8px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--primary-dark); border-radius: 2px;
  margin: 5px auto; transition: .3s;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero (variant A: full-bleed bg) ============ */
.hero {
  position: relative; min-height: 540px;
  display: flex; align-items: center;
  overflow: hidden; color: #fff;
}

/* ============ Hero (variant B: split text+image) ============ */
.hero-split {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--surface-warm) 100%);
  color: var(--text); min-height: auto;
  padding: 96px 0; display: block;
}
.hero-split-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero-split-text h1 { color: var(--primary-dark); margin-bottom: 16px; }
.hero-split-text p.lead { color: var(--text-soft); font-size: 1.13rem; margin-bottom: 28px; }
.hero-split-image { position: relative; }
.hero-split-image .hero-img {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--r-lg); object-fit: cover; box-shadow: var(--shadow-lg);
}
.hero-badge-light {
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent-soft);
}
.btn-outline-dark { background: transparent; color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-dark:hover { background: var(--primary-dark); color: #fff; }
@media (max-width: 980px) {
  .hero-split-grid { grid-template-columns: 1fr; }
  .hero-split { padding: 60px 0; }
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; max-width: 720px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; margin-bottom: 18px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 600;
}
.hero-content h1 { color: #fff; margin-bottom: 16px; }
.hero-content p.lead { color: rgba(255,255,255,0.92); font-size: 1.13rem; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-weight: 600;
  font-size: 0.93rem; transition: all .25s;
  cursor: pointer; border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ============ Stats bar ============ */
.stats-bar {
  background: var(--primary);
  padding: 28px 0; color: #fff;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  text-align: center;
}
.stat strong {
  display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.4rem; font-weight: 700;
  margin-bottom: 4px;
}
.stat span {
  font-size: 0.78rem; letter-spacing: 1.4px; text-transform: uppercase;
  font-weight: 600; opacity: 0.92;
}

/* ============ Section ============ */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--surface-warm); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .eyebrow {
  display: inline-block; color: var(--accent);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 em { color: var(--accent); font-style: italic; font-weight: 600; }
.section-head p { color: var(--text-soft); font-size: 1.03rem; }

/* ============ Cards ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); transition: all .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.card-img {
  width: 100%; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
}
.card-img-tag {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.card-body { padding: 26px 24px; }
.card-body h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 8px; }
.card-body p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ============ Contacts ============ */
.contacts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1080px; margin: 0 auto;
}
.contact-item {
  background: var(--surface); padding: 28px 22px;
  border-radius: var(--r-md); border: 1px solid var(--border);
  text-align: center; transition: all .25s;
}
.contact-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.5rem;
}
.contact-item .label { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.contact-item .value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-item .value a { color: var(--text); }
.contact-item .value a:hover { color: var(--accent); }

/* ============ Map ============ */
.map-wrapper {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.map-wrapper iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 56px 40px; border-radius: var(--r-lg);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner h2 em { color: var(--accent); font-style: italic; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 24px; }

/* ============ Wellness bridge ============ */
.wellness-bridge .bridge-body { max-width: 760px; margin: 0 auto; text-align: center; }
.wellness-bridge .bridge-body p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; margin-bottom: 16px; }
.wellness-bridge .bridge-cta { margin-top: 26px; }
.wellness-bridge--split .bridge-grid { display: grid; gap: 32px; align-items: center; }
.wellness-bridge--split .bridge-text { max-width: 780px; margin: 0 auto; }
.wellness-bridge--split .bridge-text h2 { margin: 8px 0 18px; }
.wellness-bridge--split .bridge-text p { color: var(--text-soft); font-size: 1.05rem; line-height: 1.75; margin-bottom: 16px; }
.wellness-bridge--split .bridge-cta { margin-top: 24px; }

/* ============ Contact form (fallback) ============ */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { align-self: flex-start; margin-top: 4px; }

/* ============ Page hero ============ */
.page-hero {
  padding: 84px 0 50px; text-align: center;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}
.page-hero h1 { margin-bottom: 8px; color: var(--primary-dark); }
.breadcrumb { font-size: 0.86rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

/* ============ Hours table ============ */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px dashed var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 11px 0; font-size: 0.94rem; }
.hours-table td:first-child { font-weight: 600; color: var(--primary-dark); width: 40%; }
.hours-table td:last-child { color: var(--text-soft); text-align: right; }
.hours-table tr.closed td:last-child { color: var(--muted); font-style: italic; }

/* ============ Footer ============ */
.site-footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.78);
  padding: 60px 0 24px; font-size: 0.94rem;
}
.site-footer h4 { color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.18rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; margin-bottom: 12px; }
.footer-contact-item { margin-bottom: 12px; font-size: 0.9rem; line-height: 1.5; }
.footer-contact-item strong { display: block; color: var(--accent); font-size: 0.74rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 3px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: rgba(255,255,255,0.5); text-align: center; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.91rem; }

/* ============ Service rows ============ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-row { background: var(--surface); padding: 22px 24px; border-radius: var(--r-md); display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--border); transition: all .25s; }
.service-row:hover { border-color: var(--accent); transform: translateX(4px); }
.service-row .ico { flex-shrink: 0; width: 46px; height: 46px; background: var(--primary-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: 1.1rem; }
.service-row .body strong { color: var(--primary-dark); font-size: 1.04rem; display: block; margin-bottom: 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; }
.service-row .body p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }

/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: all .8s ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .footer-grid, .contacts-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
  .section { padding: 60px 0; }
  .burger { display: flex; align-items: center; justify-content: center; flex-direction: column; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); padding: 20px 24px;
    border-top: 1px solid var(--border); box-shadow: var(--shadow-md);
    flex-direction: column; gap: 4px; align-items: stretch;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .cards-grid, .contacts-grid, .stats-grid { grid-template-columns: 1fr; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .logo-mark { width: 42px; height: 42px; font-size: 1.18rem; }
  .logo-name { font-size: 1.12rem; }
  .logo-sub { font-size: 0.62rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .cta-banner { padding: 36px 24px; }
}
