/* Design tokens */
:root {
    --surface: #f7faf8;
    --surface-container: #ebeeed;
    --surface-container-low: #f1f4f2;
    --surface-container-lowest: #ffffff;
    --surface-container-highest: #e0e3e1;
    --primary: #416743;
    --primary-container: #7da67d;
    --primary-fixed: #c2eec0;
    --secondary: #24657e;
    --secondary-container: #bde9ff;
    --tertiary-fixed: #e5e2dc;
    --on-surface: #181c1c;
    --on-surface-variant: #424941;
    --on-primary: #ffffff;
    --on-primary-container: #002107;
    --on-secondary: #ffffff;
    --on-secondary-container: #24667f;
    --on-tertiary-container: #343430;
    --outline-variant: #c2c8be;
    --max-width: 1280px;
    --margin-mobile: 20px;
    --margin-desktop: 80px;
    --gutter-desktop: 24px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--surface);
}

body {
    min-height: 100dvh;
    margin: 0;
    background: var(--surface);
    color: var(--on-surface);
    font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Utility layer generated from the Stitch/Tailwind markup used by the theme. */
.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.-top-10 { top: -2.5rem; }
.-right-10 { right: -2.5rem; }
.-bottom-10 { bottom: -2.5rem; }
.-left-10 { left: -2.5rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-auto { margin-top: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-gutter-desktop { gap: var(--gutter-desktop); }

.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }
.h-\[400px\] { height: 400px; }
.min-h-screen { min-height: 100vh; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-72 { width: 18rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-max-width { max-width: var(--max-width); }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top: 1px solid; }
.border-b-2 { border-bottom: 2px solid; }
.border-primary { border-color: var(--primary); }
.border-outline-variant { border-color: var(--outline-variant); }
.border-outline-variant\/30 { border-color: color-mix(in srgb, var(--outline-variant) 30%, transparent); }
.border-primary\/10 { border-color: color-mix(in srgb, var(--primary) 10%, transparent); }

.bg-surface { background-color: var(--surface); }
.bg-surface\/50 { background-color: color-mix(in srgb, var(--surface) 50%, transparent); }
.bg-surface\/90 { background-color: color-mix(in srgb, var(--surface) 90%, transparent); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface-container-lowest { background-color: var(--surface-container-lowest); }
.bg-primary { background-color: var(--primary); }
.bg-primary\/90 { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.bg-primary\/30 { background-color: color-mix(in srgb, var(--primary) 30%, transparent); }
.bg-primary-container\/20 { background-color: color-mix(in srgb, var(--primary-container) 20%, transparent); }
.bg-primary-fixed { background-color: var(--primary-fixed); }
.bg-primary-fixed\/30 { background-color: color-mix(in srgb, var(--primary-fixed) 30%, transparent); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-container { background-color: var(--secondary-container); }
.bg-secondary-fixed\/30 { background-color: color-mix(in srgb, #bde9ff 30%, transparent); }
.bg-tertiary-fixed { background-color: var(--tertiary-fixed); }
.\!bg-\[\#1877F2\], .bg-\[\#1877F2\] { background-color: #1877f2; }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.from-\[\#f9ce34\] { --tw-gradient-from: #f9ce34; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via, transparent), var(--tw-gradient-to, transparent); }
.via-\[\#ee2a7b\] { --tw-gradient-via: #ee2a7b; }
.to-\[\#6228d7\] { --tw-gradient-to: #6228d7; }

.fill-current { fill: currentColor; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-primary { color: var(--primary); }
.text-on-primary { color: var(--on-primary); }
.text-on-primary-container { color: var(--on-primary-container); }
.text-on-primary-container\/80 { color: color-mix(in srgb, var(--on-primary-container) 80%, transparent); }
.text-on-secondary { color: var(--on-secondary); }
.text-on-secondary-container { color: var(--on-secondary-container); }
.text-on-tertiary-container { color: var(--on-tertiary-container); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.2; }
.font-display-lg,
.font-headline-lg,
.font-headline-md,
.font-headline-lg-mobile {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.font-body-md,
.font-body-lg,
.font-label-md {
    font-family: "Work Sans", system-ui, sans-serif;
}
.text-display-lg {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}
.text-headline-lg {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
}
.text-headline-md {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}
.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}
.text-body-md {
    font-size: 1rem;
    line-height: 1.6;
}
.text-label-md {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-margin-mobile { padding-left: var(--margin-mobile); padding-right: var(--margin-mobile); }
.pb-4 { padding-bottom: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-20 { padding-top: 5rem; }
.p-margin-mobile { padding: var(--margin-mobile); }

.shadow-sm { box-shadow: 0 1px 8px rgba(24, 28, 28, 0.08); }
.shadow-lg { box-shadow: 0 10px 22px rgba(24, 28, 28, 0.14); }
.sage-shadow, .shadow-sage, .card-shadow, .shadow-custom {
    box-shadow: 0 4px 20px rgba(65, 103, 67, 0.1);
}
.blur-3xl { filter: blur(64px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.opacity-0 { opacity: 0; }
.transition-all { transition: all 180ms ease; }
.transition-colors { transition: color 180ms ease, background-color 180ms ease; }
.transition-opacity { transition: opacity 180ms ease; }
.transition-transform { transition: transform 180ms ease; }
.duration-200 { transition-duration: 200ms; }

.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:translate-y-\[-4px\]:hover { transform: translateY(-4px); }
.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary-container:hover { color: var(--primary-container); }
.hover\:bg-surface:hover { background-color: var(--surface); }
.hover\:bg-primary\/90:hover { background-color: color-mix(in srgb, var(--primary) 90%, transparent); }
.active\:opacity-80:active { opacity: 0.8; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Carousel (Inicio) */
.carousel-container {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.carousel-item {
    scroll-snap-align: start;
    flex: 0 0 100%;
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:items-start { align-items: flex-start; }
    .md\:px-margin-desktop { padding-left: var(--margin-desktop); padding-right: var(--margin-desktop); }
    .md\:p-12 { padding: 3rem; }
    .md\:p-margin-desktop { padding: var(--margin-desktop); }
    .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:h-\[500px\] { height: 500px; }
    .md\:text-left { text-align: left; }
}
