/*
 * Variables de color: solo las que usa theme.css con var(--…).
 * El body recibe el mismo subconjunto vía mwc_output_css_variables() (Customizer).
 */
:root {
  --background: #f5f2ef;
  --foreground: #2b2b2b;
  --card: #f9f7f6;
  --muted-foreground: #666666;
  --border: #ded9d3;
  --input: #ded9d3;
  --ring: #516d2c;
  --olive: #516d2c;
  --olive-foreground: #ffffff;
  --gold: #c79e3d;
  --charcoal: #2b2b2b;
  --charcoal-foreground: #f5f2ef;
  --bone: #f5f2ef;
  --radius: 0.5rem;
  --header-height: 6rem;
  --container-max: 1400px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Customizer selective-refresh roots: no layout box; children slot into parent grid/flex. */
.mwc-selective-partial {
  display: contents;
}

/* Founder credentials: real box so selective refresh can replace innerHTML reliably (display:contents breaks some cases). */
.mwc-founder-credentials-partial-root {
  display: block;
  width: 100%;
}

/*
 * Customizer preview: after selective refresh, .mwc-animate nodes are new and may not get
 * .is-visible (opacity stays 0). Force visible inside main content during live preview.
 */
body.mwc-customizer-preview-live .mwc-main .mwc-animate {
  opacity: 1;
  transform: none;
}

html {
  scroll-behavior: smooth;
}

body.mwc-body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

p {
  margin: 0;
}

.mwc-page {
  min-height: 100vh;
  background: var(--background);
}

.mwc-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.mwc-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
}

.mwc-header-bar {
  padding: 0 1rem;
  background: rgba(245, 242, 239, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 217, 211, 0.5);
  overflow: visible;
}

.mwc-header-inner {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.mwc-header-inner.mwc-container {
  max-width: 80rem;
}

.mwc-logo-link {
  display: inline-flex;
  align-items: center;
}

.mwc-logo-image {
  width: 5.9rem;
  height: 5.9rem;
  border-radius: 999px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.mwc-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.mwc-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.mwc-nav-link:hover,
.mwc-nav-link:focus {
  color: var(--foreground);
}

.mwc-button,
.mwc-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

.mwc-button {
  min-height: 2.25rem;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--olive);
  color: var(--olive-foreground);
}

.mwc-button:hover,
.mwc-button:focus {
  background: rgba(81, 109, 44, 0.85);
}

.mwc-button.mwc-button-lg {
  height: 3rem;
  min-height: 3rem;
  padding: 0 2rem;
  box-sizing: border-box;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.025em;
}

/* Hero secondary: matches Lovable Button outline size="lg" (h-12, border-gold/60, etc.) */
.mwc-button-outline.mwc-button-lg {
  height: 3rem;
  min-height: 3rem;
  padding: 0 2rem;
  box-sizing: border-box;
  border-radius: 0.375rem;
  border: 2px solid rgba(199, 158, 61, 0.6);
  color: var(--gold);
  background: var(--background);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025em;
}

.mwc-button-outline.mwc-button-lg:hover,
.mwc-button-outline.mwc-button-lg:focus {
  background: rgba(199, 158, 61, 0.1);
  color: var(--gold);
}

.mwc-button-outline.mwc-button-lg:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px hsla(86, 42%, 30%, 0.35);
}

.mwc-header-cta {
  display: none;
}

.mwc-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-start: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--foreground);
  -webkit-tap-highlight-color: transparent;
}

.mwc-mobile-toggle .mwc-mobile-open-icon,
.mwc-mobile-toggle .mwc-mobile-close-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.mwc-mobile-toggle[aria-expanded="false"] .mwc-mobile-open-icon {
  display: inline-flex;
}

.mwc-mobile-toggle[aria-expanded="true"] .mwc-mobile-close-icon {
  display: inline-flex;
}

.mwc-mobile-toggle .mwc-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: inherit;
}

.mwc-mobile-toggle .mwc-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.mwc-button-inline-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Founder LinkedIn: matches Lovable Button outline default (h-10, text-sm, border-olive/40, rounded-lg) */
.mwc-founder-linkedin-btn {
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  border-radius: 0.5rem;
  border: 1px solid rgba(81, 109, 44, 0.4);
  color: var(--olive);
  background: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
}

