/* =========================================================
   MDTUSOLUCIONES — Hoja de estilos
   ========================================================= */

/* ---------- Variables de diseño ---------- */
:root {
  /* Colores de marca */
  --brand-teal-deep: oklch(41.1% 0.069 204.7);
  --brand-teal: oklch(49.4% 0.084 203.6);
  --brand-navy: oklch(24.7% 0.09 261.9);
  --brand-steel: oklch(53.6% 0.055 251.6);
  --brand-slate: oklch(61% 0.052 250.6);

  /* Colores de interfaz */
  --background: oklch(100% 0 0);
  --foreground: var(--brand-navy);
  --surface: oklch(97.5% 0.003 247.9);
  --card: oklch(100% 0 0);
  --primary: var(--brand-teal);
  --primary-foreground: oklch(100% 0 0);
  --muted-foreground: var(--brand-steel);
  --accent: oklch(95.5% 0.012 205);
  --border: oklch(92.9% 0.01 252.8);
  --input: oklch(90% 0.012 252.8);
  --ring: var(--brand-teal);
  --destructive: oklch(57.7% 0.245 27.325);

  /* Tipografía */
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;

  /* Radios */
  --radius-md: 6px;
  --radius-xl: 12px;
  --radius-2xl: 16px;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-float: 0 8px 24px -8px color-mix(in oklab, var(--brand-navy) 45%, transparent);

  --header-h: 72px;
  --container: 80rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; line-height: 1.5; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; font-weight: 600; }
* { border-color: var(--border); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 1rem; z-index: 60;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.5rem 1rem; border-radius: var(--radius-md);
}
.skip-link:focus { left: 1rem; position: fixed; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem; } }

.bg-surface { background: var(--surface); }
.text-teal-deep { color: var(--brand-teal-deep); }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-teal-deep);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.eyebrow-sm { font-size: 0.65rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  white-space: nowrap; font-weight: 500; font-size: 0.875rem; line-height: 1.25rem;
  border-radius: var(--radius-md);
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 1px var(--ring); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow); }
.btn-primary:hover { background: color-mix(in oklab, var(--primary) 90%, transparent); }
.btn-outline {
  background: var(--background); color: var(--foreground);
  border: 1px solid color-mix(in oklab, var(--brand-navy) 20%, transparent);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--surface); }
.btn-sm { height: 2.25rem; padding: 0.5rem 1rem; }
.btn-lg { height: 3rem; padding: 0 1.75rem; }
.hero-actions .btn-lg { font-size: 0.95rem; }
.btn-wide { padding: 0 2rem; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; width: 100%;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.logo { flex-shrink: 0; }
.logo img { height: 2.75rem; width: auto; }
.main-nav { display: none; align-items: center; gap: 2rem; }
.main-nav a { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color .15s; }
.main-nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-cta { display: none; }
.menu-toggle, .menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md);
  transition: background-color .15s, color .15s;
}
.menu-toggle:hover, .menu-close:hover { background: var(--accent); color: var(--brand-teal-deep); }
.menu-toggle svg, .menu-close svg { width: 1rem; height: 1rem; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* ---------- Menú móvil ---------- */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: color-mix(in oklab, var(--brand-navy) 45%, transparent);
  opacity: 0; transition: opacity .3s;
}
.mobile-overlay.is-open { opacity: 1; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 55;
  width: 75%; max-width: 24rem;
  background: var(--background); border-left: 1px solid var(--border);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem;
  box-shadow: 0 10px 40px -10px color-mix(in oklab, var(--brand-navy) 35%, transparent);
  transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-head img { height: 2.5rem; width: auto; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 0.875rem 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--foreground); transition: color .15s;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-cta { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Animación de entrada ---------- */
@keyframes enter { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
.animate-in { animation: enter .7s ease both; }
@media (prefers-reduced-motion: reduce) {
  .animate-in { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Inicio ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; align-items: center; gap: 3rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.hero h1 { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.08; color: var(--foreground); }
.hero-lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }
.hero-quote { margin-top: 2rem; max-width: 36rem; border-left: 2px solid var(--primary); padding-left: 1.25rem; }
.hero-quote p {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: 1rem; line-height: 1.625; color: var(--brand-teal-deep);
}
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero-media { position: relative; }
.hero-circle {
  display: none; position: absolute; right: -1.5rem; top: -1.5rem;
  width: 10rem; height: 10rem; border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--brand-slate) 30%, transparent);
}
.hero-image { position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--surface); }
.hero-image img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-badge {
  display: none; position: absolute; bottom: -1.25rem; left: 1.25rem;
  border-radius: var(--radius-xl); border: 1px solid var(--border);
  background: var(--background); padding: 1rem 1.25rem;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero-quote p { font-size: 1.125rem; line-height: 1.625; }
  .hero-actions { flex-direction: row; }
  .hero-badge { display: block; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; padding-top: 4rem; padding-bottom: 6rem; }
  .hero-copy, .hero-media { grid-column: span 6 / span 6; }
  .hero h1 { font-size: 3.6rem; }
  .hero-circle { display: block; }
  .hero-image img { aspect-ratio: 5 / 4; }
}

/* ---------- Secciones genéricas ---------- */
.section { padding-block: 5rem; }
.section-head { max-width: 42rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { margin-top: 1rem; font-size: 1.875rem; line-height: 1.25; color: var(--foreground); }
.section-lead { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) {
  .section { padding-block: 7rem; }
  .section-title { font-size: 2.25rem; line-height: 1.25; }
  .section-lead { font-size: 1.125rem; }
}

/* ---------- Nosotros ---------- */
.about-grid { display: grid; align-items: center; gap: 3.5rem; }
.about-media { position: relative; order: 2; }
.about-copy { order: 1; }
.about-collage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.about-main { grid-column: span 3 / span 3; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-2xl); }
.about-side { grid-column: span 2 / span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; }
.about-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-2xl); }
.about-note { border-radius: var(--radius-2xl); background: var(--brand-teal-deep); color: var(--primary-foreground); padding: 1.25rem; }
.about-note p { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; line-height: 1.375; }
.about-text { margin-top: 1.75rem; display: grid; gap: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.values {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem;
  border-top: 1px solid var(--border); padding-top: 2rem;
}
.values dd { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--brand-teal-deep); }
@media (min-width: 640px) {
  .about-text { font-size: 1.125rem; }
  .values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
  .about-media { order: 1; }
  .about-copy { order: 2; }
}

