/*--------------------------------------------------------------
# MasterGuest — Rediseño 2026
# Colores corporativos intactos: #207178 / #174C4F
--------------------------------------------------------------*/

:root {
  --mg-primary: #207178;
  --mg-primary-dark: #174C4F;
  --mg-primary-deep: #0e3537;
  --mg-ink: #102b2d;
  --mg-text: #3c4a4b;
  --mg-muted: #6b7d7e;
  --mg-soft: #f2f8f8;
  --mg-soft-2: #e6f1f1;
  --mg-line: rgba(32, 113, 120, 0.14);
  --mg-grad: linear-gradient(135deg, #207178 0%, #174C4F 100%);
  --mg-grad-soft: linear-gradient(180deg, #ffffff 0%, #f2f8f8 100%);
  --mg-shadow-sm: 0 2px 10px rgba(16, 43, 45, 0.06);
  --mg-shadow-md: 0 10px 30px rgba(16, 43, 45, 0.1);
  --mg-shadow-lg: 0 24px 60px rgba(16, 43, 45, 0.16);
  --mg-shadow-brand: 0 12px 30px rgba(32, 113, 120, 0.35);
  --mg-radius-sm: 10px;
  --mg-radius: 16px;
  --mg-radius-lg: 24px;
  --mg-radius-pill: 999px;
  --mg-font: 'Plus Jakarta Sans', 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
  --mg-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mg-font);
  color: var(--mg-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Scrollbar sutil con acento corporativo */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--mg-soft);
}
::-webkit-scrollbar-thumb {
  background: rgba(32, 113, 120, 0.45);
  border-radius: var(--mg-radius-pill);
  border: 2px solid var(--mg-soft);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--mg-primary);
}

/* Accesibilidad: foco visible y movimiento reducido */
:focus-visible {
  outline: 3px solid rgba(32, 113, 120, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Red de seguridad AOS: si una página carga aos.css pero no aos.js,
   los [data-aos] quedarían en opacity:0 para siempre. AOS añade
   .aos-init al inicializar; sin esa clase, forzamos visibilidad. */
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}

.me-auto img {
  width: 225px !important;
  height: 32px !important;
}

input.larger {
  width: 19px;
  height: 19px;
}

@font-face {
  font-family: 'Boxicons';
  src: url('/fonts/boxicons.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'BootstrapIcons';
  src: url('/fonts/bootstrap-icons.woff2?a74547b') format('woff2');
  font-display: swap;
}

.precio {
  font-size: 11px;
  color: #b9c6c6;
}

.urlsubmit { display: none; }

.btn-mg {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  border: none;
  border-radius: var(--mg-radius-sm);
  padding: 10px 22px;
  box-shadow: var(--mg-shadow-brand);
  transition: transform 0.3s var(--mg-ease), box-shadow 0.3s var(--mg-ease);
}
.btn-mg:hover {
  color: #fff;
  font-size: 15px;
  background-color: var(--mg-primary-dark);
  background-image: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 76, 79, 0.45);
}

.about-btn {
  border-radius: var(--mg-radius-pill);
  transition: all 0.3s var(--mg-ease);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  padding: 10px 32px;
  border: 2px solid var(--mg-primary-dark);
}
.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--mg-shadow-md);
}

.about-btn2 {
  border-radius: var(--mg-radius-pill);
  transition: all 0.3s var(--mg-ease);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  padding: 10px 32px;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}
