@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --bg-body: #FFF5F8;
  --bg-surface: #FFFFFF;
  --bg-alt: #FCE4EC;
  --accent-primary: #AD6B7A;
  --accent-hover: #8E5562;
  --accent-light: #F8BBD9;
  --text-primary: #3D2C32;
  --text-secondary: #8A7078;
  --font-display: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  --space-xs: 0.5rem; --space-sm: 1rem; --space-md: 1.5rem;
  --space-lg: 3rem; --space-xl: 5rem;
  --border-radius-sm: 8px; --border-radius-md: 16px; --border-radius-lg: 24px;
  --border-radius-pill: 50px;
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.06);
  --transition: 0.3s ease;
  --header-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-body); color: var(--text-primary); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-primary); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--border-radius-pill); font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--accent-primary); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.product-tag { font-size: 0.75rem; padding: 4px 12px; background: var(--bg-alt); border-radius: var(--border-radius-pill); color: var(--text-secondary); display: inline-block; margin-top: 8px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-height); background: color-mix(in srgb, var(--bg-surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--accent-light); z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.header-nav { display: flex; gap: var(--space-md); align-items: center; }
.header-nav a { font-size: 0.9rem; font-weight: 500; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-nav { position: fixed; top: var(--header-height); left: 0; right: 0; background: var(--bg-surface); flex-direction: column; padding: var(--space-lg); transform: translateY(-120%); transition: transform 0.3s; }
  .header-nav.open { transform: translateY(0); }
}

.contacts-section { padding: var(--space-xl) 0; background: var(--bg-surface); }
.contacts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); margin-top: var(--space-md); }
.contacts-grid h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.contacts-grid p { color: var(--text-secondary); font-size: 0.95rem; }

.site-footer { background: var(--bg-surface); padding: var(--space-xl) 0 var(--space-md); border-top: 1px solid var(--accent-light); }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); }
.footer-block h4 { margin-bottom: var(--space-sm); }
.footer-block p, .footer-block a { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 6px; }
.footer-bottom { text-align: center; margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--accent-light); color: var(--text-secondary); font-size: 0.85rem; }

.page-header { padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg); text-align: center; background: var(--bg-surface); }
.legal-content { background: var(--bg-surface); padding: var(--space-xl); border-radius: var(--border-radius-lg); max-width: 800px; margin: var(--space-lg) auto; }
.legal-content h2 { font-size: 1.2rem; margin: var(--space-md) 0 var(--space-sm); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 0.5rem; }
.legal-content ul { padding-left: 1.2rem; list-style: disc; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-lg); padding: var(--space-xl) 0; }
.about-card { background: var(--bg-surface); padding: var(--space-lg); border-radius: var(--border-radius-md); box-shadow: var(--shadow-soft); }

.fade-in { opacity: 0; transform: translateY(16px); transition: 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

body.layout-timeline main { padding-top: var(--header-height); }
.hero-minimal { text-align: center; padding: var(--space-xl) 0; }
.timeline { position: relative; padding: var(--space-xl) 0; max-width: 900px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--accent-light); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: var(--space-md) var(--space-lg); margin-bottom: var(--space-lg); }
.tl-left { left: 0; text-align: right; padding-right: calc(var(--space-lg) + 20px); }
.tl-right { left: 50%; padding-left: calc(var(--space-lg) + 20px); }
.tl-marker { position: absolute; top: var(--space-lg); width: 14px; height: 14px; background: var(--accent-primary); border-radius: 50%; border: 3px solid var(--bg-body); }
.tl-left .tl-marker { right: -7px; }
.tl-right .tl-marker { left: -7px; }
.tl-card { background: var(--bg-surface); padding: var(--space-md); border-radius: var(--border-radius-md); box-shadow: var(--shadow-soft); text-align: left; display: inline-block; max-width: 320px; }
.tl-card img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--border-radius-sm); margin-bottom: var(--space-sm); }
@media (max-width: 768px) { .timeline::before { left: 12px; } .tl-item, .tl-left, .tl-right { width: 100%; left: 0; padding-left: 40px; text-align: left; } .tl-left .tl-marker, .tl-right .tl-marker { left: 5px; right: auto; } }
