/*
Theme Name: Semaj Consultores
Theme URI: https://semajconsultores.com/
Author: Semaj Consultores
Description: Tema corporativo inspirado en la identidad visual de Semaj Consultores.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: semaj-consultores
*/

:root {
  --navy: #061c2d;
  --navy-deep: #041522;
  --navy-light: #092c43;
  --green: #a9d42d;
  --green-dark: #709b18;
  --lime-soft: #edf5d7;
  --text: #23313a;
  --muted: #71808a;
  --line: #e5eaed;
  --surface: #f7f9f8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(4, 28, 45, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
}

body,
button,
input,
textarea,
select {
  font-family: "Roboto", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 0;
  color: #dbe4e9;
  background: var(--navy-deep);
  font-size: 12px;
}

.topbar .container,
.topbar-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.topbar i,
.footer-contact i {
  width: 18px;
  color: var(--green);
}

.site-header {
  position: fixed;
  z-index: 25;
  top: 32px !important;
  left: 0;
  width: 100%;
  color: var(--white);
  background: rgba(4, 22, 34, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.site-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
}

.custom-logo-link {
  display: block;
  flex: 0 0 auto;
}

.brand img,
.custom-logo {
  width: 170px;
  height: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
}

.navlinks a {
  position: relative;
  padding: 28px 0;
  transition: color .2s ease;
}

.navlinks a:hover,
.navlinks a:focus-visible,
.navlinks a.active {
  color: var(--green);
}

.navlinks a.active::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 3px;
  background: var(--green);
  content: "";
}

.social {
  display: flex;
  gap: 14px;
  font-size: 16px;
}

.social a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  overflow: hidden;
  padding: 125px 0 80px;
  color: var(--white);
  background: var(--navy);
}

.hero-background,
.hero-background::after,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-background::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 20, 32, .96) 0%, rgba(3, 26, 41, .83) 48%, rgba(3, 25, 39, .24) 100%);
  content: "";
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 55px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 13px;
}

.eyebrow::before {
  width: 42px;
  height: 3px;
  background: var(--green);
  content: "";
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 48px);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy {
  max-width: 510px;
  margin-bottom: 26px;
  color: #e2ebef;
  font-size: 17px;
}

.hero-hours {
  margin: -14px 0 24px;
  color: #d1dce1;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: #102006;
  background: var(--green);
  box-shadow: 0 8px 22px rgba(169, 212, 45, .18);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  color: #102006;
  background: #bce74a;
}

.btn-outline {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--navy);
  background: var(--green);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 32px 0;
}

.hero-benefit {
  display: flex;
  max-width: 190px;
  align-items: center;
  gap: 10px;
  color: #eff4f6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-benefit i {
  color: var(--green);
  font-size: 19px;
}

.intro {
  padding: 96px 0;
  background: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.section-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.12;
}

.intro-copy p,
.team-head > p {
  color: var(--muted);
}

.intro-copy .btn {
  margin-top: 18px;
}

.values {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.value {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.value:last-child {
  margin-bottom: 0;
}

.value-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--lime-soft);
  font-size: 20px;
}

.value h3 {
  margin: 2px 0 5px;
  color: var(--navy);
  font-size: 16px;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.specialties {
  padding: 92px 0;
  color: var(--white);
  background: linear-gradient(rgba(3, 26, 37, .9), rgba(2, 29, 31, .94)), url("assets/images/services-bg.jpg") center/cover;
}

.specialties .section-title {
  color: var(--white);
}

.specialties .section-kicker {
  color: var(--green);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.carousel-control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  background: rgba(2, 18, 28, .78);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  color: var(--navy);
  background: var(--green);
}

.service-track,
.team-track {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  padding: 4px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.service-track::-webkit-scrollbar,
.team-track::-webkit-scrollbar {
  height: 7px;
}

.service-track::-webkit-scrollbar-thumb,
.team-track::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(169, 212, 45, .55);
}

.service {
  position: relative;
  display: flex;
  min-width: calc((100% - 32px) / 3);
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  background-color: #102c35;
  background-position: center;
  background-size: cover;
  isolation: isolate;
  scroll-snap-align: start;
  transition: transform .25s ease, border-color .25s ease;
}

.service::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 18, 28, .08) 5%, rgba(2, 18, 28, .68) 48%, rgba(2, 18, 28, .97) 100%);
  content: "";
}

