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

:root {
  --background: 210 33% 98%;
  --foreground: 218 45% 15%;
  --text: 218 45% 15%;
  --card: 0 0% 100%;
  --card-foreground: 218 45% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 218 45% 15%;
  --primary: 214 52% 25%;
  --primary-foreground: 0 0% 100%;
  --secondary: 213 62% 15%;
  --secondary-foreground: 0 0% 100%;
  --muted: 210 33% 94%;
  --muted-foreground: 213 17% 43%;
  --accent: 46 68% 47%;
  --accent-foreground: 0 0% 0%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 213 20% 80%;
  --input: 210 33% 98%;
  --ring: 46 68% 47%;
  --radius: 0.25rem;
  --success: 196 52% 74%;
  --warning: 34 89% 85%;
  --error: 10 100% 86%;

  --brand-primary: 214 52% 25%;
  --brand-secondary: 213 62% 15%;
  --brand-background: 210 33% 98%;
  --brand-accent: 46 68% 47%;
  --brand-text: 218 45% 15%;
  --brand-header: 218 45% 15%;
  --brand-footer: 213 62% 15%;
  --brand-headline: 46 68% 47%;
  --brand-muted: 213 17% 43%;
}

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

html {
  font-size: clamp(0.875rem, calc(1vw + 0.5rem), 1rem);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--text));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
}

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

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

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

h5,
h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  max-width: 640px;
}

a {
  color: hsl(var(--accent));
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover {
  color: hsl(var(--accent) / 0.85);
}

small,
.caption {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: hsl(var(--muted-foreground));
}

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

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 16px hsl(var(--accent) / 0.25);
}

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

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

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--secondary) / 0.08);
  border-radius: 0.375rem;
  box-shadow: 0 4px 24px hsl(var(--secondary) / 0.06);
  color: hsl(var(--card-foreground));
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px hsl(var(--secondary) / 0.12);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: hsl(var(--input));
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: hsl(var(--text));
  transition: border-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background-color: hsl(var(--brand-header));
  color: hsl(0 0% 100%);
  border-bottom: 1px solid hsl(var(--accent) / 0.1);
}

.site-header a {
  color: hsl(0 0% 100%);
}

.site-header a:hover {
  color: hsl(var(--accent));
}

.site-header .nav-cta {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.site-footer {
  background-color: hsl(var(--brand-footer));
  color: hsl(0 0% 100% / 0.9);
}

.site-footer a {
  color: hsl(0 0% 100% / 0.9);
}

.site-footer a:hover {
  color: hsl(var(--accent));
}

.site-footer .footer-secondary {
  color: hsl(0 0% 100% / 0.55);
}

.site-footer .footer-divider {
  border-color: hsl(0 0% 100% / 0.15);
}

.text-primary {
  color: hsl(var(--primary));
}

.text-secondary {
  color: hsl(var(--secondary));
}

.text-accent {
  color: hsl(var(--accent));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-headline {
  color: hsl(var(--brand-headline));
}

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

.bg-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

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

.bg-background {
  background-color: hsl(var(--background));
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-color: hsl(var(--primary));
  color: hsl(0 0% 100%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.55) 0%, transparent 60%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.whatsapp-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-button:hover {
  transform: scale(1.05);
}

@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;
  }
}

.prose {
  --tw-prose-body: hsl(var(--text));
  --tw-prose-headings: hsl(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;
}
