/**
* Template Name: GEMINIS 360
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts — GEMINIS 360 */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Manrope", "Inter", system-ui, sans-serif;
  --nav-font: "Inter", system-ui, sans-serif;
}

/* GEMINIS 360 — Brand palette */
:root {
  --brand-petroleum: #183342;
  --brand-anthracite: #23272B;
  --brand-stone: #6D747A;
  --brand-bronze: #B6A38C;
  --brand-bone: #F5F4F1;
  --brand-white: #FFFFFF;

  --background-color: #F5F4F1; /* Blanco / hueso */
  --default-color: #23272B; /* Antracita */
  --heading-color: #183342; /* Azul petróleo */
  --accent-color: #183342; /* Acción institucional principal */
  --secondary-color: #6D747A; /* Información secundaria */
  --highlight-color: #B6A38C; /* Acentos, líneas y cifras */
  --surface-color: #FFFFFF; /* Cards / superficies */
  --contrast-color: #FFFFFF; /* Texto sobre fondos oscuros */
}

/* Nav Menu Colors — GEMINIS 360 */
:root {
  --nav-color: #23272B;
  --nav-hover-color: #B6A38C;
  --nav-mobile-background-color: #F5F4F1;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #23272B;
  --nav-dropdown-hover-color: #183342;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #F5F4F1;
  --surface-color: #FFFFFF;
}

.dark-background {
  --background-color: #183342;
  --default-color: #F5F4F1;
  --heading-color: #FFFFFF;
  --surface-color: #23272B;
  --contrast-color: #FFFFFF;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  background-color: var(--background-color);
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(24, 51, 66, 0.08);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(24, 51, 66, 0.04);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(24, 51, 66, 0.92);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--surface-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 13px;
  height: 13px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
  position: absolute;
  left: 50%;
}