.service:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.service-icon {
  position: absolute;
  top: 10px;
  left: 10;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--green);
}

.service h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.35;
}

.service p,
.service ul {
  display: none;
}

.service-more {
  margin-top: 10px;
  padding: 9px 15px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--navy);
  background: var(--green);
  font: 700 12px "Montserrat", sans-serif;
  cursor: pointer;
}

.service-more:hover,
.service-more:focus-visible {
  color: var(--green);
  background: transparent;
}

.service-dialog {
  width: min(850px, calc(100% - 32px));
  max-height: min(82vh, 720px);
  padding: 30px;
  border: 1px solid rgba(169, 212, 45, .45);
  border-radius: 16px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.service-dialog::backdrop {
  background: rgba(3, 18, 28, .75);
  backdrop-filter: blur(5px);
}

.service-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
}

.service-dialog-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime-soft);
  cursor: pointer;
}

.service-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.service-tab {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  background: transparent;
  font: 600 13px "Montserrat", sans-serif;
  cursor: pointer;
}

.service-tab[aria-selected="true"],
.service-tab:hover {
  color: var(--navy);
  background: var(--lime-soft);
  box-shadow: inset 0 -3px var(--green);
}

.service-tab-panel {
  min-height: 130px;
  color: #42515a;
  line-height: 1.8;
}

.service-tab-panel[hidden] {
  display: none;
}

.service-tab-panel ul {
  padding-left: 22px;
}

.service-tab-panel li {
  margin-bottom: 5px;
}