.mwc-founder-linkedin-btn:hover,
.mwc-founder-linkedin-btn:focus {
  background: rgba(81, 109, 44, 0.1);
  color: var(--olive);
  border-color: rgba(81, 109, 44, 0.4);
}

.mwc-founder-linkedin-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px hsla(86, 42%, 30%, 0.35);
}

.mwc-founder-linkedin-btn .mwc-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.mwc-founder-linkedin-btn .mwc-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.mwc-mobile-menu {
  display: none;
  padding: 0 1rem 1rem;
  background: rgba(245, 242, 239, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 217, 211, 0.5);
}

.mwc-mobile-menu.is-open {
  display: block;
}

.mwc-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
}

.mwc-mobile-cta {
  width: 100%;
  margin-top: 0.25rem;
}

.mwc-main {
  display: block;
}

.mwc-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(90vh - 4rem);
  margin-top: 6rem;
  padding: 6rem 0 4rem;
  background: var(--charcoal);
  overflow: hidden;
}

.mwc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mwc-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.75);
}

.mwc-hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(81, 109, 44, 0.15) 0%, transparent 60%);
}

.mwc-hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 64rem;
}

.mwc-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.mwc-hero-eyebrow,
.mwc-section-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.mwc-hero-eyebrow {
  color: var(--gold);
}

.mwc-hero-title {
  font-size: clamp(2.25rem, 4vw + 1rem, 4.5rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--charcoal-foreground);
}

.mwc-emphasis {
  font-style: italic;
  color: var(--olive);
}

.mwc-hero-description {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(245, 242, 239, 0.7);
}

@media (min-width: 1024px) {
  .mwc-hero-description {
    font-size: 1.25rem;
    line-height: 1.625;
  }
}

.mwc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mwc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mwc-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 242, 239, 0.15);
  background: rgba(245, 242, 239, 0.05);
}

.mwc-trust-badge .mwc-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--olive);
}

.mwc-trust-badge .mwc-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.mwc-trust-badge span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245, 242, 239, 0.8);
}

.mwc-stats-strip {
  position: relative;
  z-index: 20;
  margin-bottom: -6rem;
  background: var(--charcoal);
}

.mwc-stats-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(43, 43, 43, 0.06), 0 8px 10px -6px rgba(43, 43, 43, 0.05);
}

.mwc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.mwc-stat-item {
  text-align: center;
}

.mwc-stat-value {
  font-family: "Playfair Display", serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--olive);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .mwc-stat-value {
    font-size: 2.25rem;
  }
}

.mwc-stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mwc-section {
  position: relative;
}

.mwc-section-dark {
  background: var(--charcoal);
}

.mwc-section-light {
  background: rgba(249, 247, 246, 0.5);
}

.mwc-services-section {
  padding: 12rem 0 6rem;
}

.mwc-section-heading {
  max-width: 42rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.mwc-section-heading.mwc-section-heading-wide {
  max-width: 32rem;
}

.mwc-section-heading-dark .mwc-section-eyebrow {
  color: var(--gold);
}

.mwc-section-heading-light .mwc-section-eyebrow,
.mwc-section-about .mwc-section-eyebrow,
.mwc-section-contact .mwc-section-eyebrow,
.mwc-section-faq .mwc-section-eyebrow {
  color: var(--olive);
}

.mwc-section-title {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(1.875rem, 2vw + 1.25rem, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

.mwc-section-heading-dark .mwc-section-title {
  color: var(--charcoal-foreground);
}

.mwc-section-heading-light .mwc-section-title,
.mwc-section-about .mwc-section-title,
.mwc-section-contact .mwc-section-title,
.mwc-section-faq .mwc-section-title {
  color: var(--foreground);
}

.mwc-section-description {
  font-size: 1.125rem;
  line-height: 1.75;
}

.mwc-section-heading-dark .mwc-section-description {
  color: rgba(245, 242, 239, 0.6);
}

.mwc-section-heading-light .mwc-section-description,
.mwc-section-about .mwc-section-description,
.mwc-section-contact .mwc-section-description {
  color: var(--muted-foreground);
}

.mwc-services-desktop {
  display: none;
}

.mwc-services-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mwc-service-card,
.mwc-service-mobile-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.mwc-service-mobile-card {
  height: 280px;
}

.mwc-service-card img,
.mwc-service-mobile-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mwc-service-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 80%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3), transparent);
}