#preloader div:nth-child(1) {
  left: calc(50% + 8px);
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
  left: calc(50% + 8px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
  left: calc(50% + 32px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(4) {
  left: calc(50% + 56px);
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 600;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 78px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 75vh;
  position: relative;
  padding: 60px 0;
  display: flex;
  align-items: center;
  background: url("assets/img/hero-bg.jpg") top left;
  background-size: cover;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.hero .container {
  position: relative;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  z-index: 1;
}

.featured-services .service-item:before {
  content: "";
  position: absolute;
  background: var(--accent-color);
  inset: 100% 0 0 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  transition: ease-in-out 0.3s;
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover p {
  color: var(--contrast-color);
}

.featured-services .service-item:hover:before {
  background: var(--accent-color);
  inset: 0;
  border-radius: 0px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-content h3 {
  font-weight: 700;
  font-size: 26px;
}

.about .about-content ul {
  list-style: none;
  padding: 0;
}

.about .about-content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px;
}

.about .about-content ul li:first-child {
  margin-top: 35px;
}

.about .about-content ul i {
  background: var(--surface-color);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  font-size: 24px;
  margin-right: 15px;
  color: var(--accent-color);
  border-radius: 50px;
}

.about .about-content ul h4 {
  font-size: 18px;
  font-weight: 600;
}

.about .about-content ul p {
  font-size: 15px;
}

.about .about-content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--surface-color);
  width: 64px;
  height: 64px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  margin-top: -32px;
  padding: 40px 30px 35px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 25px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: var(--highlight-color);
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.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;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 5px;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a {
  transition: color 0.3s;
  color: var(--heading-color);
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team .team-member .social a i {
  line-height: 0;
}

.team .team-member .social a:hover {
  color: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .team-member .member-info {
  padding: 25px 15px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form 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 button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.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;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# GEMINIS 360 — Brand refinement overrides
--------------------------------------------------------------*/
/* Secondary information */
.hero p,
.page-title .breadcrumbs,
.team .team-member .member-info span,
.team .team-member .member-info p,
.pricing .pricing-item h4 span,
.footer .credits {
  color: var(--secondary-color);
}

/* Bronze accent: editorial details, labels and key figures */
.section-title h2 {
  color: var(--brand-petroleum);
  background: color-mix(in srgb, var(--highlight-color), transparent 82%);
  border: 1px solid color-mix(in srgb, var(--highlight-color), transparent 45%);
}

.section-title p .description-title,
.stats .stats-item span,
.faq .faq-container .faq-item h3 .num {
  color: var(--highlight-color);
}

/* Buttons stay institutional; bronze becomes the hover/interaction accent */
.hero .btn-get-started,
.pricing .btn-buy,
.contact .php-email-form button[type=submit],
.scroll-top {
  background: var(--brand-petroleum);
}

.hero .btn-get-started:hover,
.pricing .btn-buy:hover,
.contact .php-email-form button[type=submit]:hover,
.scroll-top:hover {
  background: color-mix(in srgb, var(--brand-petroleum), var(--highlight-color) 22%);
}

/* Cards and separators: lighter, more premium */
.featured-services .service-item,
.team .team-member,
.pricing .pricing-item,
.contact .info-wrap,
.contact .php-email-form,
.portfolio-details .portfolio-info {
  box-shadow: 0 10px 30px rgba(24, 51, 66, 0.08);
}

.services .service-item,
.faq .faq-container .faq-item,
.service-details .services-list {
  border-color: color-mix(in srgb, var(--highlight-color), transparent 55%);
}

/* Featured-service hover: petroleum, not generic template blue */
.featured-services .service-item:before,
.featured-services .service-item:hover:before {
  background: var(--brand-petroleum);
}

/* Small icons can use the bronze accent without losing hierarchy */
.about .about-content ul i,
.footer .footer-links ul i,
.service-details ul i {
  color: var(--highlight-color);
}

/* Focus state reinforces the brand accent */
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus,
.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--highlight-color);
}


/* ==============================================================
   GEMINIS 360 — UI / ART DIRECTION LAYER
   Visual refinement only. Keeps existing HTML/content intact.
   ============================================================== */

:root {
  --brand-primary: #183342;
  --brand-primary-2: #20485A;
  --brand-accent: #B6A38C;
  --brand-text: #23272B;
  --brand-muted: #6D747A;
  --brand-background: #F5F4F1;
  --brand-surface: #FFFFFF;
  --brand-line: color-mix(in srgb, #B6A38C, transparent 58%);
  --brand-soft: color-mix(in srgb, #183342, transparent 95%);
  --brand-shadow: 0 18px 50px rgba(24, 51, 66, 0.08);
  --brand-shadow-hover: 0 24px 60px rgba(24, 51, 66, 0.14);
  --brand-radius-sm: 8px;
  --brand-radius-md: 14px;
  --brand-radius-lg: 22px;
}

body {
  background: var(--brand-background);
  color: var(--brand-text);
  line-height: 1.65;
}

/* HEADER / NAV */
.header {
  background: color-mix(in srgb, var(--brand-background), white 36%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-primary), transparent 92%);
  backdrop-filter: saturate(140%) blur(10px);
}

.header .topbar {
  background: var(--brand-primary);
}

.header .branding {
  background: transparent;
  min-height: 72px;
  padding: 14px 0;
}

.header .logo img {
  max-height: 48px;
}

.scrolled .header {
  box-shadow: 0 10px 35px rgba(24, 51, 66, 0.08);
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    color: var(--brand-text);
    font-weight: 600;
    letter-spacing: 0.1px;
    padding: 22px 16px;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--brand-primary);
  }

  .navmenu .active::after,
  .navmenu li:hover > a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 12px;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
  }

  .navmenu .dropdown ul {
    border: 1px solid color-mix(in srgb, var(--brand-primary), transparent 90%);
    border-radius: 12px;
    box-shadow: var(--brand-shadow);
  }
}

/* HERO */
.hero {
  min-height: 82vh;
  padding: 110px 0 90px;
  background-position: center;
}

.hero::before {
  background: linear-gradient(90deg,
    rgba(24, 51, 66, 0.88) 0%,
    rgba(24, 51, 66, 0.74) 38%,
    rgba(24, 51, 66, 0.36) 68%,
    rgba(24, 51, 66, 0.12) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--brand-background);
  max-width: 780px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--brand-accent);
}

.hero p {
  color: color-mix(in srgb, var(--brand-background), transparent 12%);
  max-width: 660px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin: 20px 0 34px;
}

.hero .btn-get-started {
  color: var(--brand-primary);
  background: var(--brand-background);
  border: 1px solid color-mix(in srgb, var(--brand-background), transparent 55%);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: none;
}

.hero .btn-get-started:hover {
  color: var(--brand-primary);
  background: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.hero .btn-watch-video {
  color: var(--brand-background);
}

.hero .btn-watch-video i {
  color: var(--brand-accent);
}

/* SECTION RHYTHM */
section,
.section {
  padding: 88px 0;
}

.light-background {
  --background-color: #F1F0EC;
  --surface-color: #FFFFFF;
}

.dark-background {
  --background-color: #183342;
  --default-color: #F5F4F1;
  --heading-color: #FFFFFF;
  --surface-color: #20485A;
  --contrast-color: #F5F4F1;
}

/* SECTION TITLES */
.section-title {
  padding-bottom: 48px;
}

.section-title h2 {
  position: relative;
  background: transparent;
  color: var(--brand-muted);
  padding: 0 0 10px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 2.6px;
  font-weight: 700;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 10px auto 0;
  background: var(--brand-accent);
}

.section-title p {
  color: var(--brand-primary);
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
}

.section-title p .description-title {
  color: var(--brand-primary);
}

/* CARDS / SERVICES */
.featured-services .service-item,
.services .service-item,
.team .team-member,
.pricing .pricing-item,
.faq .faq-container .faq-item,
.contact .info-wrap,
.contact .php-email-form,
.portfolio-details .portfolio-info {
  border-radius: var(--brand-radius-md);
  border: 1px solid color-mix(in srgb, var(--brand-primary), transparent 91%);
  box-shadow: var(--brand-shadow);
}

.featured-services .service-item {
  padding: 42px 34px;
  overflow: hidden;
}

.featured-services .service-item::before {
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-2) 100%);
}