.about-btn2:hover {
  color: var(--mg-primary-dark);
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.morefaqs {
  transition: 0.3s;
  font-weight: 700;
  font-size: 13px;
  padding: 3px;
}
.morefaqs a {
  color: var(--mg-primary);
}
.morefaqs a:hover {
  color: var(--mg-primary-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navbar-mobile .phone-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  text-align: center;
  margin-top: 15px;
}

a {
  color: var(--mg-ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--mg-primary);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mg-font);
  letter-spacing: -0.015em;
  /* sin color global: heredan del contenedor (los includes con fondo
     teal usan títulos blancos por herencia) */
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: 18px;
  z-index: 996;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  width: 46px;
  height: 46px;
  border-radius: var(--mg-radius-pill);
  box-shadow: var(--mg-shadow-brand);
  transition: all 0.4s var(--mg-ease);
}
.back-to-top i {
  font-size: 26px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  color: #fff;
  transform: translateY(-4px);
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
# NOTA: sin backdrop-filter aquí — crearía un "containing block"
# y rompería el menú móvil (.navbar-mobile usa position: fixed)
--------------------------------------------------------------*/
#header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--mg-ease);
  z-index: 997;
  padding: 20px 0;
}
#header.header-scrolled {
  padding: 10px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--mg-line);
  box-shadow: 0 8px 30px rgba(16, 43, 45, 0.08);
}
#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  font-family: var(--mg-font);
}
#header .logo a {
  color: var(--mg-ink);
}
#header .logo a span {
  color: var(--mg-primary);
}

/*--------------------------------------------------------------
# Get Started Button
--------------------------------------------------------------*/
.get-started-btn {
  margin-left: 30px;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  border-radius: var(--mg-radius-pill);
  padding: 9px 26px;
  white-space: nowrap;
  transition: all 0.3s var(--mg-ease);
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  box-shadow: var(--mg-shadow-brand);
}
.get-started-btn:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 76, 79, 0.4);
}
@media (max-width: 992px) {
  .get-started-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 3px 20px;
  display: flex;
  justify-content: right;
  align-items: center;
  height: auto;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.navbar li {
  position: relative;
  margin-right: 10px;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-family: var(--mg-font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--mg-ink);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s var(--mg-ease);
  border-radius: var(--mg-radius-sm);
  position: relative;
}

/* Subrayado animado con el verde corporativo */
.navbar a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: var(--mg-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--mg-ease);
}

.navbar a:hover, .navbar li:hover > a {
  color: var(--mg-primary);
  background-color: var(--mg-soft);
}
.navbar a:hover::after, .navbar li:hover > a::after {
  transform: scaleX(1);
}

.navbar li button {
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: white;
  padding: 4px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--mg-radius-pill);
  cursor: pointer;
  transition: all 0.3s var(--mg-ease);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(32, 113, 120, 0.3);
}

.navbar li button:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  transform: translateY(-1px);
}

@media (min-width: 1024px) {
  .navbar ul {
    gap: 15px;
  }
}

/**
* Mobile Navigation
*/
.navbar .phone-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--mg-radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(32, 113, 120, 0.3);
  transition: all 0.3s var(--mg-ease);
}
.navbar .phone-button::after {
  display: none;
}
.navbar .phone-button:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  color: #fff;
  transform: translateY(-1px);
}
.navbar .phone-button i {
  font-size: 22px;
}

.mobile-nav-toggle {
  color: var(--mg-ink);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(14, 53, 55, 0.92);
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: flex;
  position: absolute;
  flex-direction: column;
  justify-content: start;
  margin-top: 20px;
  gap: 20px;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 16px 0;
  background-color: #fff;
  border-radius: var(--mg-radius-lg);
  box-shadow: var(--mg-shadow-lg);
  overflow-y: auto;
  transition: .3s;
}

.navbar-mobile .phone-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  text-align: center;
  margin-top: 10px;
}

.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--mg-ink);
}
.navbar-mobile a::after {
  display: none;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--mg-primary);
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  border-radius: var(--mg-radius);
  box-shadow: 0px 0px 30px rgba(16, 43, 45, 0.18);
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: var(--mg-primary);
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero — duotono corporativo + tipografía fluida
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  min-height: 620px;
  background: url("../img/hero-bg.webp") top center no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 82px;
  display: flex;
  align-items: center;
}
/* Overlay en degradado del verde corporativo (antes negro plano) */
#hero:before {
  content: "";
  background: linear-gradient(115deg,
    rgba(14, 53, 55, 0.92) 0%,
    rgba(23, 76, 79, 0.78) 45%,
    rgba(32, 113, 120, 0.45) 100%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}