.plans {
  padding: 88px 0;
  background: var(--surface, #f7f9f8);
}

.plans-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.plans-intro p {
  margin: 12px 0 0;
  color: var(--muted, #71808a);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 22px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line, #e5eaed);
  border-radius: var(--radius, 18px);
  background: var(--white, #fff);
  box-shadow: var(--shadow, 0 18px 50px rgba(4, 28, 45, .12));
}

.plan-card h3 {
  margin: 0 0 12px;
  color: var(--navy, #061c2d);
  font-size: 21px;
  line-height: 1.35;
}

.plan-card p {
  margin: 0 0 18px;
  color: var(--muted, #71808a);
}

.plan-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.plan-options li {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--navy, #061c2d);
  background: var(--lime-soft, #edf5d7);
  font-size: 13px;
  font-weight: 700;
}

.plan-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.plan-custom {
  grid-column: 1 / -1;
}

.plan-custom>p {
  max-width: 940px;
}

.plan-includes {
  display: grid;
  gap: 10px 24px;
  margin: 6px 0 26px;
  padding-left: 22px;
}

.plan-includes li {
  padding-left: 4px;
}
.plans .plan-card>summary {
  position: relative;
  padding-right: 4rem;
  cursor: pointer;
  list-style: none;
}

.plans .plan-card>summary::-webkit-details-marker {
  display: none;
}

.plans .plan-card>summary::marker {
  content: "";
}

.plans .plan-card>summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background-color: #BCE74A;
  color: #fff;
  content: "+";
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.plans .plan-card[open]>summary::after {
  content: "\2212";
}
@media screen and (max-width: 968px) {
  .site-nav {
      gap: 14px;
    }
  
    .navlinks {
      gap: 14px;
      font-size: 12px;
    }
  
    .social {
      display: none;
    }
  
    .two-col {
      gap: 44px;
    }
  
    .service,
    .member {
      min-width: 100%;
    }
  html {
      scroll-padding-top: 115px;
    }
  
    .topbar .container {
      justify-content: center;
      gap: 6px 14px;
    }
  
    .site-header {
      top: 60px !important;
    }
  
    .site-nav {
      min-height: 70px;
      flex-wrap: wrap;
      padding: 10px 0;
    }
  
    .brand img,
    .custom-logo {
      width: 135px;
    }
  
    .navlinks {
      order: 3;
      width: 100%;
      justify-content: space-between;
      gap: 8px;
      font-size: 11px;
    }
  
    .navlinks a {
      padding: 6px 0 9px;
    }
  
    .navlinks a.active::after {
      bottom: 0;
    }
  
    .hero {
      min-height: 650px;
      padding-top: 150px;
    }
  
    .hero-content {
      padding: 38px 0 50px;
    }
  
    .hero h1 {
      font-size: clamp(39px, 11vw, 55px);
    }
  
    .hero-benefits {
      gap: 12px 18px;
    }
  
    .intro,
    .specialties,
    .team,
    .blog-section {
      padding: 68px 0;
    }
  
    .two-col {
      grid-template-columns: 1fr;
      gap: 38px;
    }
  
    .values {
      padding: 32px 0 0;
      border-top: 1px solid var(--line);
      border-left: 0;
    }
  
    .section-heading {
      align-items: flex-start;
    }
  
    .service,
    .member {
      min-width: 84%;
    }
  
    .service {
      min-height: 300px;
    }
  
    .cta-inner {
      display: block;
      padding-block: 68px;
    }
  
    .cta .btn {
      margin-top: 22px;
    }
  
    .blog-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-main {
      grid-template-columns: 1fr;
      gap: 26px;
    }
  
    .service-dialog {
      padding: 22px;
    }
  
    .plans {
      padding: 68px 0;
    }
  
    .plan-card {
      padding: 24px;
    }
  
    .plan-includes {
      grid-template-columns: 1fr;
    }
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-custom {
    grid-column: auto;
  }
}

@media screen and (min-width: 1024px) {
  .blog-grid{
      grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}



.team {
  padding: 92px 0;
  background: var(--white);
}

.team-head {
  margin-bottom: 30px;
}

.team-head > p {
  max-width: 620px;
  margin: 0;
}

.team-track {
  margin-inline: -2px;
}

.member {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  background: var(--white);
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
}

.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.avatar {
  width: 142px;
  height: 142px;
  margin: 0 auto 18px;
  padding: 4px;
  overflow: hidden;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: #f0f0f0;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.member h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
}

.member .role {
  min-height: 20px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
}

.member .area {
  display: block;
  padding-top: 12px;
  border-top: 2px solid var(--green);
  color: #69757b;
  font-size: 12px;
}

.cta {
  display: flex;
  min-height: 390px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(90deg, rgba(2, 24, 33, .94), rgba(3, 36, 35, .62)), url("assets/images/IMG_5592.jpg") center 45%/cover;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 70px;
}

.cta h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
}

.cta p {
  margin: 0;
  color: #dce6e9;
}

.blog-section {
  padding: 92px 0;
  background: var(--surface);
}

.blog-intro {
  max-width: 640px;
  margin: -4px 0 32px;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(4, 28, 45, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card-image {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.blog-card-content {
  padding: 22px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.blog-card-category {
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--green-dark);
  background: var(--lime-soft);
  font-weight: 700;
}

.blog-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.4;
}

.blog-card-excerpt {
  margin: 0;
  color: #596971;
  font-size: 14px;
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.read-more:hover {
  color: var(--navy);
}

.site-footer {
  color: #dce5e8;
  background: #031725;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: 35px;
  padding: 48px 0;
}

.footer-brand img {
  width: 175px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 290px;
  margin: 0;
}

.footer-main h2 {
  margin: 4px 0 16px;
  color: var(--white);
  font: 700 14px "Roboto", sans-serif;
}

.footer-main p,
.footer-main a {
  color: #aab8be;
  font-size: 12px;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
}

.footer-main a:hover {
  color: var(--green);
}

.footer-contact div {
  margin-bottom: 9px;
}

.footer-contact i {
  display: inline-block;
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #87969d;
  text-align: center;
  font-size: 11px;
}

.whatsapp {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #20b95e;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
  font-size: 26px;
}

.whatsapp:hover {
  color: var(--white);
  background: #16984b;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}





@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