.featured-services .service-item .icon i,
.services .service-item .icon i,
.about .about-content ul i,
.contact .info-item i,
.service-details ul i {
  color: var(--brand-accent);
}

.featured-services .service-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--brand-shadow-hover);
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i,
.featured-services .service-item:hover p {
  color: var(--brand-background);
}

.services .service-item {
  padding: 56px 28px;
  text-align: left;
}

.services .service-item .icon {
  margin: 0 0 24px;
  width: 56px;
  height: 56px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 14px;
}

.services .service-item:hover {
  border-color: var(--brand-accent);
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow-hover);
}

.services .service-item:hover h3 {
  color: var(--brand-primary);
}

/* ABOUT ICONS */
.about .about-content ul i {
  width: 58px;
  height: 58px;
  background: var(--brand-soft);
  box-shadow: none;
  border: 1px solid var(--brand-line);
}

/* STATS */
.stats i {
  background: var(--brand-primary);
  color: var(--brand-background);
  border-color: var(--brand-background);
}

.stats .stats-item {
  background: #FFFFFF;
  border: 1px solid color-mix(in srgb, var(--brand-primary), transparent 91%);
  box-shadow: var(--brand-shadow);
  border-radius: var(--brand-radius-md);
}

.stats .stats-item span {
  color: var(--brand-primary);
}

/* LINKS / BUTTONS */
a {
  color: var(--brand-primary);
}

a:hover {
  color: var(--brand-accent);
}

.pricing .btn-buy,
.contact .php-email-form button[type=submit],
.scroll-top {
  background: var(--brand-primary);
  color: var(--brand-background);
  border-radius: 999px;
}

.pricing .btn-buy:hover,
.contact .php-email-form button[type=submit]:hover,
.scroll-top:hover {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

/* FAQ */
.faq .faq-container .faq-item {
  padding: 24px;
  background: #FFFFFF;
}

.faq .faq-container .faq-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-background);
}

.faq .faq-container .faq-active .faq-toggle {
  color: var(--brand-accent);
}

/* FORMS */
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--brand-primary), transparent 84%);
  background: #FFFFFF;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-accent), transparent 82%);
}

/* FOOTER */
.footer {
  --background-color: var(--brand-primary);
  --default-color: color-mix(in srgb, var(--brand-background), transparent 16%);
  --heading-color: #FFFFFF;
  --surface-color: var(--brand-primary-2);
  --contrast-color: var(--brand-background);
  background: var(--brand-primary);
  color: var(--default-color);
  padding-top: 18px;
}

