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

:root {
  --background: 40 33% 97%;
  --foreground: 0 0% 18%;
  --text: 0 0% 18%;
  --card: 40 33% 97%;
  --card-foreground: 0 0% 18%;
  --popover: 40 33% 97%;
  --popover-foreground: 0 0% 18%;
  --primary: 38 38% 53%;
  --primary-foreground: 0 0% 100%;
  --secondary: 35 20% 82%;
  --secondary-foreground: 0 0% 18%;
  --muted: 35 20% 82%;
  --muted-foreground: 0 0% 18%;
  --accent: 0 46% 33%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 35 20% 82%;
  --input: 35 20% 82%;
  --ring: 0 46% 33%;
  --radius: 0.25rem;
  --success: 196 52% 74%;
  --warning: 34 89% 85%;
  --error: 10 100% 86%;
}

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

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: hsl(var(--text));
  background-color: hsl(var(--background));
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: hsl(var(--text));
}

h1 {
  font-size: clamp(2.25rem, 5vw, 2.625rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
}

p {
  line-height: 1.75;
}

a {
  color: hsl(var(--accent));
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  text-decoration: underline;
}

img, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  margin-inline: auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 4rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-primary:hover {
  background-color: hsl(0 46% 23%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 46, 46, 0.25);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--primary));
  border: 1.5px solid hsl(var(--primary));
}

.btn-secondary:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
}

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(45, 45, 45, 0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: 0 4px 20px rgba(45, 45, 45, 0.1);
}

.service-card {
  background-color: hsl(var(--background));
  border-left: 3px solid hsl(var(--primary));
  padding: 1.75rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  background-color: #ffffff;
  border: 1px solid hsl(var(--border));
  border-radius: 0.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus {
  outline: none;
  border-color: hsl(var(--accent));
  box-shadow: 0 0 0 2px hsl(var(--accent) / 0.1);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: hsl(var(--secondary) / 0.4);
  color: hsl(var(--text));
  border-radius: 0.25rem;
}

.badge-active {
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / 0.3);
}

.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 7.5rem 0;
  }
}

.navbar {
  background-color: hsl(var(--primary));
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  transition: color 0.2s ease-in-out;
}

.navbar a:hover {
  color: #ffffff;
  text-decoration: none;
}

.navbar .btn-primary {
  background-color: hsl(var(--accent));
  color: #ffffff;
}

.hero {
  background-color: hsl(var(--primary));
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero h1, .hero h2, .hero h3, .hero p {
  color: #ffffff;
}

.hero p {
  opacity: 0.9;
  font-weight: 300;
  font-size: 1.125rem;
}

.footer {
  background-color: hsl(var(--primary));
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: #ffffff;
}

.footer strong, .footer h1, .footer h2, .footer h3, .footer h4 {
  color: #ffffff;
}

.prose {
  --tw-prose-body: var(--text);
  --tw-prose-headings: var(--text);
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.posts-archive-grid img {
  aspect-ratio: 16/9;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}