/* Halo de luz sutil, marca de agua de la casa */
#hero::after {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  right: -22vmax;
  top: -22vmax;
  background: radial-gradient(circle at center,
    rgba(32, 113, 120, 0.4) 0%,
    rgba(32, 113, 120, 0) 65%);
  pointer-events: none;
}
#hero .container {
  position: relative;
  z-index: 2;
}
#hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
#hero h2 {
  color: rgba(255, 255, 255, 0.88);
  margin: 12px 0 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 1.45;
  max-width: 560px;
}
#hero .btn-get-started {
  font-family: var(--mg-font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--mg-radius-pill);
  transition: all 0.35s var(--mg-ease);
  margin-top: 28px;
  color: #fff;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 44px rgba(14, 53, 55, 0.5);
}
#hero .btn-get-started:hover {
  background-color: #fff;
  background-image: none;
  color: var(--mg-primary-dark);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(14, 53, 55, 0.55);
}
#hero .btn-get-started i,
#hero .btn-get-started .bx {
  font-size: 22px;
  line-height: 0;
  margin: 0;
}
@media (max-width: 768px) {
  #hero {
    text-align: center;
    padding-top: 58px;
  }
  #hero h2 {
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 72px 0;
  overflow: hidden;
  position: relative;
}

.section-title {
  text-align: center;
  padding-bottom: 36px;
  position: relative;
}
.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--mg-ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 56px;
  height: 4px;
  border-radius: var(--mg-radius-pill);
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  bottom: 0;
  left: calc(50% - 28px);
}
.section-title p {
  margin-bottom: 0;
  color: inherit; /* hereda: blanco en secciones oscuras, gris en claras */
  opacity: 0.88;
}

.section-bg {
  padding: 120px 0;
  color: #fff;
}
.section-bg:before {
  content: "";
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  position: absolute;
  bottom: 60px;
  top: 60px;
  left: 0;
  right: 0;
  transform: skewY(-3deg);
  box-shadow: var(--mg-shadow-lg);
}
.section-bg h2 {
  color: #fff;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  min-height: 40px;
  margin-top: 88px;
  color: #fff;
}
.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumbs ol a:hover {
  color: #fff;
  transition: 0.3s;
}
.breadcrumbs ol li + li {
  padding-left: 10px;
}
.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.6);
  content: "/";
}
.breadcrumb-item.active {
  color: #fafafa;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients2 .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.clients2 .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--mg-primary);
  transition: all 0.3s ease;
}
.clients2 .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--mg-primary);
  width: 24px;
  border-radius: var(--mg-radius-pill);
}
.clients2 .swiper-slide img {
  opacity: 0.45;
  transition: all 0.35s ease;
  filter: grayscale(100);
}
.clients2 .swiper-slide img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.clients .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--mg-primary);
  transition: all 0.3s ease;
}
.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--mg-primary);
  width: 24px;
  border-radius: var(--mg-radius-pill);
}
.clients .swiper-slide img {
  opacity: 0.45;
  transition: all 0.35s ease;
  filter: grayscale(100);
}
.clients .swiper-slide img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .container {
  position: relative;
  z-index: 10;
}
.about .content {
  padding: 30px 30px 30px 0;
}
.about .content h3 {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.about .content p {
  margin-bottom: 30px;
}
.about .content .about-btn {
  padding: 10px 32px;
  color: #fff;
  border-radius: var(--mg-radius-pill);
  transition: all 0.3s var(--mg-ease);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  border: 2px solid #ffffff;
}
.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}
.about .content .about-btn:hover {
  background: var(--mg-primary);
  transform: translateY(-2px);
  box-shadow: var(--mg-shadow-brand);
}
.about .icon-boxes .icon-box {
  margin-top: 30px;
}
.about .icon-boxes .icon-box i {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 10px;
}
.about .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.about .icon-boxes .icon-box p {
  font-size: 15px;
  color: #ffffff;
}
@media (max-width: 1200px) {
  .about .content {
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .about {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Counts — tarjetas flotantes
--------------------------------------------------------------*/
.counts {
  padding-top: 80px;
}
.counts .count-box {
  padding: 34px 30px 26px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-md);
  border-radius: var(--mg-radius-lg);
  transition: transform 0.35s var(--mg-ease), box-shadow 0.35s var(--mg-ease);
}
.counts .count-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--mg-shadow-lg);
}
.counts .count-box i {
  position: absolute;
  width: 56px;
  height: 56px;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  border-radius: var(--mg-radius-pill);
  border: 3px solid #fff;
  box-shadow: var(--mg-shadow-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.counts .count-box span {
  font-size: 38px;
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mg-primary-dark);
}
.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: var(--mg-font);
  font-size: 14px;
  color: var(--mg-muted);
}

