/*--------------------------------------------------------------
# MIMARQUI — ajustes de marca
# Colores del logo:
#   verde hoja  #84c03c  (decorativo)
#   verde marca #468a1b  (botones y enlaces, buen contraste)
#   verde oscuro #2d4a1c (secciones oscuras)
#   gris logo   #7d8387  / gris carbón #2f3a40 (títulos)
--------------------------------------------------------------*/
:root {
  --leaf-color: #84c03c;
  --brand-dark: #2d4a1c;
  --brand-gray: #7d8387;
  --whatsapp: #25d366;
}

::selection { background: var(--leaf-color); color: #fff; }

/* ---------- Header blanco con logo ---------- */
.header,
.index-page .header {
  --background-color: rgba(255, 255, 255, 0.97);
  --heading-color: #2f3a40;
  --nav-color: #2f3a40;
  box-shadow: 0 1px 0 rgba(47, 58, 64, 0.06);
  padding: 12px 0;
}
.index-page.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 24px rgba(47, 58, 64, 0.10);
}
.header .logo img { max-height: 46px; margin-right: 10px; }
.header .logo h1 {
  color: var(--brand-gray);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 3px;
}
.mobile-nav-active .header { --nav-color: #2f3a40; }

/* ---------- Hero claro con el verde del logo ---------- */
.hero {
  background: radial-gradient(circle at 78% 45%, #e6f4d6 0, #f3f9ec 38%, #ffffff 75%);
  padding-top: 140px;
}
.hero h1 { color: var(--heading-color); font-size: 50px; line-height: 1.12; }
.hero p { color: var(--default-color); font-weight: 400; font-size: 20px; line-height: 1.5; max-width: 34em; }
.hero .btn-get-started { box-shadow: 0 8px 20px rgba(70, 138, 27, 0.25); }
.hero .btn-watch-video { color: var(--heading-color); }
.hero .btn-watch-video i { color: var(--whatsapp); font-size: 30px; }
.hero .hero-img img { max-height: 520px; }
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 17px; }
}

/* ---------- Clientes en texto (en vez de logos ajenos) ---------- */
.clients { padding: 26px 0; }
.clients .clients-label {
  text-align: center;
  font-size: 14px;
  color: var(--brand-gray);
  margin-bottom: 14px;
}
.clients .client-name {
  display: block;
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  color: #6b7378;
  transition: color .3s;
}
.clients .client-name:hover { color: var(--accent-color); }
.clients .swiper-slide { height: auto; display: flex; align-items: center; justify-content: center; }

/* ---------- Detalles generales ---------- */
.section-title h2:after { background: var(--leaf-color) !important; }
.about .content ul i,
.work-process .feature-item i { color: var(--leaf-color); }
.service-item .icon i { color: var(--accent-color); }
.why-us .faq-item h3 span { color: var(--leaf-color); }

/* Pasos: ilustraciones sobre fondo claro */
.work-process .steps-image { background: #f3f9ec; }

/* Productos: tarjetas cuadradas uniformes */
.portfolio .portfolio-item img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 14px; }
.portfolio .portfolio-info .details-link i.bi-whatsapp { font-size: 22px; }

/* Precios / cotización */
.pricing .pricing-item.featured { border-top-color: var(--leaf-color) !important; }
.pricing .pricing-item h4 sup { font-size: 22px; }

/* ---------- Footer verde oscuro ---------- */
.footer {
  --background-color: #24361a;
  --default-color: #dfe8d8;
  --heading-color: #ffffff;
  --accent-color: #9fd35c;
}
.footer .footer-about img { max-width: 130px; margin-bottom: 4px; }
.footer .footer-links ul i { color: var(--leaf-color); }
.footer .credits, .footer .credits a { color: #b9c7ae; }

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform .2s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.07); }
.whatsapp-float:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--leaf-color);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero .animated { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* Formulario de contacto por WhatsApp: mismos estilos que el formulario original */
.contact .php-email-form-wa {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.contact .php-email-form-wa {
    padding: 20px;
  }
.contact .php-email-form-wa input[type=text],
.contact .php-email-form-wa input[type=email],
.contact .php-email-form-wa textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}
.contact .php-email-form-wa input[type=text]:focus,
.contact .php-email-form-wa input[type=email]:focus,
.contact .php-email-form-wa textarea:focus {
  border-color: var(--accent-color);
}
.contact .php-email-form-wa input[type=text]::placeholder,
.contact .php-email-form-wa input[type=email]::placeholder,
.contact .php-email-form-wa textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form-wa button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}
.contact .php-email-form-wa button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}
.contact .php-email-form-wa button[type=submit] i { margin-right: 6px; }

/* Nombre de cada producto siempre visible */
.portfolio .portfolio-item .portfolio-info,
.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 12px;
  left: 24px;
  right: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(47, 58, 64, 0.08);
}
.portfolio .portfolio-item .portfolio-info .details-link { color: var(--whatsapp); }
.portfolio .portfolio-item .portfolio-info h4 { font-size: 17px; margin-bottom: 4px; }