.mwc-service-dot {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
}

.mwc-service-content,
.mwc-service-mobile-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 10;
}

.mwc-service-content {
  padding: 1.5rem;
}

.mwc-service-mobile-content {
  padding: 1.25rem;
}

.mwc-service-title,
.mwc-service-mobile-title {
  color: var(--charcoal-foreground);
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.mwc-service-title {
  font-size: 1.125rem;
}

.mwc-service-mobile-title {
  font-size: 1.125rem;
}

.mwc-service-description {
  max-width: 32rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.625;
  color: rgba(245, 242, 239, 0.7);
}

.mwc-service-mobile-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(245, 242, 239, 0.7);
}

.mwc-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--olive);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.mwc-service-link:hover,
.mwc-service-link:focus {
  gap: 0.75rem;
}

.mwc-service-link .mwc-icon {
  width: 1rem;
  height: 1rem;
}

.mwc-service-copy {
  overflow: hidden;
}

.mwc-section-about {
  padding: 6rem 0 8rem;
}

.mwc-about-copy {
  max-width: 56rem;
  margin: 0 auto;
}

.mwc-about-text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.mwc-about-text:last-of-type {
  margin-bottom: 3rem;
}

.mwc-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mwc-value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background);
  text-align: center;
}

.mwc-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(81, 109, 44, 0.1);
}

.mwc-value-icon .mwc-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--olive);
}

.mwc-value-label {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.mwc-sapere-section {
  padding: 6rem 0 8rem;
  overflow: hidden;
}

.mwc-sapere-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: rgba(81, 109, 44, 0.4);
}

.mwc-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.mwc-pillar-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(245, 242, 239, 0.1);
  border-radius: 1rem;
  background: rgba(245, 242, 239, 0.03);
}

.mwc-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(81, 109, 44, 0.1);
}

.mwc-pillar-icon .mwc-icon {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--olive);
}

.mwc-pillar-title {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bone);
}

.mwc-pillar-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245, 242, 239, 0.5);
}

.mwc-founder-section {
  padding: 6rem 0 8rem;
}

.mwc-founder-card {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(245, 242, 239, 0.1);
  border-radius: 1rem;
  background: rgba(245, 242, 239, 0.05);
}

.mwc-founder-flex {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mwc-founder-media {
  display: flex;
  justify-content: center;
}

.mwc-founder-image {
  width: 16rem;
  height: 20rem;
  border: 2px solid rgba(81, 109, 44, 0.2);
  border-radius: 1rem;
  object-fit: cover;
}

.mwc-founder-name {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal-foreground);
}

@media (min-width: 1024px) {
  .mwc-founder-name {
    font-size: 1.875rem;
  }
}

.mwc-founder-role {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--olive);
}

.mwc-founder-bios {
  display: grid;
  gap: 0.75rem;
}

.mwc-founder-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 242, 239, 0.7);
}

.mwc-founder-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.mwc-founder-credential {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(245, 242, 239, 0.1);
  border-radius: 999px;
  background: rgba(245, 242, 239, 0.05);
}

.mwc-founder-credential .mwc-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: var(--olive);
}

.mwc-founder-credential .mwc-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.mwc-founder-credential span:last-child {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245, 242, 239, 0.8);
}

.mwc-founder-linkedin {
  margin-top: 2rem;
  text-align: center;
}

/* Cabecera position:fixed: el ancla debe quedar visible bajo el header. */
#contact {
  scroll-margin-top: var(--header-height);
}

.mwc-faq-section,
.mwc-contact-section {
  padding: 5rem 0 7rem;
  background: rgba(249, 247, 246, 0.5);
}

.mwc-faq-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

.mwc-accordion {
  width: 100%;
}