/*--------------------------------------------------------------
# Tabs — navegación tipo píldora
--------------------------------------------------------------*/
.tabs .nav-tabs {
  border: 0;
  gap: 0;
}
.tabs .nav-link {
  border: 1px solid var(--mg-line);
  background: #fff;
  padding: 18px 15px;
  transition: all 0.3s var(--mg-ease);
  color: var(--mg-ink);
  border-radius: var(--mg-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 4px;
}
.tabs .nav-link i {
  padding-right: 15px;
  font-size: 44px;
  transition: transform 0.3s var(--mg-ease);
}
.tabs .nav-link h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: inherit;
}
.tabs .nav-link:hover {
  color: var(--mg-primary);
  border-color: var(--mg-primary);
  transform: translateY(-3px);
  box-shadow: var(--mg-shadow-md);
}
.tabs .nav-link:hover i {
  transform: scale(1.08);
}
.tabs .nav-link.active {
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--mg-shadow-brand);
}
.tabs .nav-link.active h4 {
  color: #fff;
}
@media (max-width: 768px) {
  .tabs .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}
@media (max-width: 575px) {
  .tabs .nav-link {
    padding: 15px;
  }
  .tabs .nav-link i {
    font-size: 24px;
  }
}
.tabs .tab-content {
  margin-top: 36px;
}
.tabs .tab-pane h3 {
  font-weight: 800;
  color: var(--mg-ink);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
}
.tabs .tab-pane ul {
  list-style: none;
  padding: 0;
}
.tabs .tab-pane ul li {
  padding-bottom: 12px;
}
.tabs .tab-pane ul i {
  font-size: 20px;
  padding-right: 6px;
  color: var(--mg-primary);
}
.tabs .tab-pane p:last-child {
  margin-bottom: 0;
}
.tabs .tab-pane img {
  border-radius: var(--mg-radius-lg);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  padding: 32px;
  border-radius: var(--mg-radius-lg);
  background: linear-gradient(135deg, #1a5a5e 0%, #174C4F 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s var(--mg-ease);
}
.services .icon-box:hover {
  background: linear-gradient(135deg, #207178 0%, #174C4F 100%);
  transform: translateY(-6px);
  box-shadow: var(--mg-shadow-lg);
}
.services .icon-box i {
  float: left;
  color: #ffffff;
  font-size: 40px;
  line-height: 0;
}
.services .icon-box h4 {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}
.services .icon-box h4 a {
  color: #fff;
  transition: 0.3s;
}
.services .icon-box h4 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #fff;
}
.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}
.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 18px 10px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--mg-text);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: var(--mg-radius-pill);
}
.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: var(--mg-primary);
}
.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}
.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: var(--mg-radius);
  background: rgba(16, 43, 45, 0.6);
}
.portfolio .portfolio-wrap::before {
  content: "";
  background: linear-gradient(180deg, rgba(14, 53, 55, 0.2), rgba(14, 53, 55, 0.85));
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}
.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.45s var(--mg-ease);
}
.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}
.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}
.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}
.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}
.portfolio .portfolio-wrap .portfolio-links a {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}
.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #fff;
}
.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}
.portfolio .portfolio-wrap:hover img {
  transform: scale(1.12);
}
.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}
.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: var(--mg-radius);
}
.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--mg-primary);
}
.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--mg-primary);
}
.portfolio-details .portfolio-info {
  padding: 30px;
  border-radius: var(--mg-radius-lg);
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-md);
}
.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}
.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}
.portfolio-details .portfolio-description {
  padding-top: 30px;
}
.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel, .testimonials .testimonials-slider {
  overflow: hidden;
}
.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 32px;
  margin: 30px 15px;
  min-height: 200px;
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-md);
  position: relative;
  background: #fff;
  border-radius: var(--mg-radius-lg);
  transition: transform 0.35s var(--mg-ease), box-shadow 0.35s var(--mg-ease);
}
.testimonials .testimonial-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--mg-shadow-lg);
}
.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: var(--mg-radius);
  border: 6px solid #fff;
  box-shadow: var(--mg-shadow-sm);
  float: left;
  margin: 0 10px 0 0;
}
.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 25px 0 5px 0;
  color: var(--mg-ink);
}
.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: var(--mg-muted);
  margin: 0;
}
.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: var(--mg-soft-2);
  font-size: 26px;
}
.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}
.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}
.testimonials .testimonial-item p {
  font-style: italic;
  margin: 30px auto 15px auto;
}
.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}
.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--mg-primary);
  transition: all 0.3s ease;
}
.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--mg-primary);
  width: 24px;
  border-radius: var(--mg-radius-pill);
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 28px 22px;
  color: var(--mg-ink);
  background: #fff;
  text-align: center;
  border-radius: var(--mg-radius-lg);
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--mg-ease), box-shadow 0.35s var(--mg-ease);
}
.pricing .box:hover {
  transform: translateY(-8px);
  box-shadow: var(--mg-shadow-lg);
}
.pricing .box h3 {
  padding: 15px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: inherit;
}
.pricing .box h4 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--mg-font);
  margin-bottom: 20px;
  color: inherit;
}
.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}
.pricing .box h4 span {
  font-size: 16px;
  font-weight: 400;
}