.clients .client-name { white-space: nowrap; }
.hero p { margin-top: 18px; }
.call-to-action .cta-btn { background: #fff; color: var(--brand-dark); border-color: #fff; font-weight: 600; }
.call-to-action .cta-btn:hover { background: var(--leaf-color); border-color: var(--leaf-color); color: #fff; }

/* Ajustes para celular */
.hero .btn-get-started, .hero .btn-watch-video span { white-space: nowrap; }
@media (max-width: 576px) {
  .header .logo img { max-height: 38px; }
  .header .logo h1 { font-size: 20px; letter-spacing: 2px; }
  .header .btn-getstarted { display: none; }
  .hero { padding-top: 110px; }
  .hero .btn-watch-video { margin-left: 16px; }
}

/*--------------------------------------------------------------
# Pantalla de carga con el logo
--------------------------------------------------------------*/
#preloader {
  background: radial-gradient(circle at 50% 45%, #f3f9ec 0, #ffffff 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader:before { display: none; }           /* quita el círculo de la plantilla */
#preloader.preloader-hide { opacity: 0; visibility: hidden; }

.preloader-logo { position: relative; width: 150px; height: 150px; }
.preloader-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.preloader-ring circle {
  fill: none;
  stroke: var(--leaf-color);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: mm-ring 1.4s ease-out forwards, mm-spin 2.4s linear 1.4s infinite;
  transform-origin: 60px 60px;
}
.preloader-logo img {
  position: absolute;
  top: 50%; left: 50%;
  width: 96px;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  animation: mm-pop .8s cubic-bezier(.2, 1.4, .4, 1) .35s forwards;
}
.preloader-name {
  font-family: var(--heading-font);
  font-size: 26px;
  letter-spacing: 6px;
  color: var(--brand-gray);
  opacity: 0;
  animation: mm-fade .6s ease .8s forwards;
}
.preloader-bar {
  width: 160px; height: 4px; border-radius: 4px;
  background: #e3efd6; overflow: hidden;
  opacity: 0; animation: mm-fade .4s ease 1s forwards;
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--accent-color); border-radius: 4px;
  animation: mm-load 1.6s ease-in-out 1s forwards;
}
.preloader-text { font-size: 13px; color: var(--brand-gray); opacity: 0; animation: mm-fade .4s ease 1.1s forwards; }

@keyframes mm-ring { to { stroke-dashoffset: 0; } }
@keyframes mm-spin { 0% { stroke-dasharray: 340; } 50% { stroke-dasharray: 250 90; } 100% { stroke-dasharray: 340; } }
@keyframes mm-pop  { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes mm-fade { to { opacity: 1; } }
@keyframes mm-load { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .preloader-ring circle, .preloader-logo img, .preloader-name, .preloader-bar, .preloader-bar span, .preloader-text {
    animation: none; opacity: 1; stroke-dashoffset: 0;
  }
  .preloader-logo img { transform: translate(-50%, -50%); }
  .preloader-bar span { width: 100%; }
}

/* Menú más compacto en pantallas medianas para que entren todos los enlaces */
@media (min-width: 1200px) and (max-width: 1399px) {
  .navmenu a, .navmenu a:focus { padding: 18px 10px; }
  .header .btn-getstarted, .header .btn-getstarted:focus { margin-left: 16px; padding: 8px 20px; }
  .header .logo h1 { font-size: 22px; letter-spacing: 2px; }
}
@media (min-width: 1200px) {
  .header .navmenu { order: 2; }
  .header .btn-getstarted { order: 3; margin: 0 0 0 16px; }
}

/* ===== Marcas ===== */
.brand-card{display:flex; flex-direction:column; align-items:center; gap:14px; height:100%;
  padding:34px 24px 28px; border-radius:16px; background:var(--surface-color,#fff);
  border:1px solid color-mix(in srgb,var(--default-color),transparent 88%);
  box-shadow:0 12px 30px -22px rgba(47,58,64,.45); text-align:center; color:var(--heading-color);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.brand-card:hover{transform:translateY(-4px); border-color:var(--accent-color); box-shadow:0 18px 36px -20px rgba(70,138,27,.45); color:var(--heading-color)}
.brand-card:focus-visible{outline:3px solid var(--accent-color); outline-offset:3px}
.brand-mark{width:72px; height:72px; border-radius:50%; display:grid; place-items:center;
  background:color-mix(in srgb,var(--accent-color),transparent 88%); color:var(--accent-color);
  font-family:var(--heading-font); font-weight:700; font-size:24px; letter-spacing:1px;
  border:2px solid color-mix(in srgb,var(--accent-color),transparent 60%)}
.brand-name{font-family:var(--heading-font); font-weight:700; font-size:22px; line-height:1.2}
.brand-link{font-size:14px; font-weight:600; color:var(--accent-color); display:inline-flex; gap:6px; align-items:center}
.brands-cta{margin-top:48px; text-align:center}
.brands-cta p{font-size:18px; margin-bottom:14px; color:var(--heading-color)}
.btn-brand{display:inline-flex; align-items:center; gap:8px; padding:11px 26px; border-radius:50px;
  background:var(--accent-color); color:#fff; font-weight:600; border:2px solid var(--accent-color); transition:.25s}
.btn-brand:hover{background:color-mix(in srgb,var(--accent-color),#000 12%); color:#fff}
.btn-brand.outline{background:transparent; color:var(--accent-color)}
.btn-brand.outline:hover{background:var(--accent-color); color:#fff}

/* ===== Blog ===== */
.blog-posts .blog-img, .blog-details .blog-hero{background:linear-gradient(135deg,#f4f9ee,#e6f2da); border-radius:12px; overflow:hidden; display:grid; place-items:center}
.blog-posts .blog-img{height:240px} .blog-posts .blog-img img{max-height:200px; width:auto; object-fit:contain}
.blog-details .blog-hero{height:360px} .blog-details .blog-hero img{max-height:300px; width:auto; object-fit:contain}
.blog-posts .post-category{margin:18px 0 0; font-size:13px; font-weight:700; color:var(--accent-color); text-transform:none}
.blog-posts article .title{margin-top:6px}
.recent-posts-widget .blog-thumb{width:80px; height:64px; object-fit:contain; background:#eef6e6; border-radius:8px; padding:6px}
.blog-details .author-img{background:#fff; object-fit:contain; padding:4px; border:1px solid #e3ebdb}
.article-cta{margin-top:40px; padding:28px; border-radius:14px; background:#f4f9ee; text-align:center; display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center}
.article-cta p{width:100%; margin:0 0 4px; font-weight:600; color:var(--heading-color)}
.blog-cta-widget p{margin-bottom:14px}

/* ===== Logos con respaldo de texto ===== */
.logo-slot .logo-fallback, .brand-mark .logo-fallback, .menu-logo-img .logo-fallback, .client-slot .logo-fallback{display:none}
.no-logo img{display:none !important}
.no-logo .logo-fallback{display:grid !important; place-items:center; width:100%; height:100%}
.brand-mark{overflow:hidden}
.brand-mark img{width:100%; height:100%; object-fit:contain; padding:10px; background:#fff}
.brand-card .brand-mark:not(.no-logo){width:150px; height:84px; border-radius:12px; border:0; background:#fff}
.brand-card .brand-mark:not(.no-logo) img{filter:grayscale(1); opacity:.75; transition:.3s}
.brand-card:hover .brand-mark img{filter:none; opacity:1}
.sin-enlace{cursor:default}
.brand-card.sin-enlace .brand-link{opacity:.45}

/* ===== Menú: marcas e instituciones con logo ===== */
.navmenu .menu-logos ul{min-width:250px}
.navmenu a.menu-logo{display:flex !important; align-items:center; gap:10px; justify-content:flex-start !important}
.menu-logo-img{flex:none; width:34px; height:34px; border-radius:8px; background:#f2f7ec; display:grid; place-items:center; overflow:hidden; border:1px solid #e3ecd9}
.menu-logo-img img{width:100%; height:100%; object-fit:contain; padding:3px; background:#fff}
.menu-logo-img .logo-fallback{font-size:11px; font-weight:700; color:var(--accent-color)}
.navmenu a.menu-all{font-weight:600; color:var(--accent-color) !important}

/* ===== Instituciones (carrusel de inicio) ===== */
.clients .clients-label a{color:var(--accent-color); font-weight:600}
.clients .client-logo{display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none}
.client-slot{display:block; height:56px}
.client-slot img{height:56px; width:auto; max-width:150px; object-fit:contain; filter:grayscale(1); opacity:.7; transition:.3s}
.client-logo:hover .client-slot img{filter:none; opacity:1}
.client-slot.no-logo{display:none}
.client-slot:not(.no-logo) + .client-name{display:none}

/* ===== Portada estilo panel con foto ===== */
.hero.hero-v2{padding:110px 0 30px; background:var(--background-color)}
.hero-v2 .container-xl{max-width:1320px}
.hero-panel{position:relative; overflow:hidden; border-radius:28px; min-height:620px; padding:80px 64px 64px;
  display:flex; align-items:center; isolation:isolate; box-shadow:0 30px 60px -40px rgba(20,30,20,.6)}
.hero-bg{position:absolute; inset:0; z-index:-2;
  background:
    linear-gradient(90deg, rgba(14,22,17,.92) 0%, rgba(14,22,17,.72) 45%, rgba(14,22,17,.25) 100%),
    url("../img/mimarqui/hero-foto.jpg") center/cover no-repeat,
    radial-gradient(circle at 78% 40%, #2f4a26 0%, #17221b 55%, #0f1712 100%)}
.hero-art{position:absolute; z-index:-1; right:2%; top:4%; width:min(46%,560px); height:auto; opacity:.95; pointer-events:none}
.hero-panel.has-photo .hero-art{display:none}
.hero-content{max-width:620px; color:#fff}
.hero-v2 .hero-badge{display:inline-flex; align-items:center; gap:8px; padding:7px 16px; border-radius:50px;
  border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.08); backdrop-filter:blur(6px); font-size:14px; font-weight:500}
.hero-v2 .hero-badge i{color:#9fd35c}
.hero-v2 h1{color:#fff; font-size:58px; line-height:1.04; font-weight:800; text-transform:uppercase; letter-spacing:-.5px; margin:22px 0 0}
.hero-v2 p{color:rgba(255,255,255,.85); font-size:18px; max-width:34em; margin-top:22px}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:34px}
.hero-v2 .btn-get-started{margin:0}
.btn-hero-outline{display:inline-flex; align-items:center; gap:8px; padding:10px 26px; border-radius:50px; border:1.5px solid rgba(255,255,255,.7);
  color:#fff; font-weight:500; transition:.25s}
.btn-hero-outline:hover{background:#fff; color:#2f3a40}
.hero-promos{position:absolute; right:40px; bottom:40px; display:flex; gap:18px}
.promo-card{position:relative; display:block; width:196px; aspect-ratio:4/5; border-radius:18px; overflow:hidden; background:#fff;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.6); transition:transform .25s ease}
.promo-card img{width:100%; height:100%; object-fit:cover; display:block}
.promo-card:hover{transform:translateY(-6px)}
.promo-card:focus-visible{outline:3px solid #9fd35c; outline-offset:3px}
.promo-cta{position:absolute; left:10px; right:10px; bottom:10px; display:flex; justify-content:center; align-items:center; gap:6px;
  padding:8px; border-radius:50px; background:#25d366; color:#fff; font-size:13px; font-weight:700; opacity:0; transform:translateY(6px); transition:.25s}
.promo-card:hover .promo-cta, .promo-card:focus-visible .promo-cta{opacity:1; transform:none}
@media (max-width:1199px){
  .hero-panel{flex-direction:column; align-items:flex-start; padding:60px 40px 40px}
  .hero-art{width:44%; opacity:.5}
  .hero-promos{position:static; margin-top:40px}
}
@media (max-width:767px){
  .hero.hero-v2{padding-top:90px}
  .hero-panel{min-height:0; padding:44px 22px 24px; border-radius:20px}
  .hero-art{display:none}
  .hero-v2 h1{font-size:34px}
  .hero-v2 p{font-size:16px}
  .hero-promos{width:100%; gap:12px}
  .promo-card{width:auto; flex:1}
  .promo-cta{opacity:1; transform:none; font-size:12px}
}
@media (prefers-reduced-motion:reduce){.promo-card,.promo-cta{transition:none}}

/* ===== Instituciones: tarjetas de logo (v2) ===== */
.clients .client-logo{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  width:100%; height:96px; padding:12px 14px; background:#fff; border-radius:14px;
  border:1px solid #e3ecd9; box-shadow:0 8px 20px -16px rgba(47,58,64,.45); transition:.25s; user-select:none}
.clients .client-logo:hover{border-color:var(--accent-color); transform:translateY(-3px)}
.clients .client-slot{display:grid; place-items:center; height:56px; width:100%}
.clients .client-slot img{height:56px; max-width:100%}
.clients .client-slot.no-logo{display:grid; height:auto}
.clients .client-slot.no-logo .logo-fallback{width:40px; height:40px; border-radius:50%;
  background:color-mix(in srgb,var(--accent-color),transparent 88%); color:var(--accent-color);
  font-weight:700; font-size:14px; border:1.5px solid color-mix(in srgb,var(--accent-color),transparent 60%)}
.clients .client-slot:not(.no-logo) + .client-name{display:none}
.clients .client-slot.no-logo + .client-name{display:block; font-size:13px; font-weight:600; line-height:1.15; text-align:center; white-space:normal; color:var(--heading-color)}
.clients .swiper-slide{padding:6px 0}

/* ===== Portada v3: ilustración grande a la derecha, promociones bajo los botones ===== */
.hero-panel{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:center; gap:24px; padding:64px 48px 56px 64px}
.hero-content{grid-column:1; grid-row:1}
.hero-art{position:relative; z-index:0; grid-column:2; grid-row:1; right:auto; top:auto; width:118%; max-width:none; margin:-30px -6% -30px -12%; opacity:1}
.hero-panel.has-photo{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}
.hero-promos{position:static; margin-top:36px}
.hero-v2 h1{font-size:52px}
.promo-card{width:168px}
@media (min-width:1600px){ .hero-v2 h1{font-size:58px} .promo-card{width:180px} }
@media (max-width:1199px){
  .hero-panel{grid-template-columns:1fr; padding:48px 36px 40px}
  .hero-art{grid-column:1; grid-row:1; width:80%; margin:-20px auto -10px; opacity:1}
  .hero-content{grid-row:2}
}
@media (max-width:767px){
  .hero-art{display:block; width:100%; margin:-24px 0 -16px}
  .hero-panel{padding:28px 20px 24px}
}
.hero-panel{row-gap:30px; align-content:center}
.hero-art{grid-row:1 / span 2; align-self:center}
.hero-promos{grid-column:1; grid-row:2; margin-top:0}
@media (max-width:1199px){
  .hero-art{grid-row:1}
  .hero-content{grid-row:2}
  .hero-promos{grid-row:3}
}

/* ===== Portada a pantalla completa (cubre todo el ancho) ===== */
.hero.hero-v2{padding:0}
.hero-v2 > .container-xl{max-width:none; padding:0; margin:0}
.hero-v2 .hero-panel{border-radius:0; box-shadow:none; min-height:100vh;
  padding:130px max(48px, calc((100% - 1320px) / 2)) 64px}
@media (max-width:1199px){ .hero-v2 .hero-panel{min-height:0; padding:110px 32px 44px} }
@media (max-width:767px){ .hero-v2 .hero-panel{padding:96px 18px 32px} }

/* ===== Más presencia: logo MIMARQUI y elementos más grandes ===== */
.header{padding:14px 0}
.header .logo img{max-height:62px; margin-right:12px; filter:drop-shadow(0 4px 10px rgba(70,138,27,.25))}
.header .logo h1{font-size:32px; font-weight:700; letter-spacing:4px; color:#3e4144}
@media (min-width:1200px){
  .navmenu a, .navmenu a:focus{font-size:16px; font-weight:500}
  .header .btn-getstarted, .header .btn-getstarted:focus{font-size:16px; padding:10px 26px; font-weight:600}
}
@media (min-width:1200px) and (max-width:1399px){
  .header .logo img{max-height:52px}
  .header .logo h1{font-size:25px; letter-spacing:2.5px}
  .navmenu a, .navmenu a:focus{font-size:15px; padding:18px 9px}
}
@media (max-width:1199px){
  .header .logo img{max-height:50px}
  .header .logo h1{font-size:26px; letter-spacing:3px}
}
@media (max-width:767px){
  .header .logo img{max-height:44px}
  .header .logo h1{font-size:22px; letter-spacing:2px}
}

/* Portada */
.hero-v2 .hero-panel{padding-top:140px}
.hero-v2 .hero-badge{font-size:16px; padding:9px 20px}
.hero-v2 .hero-badge i{font-size:18px}
.hero-v2 h1{font-size:70px; line-height:1.02}
.hero-v2 p{font-size:21px; line-height:1.55; max-width:32em}
.hero-v2 .btn-get-started, .btn-hero-outline{font-size:18px; font-weight:600; padding:15px 36px}
.btn-hero-outline i{font-size:20px}
.hero-actions{gap:16px; margin-top:38px}
.promo-card{width:220px; border-radius:20px}
.promo-cta{font-size:15px; padding:10px}
.hero-art{width:124%; margin:-40px -8% -40px -14%}
@media (min-width:1200px) and (max-width:1599px){ .hero-v2 h1{font-size:58px} .promo-card{width:196px} }
@media (max-width:1199px){ .hero-v2 h1{font-size:50px} .hero-art{width:90%; margin:-20px auto -10px} }
@media (max-width:767px){
  .hero-v2 h1{font-size:36px} .hero-v2 p{font-size:17px}
  .hero-v2 .btn-get-started, .btn-hero-outline{font-size:16px; padding:13px 26px}
  .promo-card{width:auto}
  .hero-art{width:108%; margin:-24px -4% -16px}
}

/* Resto del sitio: textos y títulos más visibles */
body{font-size:17px}
.section-title h2{font-size:38px}
.section-title p{font-size:18px}
.clients .clients-label{font-size:17px}
.clients .client-logo{height:110px}
.clients .client-slot.no-logo + .client-name{font-size:15px}
@media (max-width:767px){ .section-title h2{font-size:28px} body{font-size:16px} }
.hero-v2 .hero-panel{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.hero-v2 h1{font-size:64px}
.header .logo{margin-right:28px !important}
.header .logo h1{font-size:29px; letter-spacing:3.5px}
@media (min-width:1200px) and (max-width:1599px){ .hero-v2 h1{font-size:56px} }
@media (max-width:1199px){
  .hero-v2 .hero-panel{grid-template-columns:1fr}
  .hero-v2 h1{font-size:48px}
}
@media (max-width:767px){
  .hero-v2 h1{font-size:36px; line-height:1.08}
  .header .logo h1{font-size:22px; letter-spacing:2px}
  .header .logo{margin-right:auto !important}
  .hero-art{width:108%; margin:-24px -4% -16px}
  .hero-v2 .hero-badge{font-size:14px; padding:7px 14px}
}

/* ---------- Logos de instituciones (a color y sin recortes) ---------- */
.brand-card .brand-mark:not(.no-logo){display:flex; align-items:center; justify-content:center; overflow:hidden}
.brand-card .brand-mark:not(.no-logo) img{height:84px; width:100%; object-fit:contain}
.menu-logo-img{display:inline-flex; align-items:center; justify-content:center; overflow:hidden}
.menu-logo-img img{height:100%; width:100%; object-fit:contain}
/* Para volver a gris con color al pasar el mouse, borra estas dos líneas */
.brand-card .brand-mark:not(.no-logo) img,
.clients .client-slot img{filter:none; opacity:1}
.clients .client-slot{height:64px}
.clients .client-slot img{height:64px; max-width:100%; object-fit:contain}

/*--------------------------------------------------------------
# Catálogo de productos (productos.html)
--------------------------------------------------------------*/
.portfolio-filters li { margin-bottom: 8px; }
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3eedb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(47, 58, 64, .35);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(47, 58, 64, .45); }
.portfolio .portfolio-item .product-media img,
.product-media img {
  display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
  background: #f3f9ec; border-radius: 0; transition: transform .4s;
}
.product-media { position: relative; display: block; overflow: hidden; background: #f3f9ec; }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-zoom {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(36, 54, 26, .85); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center;
}
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-color); }
.product-body h3 { font-size: 20px; margin: 4px 0 6px; line-height: 1.25; }
.product-sub { font-size: 14px; color: var(--default-color); margin-bottom: 12px; }
.product-chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.product-chips li { background: #e9f5dc; color: #2f5a14; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-feats { list-style: none; padding: 0; margin: 0 0 12px; }
.product-feats li { font-size: 14px; padding: 3px 0; display: flex; gap: 8px; align-items: flex-start; }
.product-feats i { color: var(--leaf-color); margin-top: 2px; }
.product-pack {
  display: flex; gap: 10px; align-items: flex-start;
  background: #f6f8f5; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; color: var(--heading-color);
}
.product-pack i { font-size: 18px; color: var(--accent-color); }
.product-pack ul { list-style: none; padding: 0; margin: 0; }
.product-cta {
  margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 8px;
  background: var(--accent-color); color: #fff; font-weight: 600; padding: 11px 16px; border-radius: 12px;
}
.product-cta:hover { background: #3a7516; color: #fff; }
.product-card-otro {
  align-items: center; justify-content: center; text-align: center; padding: 36px 28px;
  background: linear-gradient(160deg, #f3f9ec, #ffffff); border-style: dashed; border-color: #b9dc8f;
}
.product-card-otro > i { font-size: 44px; color: var(--leaf-color); margin-bottom: 10px; }
.product-card-otro .product-cta { margin-top: 8px; width: 100%; }

/*--------------------------------------------------------------
# Cómo trabajamos — pasos con imagen (nosotros.html)
--------------------------------------------------------------*/
.pasos { max-width: 940px; margin: 0 auto; }
.pasos-tabs {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  list-style: none; padding: 0; margin: 0 0 22px; border: 0;
}
.pasos-tabs:before {               /* línea que une los pasos */
  content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px;
  background: linear-gradient(90deg, var(--leaf-color), #d7eac2); z-index: 0;
}
.pasos-tabs .nav-link {
  position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 2px solid #e1efd2; border-radius: 16px; padding: 12px 16px;
  color: var(--heading-color); text-align: left; transition: .25s;
}
.pasos-tabs .nav-link:hover { border-color: var(--leaf-color); }
.pasos-tabs .paso-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #eaf5dc; color: var(--accent-color); font-weight: 800; font-size: 16px; transition: .25s;
}
.pasos-tabs .paso-txt { font-weight: 700; font-size: 16px; line-height: 1.2; }
.pasos-tabs .paso-txt small { display: block; font-size: 12px; font-weight: 600; color: var(--brand-gray); text-transform: uppercase; letter-spacing: .05em; }
.pasos-tabs .nav-link.active {
  background: var(--accent-color); border-color: var(--accent-color); color: #fff;
  box-shadow: 0 12px 26px -14px rgba(70, 138, 27, .8);
}
.pasos-tabs .nav-link.active .paso-num { background: #fff; color: var(--accent-color); }
.pasos-tabs .nav-link.active small { color: rgba(255, 255, 255, .8); }

.pasos-contenido { position: relative; }
.pasos-imagen {
  display: block; border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(36, 54, 26, .55);
}
.pasos-imagen img { display: block; width: 100%; height: auto; transition: transform .6s; }
.pasos-imagen:hover img { transform: scale(1.015); }
.tab-pane.fade { transition: opacity .45s ease; }

/* En computadora la imagen ya muestra el texto; el texto queda para lectores de pantalla y buscadores */
.pasos-texto {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.pasos-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.pasos-nav button {
  border: 2px solid var(--accent-color); background: #fff; color: var(--accent-color);
  font-weight: 600; border-radius: 999px; padding: 9px 18px; display: inline-flex; gap: 8px; align-items: center; transition: .2s;
}
.pasos-nav .pasos-prev { width: 44px; height: 44px; padding: 0; justify-content: center; }
.pasos-nav button:hover { background: var(--accent-color); color: #fff; }

/* En celular: la imagen se ve pequeña, así que mostramos el texto debajo */
@media (max-width: 767px) {
  .pasos-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pasos-tabs:before { display: none; }
  .pasos-tabs .nav-link { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .pasos-tabs .paso-txt { font-size: 13px; }
  .pasos-tabs .paso-txt small { display: none; }
  .pasos-imagen { border-radius: 16px; }
  .pasos-texto {
    position: static !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
    background: #fff; border: 1px solid #e3eedb; border-radius: 16px; padding: 18px; margin-top: 14px;
  }
  .pasos-texto h3 { font-size: 20px; margin-bottom: 6px; }
  .pasos-texto h3 span { display: block; font-size: 12px; color: var(--accent-color); text-transform: uppercase; letter-spacing: .05em; }
  .pasos-texto p { font-size: 15px; margin-bottom: 10px; }
  .pasos-texto ul { list-style: none; padding: 0; margin: 0; }
  .pasos-texto li { padding: 3px 0; font-size: 15px; }
  .pasos-texto li i { color: var(--leaf-color); margin-right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .pasos-imagen img, .tab-pane.fade { transition: none; } }
/* Tamaño de la imagen: que paso + imagen entren en una pantalla */
@media (min-width: 768px) {
  .pasos-contenido, .pasos-nav { max-width: 940px; margin-left: auto; margin-right: auto; }
}
.pasos { scroll-margin-top: 100px; }

/* ¿Por qué elegir MIMARQUI? — foto del equipo */
.why-us .why-us-img img { max-height: none; width: 100%; max-width: 520px; height: auto; }
@media (max-width: 991px) { .why-us .why-us-img img { max-width: 420px; } }

/*--------------------------------------------------------------
# Página de políticas
--------------------------------------------------------------*/
.pol-resumen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.pol-resumen > div {
  background: #f3f9ec; border: 1px solid #e1efd2; border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.pol-resumen i { font-size: 26px; color: var(--accent-color); margin-bottom: 6px; }
.pol-resumen strong { font-size: 18px; color: var(--heading-color); }
.pol-resumen span { font-size: 14px; color: var(--default-color); }

.pol-indice { position: sticky; top: 110px; background: #fff; border: 1px solid #e3eedb; border-radius: 16px; padding: 18px; }
.pol-indice p { font-weight: 700; color: var(--heading-color); margin-bottom: 8px; }
.pol-indice ul { list-style: none; padding: 0; margin: 0; }
.pol-indice a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--default-color); font-size: 15px; }
.pol-indice a i { color: var(--leaf-color); }
.pol-indice a:hover { background: #f3f9ec; color: var(--accent-color); }

.pol-card {
  background: #fff; border: 1px solid #e3eedb; border-radius: 16px; padding: 24px 26px; margin-bottom: 18px;
  scroll-margin-top: 110px; box-shadow: 0 10px 26px -22px rgba(47, 58, 64, .5);
}
.pol-card h3 { font-size: 21px; display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.pol-card h3 i {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #eaf5dc; color: var(--accent-color); font-size: 18px;
}
.pol-card p { margin-bottom: 10px; line-height: 1.65; }
.pol-card p:last-child { margin-bottom: 0; }
.pol-list { padding-left: 0; list-style: none; margin: 0; }
.pol-list li { position: relative; padding: 5px 0 5px 26px; }
.pol-list li:before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 5px; color: var(--leaf-color); }
.pol-list.pol-no li:before { content: "\F623"; color: #c0392b; }
.pol-steps { padding-left: 20px; margin-bottom: 10px; }
.pol-steps li { padding: 4px 0; }
.pol-ayuda { background: linear-gradient(150deg, #f3f9ec, #fff); border-color: #cfe6b5; }
.pol-botones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pol-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px;
  border: 2px solid var(--accent-color); color: var(--accent-color); font-weight: 600;
}
.pol-btn:hover { background: var(--accent-color); color: #fff; }
.pol-btn-wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.pol-btn-wa:hover { background: #1eb956; border-color: #1eb956; }
#faq-2 { scroll-margin-top: 90px; }

@media (max-width: 991px) {
  .pol-resumen { grid-template-columns: repeat(2, 1fr); }
  .pol-indice { position: static; }
}
@media (max-width: 480px) {
  .pol-resumen { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pol-resumen > div { padding: 14px; }
  .pol-card { padding: 20px; }
}

/*--------------------------------------------------------------
# Noticias (noticias.html)
--------------------------------------------------------------*/
.noticias { padding-top: 40px; }
.news-banner { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -32px rgba(36, 54, 26, .6); margin-bottom: 50px; }
.news-banner img { display: block; width: 100%; height: auto; }

.news-featured {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff;
  border: 1px solid #e3eedb; border-radius: 22px; overflow: hidden; margin-bottom: 28px;
  box-shadow: 0 18px 40px -28px rgba(47, 58, 64, .5); scroll-margin-top: 100px;
}
.news-featured .news-media img { aspect-ratio: 1 / 1; }
.news-featured .news-body { padding: 34px 38px; display: flex; flex-direction: column; justify-content: center; }
.news-featured h3 { font-size: 30px; }

.news-media { display: block; overflow: hidden; background: #f3f9ec; }
.news-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-media:hover img { transform: scale(1.03); }

.news-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3eedb;
  border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px -26px rgba(47, 58, 64, .5); scroll-margin-top: 100px;
}
.news-card .news-media img { aspect-ratio: 16 / 9; }
.news-card .news-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 22px; }

.news-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 14px; color: var(--brand-gray); }
.news-meta i { margin-right: 4px; color: var(--leaf-color); }
.news-cat { background: var(--accent-color); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.news-body h3 { margin-bottom: 10px; line-height: 1.25; }
.news-body p { line-height: 1.65; margin-bottom: 10px; }
.news-tags { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.news-tags li { font-size: 13px; font-weight: 600; color: #2f5a14; background: #eaf5dc; padding: 3px 10px; border-radius: 999px; }
.news-actions { margin-top: auto; }
.news-share {
  border: 2px solid var(--whatsapp); background: #fff; color: #128c4a; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; transition: .2s;
}
.news-share:hover { background: var(--whatsapp); color: #fff; }

.news-cta {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, #2d4a1c, #468a1b); color: #fff; border-radius: 22px; padding: 30px 34px;
}
.news-cta h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.news-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.news-cta-links { display: flex; gap: 10px; }
.news-cta-links a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
  background: rgba(255, 255, 255, .15); color: #fff; transition: .2s;
}
.news-cta-links a:hover { background: #fff; color: var(--accent-color); }

@media (max-width: 991px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured .news-body { padding: 24px; }
  .news-featured h3 { font-size: 24px; }
  .news-banner { margin-bottom: 30px; border-radius: 16px; }
}

/*--------------------------------------------------------------
# Noticias en el inicio
--------------------------------------------------------------*/
.noticias-inicio { background: #fff; }
.ni-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.ni-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-color); margin-bottom: 6px; }
.ni-head h2 { font-size: 34px; margin: 0 0 6px; }
.ni-head p { margin: 0; color: var(--default-color); }
.ni-all {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 600; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--accent-color); color: var(--accent-color); transition: .2s;
}
.ni-all:hover { background: var(--accent-color); color: #fff; }

.ni-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.ni-side { display: grid; gap: 22px; }
.ni-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #e3eedb; border-radius: 20px;
  overflow: hidden; color: inherit; box-shadow: 0 14px 34px -26px rgba(47, 58, 64, .5); transition: transform .25s, box-shadow .25s;
}
.ni-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(47, 58, 64, .55); color: inherit; }
.ni-img { display: block; overflow: hidden; background: #f3f9ec; }
.ni-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ni-card:hover .ni-img img { transform: scale(1.04); }
.ni-main .ni-img img { aspect-ratio: 16 / 11; object-position: top; }
.ni-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.ni-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--brand-gray); }
.ni-cat { background: var(--accent-color); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; }
.ni-title { font-family: var(--heading-font); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--heading-color); }
.ni-main .ni-title { font-size: 24px; }
.ni-text { font-size: 15px; line-height: 1.55; color: var(--default-color); }
.ni-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent-color); display: inline-flex; gap: 6px; align-items: center; }
.ni-card:hover .ni-more i { transform: translateX(3px); }
.ni-more i { transition: transform .2s; }

.ni-row { flex-direction: row; }
.ni-row .ni-img { flex: 0 0 46%; }
.ni-row .ni-img img { aspect-ratio: auto; min-height: 100%; }
.ni-row .ni-body { padding: 18px 20px; }

@media (max-width: 991px) {
  .ni-grid { grid-template-columns: 1fr; }
  .ni-head h2 { font-size: 28px; }
}
@media (max-width: 575px) {
  .ni-row { flex-direction: column; }
  .ni-row .ni-img { flex: none; }
  .ni-row .ni-img img { aspect-ratio: 16 / 9; }
  .ni-all { width: 100%; justify-content: center; }
}
.ni-row .ni-img img { object-position: 88% center; }   /* muestra la foto de cada publicación */
@media (max-width: 575px) { .ni-row .ni-img img { object-position: center; } }

/* Menú con "Instituciones": más compacto en laptops (1200–1439 px) para que todo entre en una línea */
@media (min-width: 1200px) and (max-width: 1439px) {
  .navmenu a, .navmenu a:focus { padding: 18px 7px !important; font-size: 14px !important; }
  .navmenu .dropdown ul a, .navmenu .dropdown ul a:focus { padding: 10px 20px !important; }
  .header .logo img { max-height: 40px !important; margin-right: 8px !important; }
  .header .logo h1 { font-size: 20px !important; letter-spacing: 1.5px !important; }
  .header .btn-getstarted, .header .btn-getstarted:focus { margin-left: 10px !important; padding: 7px 16px !important; font-size: 14px !important; }
}
@media (min-width: 1440px) and (max-width: 1699px) {
  .navmenu a, .navmenu a:focus { padding: 18px 10px !important; font-size: 15px !important; }
  .navmenu .dropdown ul a, .navmenu .dropdown ul a:focus { padding: 10px 20px !important; }
  .header .logo img { max-height: 44px !important; }
  .header .logo h1 { font-size: 23px !important; letter-spacing: 2px !important; }
  .header .btn-getstarted, .header .btn-getstarted:focus { margin-left: 14px !important; padding: 8px 20px !important; }
}

/* Desplegable de Instituciones en 2 columnas (computadora) para que no sea tan largo */
@media (min-width: 1200px) {
  .navmenu .menu-inst > ul { width: 540px; display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 4px; }
  .navmenu .menu-inst > ul > li:last-child { grid-column: 1 / -1; }
  .navmenu .menu-inst:hover > ul { display: grid !important; }
}

/* ===== MIMARQUI | Servicios con fotografía ===== */
.services-page .page-title { display: none; }
.services-page .mimarqui-services { position: relative; isolation: isolate; overflow: hidden; padding: 54px 0 78px; background: linear-gradient(135deg,#f5faef 0%,#ffffff 48%,#eff8e8 100%); }
.services-page .services-intro { position: relative; z-index: 2; text-align: center; margin-bottom: 32px; }
.services-page .services-eyebrow { color: #4b8e20; font-size: 11px; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.services-page .services-intro h1 { color: #263747; font-size: clamp(30px,3vw,44px); line-height: 1.08; font-weight: 800; margin: 0; }
.services-page .services-intro h1 span { display: block; color: #43891d; }
.services-page .services-title-line { width: 88px; height: 4px; border-radius: 8px; background: #65aa2c; margin: 17px auto 13px; }
.services-page .services-intro p { color: #586675; font-size: 17px; margin: 0; }
.services-page .services-cards-wrap { position: relative; z-index: 2; max-width: 1320px; }
.services-page .service-item { width: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 15px; border: 1px solid rgba(65,128,34,.08); box-shadow: 0 12px 34px rgba(31,63,23,.10); transition: transform .25s ease, box-shadow .25s ease; }
.services-page .service-item:hover { transform: translateY(-7px); box-shadow: 0 18px 40px rgba(31,63,23,.16); }
.services-page .service-photo { height: 220px; overflow: hidden; background: #edf4e9; }
.services-page .service-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.services-page .service-item:hover .service-photo img { transform: scale(1.045); }
.services-page .service-icon-badge { position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin: -32px 0 0 22px; border: 5px solid #fff; border-radius: 50%; background: #f0f8e8; color: #43891d; font-size: 27px; z-index: 1; }
.services-page .service-copy { padding: 8px 24px 25px; flex: 1; }
.services-page .service-accent { display: block; width: 42px; height: 4px; border-radius: 4px; background: #65aa2c; margin: 1px 0 17px; }
.services-page .service-copy h2 { color: #253343; font-size: 20px; font-weight: 750; line-height: 1.3; margin: 0 0 12px; }
.services-page .service-copy h2 a { color: inherit; }
.services-page .service-copy p { color: #596574; font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.services-page .service-more { display: inline-flex; gap: 8px; align-items: center; color: #43891d; font-size: 13px; font-weight: 700; }
.services-page .service-more:hover { color: #2d6313; }
.services-page .services-decor { position: absolute; z-index: 0; pointer-events: none; border: 2px solid rgba(106,177,48,.28); border-radius: 50%; }
.services-page .services-decor-left { width: 370px; height: 370px; left: -260px; top: 55px; box-shadow: 0 0 0 22px rgba(106,177,48,.05),0 0 0 48px rgba(106,177,48,.04); }
.services-page .services-decor-right { width: 460px; height: 460px; right: -340px; bottom: -220px; box-shadow: 0 0 0 24px rgba(106,177,48,.05); }
.services-page .services-bottom-swoosh { position: absolute; z-index: 0; bottom: -100px; left: -5%; width: 110%; height: 145px; border-radius: 50% 50% 0 0; background: #285b1b; transform: rotate(-2deg); }
@media (max-width: 991px) { .services-page .mimarqui-services { padding: 42px 0 65px; } .services-page .service-photo { height: 205px; } }
@media (max-width: 575px) { .services-page .mimarqui-services { padding: 34px 0 55px; } .services-page .services-eyebrow { font-size: 9px; letter-spacing: 1.2px; } .services-page .services-intro p { font-size: 15px; } .services-page .service-photo { height: 225px; } .services-page .service-copy { padding-left: 20px; padding-right: 20px; } }

/* ===== Ajuste final de Servicios: tarjetas alineadas como el bloque "Cómo trabajamos" ===== */
body.servicios-page .mimarqui-services { padding: 46px 0 70px; overflow: hidden; }
body.servicios-page .mimarqui-services > .services-intro { max-width: 940px; margin: 0 auto 30px; padding-left: 18px; padding-right: 18px; }
body.servicios-page .mimarqui-services .services-eyebrow { font-size: 10px; letter-spacing: 1.5px; }
body.servicios-page .mimarqui-services .services-intro h1 { font-size: clamp(30px, 3vw, 42px); }
body.servicios-page .mimarqui-services .services-cards-wrap { width: min(100% - 36px, 1140px); max-width: 1140px; margin-left: auto; margin-right: auto; }
body.servicios-page .mimarqui-services .services-cards-wrap > .row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
body.servicios-page .mimarqui-services .services-cards-wrap > .row > [class*="col-"] { display: block !important; width: auto; max-width: none; min-width: 0; padding: 0; margin: 0; }
body.servicios-page .mimarqui-services .service-item { box-sizing: border-box; width: 100%; height: 100%; min-width: 0; padding: 0 !important; margin: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #e4eddc; box-shadow: 0 18px 45px rgba(39, 73, 26, .10); }
body.servicios-page .mimarqui-services .service-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; background: #edf4e9; flex: 0 0 auto; }
body.servicios-page .mimarqui-services .service-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.servicios-page .mimarqui-services .service-icon-badge { width: 58px; height: 58px; min-width: 58px; margin: -29px 0 0 20px; border: 4px solid #fff; font-size: 24px; }
body.servicios-page .mimarqui-services .service-copy { padding: 8px 22px 24px; flex: 1; }
body.servicios-page .mimarqui-services .service-accent { margin: 0 0 14px; width: 40px; height: 4px; }
body.servicios-page .mimarqui-services .service-copy h2 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
body.servicios-page .mimarqui-services .service-copy p { font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
body.servicios-page .mimarqui-services .service-more { font-size: 13px; margin-top: auto; }
@media (max-width: 991px) {
  body.servicios-page .mimarqui-services .services-cards-wrap > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  body.servicios-page .mimarqui-services .service-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 575px) {
  body.servicios-page .mimarqui-services { padding: 34px 0 52px; }
  body.servicios-page .mimarqui-services > .services-intro { margin-bottom: 24px; }
  body.servicios-page .mimarqui-services .services-cards-wrap { width: min(100% - 28px, 420px); }
  body.servicios-page .mimarqui-services .services-cards-wrap > .row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.servicios-page .mimarqui-services .service-photo { aspect-ratio: 16 / 9; }
  body.servicios-page .mimarqui-services .service-copy { padding: 8px 20px 22px; }
  body.servicios-page .mimarqui-services .service-copy h2 { font-size: 20px; }
}
