@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

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

:root {
  --bg: hsl(40, 33%, 96%);
  --fg: hsl(30, 10%, 20%);
  --muted: hsl(30, 8%, 50%);
  --border: hsl(35, 15%, 85%);
  --card: hsl(40, 50%, 98%);
  --primary: hsl(15, 60%, 50%);
  --primary-light: hsl(15, 60%, 58%);
  --primary-bg: hsl(15, 60%, 95%);
  --primary-fg: hsl(40, 33%, 96%);
  --accent-bg: hsl(35, 30%, 93%);
  --radius: 1rem;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow: 0 2px 16px rgba(80,50,30,0.09);
  --shadow-lg: 0 8px 40px rgba(80,50,30,0.13);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--fg); line-height: 1.65; font-size: 16px; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-md { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500;
  padding: 14px 32px; border-radius: 100px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s; text-decoration: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-outline { background: transparent; color: var(--fg); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { font-size: 1.1rem; padding: 18px 40px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

header {
  position: sticky; top: 0; z-index: 100;
  background: hsla(40, 33%, 96%, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.logo:hover { text-decoration: none; }
nav { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: 0.95rem; color: var(--muted); background: none; border: none; cursor: pointer; padding: 8px 14px; border-radius: 8px; font-family: var(--font-sans); transition: color 0.18s, background 0.18s; }
.nav-link:hover { color: var(--fg); background: hsla(15,60%,50%,0.07); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--fg); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); flex-direction: column; padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu nav { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
.mobile-menu .nav-link { font-size: 1.25rem; width: 100%; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
.close-menu { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--muted); }

section { padding: 80px 0; }
section.hero { padding: 64px 0 80px; }

h1, h2, h3 { font-family: var(--font-serif); color: var(--fg); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }

.hero-inner { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text h1 em { color: var(--primary); font-style: italic; font-weight: 400; }
.hero-text p { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; line-height: 1.75; }
.hero-image { flex: 1; }
.hero-image-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,0.7); transform: rotate(1deg); transition: transform 0.5s; aspect-ratio: 4/3; }
.hero-image-wrap:hover { transform: rotate(0deg); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.section-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.section-center { text-align: center; }
.section-center h2 { margin-bottom: 16px; }
.section-center .lead { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 56px; }

.bg-muted { background: var(--accent-bg); }
.bg-primary { background: var(--primary); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; }
.card-icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 18px; opacity: 0.85; }
.card p { color: var(--muted); line-height: 1.7; margin-top: 8px; }

.format-inner { display: flex; align-items: center; gap: 64px; }
.format-images { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.format-img-tall { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; }
.format-img-tall img { width: 100%; height: 100%; object-fit: cover; }
.format-img-wide { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; margin-top: 32px; }
.format-img-wide img { width: 100%; height: 100%; object-fit: cover; }
.format-text { flex: 1; }
.format-text h2 { margin-bottom: 36px; }
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-body p { color: var(--muted); }

.results-image { max-width: 720px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; }
.results-image img { width: 100%; height: auto; display: block; }

.faq { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-serif); font-size: 1.1rem; color: var(--fg); gap: 16px; }
.faq-question:hover { color: var(--primary); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease, padding 0.3s; }
.faq-answer p { padding-bottom: 20px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 200px; }

.cta-section { background: var(--primary); padding: 96px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: url('images/texture.png') center/cover; opacity: 0.08; pointer-events: none; }
.cta-inner { display: flex; align-items: center; gap: 64px; position: relative; z-index: 1; }
.cta-text { flex: 1; }
.cta-text h2 { color: #fff; margin-bottom: 18px; }
.cta-text p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 400px; line-height: 1.7; }
.cta-form { flex: 1; }

.form-card { background: var(--card); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { text-align: center; font-size: 1.5rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--fg); }
.form-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-sans); font-size: 1rem; background: var(--bg); color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsla(15,60%,50%,0.12); }
.form-input.error { border-color: hsl(0, 70%, 55%); }
.form-error { color: hsl(0, 70%, 55%); font-size: 0.83rem; margin-top: 5px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.form-check label { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.form-check label a { color: var(--primary); }

footer { background: var(--accent-bg); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { font-size: 2rem; display: inline-block; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; color: var(--fg); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col p, .footer-col a { font-size: 0.88rem; color: var(--muted); display: block; margin-bottom: 6px; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; font-size: 0.85rem; color: var(--muted); }

.legal-page { padding: 80px 0 100px; }
.legal-page h1 { margin-bottom: 40px; }
.legal-page h2 { font-size: 1.2rem; margin: 36px 0 12px; }
.legal-page p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.legal-page ul { margin: 10px 0 14px; padding-left: 24px; list-style: disc; }
.legal-page ul li { color: var(--muted); margin-bottom: 8px; line-height: 1.7; }

.success-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.success-inner { max-width: 440px; text-align: center; }
.success-icon { width: 96px; height: 96px; background: var(--primary-bg); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 36px; }
.success-icon svg { width: 48px; height: 48px; }
.success-inner h1 { margin-bottom: 20px; }
.success-inner p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 40px; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 18px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; box-shadow: 0 -4px 20px rgba(80,50,30,0.1);
}
.cookie-banner p { font-size: 0.9rem; color: var(--muted); max-width: 800px; line-height: 1.5; }
.cookie-banner a { color: var(--primary); }
.cookie-banner.hidden { display: none; }

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-image { width: 100%; }
  .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .format-inner { flex-direction: column-reverse; gap: 40px; }
  .format-images { width: 100%; }
  .cta-inner { flex-direction: column; gap: 40px; }
  .cta-text p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  nav { display: none; }
  .hamburger { display: block; }
}

@media (max-width: 560px) {
  section { padding: 60px 0; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner .btn { width: 100%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