.footer .footer-newsletter {
  background: color-mix(in srgb, var(--brand-primary), white 4%);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-accent), transparent 72%);
}

.footer h4,
.footer .footer-about a {
  color: #FFFFFF;
}

.footer .footer-links ul i,
.footer .footer-links ul a:hover,
.footer .social-links a:hover {
  color: var(--brand-accent);
}

.footer .social-links a {
  border-color: color-mix(in srgb, var(--brand-background), transparent 72%);
  color: var(--brand-background);
  border-radius: 50%;
}

.footer .social-links a:hover {
  border-color: var(--brand-accent);
}

.footer .copyright {
  border-top-color: color-mix(in srgb, var(--brand-background), transparent 88%);
}

/* MOBILE */
@media (max-width: 768px) {
  section,
  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 76vh;
    padding: 90px 0 70px;
  }

  .hero::before {
    background: rgba(24, 51, 66, 0.82);
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 18px;
  }

  .services .service-item,
  .featured-services .service-item {
    padding: 32px 24px;
  }
}

/* ==============================================================
   GEMINIS 360 — Scroll stability patch
   Evita saltos entre header sticky y botón volver-arriba
   ============================================================== */

/* Evitamos que el header cambie bruscamente de altura al cruzar
   el umbral de scroll. La topbar se oculta visualmente sin colapsar
   el layout del sticky header. */
.header,
.header .topbar,
.header .branding {
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .3s ease;
}

.scrolled .header .topbar {
  height: 40px;
  visibility: visible;
  overflow: visible;
  opacity: 1;
}

/* Header sticky estable */
.header {
  will-change: auto;
  transform: none;
}

.scrolled .header {
  transform: none;
}

/* Botón volver arriba: sólo anima propiedades visuales,
   evitando transition: all sobre un elemento fixed. */
.scroll-top {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease, color .25s ease;
  will-change: opacity, transform;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Evita movimientos bruscos al navegar por anclas con header sticky */
html {
  scroll-padding-top: 96px;
}

@media (max-width: 1199px) {
  html {
    scroll-padding-top: 76px;
  }
}

/* ==============================================================
   GEMINIS 360 — Ajuste visual final
   Última pasada estética antes de adaptar contenidos
   ============================================================== */

/* 1. Ritmo vertical general: más compacto sin perder aire */
section,
.section {
  padding: 72px 0;
}

/* 2. Cards: borde arena sutil + sombra petróleo muy liviana */
.featured-services .service-item,
.services .service-item,
.contact .info-wrap,
.contact .php-email-form {
  border: 1px solid color-mix(in srgb, var(--brand-accent), transparent 72%);
  box-shadow: 0 12px 35px rgba(24, 51, 66, 0.07);
}

/* Hover sobrio: sin efecto exagerado de template */
.featured-services .service-item:hover,
.services .service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(24, 51, 66, 0.10);
}

/* 3. Estadísticas: cifras como acento de marca */
.stats .stats-item span {
  color: var(--brand-accent);
}

.stats i {
  background: var(--brand-primary);
  border-color: var(--brand-background);
}

/* 4. Jerarquía de títulos de sección */
.section-title {
  padding-bottom: 42px;
}

.section-title p {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Eyebrow / etiqueta superior más editorial */
.section-title h2 {
  letter-spacing: 0.16em;
  padding: 0 0 10px;
  border-radius: 0;
  background: transparent;
  color: var(--brand-accent);
  position: relative;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--brand-accent);
}

/* 5. Hero: mayor consistencia institucional sin tocar contenido */
.hero .container {
  max-width: 1180px;
}

.hero h1 {
  max-width: 720px;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 620px;
  line-height: 1.65;
}

/* 6. Footer: separadores y contraste refinados */
.footer .footer-top {
  border-top: 1px solid color-mix(in srgb, var(--brand-accent), transparent 78%);
}

.footer h4 {
  letter-spacing: 0.02em;
}

.footer .footer-links ul a {
  transition: color .25s ease, transform .25s ease;
}

.footer .footer-links ul a:hover {
  transform: translateX(2px);
}