.mwc-accordion-item {
  border-bottom: 1px solid var(--border);
}

.mwc-accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
}

.mwc-accordion-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 500;
}

.mwc-accordion-title .mwc-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--olive);
}

.mwc-accordion-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.mwc-accordion-item.is-open .mwc-accordion-chevron {
  transform: rotate(180deg);
}

.mwc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.mwc-accordion-content-inner {
  padding: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.mwc-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

.mwc-contact-form {
  display: grid;
  gap: 1.25rem;
}

.mwc-field input,
.mwc-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
}

.mwc-field input:focus,
.mwc-field textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(81, 109, 44, 0.15);
}

.mwc-field textarea {
  min-height: 140px;
  resize: vertical;
}

.mwc-contact-button {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
}

.mwc-contact-panel {
  display: grid;
  gap: 2rem;
}

.mwc-contact-heading {
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.mwc-contact-links {
  display: grid;
  gap: 1rem;
}

.mwc-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.mwc-contact-link:hover,
.mwc-contact-link:focus {
  color: var(--foreground);
}

.mwc-contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(81, 109, 44, 0.1);
  flex-shrink: 0;
}

.mwc-contact-link-icon .mwc-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--olive);
}

.mwc-contact-benefits {
  padding: 1.5rem;
  border: 1px solid rgba(81, 109, 44, 0.2);
  border-radius: 0.5rem;
  background: rgba(81, 109, 44, 0.05);
}

.mwc-contact-benefits-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted-foreground);
}

.mwc-contact-benefits-list li {
  position: relative;
  padding-left: 1rem;
}

.mwc-contact-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--foreground);
}

.mwc-site-footer {
  position: relative;
  padding: 4rem 0 2.5rem;
  background: var(--charcoal);
}

.mwc-footer-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 0.25rem;
  background: var(--olive);
}

.mwc-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.mwc-footer-logo {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  object-fit: cover;
}

.mwc-footer-brand {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bone);
}

.mwc-footer-description {
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245, 242, 239, 0.5);
}

.mwc-footer-heading {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
}

.mwc-footer-links,
.mwc-footer-services {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mwc-footer-links a,
.mwc-footer-services span,
.mwc-footer-contact p {
  font-size: 0.875rem;
  color: rgba(245, 242, 239, 0.5);
  transition: color 0.2s ease;
}

.mwc-footer-links a:hover,
.mwc-footer-links a:focus {
  color: var(--olive);
}

.mwc-footer-contact {
  display: grid;
  gap: 0.625rem;
}

.mwc-footer-sapere {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.625rem 1rem;
  border: 1px solid rgba(81, 109, 44, 0.2);
  border-radius: 0.75rem;
  background: rgba(81, 109, 44, 0.1);
}

.mwc-footer-sapere span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bone);
}

.mwc-footer-meta {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 242, 239, 0.1);
  text-align: center;
}

.mwc-footer-meta p {
  font-size: 0.75rem;
}

.mwc-footer-copyright {
  color: rgba(245, 242, 239, 0.4);
}

.mwc-footer-built-by {
  margin-top: 0.5rem;
  color: rgba(245, 242, 239, 0.35);
}

.mwc-footer-built-by a {
  color: var(--olive);
}

.mwc-footer-built-by a:hover,
.mwc-footer-built-by a:focus {
  color: rgba(81, 109, 44, 0.8);
}

.mwc-toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  box-shadow: 0 20px 40px rgba(43, 43, 43, 0.15);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mwc-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mwc-toast-title {
  font-weight: 600;
  color: var(--foreground);
}

.mwc-toast-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mwc-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.mwc-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mwc-animate[data-animate-variant="fade-in"] {
  transform: none;
}

.mwc-animate[data-animate-variant="slide-left"] {
  transform: translateX(-60px);
}

.mwc-animate[data-animate-variant="slide-right"] {
  transform: translateX(60px);
}

.mwc-animate[data-animate-variant="scale-in"] {
  transform: scale(0.92);
}