.pricing .precio {
  font-size: 11px;
  color: #b9c6c6;
}
.houseplan {
  font-size: 18px;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}
.pricing .box ul li {
  padding-bottom: 16px;
}
.pricing .box ul i {
  color: var(--mg-primary);
  font-size: 16px;
  padding-right: 4px;
}
.pricing .box ul .na {
  color: #9fb0b0;
  text-decoration: line-through;
}
.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}
.pricing .box .btn-buy {
  display: inline-block;
  padding: 11px 42px;
  border-radius: var(--mg-radius-pill);
  color: inherit;
  font-size: 14px;
  font-family: var(--mg-font);
  font-weight: 700;
  transition: all 0.3s var(--mg-ease);
  border: 2px solid currentColor;
}
.pricing .box .btn-buy:hover {
  background: var(--mg-primary);
  border-color: var(--mg-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--mg-shadow-brand);
}
.pricing .featured {
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--mg-shadow-brand);
}
.pricing .featured ul i {
  color: #fff;
}
.pricing .featured ul .na {
  color: rgba(255, 255, 255, 0.55);
}
.pricing .featured .precio {
  color: rgba(255, 255, 255, 0.6);
}
.pricing .featured .btn-buy:hover {
  background: #fff;
  border-color: #fff;
  color: var(--mg-primary-dark);
}