/* ---------- Servicios ---------- */
.services { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--card);
  transition: border-color .3s;
}
.service-card:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.service-media { position: relative; overflow: hidden; }
.service-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s; }
.service-card:hover .service-media img { transform: scale(1.03); }
.service-num {
  position: absolute; left: 1rem; top: 1rem; border-radius: 9999px;
  background: color-mix(in oklab, var(--background) 90%, transparent);
  padding: 0.25rem 0.75rem; font-family: var(--font-display);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--brand-teal-deep);
}
.service-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.service-body h3 { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--foreground); }
.service-body p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

.cta-box {
  margin-top: 3.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--surface); padding: 2rem;
}
.cta-box h3 { font-size: 1.25rem; line-height: 1.75rem; color: var(--foreground); }
.cta-box p { margin-top: 0.5rem; color: var(--muted-foreground); }
.cta-box .btn { flex-shrink: 0; }
@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-box { flex-direction: row; align-items: center; padding: 2.5rem; }
  .cta-box h3 { font-size: 1.5rem; line-height: 2rem; }
}
@media (min-width: 1024px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Nuestro trabajo (galería) ---------- */
.gallery { margin-top: 3.5rem; display: grid; gap: 1rem; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--surface); }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.g-item img.pos-top { object-position: center 20%; }
.g-item:hover img { transform: scale(1.03); }
.g-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.25rem 1.25rem;
  background: linear-gradient(to top, color-mix(in oklab, var(--brand-navy) 70%, transparent), transparent);
}
.g-caption p { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--primary-foreground); }
.g1 { aspect-ratio: 16 / 10; }
.g2 { aspect-ratio: 4 / 5; }
.g3 { aspect-ratio: 1 / 1; }
.g4 { aspect-ratio: 4 / 3; }
.g5 { aspect-ratio: 4 / 5; }
.g6 { aspect-ratio: 1 / 1; }
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g1 { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .g-item { aspect-ratio: auto; }
  .g1 { grid-column: span 4 / span 4; }
  .g2 { grid-column: span 2 / span 2; grid-row: span 2 / span 2; }
  .g3, .g4 { grid-column: span 2 / span 2; }
  .g5, .g6 { grid-column: span 3 / span 3; }
}

/* ---------- Frase institucional ---------- */
.quote-band { background: var(--brand-navy); padding-block: 5rem; }
.quote-inner { max-width: 56rem; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
.quote-line { display: block; margin-inline: auto; height: 1px; width: 3rem; background: var(--brand-slate); }
.quote-main {
  margin-top: 2rem; font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; line-height: 1.375; color: var(--primary-foreground);
}
.quote-sub { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--brand-slate); }
.quote-brand { margin-top: 2rem; color: var(--brand-slate); }
@media (min-width: 640px) {
  .quote-band { padding-block: 6rem; }
  .quote-inner { padding-inline: 2rem; }
  .quote-main { font-size: 1.875rem; }
  .quote-sub { font-size: 1.25rem; }
}
@media (min-width: 1024px) { .quote-main { font-size: 2.25rem; } }