/* 7. Responsive: conserva el ritmo compacto en mobile */
@media (max-width: 768px) {
  section,
  .section {
    padding: 60px 0;
  }

  .section-title {
    padding-bottom: 34px;
  }

  .section-title p {
    font-size: clamp(26px, 8vw, 32px);
  }

  .featured-services .service-item,
  .services .service-item {
    box-shadow: 0 10px 28px rgba(24, 51, 66, 0.07);
  }
}

/* ==============================================================
   GEMINIS 360 — Refinamiento UI 02
   Ajustes de jerarquía, ritmo, metodología y responsive
   ============================================================== */

/* 1. Section eyebrow: sin recuadro, sólo línea editorial */
.section-title h2 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 0 10px !important;
  color: var(--brand-accent) !important;
  letter-spacing: .18em;
  line-height: 1.2;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--brand-accent);
}

/* 2. Header: más presencia sin perder sobriedad */
.header .branding {
  min-height: 72px;
  padding: 12px 0;
}

.header .logo img {
  max-height: 44px;
  width: auto;
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 20px 12px;
  }
}

/* 3. Hero: composición y lectura */
.hero {
  min-height: 68vh;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .hero-eyebrow {
  margin-bottom: 14px;
  color: color-mix(in srgb, var(--brand-background), transparent 14%);
  font-family: var(--default-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  line-height: 1.06;
}

.hero > .container p:not(.hero-eyebrow) {
  max-width: 560px;
}

.hero .btn-get-started {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
}

.hero .btn-watch-video {
  margin-left: 0;
  min-height: 46px;
}

/* 4. Cards: menos template, más pieza editorial */
.featured-services .service-item,
.services .service-item {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 51, 66, .055);
}

.featured-services .service-item {
  padding: 38px 28px;
}

.services .service-item {
  padding: 48px 30px;
}

.featured-services .service-item:hover,
.services .service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(24, 51, 66, .08);
}

.featured-services .service-item .icon i,
.services .service-item .icon i {
  color: var(--brand-accent);
}

.services .service-item .icon {
  background: color-mix(in srgb, var(--brand-accent), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--brand-accent), transparent 68%);
}

.services .service-item .icon i {
  color: var(--brand-primary);
}

/* 5. Propuesta: mejor respiración entre imagen y contenido */
.about .row {
  row-gap: 40px;
}

.about img.img-fluid {
  border-radius: 6px;
}

.about .about-content {
  max-width: 600px;
}

.about .about-content h3 {
  line-height: 1.22;
  margin-bottom: 16px;
}

.about .about-content ul li {
  margin-bottom: 26px;
}

/* 6. Metodología: números como recurso de marca */
#metodologia .row {
  position: relative;
}

.methodology-card {
  position: relative;
  height: 100%;
  padding: 26px 18px 8px 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-accent), transparent 48%);
}

.methodology-number {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-accent);
  font-family: var(--heading-font);
  font-size: 42px;
  line-height: .9;
  font-weight: 600;
  letter-spacing: -.04em;
  opacity: .9;
}

.methodology-card h3 {
  margin: 0 0 10px;
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 700;
}

.methodology-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* 7. Frase institucional */
.institutional-kicker {
  margin-bottom: 14px !important;
  color: var(--brand-accent) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.institutional-quote {
  margin: 0 auto 18px;
  max-width: 820px;
  color: var(--brand-background);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.institutional-copy {
  max-width: 680px;
  margin: 0 auto !important;
  color: color-mix(in srgb, var(--brand-background), transparent 20%) !important;
  font-size: 15px !important;
  line-height: 1.7;
}

/* 8. Consorcio Abierto: contenedor preparado para el nuevo mockup */
.digital-tool-visual {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--brand-accent), transparent 93%);
  border: 1px solid color-mix(in srgb, var(--brand-accent), transparent 72%);
  border-radius: 10px;
  overflow: hidden;
}

.digital-tool-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

/* 9. FAQ: más limpio y menos pesado */
.faq .faq-container {
  max-width: 940px;
  margin: 0 auto;
}

.faq .faq-container .faq-item {
  border-color: color-mix(in srgb, var(--brand-primary), transparent 90%);
  box-shadow: 0 6px 18px rgba(24, 51, 66, .035);
}

