/*
Theme Name: MundoTec Child
Template: hello-elementor
Version: 1.0.0
Text Domain: mundotec-child
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --mt-primary: #00A3C5;
  --mt-secondary: #0F172A;
  --mt-accent: #F59E0B;
  --mt-surface: #F7FAFC;
  --mt-border: rgba(15, 23, 42, 0.12);
  --mt-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --mt-shell: min(1180px, calc(100vw - 32px));
}

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

body {
  margin: 0;
  color: var(--mt-secondary);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 163, 197, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 48%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.mt-shell { width: var(--mt-shell); margin: 0 auto; }
.mt-main { display: block; }

.mt-topbar {
  background: var(--mt-secondary);
  color: #f8fafc;
  font-size: 14px;
}

.mt-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 44px;
}

.mt-topbar__inner p { margin: 0; }
.mt-topbar__links { display: flex; gap: 16px; }

.mt-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.mt-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 88px;
}

.mt-logo { display: inline-flex; gap: 14px; align-items: center; }
.mt-logo img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.mt-logo__text { display: grid; gap: 2px; }
.mt-logo__title, .mt-title, .mt-card h3, .mt-footer h3 {
  font-family: "Space Grotesk", sans-serif;
}

.mt-logo__title { font-size: 20px; font-weight: 700; }
.mt-logo__tagline { font-size: 13px; color: rgba(15, 23, 42, 0.72); }
.mt-nav-toggle { display: none; min-height: 46px; min-width: 46px; border-radius: 14px; border: 1px solid var(--mt-border); background: #fff; }
.mt-nav { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.mt-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 10px; }
.mt-nav__list a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.mt-nav__list a:hover, .mt-nav__list .current-menu-item > a { background: rgba(0, 163, 197, 0.12); color: var(--mt-primary); }
.mt-nav__actions { display: flex; gap: 12px; }

.mt-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--mt-secondary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.mt-button--accent { background: var(--mt-accent); color: #111827; }
.mt-button--ghost { background: #fff; color: var(--mt-secondary); border: 1px solid var(--mt-border); box-shadow: none; }

.mt-section { padding: 80px 0; }
.mt-section--compact { padding: 56px 0; }
.mt-section__head { display: grid; gap: 12px; margin-bottom: 32px; }
.mt-eyebrow { display: inline-flex; gap: 10px; align-items: center; color: var(--mt-primary); font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mt-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.mt-title { margin: 0; font-size: clamp(32px, 6vw, 62px); line-height: 1; letter-spacing: -0.04em; }
.mt-copy, .entry-content, .woocommerce-product-details__short-description { color: rgba(15, 23, 42, 0.76); line-height: 1.8; font-size: 16px; }

.mt-hero__card, .mt-page-hero__card {
  display: grid;
  gap: 30px;
  border-radius: 32px;
  padding: clamp(28px, 6vw, 54px);
  box-shadow: var(--mt-shadow);
}

.mt-hero__card {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.72));
  color: #f8fafc;
}

.mt-hero__content { display: grid; gap: 20px; }
.mt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mt-hero__image img, .mt-about__visual img { width: 100%; border-radius: 28px; object-fit: cover; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28); }
.mt-hero__image img { min-height: 420px; }

.mt-grid, .mt-page-layout { display: grid; gap: 24px; }
.mt-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mt-card,
.mt-aside,
.woocommerce ul.products li.product,
.mt-product-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--mt-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.mt-card--tinted { background: linear-gradient(135deg, rgba(0, 163, 197, 0.14), rgba(255, 255, 255, 0.98) 44%), #fff; }
.mt-card__icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,163,197,0.16), rgba(245,158,11,0.18)); }
.mt-card__icon img { width: 38px; height: 38px; object-fit: contain; }
.mt-about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.mt-about__visual img { min-height: 520px; height: 100%; }
.mt-about__content { display: grid; gap: 20px; align-content: center; }
.mt-pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mt-pillars article { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--mt-border); box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07); }
.mt-service-card { grid-template-rows: auto auto 1fr auto; }
.mt-service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.mt-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.mt-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mt-category { display: flex; justify-content: space-between; gap: 14px; padding: 18px 22px; border-radius: 22px; background: rgba(255,255,255,.96); border: 1px solid var(--mt-border); box-shadow: 0 16px 30px rgba(15,23,42,.08); }
.mt-category strong { font-size: 19px; }
.mt-category span { font-size: 14px; color: rgba(15, 23, 42, 0.58); }

.mt-product-grid, .woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; list-style: none; }
.mt-product-card__media, .woocommerce ul.products li.product a img { display: block; border-radius: 22px; overflow: hidden; width: 100%; }
.mt-product-card__media img, .woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; }
.mt-product-card__cats, .woocommerce ul.products li.product .posted_in, .product_meta { font-size: 13px; color: rgba(15,23,42,.58); }
.mt-price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--mt-primary); font-size: 22px; font-weight: 800; }
.mt-product-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mt-brand-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; }
.mt-brand { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.98); border: 1px solid var(--mt-border); display: grid; place-items: center; min-height: 110px; box-shadow: 0 14px 30px rgba(15,23,42,.08); }
.mt-brand img { max-height: 42px; width: auto; object-fit: contain; }

.mt-page-hero { padding: 48px 0 18px; }
.mt-page-hero__card { background: linear-gradient(140deg, rgba(0,163,197,.14), rgba(255,255,255,.96) 50%), #fff; border: 1px solid rgba(0,163,197,.12); }
.mt-page-layout--split { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr); align-items: start; }
.mt-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.mt-footer {
  margin-top: 64px;
  padding: 40px 0;
  background: var(--mt-secondary);
  color: #e2e8f0;
}

.mt-footer__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; }
.mt-footer p { margin: 0 0 12px; opacity: 0.82; line-height: 1.8; }
.mt-footer__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mt-footer__credits { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; opacity: 0.72; }

.woocommerce .quantity .qty,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.mt-contact-form input,
.mt-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.98);
}

.mt-contact-form p { margin: 0; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: 26px; }
.menu-open .mt-nav { display: flex; }

@media (max-width: 1080px) {
  .mt-header__inner, .mt-about, .mt-page-layout--split, .mt-footer__grid, .mt-hero__card { grid-template-columns: 1fr; }
  .mt-product-grid, .woocommerce ul.products, .mt-grid--four, .mt-grid--three, .mt-contact-grid, .mt-brand-strip, .mt-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .mt-topbar__inner { flex-direction: column; justify-content: center; padding: 10px 0; }
  .mt-nav-toggle { display: inline-flex; }
  .mt-header__inner { grid-template-columns: auto auto; }
  .mt-nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; padding: 0 0 20px; }
  .mt-nav__list, .mt-nav__actions { width: 100%; flex-direction: column; align-items: stretch; }
}

@media (max-width: 640px) {
  .mt-shell { width: min(100vw - 22px, 100%); }
  .mt-section { padding: 64px 0; }
  .mt-hero__card { padding: 24px; }
  .mt-product-grid, .woocommerce ul.products, .mt-grid--four, .mt-grid--three, .mt-contact-grid, .mt-brand-strip, .mt-pillars, .mt-categories { grid-template-columns: 1fr; }
}