/* ---------- Por qué elegirnos ---------- */
.features {
  margin-top: 4rem; display: grid; gap: 1px; overflow: hidden;
  border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--border);
}
.features li { background: var(--background); padding: 2rem; }
.feature-icon {
  display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center;
  border-radius: 9999px; border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent); color: var(--primary);
}
.feature-icon svg { width: 1.25rem; height: 1.25rem; }
.features h3 { margin-top: 1.5rem; font-size: 1rem; line-height: 1.5rem; color: var(--foreground); }
.features p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 3.5rem; }
.contact-lead { margin-top: 1.5rem; font-size: 1rem; line-height: 1.625; color: var(--muted-foreground); }
.contact-card {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem;
  border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--background); padding: 1.25rem;
  transition: border-color .15s;
}
.contact-card:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.contact-icon {
  display: inline-flex; flex-shrink: 0; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--accent); color: var(--primary);
}
.contact-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-label { display: block; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-foreground); }
.contact-value { display: block; margin-top: 0.125rem; font-weight: 500; color: var(--foreground); transition: color .15s; word-break: break-all; }
.contact-card:hover .contact-value { color: var(--primary); }

.form-card { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.form-grid { display: grid; gap: 1.25rem; }
.field { position: relative; }
.field label { display: block; font-size: 0.875rem; line-height: 1.5rem; font-weight: 500; }
.field input, .field select, .field textarea {
  display: flex; width: 100%; margin-top: 0.5rem;
  border-radius: var(--radius-md); border: 1px solid var(--input); background: var(--background);
  padding: 0.25rem 0.75rem; font-size: 1rem; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field input, .field select { height: 2.75rem; }
.field textarea { min-height: 60px; padding-block: 0.5rem; resize: vertical; }
.field textarea::placeholder { color: var(--muted-foreground); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 1px var(--ring);
}
.field [aria-invalid="true"] { border-color: var(--destructive); }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 1px var(--destructive); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; font-size: 0.875rem; cursor: pointer; }
.select-wrap select.is-placeholder { color: var(--muted-foreground); }
.select-wrap select option { color: var(--foreground); }
.select-wrap svg {
  position: absolute; right: 0.75rem; top: calc(50% + 0.25rem); transform: translateY(-50%);
  width: 1rem; height: 1rem; opacity: 0.5; pointer-events: none;
}
.field-error { margin-top: 0.375rem; font-size: 0.8rem; font-weight: 500; color: var(--destructive); }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.form-footer { display: flex; flex-direction: column; gap: 1rem; }
.form-footer p { font-size: 0.75rem; line-height: 1rem; color: var(--muted-foreground); }
.form-footer .btn:disabled { opacity: .5; pointer-events: none; }
@media (min-width: 640px) {
  .contact-lead { font-size: 1.125rem; }
  .form-card { padding: 2.5rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2 / span 2; }
  .form-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .field input, .field textarea { font-size: 0.875rem; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
  .contact-copy { grid-column: span 5 / span 5; }
  .contact-form-wrap { grid-column: span 7 / span 7; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--brand-navy); color: var(--primary-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; letter-spacing: 0.12em; }
.footer-tag { margin-top: 0.75rem; font-size: 0.875rem; color: var(--brand-slate); }
.footer-label { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--brand-slate); }
.footer-links { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; font-size: 0.875rem; }
.footer-links a, .footer-mail { color: color-mix(in oklab, var(--primary-foreground) 80%, transparent); transition: color .15s; }
.footer-links a:hover, .footer-mail:hover { color: var(--primary-foreground); }
.footer-mail { margin-top: 1rem; display: inline-block; font-size: 0.875rem; text-underline-offset: 4px; }
.footer-mail:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 10%, transparent); }
.footer-bottom p { padding-block: 1.5rem; font-size: 0.75rem; line-height: 1rem; color: var(--brand-slate); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Botón flotante ---------- */
.float-btn {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 45;
  display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--primary); color: var(--primary-foreground);
  box-shadow: var(--shadow-float); transition: transform .2s;
}
.float-btn:hover { transform: scale(1.05); }
.float-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.float-btn svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
@media (min-width: 640px) { .float-btn { bottom: 1.75rem; right: 1.75rem; } }

/* ---------- Aviso (toast) ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 6rem; transform: translate(-50%, 1rem);
  width: calc(100% - 2.5rem); max-width: 22rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: var(--background); color: var(--foreground);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 1rem; box-shadow: 0 10px 30px -10px color-mix(in oklab, var(--brand-navy) 35%, transparent);
  opacity: 0; transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast > svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.toast-title { font-size: 0.875rem; font-weight: 600; }
.toast-text { margin-top: 0.125rem; font-size: 0.8125rem; line-height: 1.4; color: var(--muted-foreground); }
@media (min-width: 640px) {
  .toast { left: auto; right: 1.75rem; bottom: 6.5rem; transform: translateY(1rem); }
  .toast.is-visible { transform: none; }
}