.faq .faq-container .faq-active {
  box-shadow: 0 10px 24px rgba(24, 51, 66, .08);
}

/* 10. Contacto */
.contact .info-wrap,
.contact .php-email-form {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 51, 66, .055);
}

.contact .php-email-form {
  padding: 36px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 5px;
  border-color: color-mix(in srgb, var(--brand-primary), transparent 86%);
  padding: 12px 14px;
}

.contact .php-email-form button[type=submit] {
  min-height: 44px;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
}

.contact-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--brand-accent), transparent 70%);
  color: var(--brand-muted);
  line-height: 1.6;
}

/* 11. Footer */
.footer-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.footer .footer-top {
  padding-top: 56px;
}

.footer .copyright {
  margin-top: 34px !important;
}

/* 12. Responsive */
@media (max-width: 1199px) {
  .header .branding {
    min-height: 64px;
    padding: 10px 0;
  }

  .header .logo img {
    max-height: 40px;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: 580px;
  }

  .hero h1 {
    max-width: 620px;
  }

  .methodology-card {
    padding-right: 0;
  }

  .digital-tool-visual {
    min-height: 320px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 540px;
    padding: 64px 0;
  }

  .hero h1 {
    line-height: 1.08;
  }

  .featured-services .service-item,
  .services .service-item {
    padding: 32px 24px;
  }

  .methodology-number {
    font-size: 36px;
  }

  .contact .php-email-form {
    padding: 24px;
  }

  .digital-tool-visual {
    min-height: 260px;
    padding: 16px;
  }
}


/* ==============================================================
   GEMINIS 360 · Refinamiento 3
   Normalización de contenedores de imágenes del home
   ============================================================= */

/* 13. Logo header: tamaño consistente sin depender del archivo */
.header .logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.header .logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

/* 14. Imagen principal de secciones About / Propuesta */
.about .col-lg-6:first-child {
  display: flex;
}

.about .col-lg-6:first-child > img.img-fluid {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(24, 51, 66, 0.08);
}

/* 15. Contenedor visual reutilizable para imágenes informativas */
.digital-tool-visual,
.about .image-visual {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--brand-accent), transparent 93%);
  border: 1px solid color-mix(in srgb, var(--brand-accent), transparent 72%);
  border-radius: 10px;
  overflow: hidden;
}

.digital-tool-visual img,
.about .image-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* 16. Footer logo: caja estable para logos horizontales o compactos */
.footer-about > a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  max-width: 220px;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

/* 17. Regla defensiva para futuras imágenes del home */
.main section img {
  max-width: 100%;
}

/* 18. Responsive */
@media (max-width: 991px) {
  .about .col-lg-6:first-child > img.img-fluid {
    min-height: 280px;
    aspect-ratio: 16 / 11;
  }

  .digital-tool-visual,
  .about .image-visual {
    min-height: 320px;
    padding: 20px;
  }

  .footer-about > a {
    min-height: 48px;
  }

  .footer-logo {
    max-height: 46px;
  }
}

@media (max-width: 575px) {
  .header .logo {
    min-height: 42px;
  }

  .header .logo img {
    max-height: 34px;
  }

  .about .col-lg-6:first-child > img.img-fluid {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .digital-tool-visual,
  .about .image-visual {
    min-height: 260px;
    padding: 16px;
  }

  .footer-about > a {
    max-width: 180px;
  }

  .footer-logo {
    max-height: 40px;
  }
}


/* ==============================================================
   GEMINIS 360 · Refinamiento 4
   Logos Header + Footer
   ============================================================= */

/* HEADER: darle presencia real al logo horizontal */
.header .branding {
  min-height: 88px;
  padding: 12px 0;
}

.header .logo {
  display: flex;
  align-items: center;
  width: 230px;
  min-width: 230px;
  height: 64px;
  min-height: 64px;
  overflow: visible;
}

.header .logo img {
  display: block;
  width: 210px !important;
  max-width: 210px !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}

/* FOOTER: caja estable para logo negativo / claro */
.footer .footer-about > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 250px;
  max-width: 100%;
  height: 76px;
  min-height: 76px;
  margin-bottom: 10px;
}