/*--------------------------------------------------------------
# Frequently Asked Questions — acordeón en tarjetas
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0;
  list-style: none;
}
.faq .faq-list li {
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: var(--mg-radius);
  margin-bottom: 14px;
  padding: 20px 22px;
  box-shadow: var(--mg-shadow-sm);
  transition: box-shadow 0.3s var(--mg-ease), border-color 0.3s var(--mg-ease);
}
.faq .faq-list li:hover {
  border-color: rgba(32, 113, 120, 0.35);
  box-shadow: var(--mg-shadow-md);
}
.faq .faq-list a {
  display: block;
  position: relative;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: var(--mg-primary-dark);
  padding-right: 32px;
  cursor: pointer;
}
.faq .faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
  color: var(--mg-primary);
  transition: transform 0.3s var(--mg-ease);
}
.faq .faq-list p {
  margin-bottom: 0;
  padding: 12px 0 0 0;
  color: var(--mg-text);
}
.faq .faq-list .icon-show {
  display: none;
}
.faq .faq-list a.collapsed {
  color: var(--mg-ink);
}
.faq .faq-list a.collapsed:hover {
  color: var(--mg-primary);
}
.faq .faq-list .icon-show {
  display: inline-block;
}
.faq .faq-list .icon-close {
  display: none;
}

/*--------------------------------------------------------------
# Frequently Asked Questions 2
--------------------------------------------------------------*/
.faq2 .faq-list2 {
  padding: 0;
  list-style: none;
}
.faq2 .faq-list2 li {
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: var(--mg-radius);
  margin-bottom: 12px;
  padding: 16px 20px;
  box-shadow: var(--mg-shadow-sm);
  transition: box-shadow 0.3s var(--mg-ease), border-color 0.3s var(--mg-ease);
}
.faq2 .faq-list2 li:hover {
  border-color: rgba(32, 113, 120, 0.35);
  box-shadow: var(--mg-shadow-md);
}
.faq2 .faq-list2 a {
  display: block;
  position: relative;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--mg-primary-dark);
  padding-right: 32px;
  cursor: pointer;
}
.faq2 .faq-list2 i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
  color: var(--mg-primary);
}
.faq2 .faq-list2 p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
  color: var(--mg-text);
}
.faq2 .faq-list2 .icon-show {
  display: none;
}
.faq2 .faq-list2 a.collapsed {
  color: var(--mg-ink);
}
.faq2 .faq-list2 a.collapsed:hover {
  color: var(--mg-primary);
}
.faq2 .faq-list2 .icon-show {
  display: inline-block;
}
.faq2 .faq-list2 .icon-close {
  display: none;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--mg-radius-lg);
  background: #fff;
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-sm);
  transition: transform 0.35s var(--mg-ease), box-shadow 0.35s var(--mg-ease);
}
.team .member:hover {
  transform: translateY(-6px);
  box-shadow: var(--mg-shadow-lg);
}
.team .member .member-img {
  position: relative;
  overflow: hidden;
}
.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team .member .social a {
  transition: ease-in-out 0.3s;
  margin: 0 3px;
  border-radius: var(--mg-radius-pill);
  width: 36px;
  height: 36px;
  background: var(--mg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.team .member .social a:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
}
.team .member .social i {
  font-size: 18px;
  line-height: 0;
}
.team .member .member-info {
  padding: 25px 15px;
}
.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: var(--mg-ink);
}
.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--mg-muted);
}
.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}
.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--mg-text);
  text-align: center;
  background: #fff;
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-md);
  padding: 32px 0 34px 0;
  border-radius: var(--mg-radius-lg);
  transition: transform 0.35s var(--mg-ease), box-shadow 0.35s var(--mg-ease);
}
.contact .info-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--mg-shadow-lg);
}
.contact .info-box i {
  font-size: 30px;
  color: #fff;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  border-radius: var(--mg-radius-pill);
  padding: 13px;
  box-shadow: var(--mg-shadow-brand);
}
.contact .info-box h3 {
  font-size: 20px;
  color: var(--mg-ink);
  font-weight: 700;
  margin: 16px 0 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.contact .php-email-form {
  background: #fff;
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-md);
  padding: 32px;
  border-radius: var(--mg-radius-lg);
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  border-radius: var(--mg-radius-sm);
  font-weight: 600;
}
.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  border-radius: var(--mg-radius-sm);
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}
.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form .form-group {
  margin-bottom: 25px;
}
.contact .php-email-form input, .contact .php-email-form textarea {
  box-shadow: none;
  font-size: 14px;
  border-radius: var(--mg-radius-sm);
  border: 1px solid #d8e4e4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: var(--mg-primary);
  box-shadow: 0 0 0 4px rgba(32, 113, 120, 0.12);
}
.contact .php-email-form input {
  padding: 12px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  border: 0;
  padding: 12px 36px;
  color: #fff;
  font-weight: 700;
  transition: all 0.35s var(--mg-ease);
  border-radius: var(--mg-radius-pill);
  box-shadow: var(--mg-shadow-brand);
}
.contact .php-email-form button[type=submit]:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(23, 76, 79, 0.45);
}
@-webkit-keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 40px 0 20px 0;
}
.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: var(--mg-radius-lg);
  box-shadow: var(--mg-shadow-sm);
  transition: box-shadow 0.3s var(--mg-ease);
}
.blog .entry:hover {
  box-shadow: var(--mg-shadow-md);
}
.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  border-radius: var(--mg-radius-lg) var(--mg-radius-lg) 0 0;
  overflow: hidden;
}
.blog .entry .entry-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0;
  margin: 0 0 20px 0;
}
.blog .entry .entry-title a {
  color: var(--mg-ink);
  transition: 0.3s;
}
.blog .entry .entry-title a:hover {
  color: var(--mg-primary);
}
.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: var(--mg-muted);
}
.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}
.blog .entry .entry-meta ul li + li {
  padding-left: 20px;
}
.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}
.blog .entry .entry-meta a {
  color: var(--mg-muted);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}
