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

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

:root {
  --bg: hsl(40, 33%, 96%);
  --text: hsl(210, 11%, 15%);
  --border: hsl(40, 20%, 85%);
  --card: hsl(40, 50%, 98%);
  --primary: hsl(15, 45%, 55%);
  --primary-text: hsl(40, 33%, 96%);
  --muted-bg: hsl(40, 20%, 90%);
  --muted-text: hsl(40, 10%, 45%);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --container: 1200px;
  --pad: clamp(1.5rem, 5vw, 3rem);
  --radius-sm: 0.75rem;
  --radius: 1.25rem;
  --radius-full: 9999px;
  --transition: 0.3s ease;
  --shadow: 0 2px 24px hsl(40, 20%, 70%, 0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sr.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr[data-delay="1"] { transition-delay: 0.15s; }
.sr[data-delay="2"] { transition-delay: 0.30s; }

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  background: hsl(40, 33%, 96%, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 16px hsl(40, 20%, 70%, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  font-family: var(--font-sans);
}

.nav-cta:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(40,33%,96%, 0.4), hsl(40,33%,96%, 0.82), var(--bg));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 56rem;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  background: hsl(15, 45%, 55%, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.75rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-text);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-text);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-size: 1.0625rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px hsl(15, 45%, 55%, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  background: hsl(15, 45%, 48%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px hsl(15, 45%, 55%, 0.38);
}

.btn-ghost {
  display: inline-block;
  background: hsl(15, 45%, 55%, 0.1);
  color: var(--primary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  background: hsl(15, 45%, 55%, 0.2);
}

.section {
  padding: 6rem 0;
}

.section-card {
  padding: 6rem 0;
  background: var(--card);
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-text);
  max-width: 36rem;
}

.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(15, 45%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--muted-text);
}

.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .gallery-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.gallery-header p {
  color: var(--muted-text);
  max-width: 28rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

@media (min-width: 768px) {
  .gallery-item:nth-child(2) {
    transform: translateY(-3rem);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.format-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .format-layout {
    flex-direction: row;
    gap: 5rem;
  }
}

.format-image {
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .format-image {
    width: 50%;
  }
}

.format-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.format-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .format-content {
    width: 50%;
  }
}

.format-content h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 2.25rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.checklist li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist h4 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.checklist p {
  color: var(--muted-text);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 52rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.faq-item h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--muted-text);
}

.form-section {
  padding: 6rem 0;
  background: var(--card);
  position: relative;
}

.form-card {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--bg);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
}

.form-card > p {
  color: var(--muted-text);
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus {
  border-color: hsl(15, 45%, 55%, 0.6);
  box-shadow: 0 0 0 3px hsl(15, 45%, 55%, 0.12);
}

.form-group input::placeholder {
  color: var(--muted-text);
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--primary-text);
  padding: 1.0625rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: hsl(15, 45%, 48%);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-text);
  text-align: center;
  margin-top: 1rem;
}

.form-note a {
  text-decoration: underline;
  transition: color var(--transition);
}

.form-note a:hover {
  color: var(--primary);
}

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--muted-text);
}

.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-cols {
    flex-direction: row;
    gap: 3rem;
  }
}

.footer-col-title {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-text);
  margin-bottom: 0.4rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--bg);
  padding: 1rem 0;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-text {
  font-size: 0.875rem;
  font-weight: 300;
}

.cookie-text a {
  text-decoration: underline;
  color: inherit;
}

.cookie-text a:hover {
  color: var(--primary);
}

.cookie-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-btn:hover {
  background: hsl(15, 45%, 48%);
}

.page-content {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 2.5rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
  margin-bottom: 0.875rem;
}

.prose p {
  color: var(--muted-text);
  margin-bottom: 1rem;
}

.prose ul {
  color: var(--muted-text);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose ul li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.success-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem var(--pad) 3rem;
}

.success-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: hsl(15, 45%, 55%, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.25rem;
}

.success-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-page h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.success-page p {
  color: var(--muted-text);
  font-size: 1.125rem;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}