.footer .footer-logo {
  display: block;
  width: 230px !important;
  max-width: 230px !important;
  height: 66px !important;
  max-height: 66px !important;
  object-fit: contain;
  object-position: left center;
  margin: 0;
}

@media (max-width: 1199px) {
  .header .branding {
    min-height: 80px;
  }

  .header .logo {
    width: 205px;
    min-width: 205px;
    height: 58px;
  }

  .header .logo img {
    width: 190px !important;
    max-width: 190px !important;
    height: 52px !important;
    max-height: 52px !important;
  }
}

@media (max-width: 575px) {
  .header .branding {
    min-height: 70px;
    padding: 8px 0;
  }

  .header .logo {
    width: 170px;
    min-width: 170px;
    height: 50px;
    min-height: 50px;
  }

  .header .logo img {
    width: 160px !important;
    max-width: 160px !important;
    height: 44px !important;
    max-height: 44px !important;
  }

  .footer .footer-about > a {
    width: 205px;
    height: 64px;
    min-height: 64px;
  }

  .footer .footer-logo {
    width: 195px !important;
    max-width: 195px !important;
    height: 56px !important;
    max-height: 56px !important;
  }
}


/* ==============================================================
   GEMINIS 360 · Refinamiento 5
   Logo principal más visible + logo footer2 centrado
   ============================================================= */

/* HEADER DESKTOP
   El scale compensa archivos PNG con margen/transparencia interna. */
.header .branding {
  min-height: 96px;
  padding: 10px 0;
}

.header .logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 300px;
  min-width: 300px;
  height: 72px;
  min-height: 72px;
  overflow: visible;
}

.header .logo img {
  display: block;
  width: 255px !important;
  max-width: none !important;
  height: 68px !important;
  max-height: none !important;
  object-fit: contain;
  object-position: left center;
  transform: scale(1.38);
  transform-origin: left center;
  margin: 0;
}

/* FOOTER: logo-footer2 grande y centrado dentro de su columna */
.footer .footer-about > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 96px;
  min-height: 96px;
  margin: 0 auto 14px;
  overflow: visible;
}

.footer .footer-logo {
  display: block;
  width: 300px !important;
  max-width: 100% !important;
  height: 88px !important;
  max-height: 88px !important;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .header .branding {
    min-height: 86px;
  }

  .header .logo {
    width: 245px;
    min-width: 245px;
    height: 64px;
    min-height: 64px;
  }

  .header .logo img {
    width: 215px !important;
    height: 58px !important;
    transform: scale(1.28);
  }

  .footer .footer-logo {
    width: 270px !important;
    height: 80px !important;
    max-height: 80px !important;
  }
}

@media (max-width: 767px) {
  .header .branding {
    min-height: 76px;
    padding: 8px 0;
  }

  .header .logo {
    width: 205px;
    min-width: 205px;
    height: 56px;
    min-height: 56px;
  }

  .header .logo img {
    width: 180px !important;
    height: 50px !important;
    transform: scale(1.22);
  }

  .footer .footer-about > a {
    height: 84px;
    min-height: 84px;
  }

  .footer .footer-logo {
    width: 250px !important;
    height: 74px !important;
    max-height: 74px !important;
  }
}

@media (max-width: 575px) {
  .header .branding {
    min-height: 70px;
  }

  .header .logo {
    width: 175px;
    min-width: 175px;
    height: 50px;
    min-height: 50px;
  }

  .header .logo img {
    width: 155px !important;
    height: 44px !important;
    transform: scale(1.18);
  }

  .footer .footer-logo {
    width: 225px !important;
    height: 68px !important;
    max-height: 68px !important;
  }
}

/* ==============================================================
   GEMINIS 360 · CIERRE VISUAL FINAL
   Últimos ajustes de jerarquía, ritmo y consistencia
   ============================================================== */

/* Navegación más limpia */
@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--brand-primary);
  }

  .navmenu .active::after {
    height: 1px;
  }
}

/* Sombras más sobrias y coherentes */
.featured-services .service-item,
.services .service-item,
.contact .info-wrap,
.contact .php-email-form {
  box-shadow: 0 8px 24px rgba(24, 51, 66, 0.045);
}

.featured-services .service-item,
.services .service-item {
  border-color: color-mix(in srgb, var(--brand-accent), transparent 74%);
}