.blog .entry .entry-content p {
  line-height: 26px;
}
.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}
.blog .entry .entry-content .read-more a {
  display: inline-block;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  padding: 8px 22px;
  transition: all 0.3s var(--mg-ease);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--mg-radius-pill);
}
.blog .entry .entry-content .read-more a:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
  transform: translateY(-1px);
}
.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: 700;
}
.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: var(--mg-soft);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
  border-radius: var(--mg-radius);
}
.blog .entry .entry-content blockquote p {
  color: var(--mg-text);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}
.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px;
  background-color: var(--mg-primary);
  margin-top: 20px;
  margin-bottom: 20px;
}
.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}
.blog .entry .entry-footer i {
  color: #5e5e5e;
  display: inline;
}
.blog .entry .entry-footer a {
  color: #1e1e1e;
  transition: 0.3s;
}
.blog .entry .entry-footer a:hover {
  color: var(--mg-primary);
}
.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}
.blog .entry .entry-footer .cats li {
  display: inline-block;
}
.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}
.blog .entry .entry-footer .tags li {
  display: inline-block;
}
.blog .entry .entry-footer .tags li + li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}
.blog .entry .entry-footer .share {
  font-size: 16px;
}
.blog .entry .entry-footer .share i {
  padding-left: 5px;
}
.blog .entry-single {
  margin-bottom: 30px;
}
.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  border-radius: var(--mg-radius);
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-sm);
}
.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
  border-radius: var(--mg-radius);
}
.blog .blog-author h4 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--mg-ink);
}
.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}
.blog .blog-author .social-links a {
  color: rgba(17, 17, 17, 0.5);
  margin-right: 5px;
}
.blog .blog-author p {
  font-style: italic;
  color: #9aa8a8;
}
.blog .blog-comments {
  margin-bottom: 30px;
}
.blog .blog-comments .comments-count {
  font-weight: bold;
}
.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}
.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}
.blog .blog-comments .comment .comment-img img {
  width: 60px;
  border-radius: var(--mg-radius-pill);
}
.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}
.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--mg-text);
  transition: 0.3s;
}
.blog .blog-comments .comment h5 a:hover {
  color: var(--mg-primary);
}
.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--mg-ink);
}
.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}
.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #2b2b2b;
  margin-bottom: 5px;
}
.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}
.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  border-radius: var(--mg-radius);
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-sm);
}
.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}
.blog .blog-comments .reply-form p {
  font-size: 14px;
}
.blog .blog-comments .reply-form input {
  border-radius: var(--mg-radius-sm);
  padding: 10px 10px;
  font-size: 14px;
}
.blog .blog-comments .reply-form input:focus {
  box-shadow: 0 0 0 4px rgba(32, 113, 120, 0.12);
  border-color: var(--mg-primary);
}
.blog .blog-comments .reply-form textarea {
  border-radius: var(--mg-radius-sm);
  padding: 10px 10px;
  font-size: 14px;
}
.blog .blog-comments .reply-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(32, 113, 120, 0.12);
  border-color: var(--mg-primary);
}
.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}
.blog .blog-comments .reply-form .btn-primary {
  border-radius: var(--mg-radius-pill);
  padding: 10px 24px;
  border: 0;
  font-weight: 600;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
}
.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: var(--mg-primary-dark);
}
.blog .blog-pagination {
  color: var(--mg-text);
}
.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}
.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
  border-radius: var(--mg-radius-sm);
  overflow: hidden;
}
.blog .blog-pagination li a {
  color: var(--mg-ink);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog .blog-pagination li.active, .blog .blog-pagination li:hover {
  background: var(--mg-primary);
}
.blog .blog-pagination li.active a, .blog .blog-pagination li:hover a {
  color: #fff;
}
.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  border-radius: var(--mg-radius-lg);
  border: 1px solid var(--mg-line);
  box-shadow: var(--mg-shadow-sm);
}
.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 800;
  padding: 0;
  margin: 0 0 15px 0;
  color: var(--mg-ink);
  position: relative;
}
.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}
.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #d8e4e4;
  border-radius: var(--mg-radius-pill);
  padding: 3px 10px;
  position: relative;
  overflow: hidden;
}
.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 6px;
  border-radius: var(--mg-radius-pill);
  width: calc(100% - 40px);
}
.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--mg-primary);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 var(--mg-radius-pill) var(--mg-radius-pill) 0;
  line-height: 0;
}
.blog .sidebar .search-form form button i {
  line-height: 0;
}
.blog .sidebar .search-form form button:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
}
.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}
.blog .sidebar .categories ul li + li {
  padding-top: 10px;
}
.blog .sidebar .categories ul a {
  color: var(--mg-ink);
  transition: 0.3s;
}
.blog .sidebar .categories ul a:hover {
  color: var(--mg-primary);
}
.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}
.blog .sidebar .recent-posts .post-item + .post-item {
  margin-top: 15px;
}
.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
  border-radius: var(--mg-radius-sm);
}
.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}
.blog .sidebar .recent-posts h4 a {
  color: var(--mg-ink);
  transition: 0.3s;
}
.blog .sidebar .recent-posts h4 a:hover {
  color: var(--mg-primary);
}
.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #aaaaaa;
}
.blog .sidebar .tags {
  margin-bottom: -10px;
}
.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}
.blog .sidebar .tags ul li {
  display: inline-block;
}
.blog .sidebar .tags ul a {
  color: #515151;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid #c4c4c4;
  border-radius: var(--mg-radius-pill);
  display: inline-block;
  transition: 0.3s;
}
.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid var(--mg-primary);
  background: var(--mg-primary);
}
.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #000;
  font-size: 14px;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
}