.mwc-animate[data-animate-variant="fade-in"].is-visible,
.mwc-animate[data-animate-variant="slide-left"].is-visible,
.mwc-animate[data-animate-variant="slide-right"].is-visible,
.mwc-animate[data-animate-variant="scale-in"].is-visible {
  transform: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 640px) {
  .mwc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .mwc-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .mwc-stat-item:not(:last-child) {
    border-right: 1px solid var(--border);
  }

  .mwc-services-desktop {
    display: flex;
    gap: 0.75rem;
    height: 500px;
  }

  .mwc-services-mobile {
    display: none;
  }

  .mwc-service-card {
    flex: 1 1 0%;
    transition: flex 0.5s var(--ease-smooth);
    cursor: pointer;
  }

  .mwc-service-card.is-collapsed {
    flex: 0.5 1 0%;
  }

  .mwc-service-card.is-expanded {
    flex: 3 1 0%;
  }

  .mwc-service-copy {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .mwc-service-card.is-expanded .mwc-service-copy {
    max-height: 200px;
    opacity: 1;
    transition-delay: 0.15s;
  }

  .mwc-stats-card {
    padding: 2.5rem;
  }

  .mwc-service-card.is-collapsed .mwc-service-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mwc-values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mwc-pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mwc-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Móvil / tablet: deja hueco al botón menú y asegura iconos SVG visibles */
@media (max-width: 1023px) {
  .mwc-logo-link {
    flex-shrink: 1;
    min-width: 0;
  }

  .mwc-logo-image {
    width: clamp(3.25rem, 18vw, 5.9rem);
    height: clamp(3.25rem, 18vw, 5.9rem);
  }

  /* Contacto: evita desborde a la derecha (email largo, grid, focus ring) */
  .mwc-contact-section {
    overflow-x: clip;
  }

  .mwc-contact-section .mwc-container {
    box-sizing: border-box;
    max-width: 100%;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.75rem, calc(env(safe-area-inset-right, 0px) + 0.25rem));
  }

  .mwc-contact-section .mwc-section-heading,
  .mwc-contact-grid {
    min-width: 0;
    max-width: 100%;
  }

  .mwc-contact-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .mwc-contact-form,
  .mwc-contact-panel {
    min-width: 0;
  }

  .mwc-field {
    min-width: 0;
  }

  .mwc-contact-link {
    min-width: 0;
    max-width: 100%;
  }

  .mwc-contact-link > span:last-child {
    min-width: 0;
  }

  /* Email: una sola línea, dentro del ancho; fuente fluida + puntos suspensivos si hiciera falta */
  a.mwc-contact-link[href^="mailto:"] > span:last-child {
    flex: 1 1 0%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.65rem, 2.4vw + 0.35rem, 0.875rem);
    line-height: 1.35;
  }

  .mwc-contact-benefits {
    max-width: 100%;
    box-sizing: border-box;
  }

  .mwc-contact-benefits-list li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (min-width: 1024px) {
  .mwc-header-bar {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .mwc-mobile-toggle {
    margin-inline-start: 0;
  }

  .mwc-nav {
    display: flex;
  }

  .mwc-header-cta {
    display: block;
  }

  .mwc-mobile-toggle,
  .mwc-mobile-menu {
    display: none !important;
  }

  .mwc-services-section {
    padding-top: 14rem;
    padding-bottom: 8rem;
  }

  .mwc-service-title {
    font-size: 1.25rem;
  }

  .mwc-section-about,
  .mwc-sapere-section,
  .mwc-founder-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .mwc-founder-card {
    padding: 3rem;
  }

  .mwc-founder-flex {
    flex-direction: row;
    gap: 3rem;
  }

  .mwc-founder-media {
    justify-content: flex-start;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .mwc-founder-image {
    width: 18rem;
    height: 24rem;
  }

  .mwc-founder-credentials {
    flex-wrap: nowrap;
  }

  .mwc-contact-panel {
    padding-left: 2rem;
  }

  .mwc-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .mwc-services-desktop {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mwc-animate,
  .mwc-service-card,
  .mwc-service-copy,
  .mwc-hero-content,
  .mwc-toast,
  .mwc-accordion-content,
  .mwc-accordion-chevron {
    transition: none !important;
  }
}