/* Cards: títulos con mayor contraste institucional */
.featured-services .service-item h4,
.featured-services .service-item h4 a,
.services .service-item h3 {
  color: var(--brand-primary);
  font-weight: 700;
}

/* Metodología: recorrido visual continuo en desktop */
@media (min-width: 992px) {
  #metodologia .row::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 1.5%;
    right: 1.5%;
    height: 1px;
    background: color-mix(in srgb, var(--brand-accent), transparent 52%);
    z-index: 0;
  }

  #metodologia .row > [class*="col-"] {
    position: relative;
    z-index: 1;
  }

  .methodology-card {
    border-top: 0;
  }

  .methodology-number {
    display: inline-block;
    padding-right: 10px;
    background: var(--brand-background);
  }
}

/* Consorcio Abierto: imagen con un poco más de protagonismo */
#consorcio-abierto .digital-tool-visual {
  min-height: 440px;
  padding: 18px;
}

#consorcio-abierto .digital-tool-visual img {
  width: 106%;
  max-width: 106%;
}

/* Contacto: botón un poco más presente */
.contact .php-email-form button[type=submit] {
  padding: 12px 30px;
  min-height: 46px;
}

/* Footer: cierre más institucional */
.footer .footer-top {
  padding-top: 64px;
  padding-bottom: 24px;
}

.footer .footer-about > a {
  justify-content: center;
}

.footer .footer-logo {
  margin-inline: auto;
}

.footer .copyright {
  position: relative;
  padding-top: 30px;
}

.footer .copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: color-mix(in srgb, var(--brand-accent), transparent 68%);
}

/* Ajuste móvil para mantener proporciones */
@media (max-width: 991px) {
  #consorcio-abierto .digital-tool-visual {
    min-height: 330px;
  }

  #consorcio-abierto .digital-tool-visual img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .footer .footer-top {
    padding-top: 48px;
  }

  .footer .copyright::before {
    left: 4%;
    right: 4%;
  }
}


/* ==============================================================
   GEMINIS 360 · HERO CON IMAGEN
   Imagen real + overlay petróleo para legibilidad y continuidad de marca
   ============================================================== */

.hero.hero-with-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #183342;
}

.hero.hero-with-image .hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero.hero-with-image .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay institucional: más oscuro del lado del texto y más abierto a la derecha */
.hero.hero-with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(24, 51, 66, 0.96) 0%,
      rgba(24, 51, 66, 0.88) 38%,
      rgba(24, 51, 66, 0.52) 68%,
      rgba(24, 51, 66, 0.18) 100%
    );
}

/* Capa suave para integrar imágenes muy luminosas */
.hero.hero-with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(24, 51, 66, 0.08) 0%,
    rgba(24, 51, 66, 0.20) 100%
  );
}

.hero.hero-with-image .container {
  position: relative;
  z-index: 1;
}

.hero.hero-with-image h1 {
  color: #F5F4F1;
}

.hero.hero-with-image h1 span {
  color: #B6A38C;
}

.hero.hero-with-image > .container p:not(.hero-eyebrow) {
  color: rgba(245, 244, 241, 0.88);
}

.hero.hero-with-image .hero-eyebrow {
  color: rgba(245, 244, 241, 0.82);
}

.hero.hero-with-image .btn-watch-video {
  color: #F5F4F1;
}

.hero.hero-with-image .btn-watch-video:hover {
  color: #B6A38C;
}

@media (max-width: 991px) {
  .hero.hero-with-image::before {
    background: rgba(24, 51, 66, 0.84);
  }

  .hero.hero-with-image .hero-media img {
    object-position: center;
  }

  .hero .hero-description {
  max-width: 620px;
  margin-top: 18px;
  margin-bottom: 30px;

  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;

  color: #F5F4F1;
  letter-spacing: -0.01em;
}

.hero .hero-description strong {
  font-weight: 700;
  color: #F5F4F1;
}

.about-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(24, 51, 66, 0.08);
  background: #F5F4F1;
}

.about-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .about-video {
    min-height: 280px;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 575px) {
  .about-video {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
}


.contact-zone-visual {
  width: 100%;
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(182, 163, 140, 0.25);
  background: #F5F4F1;
}

.contact-zone-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

}
