/* ==========================================================================
   Másmosquiteras — Homepage CSS
   Replica exacta del diseño Elementor original
   ========================================================================== */

:root {
  --mm-yellow: #F8C13A;
  --mm-yellow-hover: #e6b02e;
  --mm-dark: #1a1a1a;
  --mm-gray: #555;
  --mm-light-gray: #999;
  --mm-bg: #f7f7f7;
  --mm-border: #ddd;
  --mm-max: 1140px;
  --mm-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.lanzaweb-page { font-family: var(--mm-font); color: var(--mm-dark); line-height: 1.6; background: #fff; margin: 0; padding: 0; }
body.lanzaweb-page * { box-sizing: border-box; }
body.lanzaweb-page img { max-width: 100%; height: auto; }
.mm-w { max-width: var(--mm-max); margin: 0 auto; padding: 0 20px; }

/* ── TOP BAR ────────────────────────────────────────────────────────────── */
.mm-topbar { background: var(--mm-yellow); text-align: center; padding: 12px 20px; font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.mm-topbar a { color: var(--mm-dark); text-decoration: none; }
.mm-topbar a:hover { text-decoration: underline; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.mm-nav { background: #fff; padding: 20px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--mm-border); }
.mm-nav .mm-w { display: flex; align-items: center; justify-content: space-between; }
.mm-nav-logo img { height: 44px; }
.mm-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.mm-nav-links a { font-size: 15px; font-weight: 500; color: var(--mm-dark); text-decoration: none; transition: color .2s; }
.mm-nav-links a:hover { color: var(--mm-yellow-hover); }
.mm-nav-cta { background: var(--mm-yellow) !important; color: var(--mm-dark) !important; padding: 12px 28px !important; font-weight: 700 !important; transition: background .2s; }
.mm-nav-cta:hover { background: var(--mm-yellow-hover) !important; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.mm-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
              url('/wp-content/uploads/2021/03/Grupo-1.png') center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
}
.mm-hero h1 { font-size: 64px; line-height: 1.0; font-weight: 700; margin: 0 0 24px; max-width: 620px; letter-spacing: -.02em; }
.mm-hero p { font-size: 22px; line-height: 1.5; max-width: 550px; margin: 0 0 40px; opacity: .9; }
.mm-btn-yellow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mm-yellow); color: var(--mm-dark);
  padding: 16px 36px; font-size: 17px; font-weight: 700;
  text-decoration: none; transition: background .2s, transform .2s;
}
.mm-btn-yellow:hover { background: var(--mm-yellow-hover); transform: translateY(-2px); }
.mm-btn-yellow svg { width: 18px; height: 18px; }

/* ── ABOUT / NICO ───────────────────────────────────────────────────────── */
.mm-about { padding: 80px 0; }
.mm-about .mm-w { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.mm-about-label { font-size: 13px; text-transform: uppercase; font-weight: 600; letter-spacing: .5px; color: var(--mm-gray); margin-bottom: 16px; }
.mm-about h2 { font-size: 42px; line-height: 1.1; font-weight: 700; margin: 0 0 20px; }
.mm-about .mm-tagline { font-style: italic; font-size: 18px; color: var(--mm-gray); margin-bottom: 24px; }
.mm-about-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.mm-about-photo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.mm-about-photo .mm-name { font-size: 22px; font-weight: 700; }
.mm-about-photo .mm-role { font-size: 14px; color: var(--mm-gray); }
.mm-about p { color: #444; font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.mm-about strong { color: var(--mm-dark); }

/* ── FORM CARD ──────────────────────────────────────────────────────────── */
.mm-form-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 36px 32px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.mm-form-card h3 { font-size: 18px; font-weight: 600; text-align: center; margin: 0 0 28px; color: var(--mm-dark); }
.mm-form-card input,
.mm-form-card textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--mm-yellow); border-radius: 6px; font-family: var(--mm-font); font-size: 15px; margin-bottom: 14px; outline: none; background: #fff; }
.mm-form-card input:focus,
.mm-form-card textarea:focus { border-color: var(--mm-dark); }
.mm-form-card textarea { resize: vertical; min-height: 90px; }
.mm-form-card .mm-submit { width: 100%; padding: 16px; background: var(--mm-yellow); color: var(--mm-dark); border: none; font-size: 17px; font-weight: 700; cursor: pointer; font-family: var(--mm-font); transition: background .2s; }
.mm-form-card .mm-submit:hover { background: var(--mm-yellow-hover); }
.mm-form-privacy { font-size: 13px; color: var(--mm-light-gray); margin: 12px 0 16px; text-align: center; }
.mm-form-privacy label { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.mm-form-privacy input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--mm-yellow); flex-shrink: 0; }
.mm-form-privacy a { color: var(--mm-yellow); }

/* ── PRODUCTS INTRO ─────────────────────────────────────────────────────── */
.mm-products-intro { background: var(--mm-dark); color: #fff; text-align: center; padding: 70px 20px; }
.mm-products-intro h2 { font-size: 44px; font-weight: 700; margin: 0 0 16px; }
.mm-products-intro p { font-size: 18px; opacity: .7; max-width: 600px; margin: 0 auto; }

/* ── PRODUCT GRID ───────────────────────────────────────────────────────── */
.mm-products { padding: 60px 0; background: var(--mm-bg); }
.mm-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
.mm-product-card {
  background: #fff; border-radius: 12px; padding: 40px 28px 36px;
  text-align: center; border: 1px solid #eee;
  transition: transform .25s, box-shadow .25s;
}
.mm-product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.mm-product-card img { height: 180px; object-fit: contain; margin-bottom: 24px; }
.mm-product-card h3 { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.mm-product-card .mm-price { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.mm-product-card p { font-size: 15px; color: var(--mm-gray); margin-bottom: 24px; min-height: 44px; line-height: 1.5; }
.mm-product-card .mm-btn-yellow { font-size: 15px; padding: 12px 28px; }

/* Row 2: exactly 3 columns like Elementor */
.mm-products-row2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Mini form in product grid */
.mm-mini-form { background: #fff; border-radius: 12px; padding: 40px 28px; border: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; }
.mm-mini-form h3 { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 28px; line-height: 1.3; }
.mm-mini-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--mm-yellow); border-radius: 6px; font-size: 15px; margin-bottom: 12px; font-family: var(--mm-font); outline: none; }
.mm-mini-form .mm-submit-outline { width: 100%; padding: 14px; background: transparent; color: var(--mm-yellow); border: 2px solid var(--mm-yellow); border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--mm-font); transition: all .2s; }
.mm-mini-form .mm-submit-outline:hover { background: var(--mm-yellow); color: var(--mm-dark); }
.mm-mini-form .mm-form-privacy { font-size: 11px; }

/* ── FABRICADO EN ESPAÑA ────────────────────────────────────────────────── */
.mm-spain { padding: 80px 0; border-bottom: 1px solid #eee; }
.mm-spain .mm-w { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mm-spain-images { display: flex; gap: 24px; align-items: center; }
.mm-spain-images img:first-child { max-width: 240px; }
.mm-spain-images img:last-child { max-width: 280px; }
.mm-spain h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--mm-gray); margin: 0 0 8px; }
.mm-spain h2 { font-size: 44px; font-weight: 700; margin: 0 0 20px; }
.mm-spain p { font-size: 16px; color: #444; line-height: 1.7; }

/* ── ¿POR QUÉ ELEGIRNOS? ───────────────────────────────────────────────── */
.mm-why {
  padding: 100px 0;
  background: linear-gradient(rgba(255,255,255,.85), rgba(255,255,255,.85)),
              url('/wp-content/uploads/2021/03/Imagen-10.png') center/cover no-repeat;
  overflow: hidden;
}
.mm-why h2 { font-size: 44px; font-weight: 700; margin: 0 0 48px; }
.mm-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 60px; margin-bottom: 48px; }
.mm-why-item h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin: 0 0 12px; }
.mm-why-item p { font-size: 15px; color: #444; line-height: 1.6; margin: 0; }

/* ── CONTACT FINAL ──────────────────────────────────────────────────────── */
.mm-contact { background: var(--mm-bg); padding: 80px 0; }
.mm-contact .mm-w { max-width: 680px; }
.mm-contact h3 { font-size: 36px; font-weight: 700; text-align: center; margin: 0 0 16px; }
.mm-contact .mm-contact-sub { text-align: center; color: var(--mm-gray); margin-bottom: 36px; font-size: 16px; line-height: 1.6; }
.mm-contact-form input,
.mm-contact-form textarea { width: 100%; padding: 16px; border: 1px solid var(--mm-border); border-radius: 8px; font-size: 15px; margin-bottom: 16px; font-family: var(--mm-font); outline: none; background: #fff; }
.mm-contact-form input:focus,
.mm-contact-form textarea:focus { border-color: var(--mm-yellow); }
.mm-contact-form textarea { min-height: 130px; resize: vertical; }
/* First two inputs side by side — hide WP-injected <br> */
.mm-contact-form .mm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.mm-contact-form .mm-row input { margin-bottom: 0; }
.mm-contact-form .mm-row br { display: none; }
.mm-contact-form .mm-submit { width: 100%; padding: 18px; background: var(--mm-yellow); color: var(--mm-dark); border: none; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer; font-family: var(--mm-font); transition: background .2s; }
.mm-contact-form .mm-submit:hover { background: var(--mm-yellow-hover); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.mm-footer { background: var(--mm-dark); color: #888; padding: 36px 0; text-align: center; font-size: 14px; }
.mm-footer a { color: #aaa; text-decoration: none; transition: color .2s; }
.mm-footer a:hover { color: #fff; }
.mm-footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 16px; }
.mm-footer p { margin: 0 0 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mm-hero { min-height: 60vh; padding: 60px 0; }
  .mm-hero h1 { font-size: 40px; }
  .mm-hero p { font-size: 18px; }
  .mm-about .mm-w { grid-template-columns: 1fr; }
  .mm-about h2 { font-size: 32px; }
  .mm-products-intro h2 { font-size: 32px; }
  .mm-products-grid { grid-template-columns: 1fr; }
  .mm-products-row2 { grid-template-columns: 1fr; }
  .mm-spain .mm-w { grid-template-columns: 1fr; }
  .mm-spain h2 { font-size: 32px; }
  .mm-spain-images { flex-wrap: wrap; }
  .mm-why h2 { font-size: 32px; }
  .mm-why-grid { grid-template-columns: 1fr; }
  .mm-contact h3 { font-size: 28px; }
  .mm-contact-form .mm-row { grid-template-columns: 1fr; }
  .mm-nav-links .mm-dk { display: none; }
}
@media (max-width: 600px) {
  .mm-hero h1 { font-size: 32px; }
  .mm-nav-links { gap: 16px; }
}
