/* Mutual AMEEDYC — estilos estáticos (siempre desde /public, sin depender de _next/static) */
:root {
  --background: #ffffff;
  --foreground: #0c2340;
  --ameedyc-light: #7eb8e8;
  --ameedyc-light-bg: #e8f4fc;
  --ameedyc-dark: #0c2340;
  --ameedyc-accent: #1a5a9e;
  --card-bg: #ffffff;
  --surface: #ffffff;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ameedyc-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-3 { margin-left: 0.75rem; }

.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-6xl { max-width: 72rem; }
.min-w-\[200px\] { min-width: 200px; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration: underline; }

.text-white { color: #fff; }
.text-ameedyc-dark { color: var(--ameedyc-dark); }
.text-ameedyc-accent { color: var(--ameedyc-accent); }
.text-ameedyc-dark\/70 { color: rgb(12 35 64 / 0.7); }
.text-ameedyc-dark\/60 { color: rgb(12 35 64 / 0.6); }
.text-ameedyc-dark\/50 { color: rgb(12 35 64 / 0.5); }
.text-ameedyc-dark\/80 { color: rgb(12 35 64 / 0.8); }
.text-ameedyc-dark\/90 { color: rgb(12 35 64 / 0.9); }
.text-ameedyc-dark\/75 { color: rgb(12 35 64 / 0.75); }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-green-800 { color: #166534; }
.text-yellow-800 { color: #854d0e; }
.text-gray-600 { color: #4b5563; }

.bg-white { background-color: #fff; }
.bg-ameedyc-dark { background-color: var(--ameedyc-dark); }
.bg-ameedyc-light-bg { background-color: var(--ameedyc-light-bg); }
.bg-ameedyc-light-bg\/30 { background-color: rgb(232 244 252 / 0.3); }
.bg-ameedyc-dark\/10 { background-color: rgb(12 35 64 / 0.1); }
.bg-ameedyc-accent\/15 { background-color: rgb(26 90 158 / 0.15); }
.bg-\[\#25D366\]\/15 { background-color: rgb(37 211 102 / 0.15); }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, var(--ameedyc-light-bg), #fff)); }
.from-ameedyc-light-bg { --tw-gradient-from: var(--ameedyc-light-bg); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-white { --tw-gradient-to: #fff; }

.border { border-width: 1px; border-style: solid; border-color: #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-ameedyc-light { border-color: var(--ameedyc-light); }
.border-ameedyc-light\/40 { border-color: rgb(126 184 232 / 0.4); }
.border-ameedyc-light\/50 { border-color: rgb(126 184 232 / 0.5); }
.border-ameedyc-light\/70 { border-color: rgb(126 184 232 / 0.7); }
.border-ameedyc-dark\/25 { border-color: rgb(12 35 64 / 0.25); }
.border-ameedyc-accent\/35 { border-color: rgb(26 90 158 / 0.35); }
.border-red-200 { border-color: #fecaca; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }

.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.block { display: block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }

.shrink-0 { flex-shrink: 0; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-28 { width: 7rem; }

.backdrop-blur { backdrop-filter: blur(8px); }
.bg-white\/95 { background-color: rgb(255 255 255 / 0.95); }

.antialiased { -webkit-font-smoothing: antialiased; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--ameedyc-dark);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn-primary:hover { background-color: var(--ameedyc-accent); text-decoration: none; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--ameedyc-light);
  background-color: var(--ameedyc-light-bg);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ameedyc-dark);
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background-color: rgb(126 184 232 / 0.3); text-decoration: none; }

.card {
  border-radius: 0.75rem;
  border: 1px solid rgb(126 184 232 / 0.4);
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

input, select, button, textarea {
  font: inherit;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgb(26 90 158 / 0.35);
  background-color: #fff;
  color: var(--ameedyc-dark);
  padding: 0.5rem 0.75rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--ameedyc-accent);
  box-shadow: 0 0 0 1px var(--ameedyc-accent);
}

table { border-collapse: collapse; width: 100%; }

.page-hero-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ameedyc-dark);
}

.page-hero-sub {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(12 35 64 / 0.9);
}

.menu-icon-bar {
  background-color: #fff;
}

.social-icon-link {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid rgb(12 35 64 / 0.25);
  color: var(--ameedyc-dark);
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.social-icon-link:hover {
  border-color: var(--ameedyc-accent);
  background-color: var(--ameedyc-light-bg);
}

.bg-page-texture,
.app-main,
.app-footer {
  background-color: var(--surface);
}

@media (min-width: 640px) {
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
.hover\:text-ameedyc-accent:hover { color: var(--ameedyc-accent); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-90:hover { opacity: 0.9; }
.transition { transition-property: color, background-color, box-shadow, opacity; transition-duration: 0.15s; }