.copyright {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  background: transparent;
}

.copyright a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  background: transparent;
}
.copyright a:hover {
  color: #fff;
  font-size: 14px;
  background: transparent;
}

#footer .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  font-family: var(--mg-font);
}
#footer .logo a {
  color: var(--mg-ink);
}
#footer .logo a span {
  color: var(--mg-primary);
}
#footer .logo img {
  max-height: 40px;
}

#footer .footer-top {
  padding: 64px 0 32px 0;
  background: var(--mg-grad-soft);
  border-top: 1px solid var(--mg-line);
}
#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}
#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  font-weight: 700;
}
#footer .footer-top .footer-contact h3 span {
  color: var(--mg-primary);
}
#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--mg-font);
}
#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 24px;
  height: 3px;
  border-radius: var(--mg-radius-pill);
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  bottom: 0;
  left: 0;
}
#footer .footer-top .footer-links {
  margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 4px;
  color: var(--mg-primary);
  font-size: 16px;
  line-height: 1;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #3e4e4f;
  transition: all 0.25s ease;
  display: inline-block;
  line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
  color: var(--mg-primary);
  transform: translateX(3px);
  text-decoration: none;
}
#footer .footer-newsletter {
  font-size: 15px;
}
#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: var(--mg-radius-pill);
  border: 1px solid #d8e4e4;
  text-align: left;
  overflow: hidden;
}
#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 6px 8px;
  width: calc(100% - 100px);
}
#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  padding: 0 22px;
  background-color: var(--mg-primary);
  background-image: var(--mg-grad);
  color: #fff;
  transition: 0.3s;
  border-radius: 0 var(--mg-radius-pill) var(--mg-radius-pill) 0;
}
#footer .footer-newsletter form input[type=submit]:hover {
  background-color: var(--mg-primary-dark);
  background-image: none;
}
#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}
#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 6px;
  border-radius: var(--mg-radius-pill);
  text-align: center;
  width: 38px;
  height: 38px;
  transition: all 0.3s var(--mg-ease);
}
#footer .social-links a:hover {
  background: #fff;
  color: var(--mg-primary-dark);
  text-decoration: none;
  transform: translateY(-3px);
}
