/**
  * Name: Hypnos Media
  * Version: 1.0.1
  * Author: Themesflat
  * Author URI: http://www.themesflat.com
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("ionicons.css");
@import url("https://cdn-uicons.flaticon.com/3.0.0/uicons-brands/css/uicons-brands.css");
/**
    *   Reset Browsers
    *   General
    *   Elements
    *   List
    *   Table
    *   Media
    *   Typography
    *   Header
    *   Slider
    *   About
    *   Work
    *   Portfolio
    *   Counter
    *   Video
    *   Facts
    *   Pricing
    *   Partner
    *   Page Title
    *   Project Detail
    *   Contact
    *   Footer
    *   Scroll Top
*/

/* root */

:root {
  --color-bg: #000000; /* fondo principal */
  --color-primary: #ffb400; /* amarillo representativo */
  --color-white: #ffffff;
  --color-light: #ececec;
  --color-dark: #11161e;
  --color-text: #cccccc;
  --color-muted: var(--color-text);
  --color-accent: #222222;
  --color-whatsapp: #25d366;
}

/* Reset Browsers
-------------------------------------------------------------- */
html,
body,
header,
div,
span,
iframe,
h2,
h3,
h4,
h5,
h6,
p,
a,
del,
img,
q,
s,
var,
i,
center,
ul,
li,
form,
label,
embed,
footer,
header,
nav,
output,
section,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
}

footer,
header,
nav,
section {
  display: block;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1;
}

footer,
header,
main,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

q {
  quotes: none;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

a img {
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

select {
  max-width: 100%;
}

/* General
-------------------------------------------------------------- */
body,
button,
input,
select,
textarea {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--color-white);
  font-size: 14px;
  line-height: 24px;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

i {
  font-style: italic;
}

var {
  margin: 20px 0;
  padding: 4px 12px;
  background: #ecececd2;
  border: 1px solid #e0e0e0;
  overflow-x: auto;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
  border-radius: 0;
  height: auto;
}

/* Elements
-------------------------------------------------------------- */
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

hr {
  background-color: var(--color-bg);
  border: 0;
  height: 1px;
  margin-bottom: 20px;
}

/* List */
ul {
  padding: 0;
  margin: 0 0 20px 20px;
}

ul {
  list-style: disc;
}

li > ul {
  margin-bottom: 0;
}

li {
  list-style: none;
}

ul li {
  padding: 0.1em 0;
}

del {
  text-decoration: line-through;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

/* Table */

a:hover {
  text-decoration: none;
}

/* Media */
embed,
iframe,
video {
  margin-bottom: 20px;
  max-width: 100%;
  vertical-align: middle;
}

p > embed,
p > iframe,
p > video {
  margin-bottom: 0;
}

p {
  font-family: "Open Sans", sans-serif;
}

/* Links */
a {
  color: var(--color-white);
  outline: 0;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

a:focus,
a:active {
  outline: 0;
  text-decoration: none;
}

/* Typography
-------------------------------------------------------------- */

h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

h2 {
  font-size: 72px;
}

h3 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.313em;
}

h4 {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2em;
  letter-spacing: 10.8px;
  color: var(--color-primary);
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

.header {
  position: relative;
  z-index: 9999;
  /* Mobile Menu */
}
.header::before {
  position: absolute;
  left: 0;
  bottom: -2px;
  content: "";
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.102);
}

.header.style-2::before {
  display: none;
}

.header.style-2 {
  border: none;
  padding-left: 16px;
}
.rev_slider li > *:not(.filter-bg) {
  position: relative;
  z-index: 2;
}

.section-slider {
  position: relative;
  margin-top: -110px;
  overflow: hidden;
  height: 950px !important;
}
.section-slider .rev_slider_wrapper.fullwidthbanner-container {
  height: 950px !important;
  position: relative;
  z-index: 2;
}
.section-slider div#rev-slider1 {
  max-height: 950px !important;
  height: 950px !important;
}
.section-slider .style-2 {
  color: var(--color-primary) !important;
}
.section-slider img.before-slide {
  position: absolute;
  z-index: 99;
  bottom: 0;
  left: 19.4%;
}
.section-slider img.after-slide {
  position: absolute;
  z-index: 99;
  top: 20%;
  right: 0;
}
.section-slider .menu-slide {
  position: absolute;
  bottom: 41px;
  right: 150px;
}
.section-slider .menu-slide .list-menu-slide {
  margin: 0;
}
.section-slider .menu-slide .list-menu-slide::before {
  content: "";
  position: absolute;
  z-index: 9;
  top: -91px;
  right: 2px;
  width: 22px;
  height: 23px;
  background: var(--color-primary);
  border-radius: 50%;
  -webkit-animation: zoom-fade-two 5s infinite linear;
  animation: zoom-fade-two 5s infinite linear;
}
.section-slider .menu-slide .list-menu-slide li {
  display: inline-block;
  padding-left: 30px;
}
.section-slider .menu-slide .list-menu-slide li img {
  margin-top: -8px;
}
.section-slider .menu-slide .list-menu-slide li a {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
}
.section-slider .menu-slide .list-menu-slide li a:hover {
  color: var(--color-primary);
}
.section-slider
  .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
  font-weight: bold;
  margin-top: 14px !important;
}
.section-slider
  .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700.padding-top-100.text-slide {
  color: var(--color-white) !important;
  margin-top: 267px !important;
  margin-left: 6px !important;
  font-family: "Open Sans", sans-serif;
  font-weight: 400 !important;
}
.section-slider .btn-slider {
  padding-top: 125px !important;
  padding-left: 10px !important;
}

.section-slider.style-3 {
  margin-top: -158px;
}

.filter-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.filter-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45); /* intensidad del filtro */
  z-index: 2;
  pointer-events: none;
}

.filter-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.section-about .intro-content {
  padding-top: 116px;
  position: relative;
}
.section-about .intro-content h4.sub-title {
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 5px;
}
.section-about .intro-content h3.title {
  position: relative;
  z-index: 99;
  display: inline-block;
  text-transform: uppercase;
  color: var(--color-text);
}
.section-about .intro-content h3.title::before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  right: -9px;
  width: 25px;
  height: 25px;
  background: var(--color-primary);
  border-radius: 50%;
}
.section-about .intro-content h3.title span {
  position: relative;
  z-index: 99;
}
.section-about .intro-content h5.description {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.05px;
  line-height: 1.667em;
  padding-top: 36px;
  color: var(--color-text);
}
.section-about .intro-content p.text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75em;
  color: var(--color-text);
  padding-right: 75px;
  padding-top: 16px;
  padding-bottom: 24px;
  color: var(--color-text);
}
.section-about .image-about {
  text-align: end;
}
.section-about .image-about.style-2 {
  text-align: start;
}
.section-about .image-about.style-3 img {
  width: 100%;
}

.section-about.style-2 {
  background: var(--color-bg);
  padding-bottom: 0;
}
.section-about.style-2 .intro-content {
  padding-left: 9px;
}
.section-about.style-2 hr {
  margin-top: 120px;
  padding: 0;
  margin-bottom: 0;
}

.section-about.style-3 {
  padding-bottom: 116px;
}

.section-work {
  background: var(--color-bg);
}

.section-work.style-2 {
  background: url("../images/portfolio/bg-portfolio.jpg");
}
.section-work.style-2 .heading-top h3.title {
  color: var(--color-text);
  line-height: 1.5em;
  padding-top: 4px;
  letter-spacing: 0.15px;
}
.section-work.style-2 .description-right {
  padding-left: 10px;
}
.section-work.style-2 .description-right h6.title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 1.7em;
  padding-top: 32px;
  padding-bottom: 26px;
  color: var(--color-white);
}
.section-work.style-2 hr#divider {
  height: 1px;
  background: var(--color-white);
  width: 1170px;
  margin-left: 8px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.section-work.style-2.style-3 {
  background: var(--color-bg);
  padding-bottom: 125px;
}
.section-work.style-2.style-3 .heading-top h4.sub-title {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 11.5px;
  line-height: 1.3em;
  color: var(--color-primary);
}
.section-work.style-2.style-3 .heading-top h3.title {
  color: var(--color-text);
}
.section-work.style-2.style-3 .description-right {
  padding-top: 4px;
}
.section-work.style-2.style-3 .description-right h6.title {
  color: var(--color-text);
  padding-top: 27px;
}
.section-work.style-2.style-3 hr#divider {
  background: rgba(17, 22, 30, 0.102);
  margin-bottom: 27px;
}

.section-portfolio {
  background: var(--color-bg);
}
.section-portfolio .heading-top .sub-title {
  color: var(--color-primary);
}
.section-portfolio .heading-top .title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--color-text);
  text-transform: none;
  padding-top: 4px;
  letter-spacing: 0.15px;
}
.section-portfolio .description-right {
  padding-left: 10px;
}
.section-portfolio .description-right h6.title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05px;
  line-height: 1.7em;
  padding-top: 32px;
  padding-bottom: 26px;
  color: var(--color-text);
}
.section-portfolio .list-portfolio {
  display: flex;
  padding: 0 54px 80px 54px;
}
.section-portfolio .list-portfolio .themesflat-portfolio {
  margin-right: 30px;
}
.section-portfolio .list-portfolio .themesflat-portfolio .boxitem {
  position: relative;
  z-index: 99;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .imgbox
  img.light {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-portfolio .list-portfolio .themesflat-portfolio .boxitem .imgbox {
  height: 100%;
  position: relative;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .imgbox
  img.light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content {
  position: absolute;
  z-index: 9;
  bottom: 20px;
  left: 0;
  width: 100%;
  padding: 0 20px;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box {
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 3px;
  width: 100%;
  height: auto;
  padding: 25px 30px;
  position: relative;
  z-index: 99;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box:hover {
  background: var(--color-dark);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box:hover
  a {
  color: var(--color-primary);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box:after {
  content: "";
  width: 37px;
  height: 66%;
  background: url("./../images/bg-after-box1.png") no-repeat;
  position: absolute;
  top: 0;
  right: -0;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box
  h6.subtitle {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 3px;
  letter-spacing: 0.1px;
  padding-left: 2px;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box
  h5.title {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  z-index: 99;
  line-height: 1.667em;
  letter-spacing: -0.2px;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box
  h5.title
  a {
  color: var(--color-text);
  position: relative;
  z-index: 99;
}
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem
  .box-item-content
  .content-box
  h5.title:before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 3px;
  left: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
}
.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(5) {
  margin-right: 0;
}
.section-portfolio .view-portfolio {
  text-align: center;
  padding-bottom: 11px;
}
.section-portfolio .view-portfolio .dark {
  margin-left: 4px;
}
.section-portfolio .view-portfolio .dark a {
  background: var(--color-bg);
  color: var(--color-white);
  padding: 21px 30px 21px 50px;
}
.section-portfolio .view-portfolio.style-2 {
  padding-top: 10px;
}

.section-portfolio.style-2 {
  padding-top: 119px;
  padding-left: 30px;
}
.section-portfolio.style-2 .description-right {
  padding-left: 3px;
}
.section-portfolio.style-2 .list-portfolio {
  display: flex;
  padding: 0;
}
.section-portfolio.style-2 .list-portfolio .themesflat-portfolio {
  margin-right: 30px;
}
.section-portfolio.style-2 .list-portfolio .themesflat-portfolio:nth-child(3) {
  margin-right: 0;
}
.section-portfolio.style-2 .list-portfolio .themesflat-portfolio:nth-child(6) {
  margin-right: 0;
  margin-top: 50px;
}
.section-portfolio.style-2 .list-portfolio .imgbox img {
  height: auto;
  width: 100%;
}
.section-portfolio.style-2 .list-portfolio .boxitem {
  position: relative;
  z-index: 99;
}
.section-portfolio.style-2 .view-portfolio {
  padding-top: 79px;
}
.section-portfolio.style-2 .view-portfolio .dark {
  margin-left: -13px;
}

.section-counter {
  background: url("../images/new/bg-camera.jpg") no-repeat;
  background-size: cover;
  padding-top: 120px;
  padding-bottom: 365px !important;
}
.section-counter .heading-top {
  text-align: center;
}
.section-counter .heading-top h4.sub-title {
  text-transform: none;
  margin-top: -2px;
  padding-left: 7px;
  color: var(--color-primary);
}
.section-counter .heading-top h3.title {
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.3em;
  padding-bottom: 108px;
  color: var(--color-text);
}
.section-counter .heading-top h3.style-2 {
  color: var(--color-text);
}
.section-counter .list-counter {
  display: flex;
}
.section-counter .list-counter .themesflat-content-box {
  width: 25%;
}
.section-counter .list-counter .themesflat-content-box .themesflat-counter.v1 {
  margin-left: -5px;
}
.section-counter .list-counter .themesflat-content-box .themesflat-counter.v2 {
  margin-left: 3px;
}
.section-counter .list-counter .themesflat-content-box .themesflat-counter.v3 {
  margin-left: 10px;
}
.section-counter .list-counter .themesflat-content-box .themesflat-counter.v4 {
  margin-left: 18px;
}
.section-counter .list-counter .themesflat-content-box .counter-item {
  padding: 0 23px;
}
.section-counter
  .list-counter
  .themesflat-content-box
  .counter-item
  .number-wrap {
  position: relative;
}
.section-counter
  .list-counter
  .themesflat-content-box
  .counter-item
  .number-wrap:before {
  position: absolute;
  z-index: 9;
  top: -44px;
  left: -19px;
  content: "";
  width: 70px;
  height: 70px;
  border: 5px solid rgba(255, 255, 255, 0.102);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.section-counter
  .list-counter
  .themesflat-content-box
  .counter-item
  .number-wrap:hover:before {
  border-color: var(--color-accent);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.section-counter
  .list-counter
  .themesflat-content-box
  .counter-item
  .number-wrap
  .number {
  position: relative;
  z-index: 99;
  color: var(--color-white);
  font-size: 60px;
  font-weight: 500;
  float: left;
  padding-right: 5px;
}
.section-counter .list-counter .themesflat-content-box .counter-item .heading {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  margin-top: 8px;
  text-transform: none;
}
.section-counter
  .list-counter
  .themesflat-content-box
  .counter-item
  .number-wrap.active:before {
  border-color: var(--color-accent);
}

.section-counter.style-2 {
  background: var(--color-bg);
  padding-bottom: 113px !important;
}
.section-counter.style-2
  .list-counter
  .themesflat-content-box
  .counter-item
  .heading {
  color: var(--color-primary);
  font-weight: 500;
}
.section-counter.style-2 .heading-top h3.title {
  color: var(--color-text);
}
.section-counter.style-2 .counter-item .text-wrap .number-wrap .number {
  color: var(--color-text);
}
.section-counter.style-2 .counter-item .text-wrap .number-wrap:before {
  border-color: var(--color-accent);
}

.section-video {
  background: var(--color-bg);
}

.section-video.style-2 .box-video {
  margin-top: 0;
}

.section-facts > * {
  position: relative;
  z-index: 2;
}

.section-facts {
  position: relative;
  z-index: 99;
  background: url("../images/new/bg-camera.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
  overflow: hidden; /* asegura que la capa no se desborde */
}

.section-facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg); /* opacidad del filtro */
  z-index: 1;
  pointer-events: none; /* permite interactuar con el contenido */
}

.section-facts .facts-content {
  text-align: center;
  padding-top: 30px;
}

/* Caja de texto con fondo similar a las cards del portafolio */
.section-facts .facts-content .facts-text-box {
  background: linear-gradient(135deg, #1e2330 0%, #0f1419 100%);
  border-radius: 20px;
  padding: 50px 60px;
  margin: 40px auto;
  max-width: 900px;
  border: 1px solid rgba(255, 180, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.section-facts .facts-content .facts-text-box:hover {
  border-color: rgba(255, 180, 0, 0.3);
  box-shadow: 0 15px 40px rgba(255, 180, 0, 0.15);
  transform: translateY(-5px);
}

/* Efecto de brillo sutil en hover */
.section-facts .facts-content .facts-text-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 180, 0, 0.03) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.section-facts .facts-content .facts-text-box:hover::before {
  opacity: 1;
  left: 100%;
}

.section-facts .facts-content h2.heading {
  font-size: 42px;
  line-height: 1.3em;
  color: var(--color-white);
  text-transform: none;
  text-decoration: none;
  padding: 0;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.section-facts .facts-content .facts-description {
  font-size: 18px;
  line-height: 1.6em;
  color: var(--color-text);
  margin: 0;
  font-family: "Open Sans", sans-serif;
  position: relative;
  z-index: 2;
}

.section-facts .facts-content .btn-main {
  padding-bottom: 40px;
  padding-top: 20px;
}

/* Responsive para la caja de texto */
@media (max-width: 991px) {
  .section-facts .facts-content .facts-text-box {
    padding: 40px 40px;
    margin: 30px auto;
  }

  .section-facts .facts-content h2.heading {
    font-size: 36px;
  }

  .section-facts .facts-content .facts-description {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .section-facts .facts-content .facts-text-box {
    padding: 30px 25px;
    margin: 25px auto;
    border-radius: 15px;
  }

  .section-facts .facts-content h2.heading {
    font-size: 28px;
    line-height: 1.4em;
  }

  .section-facts .facts-content .facts-description {
    font-size: 15px;
  }
}

.section-partner {
  background: var(--color-bg);
  padding-top: 127px;
  padding-bottom: 132px;
}
.section-partner .thumb {
  width: 124px;
}

.section-partner.style-2 {
  padding-top: 79px;
  padding-bottom: 133px;
}

.section-partner.style-3 {
  padding-top: 119px;
}

/* ===== PAGE TITLE / BANNER MEJORADO ===== */

.page-title {
  position: relative;
  margin-top: -110px;
  padding: 215px 0 142px 0;
  overflow: hidden;
  background-color: #f5f5f5; /* Color de respaldo */
}

/* Imagen de fondo con control total */
.page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay opcional para mejorar legibilidad del texto */
.page-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Ajusta la opacidad según necesites */
  z-index: 2;
}

/* Asegurar que el contenido esté por encima */
.page-title .container,
.page-title .main-page {
  position: relative;
  z-index: 3;
}

/* Banners específicos por página */
.page-title.about-banner::before {
  background-image: url("../images/new/banner-4.png");
}

/* Banner por defecto (marketing) */

.page-title::before {
  background-image: url("../images/new/bg-mkt.jpg");
}

/* Variantes de posicionamiento si necesitas ajustar */

/* Para mostrar imagen completa sin recortes (contiene toda la imagen) */
.page-title.contain-image::before {
  background-size: cover;
  background-position: center center;
}

/* Para cubrir todo el espacio (recorta si es necesario) */

/* Para mostrar imagen en tamaño real */

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    margin-top: -80px;
    padding: 150px 0 100px 0;
  }
}
.page-title .main-page h2.title {
  position: relative;
  color: var(--color-white);
  font-weight: bold;
}
.page-title .main-page h2.title span {
  position: relative;
  z-index: 99;
}
.page-title .main-page h2.title:before {
  content: "";
  position: absolute;
  z-index: 9;
  top: 60px;
  left: 45px;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  border-radius: 50%;
}
.page-title .main-page .btn-main {
  padding-top: 59px;
  padding-left: 8px;
}

.section-project-details {
  background: var(--color-bg);
  padding-bottom: 130px;
}
.section-project-details .main-project-details {
  display: flex;
}
.section-project-details .main-project-details .project-content {
  width: 66%;
  margin-right: 30px;
}
.section-project-details
  .main-project-details
  .project-content
  .themesflat-portfolio {
  padding-bottom: 42px;
}
.section-project-details .main-project-details .project-content p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 2.143;
}
.section-project-details .main-project-details .project-content .box-video {
  margin-top: -10px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 40px;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box {
  position: relative;
  background: url("../images/background/bg-video-detail.jpg") no-repeat;
  background-position: center center;
  padding: 170px 0;
  background-color: var(--color-bg);
  box-shadow: 0px 24px 60px 0px rgba(0, 0, 0, 0.05);
  border: none;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .overlay {
  background: #cccccc;
  opacity: 0.6;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox {
  width: 100%;
  text-align: center;
  top: 36%;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox
  a.fancybox {
  display: inline-block;
  background: var(--color-primary);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  position: relative;
  z-index: 999;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox
  a.fancybox
  span
  i {
  font-size: 28px;
  padding-top: 33%;
  color: var(--color-white);
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox
  a.fancybox::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox
  .box-content {
  background: var(--color-primary);
  width: 100%;
  height: auto;
  text-align: center;
  margin-top: 50px;
  padding: 10px 0;
}
.section-project-details
  .main-project-details
  .project-content
  .box-video
  .box
  .flat-video-fancybox
  .box-content
  .title-video {
  font-weight: 400;
  margin: 0;
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  h5.title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  padding-bottom: 34px;
}
.section-project-details .main-project-details .project-content .form-review p {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.4px;
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  p
  span {
  color: var(--color-primary);
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  .list-star {
  margin: 0;
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  .list-star
  li {
  display: inline-block;
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  .list-star
  li
  a {
  color: var(--color-text);
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  .list-star
  li
  a
  i {
  font-size: 12px;
}
.section-project-details
  .main-project-details
  .project-content
  .form-review
  .list-star
  li
  a
  i:before {
  margin-right: -2px;
}
.section-project-details
  .main-project-details
  .project-content
  .boxitem
  .box-item-content
  .content-box {
  padding: 24px 30px 26px 30px;
}
.section-project-details
  .main-project-details
  .project-content
  .boxitem
  .box-item-content
  .content-box
  h6.subtitle {
  padding-left: 3px;
}
.section-project-details
  .main-project-details
  .project-content
  .boxitem
  .box-item-content
  .content-box
  h5.title {
  margin-top: 10px;
}
.section-project-details .main-project-details .project-content .img-detail {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
}
.section-project-details
  .main-project-details
  .project-content
  .img-detail
  img.img-dt {
  padding-right: 20px;
  width: 50%;
}
/* --- ESTILOS DEL FOOTER CORREGIDOS Y OPTIMIZADOS --- */

.footer {
  position: relative;
}

/* CAMBIO 1: AÑADIMOS UN MODELO DE CAJA MODERNO */
/* Esto hace que el padding y borde se incluyan DENTRO del ancho total del elemento, 
   evitando que la suma de width + padding rompa el diseño. */
.footer * {
  box-sizing: border-box;
}

.footer .img-ft {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
}
.footer .img-ft-2 {
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: 0;
}
.footer .section-main-footer {
  position: relative;
  background: url("../images/background/bg-footer.jpg") no-repeat;
  background-size: cover;
  background-position: top center;
  padding-top: 113px;
  padding-bottom: 102px;
}

/* CAMBIO 2: MEJORAMOS LA DISTRIBUCIÓN FLEX */
.footer .section-main-footer .list-footer {
  display: flex;
  justify-content: space-between; /* Distribuye el espacio uniformemente */
  flex-wrap: wrap; /* Permite que se apilen en pantallas pequeñas */
  gap: 20px; /* Crea un espacio consistente entre columnas */
}

/* CAMBIO 3: SIMPLIFICAMOS Y AJUSTAMOS LOS ANCHOS DE LAS COLUMNAS */
/* Ahora usamos flex-basis para un mejor control en un contenedor flex */
.footer .section-main-footer .list-footer .widget-about {
  flex-basis: 32%; /* Aproximadamente un tercio */
  text-align: left;
}

.footer .section-main-footer .list-footer .widget-recent-work {
  flex-basis: 32%; /* Aproximadamente un tercio */
  /* Eliminamos el padding-left que rompía el diseño */
  margin-top: -2px;
}

.footer .section-main-footer .list-footer .widget-link {
  flex-basis: 32%;
  text-align: center;
}

.footer .section-main-footer .list-footer .widget-about .text {
  color: rgba(255, 255, 255, 0.6);
  line-height: 2em;
  padding-top: 20px;
  padding-bottom: 35px;
  letter-spacing: 0.1px;
  font-size: 18px;
}
.footer
  .section-main-footer
  .list-footer
  .widget-about
  .location
  .icon-location {
  float: left;
  padding-top: 15px;
  padding-right: 28px;
}
.footer .section-main-footer .list-footer .widget-about .location .title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.footer .section-main-footer .list-footer .widget-about .location .info {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  text-decoration: underline;
  color: var(--color-primary);
  padding-top: 5px;
}

.footer .section-main-footer .list-footer .widget-link .widget-title,
.footer .section-main-footer .list-footer .widget-recent-work .widget-title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer .section-main-footer .list-footer .widget-link .list-wrap {
  margin: 0;
  padding-top: 27px;
}
.footer .section-main-footer .list-footer .widget-link .list-wrap li {
  padding: 10px 0;
}
.footer .section-main-footer .list-footer .widget-link .list-wrap li a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  transition: all 0.5s ease;
}

.footer .section-main-footer .list-footer .widget-link .list-wrap li a:hover {
  color: var(--color-primary);
}

.footer .section-main-footer .list-footer .widget-recent-work .widget-title {
  padding-bottom: 18px;
}

.footer .section-main-footer .list-footer .widget-recent-work .flat-imgbox {
  padding-top: 6px;
  display: flex; /* Usamos flex también para las imágenes */
  flex-wrap: wrap; /* Para que se ajusten en filas de 3 */
  gap: 8px; /* Espacio entre las imágenes */
}

.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox {
  /* Calculamos el ancho para que quepan 3 por fila, considerando el gap */
  flex-basis: calc(33.333% - 6px);
  /* Eliminamos los margin específicos que ya no son necesarios */
}

.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox
  .imgbox-img {
  position: relative;
}
.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox
  .imgbox-img
  img {
  width: 100%;
  display: block;
}
.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox
  .imgbox-img
  .overlay-img {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 168, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox
  .imgbox-img
  .overlay-img
  i {
  font-size: 20px;
  color: var(--color-primary);
}
.footer
  .section-main-footer
  .list-footer
  .widget-recent-work
  .flat-imgbox
  .imgbox:hover
  .overlay-img {
  opacity: 1;
}

.footer .section-main-footer .overlay {
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  background: rgba(17, 22, 30, 0.9);
  width: 100%;
  height: 100%;
}

.footer .bottom-footer {
  background: var(--color-dark);
  padding: 27px 0;
}
.footer .bottom-footer .copyright {
  padding-left: 8px;
}
.footer .bottom-footer .copyright p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--color-white);
}
.footer .bottom-footer .copyright p span {
  color: var(--color-primary);
}
.footer .bottom-footer .flat-text-right {
  float: right;
  margin-right: -10px;
}
.footer .bottom-footer .flat-text-right .list {
  margin: 0;
}
.footer .bottom-footer .flat-text-right .list li {
  display: inline-block;
  padding-left: 35px;
}
.footer .bottom-footer .flat-text-right .list li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  transition: all 0.5s ease;
}

.footer .bottom-footer .flat-text-right .list li a:hover {
  color: var(--color-primary);
}

/* CAMBIO 4: AÑADIMOS REGLAS PARA RESPONSIVIDAD */
@media (max-width: 991px) {
  /* 1. Mantenemos el contenedor flexible y centrado */
  .footer .section-main-footer .list-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 2. Regla general para los hijos directos del footer */
  .footer .section-main-footer .list-footer > div {
    width: 100% !important;
    max-width: 450px !important;
    margin-bottom: 40px !important;
  }

  /* 3. Nos aseguramos de que la columna del logo SEA VISIBLE */
  .footer .section-main-footer .list-footer .widget-about {
    display: block !important;
  }

  /* 4. Nos aseguramos de que la columna de Instagram SEA VISIBLE */
  .footer .section-main-footer .list-footer .widget-recent-work {
    display: block !important;
  }

  /* 5. OCULTAMOS la columna de Contacto y Enlaces, como sugeriste */
  .footer .section-main-footer .list-footer .widget-link {
    display: none !important;
  }

  /* Estilos de apoyo para la galería de Instagram en móvil */
  .footer .section-main-footer .list-footer .widget-recent-work .flat-imgbox {
    justify-content: center;
  }
}

/* Scroll Top
-------------------------------------------------------------- */
#scroll-top {
  position: fixed;
  display: block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  z-index: 1;
  right: 14px;
  bottom: 23px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  overflow: hidden;
}

#scroll-top:before,
#scroll-top:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#scroll-top:before {
  z-index: -1;
  background-color: var(--color-bg);
}

#scroll-top:hover:before {
  background-color: var(--color-primary);
}

/* ===== SECCIÓN SERVICIOS PERSONALIZADA ===== */

.hypnos-services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.hypnos-services-grid .col-md-3 {
  /* Resetear estilos de Bootstrap */
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  flex: none !important;
}

.hypnos-service-card {
  background: #2c2c2c !important;
  border-radius: 8px;
  padding: 40px 30px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
  position: relative; /* Para las flechas */
}

.hypnos-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.1);
}

.hypnos-service-icon {
  margin-bottom: 25px;
}

.hypnos-service-icon i {
  font-size: 48px !important;
  color: #ffb400 !important;
  background: none !important;
}

.hypnos-service-title {
  color: #ffffff !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 15px !important;
  text-decoration: none !important;
}

.hypnos-service-description {
  color: #999999 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
  font-family: "Open Sans", sans-serif !important;
  flex-grow: 1; /* Toma el espacio disponible */
}

.hypnos-service-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  margin-top: 0;
}

.hypnos-service-arrow a {
  color: #ffb400 !important;
  font-size: 18px !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.hypnos-service-arrow a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1199px) {
  .hypnos-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hypnos-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hypnos-service-card {
    height: auto;
    min-height: 250px;
  }
}

/* ===== PORTAFOLIO ESTILO GRID MODERNO ===== */

/* También podemos ajustar el contenedor del botón */
.section-portfolio .view-portfolio {
  padding-top: 60px !important;
}

.section-portfolio .list-portfolio {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 !important;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 80px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio {
  margin: 0 !important;
  width: 100% !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .boxitem {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-portfolio .list-portfolio .themesflat-portfolio .boxitem:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: all 0.3s ease;
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
  position: absolute !important;
  top: 0;
  left: 0;
  opacity: 0;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .imgbox
  img.light {
  opacity: 1;
}

.section-portfolio .list-portfolio .themesflat-portfolio .box-item-content {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  padding: 0 !important;
  flex-grow: 1;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box {
  background: #ffffff !important;
  padding: 25px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box::after {
  display: none !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .content-box
  .subtitle {
  color: #ffb400 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box .title {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box .title a {
  color: #333333 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .content-box
  .title::before {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .section-portfolio .list-portfolio {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .section-portfolio .list-portfolio {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== HEADER PERSONALIZADO ===== */

.section-cta {
  padding: 80px 0;
}

.bg-dark {
  background: var(--color-accent) !important;
}

@media (max-width: 991px) {
  .section-cta {
    padding: 60px 0;
  }

  .section-cta .cta-content {
    margin-bottom: 30px;
    text-align: center;
  }

  .section-cta .cta-button {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section-cta {
    padding: 50px 0;
  }

  .section-cta .cta-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .section-cta .cta-content p {
    font-size: 15px;
  }
}

.hypnos-pricing-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #11161e 100%);
  position: relative;
  overflow: hidden;
}

.hypnos-pricing-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  pointer-events: none;
}

.hypnos-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.hypnos-pricing-card {
  background: #222222;
  border: 2px solid rgba(255, 180, 0, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.hypnos-pricing-card:hover {
  transform: translateY(-10px);
  border-color: #ffb400;
  box-shadow: 0 20px 40px rgba(255, 180, 0, 0.3);
}

.hypnos-pricing-card.hypnos-featured {
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%);
  border-color: #ffb400;
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(255, 180, 0, 0.4);
}

.hypnos-pricing-card.hypnos-featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 30px 60px rgba(255, 180, 0, 0.5);
}

.hypnos-card-badge {
  display: inline-block;
  background: rgba(255, 180, 0, 0.15);
  color: #ffb400;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  width: fit-content;
}

.hypnos-card-badge.featured {
  background: rgba(0, 0, 0, 0.3);
  color: #000000;
}

.hypnos-card-price {
  font-size: 48px;
  font-weight: 700;
  color: #ffb400;
  margin: 15px 0;
  line-height: 1;
}

.hypnos-featured .hypnos-card-price {
  color: #000000;
}

.hypnos-card-price span {
  font-size: 18px;
  font-weight: 400;
  color: #cccccc;
}

.hypnos-featured .hypnos-card-price span {
  color: #000000;
  opacity: 0.8;
}

.hypnos-card-description {
  font-size: 16px;
  color: #ececec;
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 45px;
}

.hypnos-featured .hypnos-card-description {
  color: #000000;
  font-weight: 500;
}

.hypnos-card-divider {
  border: none;
  border-top: 1px solid rgba(255, 180, 0, 0.2);
  margin: 25px 0;
}

.hypnos-featured .hypnos-card-divider {
  border-top-color: rgba(0, 0, 0, 0.2);
}

.hypnos-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.hypnos-card-features li {
  padding: 12px 0 12px 30px;
  color: #ececec;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  border-bottom: 1px solid rgba(255, 180, 0, 0.1);
}

.hypnos-featured .hypnos-card-features li {
  color: #000000;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.hypnos-card-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffb400;
  font-weight: bold;
  font-size: 16px;
}

.hypnos-featured .hypnos-card-features li:before {
  color: #000000;
}

.hypnos-card-features li:last-child {
  border-bottom: none;
}

.hypnos-card-button {
  margin-top: auto;
}

.hypnos-card-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #ffb400;
  color: #ffb400;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hypnos-card-button a:hover {
  background: #ffb400;
  color: #000000;
}

.hypnos-featured .hypnos-card-button a {
  border-color: #000000;
  color: #000000;
}

.hypnos-featured .hypnos-card-button a:hover {
  background: #000000;
  color: #ffb400;
}

.button-icon {
  font-size: 20px;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
  .hypnos-pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hypnos-pricing-card.hypnos-featured {
    transform: scale(1);
  }

  .hypnos-pricing-card.hypnos-featured:hover {
    transform: scale(1.02) translateY(-10px);
  }
}

/* Service Cards SOLO PARA service.html - Prefijo: page- */
.page-services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000 0%, #11161e 100%);
  position: relative;
}

.page-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-service-card {
  background: #222222;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 180, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-service-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 180, 0, 0.4);
  box-shadow: 0 25px 50px rgba(255, 180, 0, 0.2);
}

.page-service-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.page-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-service-card:hover .page-service-image img {
  transform: scale(1.1);
}

.page-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-service-card:hover .page-image-overlay {
  opacity: 1;
}

.page-service-content {
  padding: 35px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -55px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.3);
  transition: all 0.3s ease;
}

.page-service-card:hover .page-service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(255, 180, 0, 0.5);
}

.page-service-icon i {
  color: #000000;
  font-size: 28px;
}

.page-service-title {
  color: #ececec;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.page-service-card:hover .page-service-title {
  color: #ffb400;
}

.page-service-description {
  color: #cccccc;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.page-service-list li {
  padding: 10px 0 10px 25px;
  color: #ececec;
  font-size: 14px;
  position: relative;
  border-bottom: 1px solid rgba(255, 180, 0, 0.1);
}

.page-service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffb400;
  font-weight: bold;
  font-size: 16px;
}

.page-service-list li:last-child {
  border-bottom: none;
}

.page-service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffb400;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-service-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.page-service-link i {
  transition: transform 0.3s ease;
}

.page-service-link:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .page-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-service-content {
    padding: 25px 20px;
  }

  .page-service-icon {
    margin-top: -45px;
    width: 60px;
    height: 60px;
  }

  .page-service-icon i {
    font-size: 24px;
  }
}

/* Contact Page Hypnos - Complete Redesign */
.hypnos-contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #11161e 100%);
}

.contact-header {
  margin-bottom: 60px;
}

.contact-header .sub-title {
  color: #ffb400;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.contact-header .main-title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.contact-header .description {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Form Styles */
.hypnos-contact-form {
  background: #222222;
  border: 1px solid rgba(255, 180, 0, 0.2);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 80px;
}

.contact-form-grid {
  display: grid;
  gap: 25px;
}

.form-row-1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #ececec;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.form-group .required {
  color: #ffb400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #11161e;
  border: 2px solid rgba(255, 180, 0, 0.1);
  border-radius: 10px;
  padding: 15px 20px;
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffb400;
  background: #1a1f2e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.hypnos-submit-btn {
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%);
  border: none;
  border-radius: 50px;
  padding: 18px 50px;
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.hypnos-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.4);
}

.hypnos-submit-btn .btn-icon {
  transition: transform 0.3s ease;
}

.hypnos-submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

.form-note {
  color: #888;
  font-size: 13px;
  text-align: center;
}

/* Contact Info Cards */
.hypnos-contact-info-section {
  margin-top: 60px;
}

.contact-info-card {
  background: #222222;
  border: 1px solid rgba(255, 180, 0, 0.1);
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: #ffb400;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.2);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #000000;
}

.info-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.info-text {
  color: #cccccc;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 5px;
}

.info-text a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-text a:hover {
  color: #ffb400;
}

.social-links-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-links-contact a {
  width: 40px;
  height: 40px;
  background: #11161e;
  border: 1px solid rgba(255, 180, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb400;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links-contact a:hover {
  background: #ffb400;
  color: #000000;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .hypnos-contact-form {
    padding: 40px 30px;
  }

  .contact-header .main-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hypnos-contact-section {
    padding: 60px 0;
  }

  .hypnos-contact-form {
    padding: 30px 20px;
  }

  .form-row-1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-header .main-title {
    font-size: 28px;
  }

  .hypnos-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.whatsapp-icon {
  color: #ffffff;
  animation: pulse 2s infinite;
}

/* Animación de pulso */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}

/* Evitar que cubra el botón scroll-top */
#scroll-top {
  right: 30px;
  bottom: 100px;
}

@media (max-width: 768px) {
  #scroll-top {
    right: 20px;
    bottom: 80px;
  }
}

/* ============================================
   HERO MOBILE - OPTIMIZACIÓN DEFINITIVA
   ============================================ */

/* ============================================
   HERO MOBILE - TÍTULO OPTIMIZADO
   ============================================ */

@media (max-width: 767px) {
  /* Contenedor del slider */
  .section-slider.style-3 {
    height: 100vh !important;
    min-height: 600px !important;
    max-height: 800px !important;
    margin-top: -80px !important;
  }

  .section-slider .rev_slider_wrapper.fullwidthbanner-container,
  .section-slider div#rev-slider1 {
    height: 100vh !important;
    max-height: 800px !important;
  }

  /* Título - Refinamiento adicional */
  .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
    text-align: center !important;
    padding: 0 20px !important;
    max-width: 90% !important;
    word-wrap: break-word !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;

    /* Sombra mejorada para legibilidad */
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8),
      0 4px 8px rgba(0, 0, 0, 0.6) !important;
  }

  /* Subtítulo - OCULTO */
  .tp-caption.tp-resizeme.text-white.font-heading.padding-top-100.text-slide {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Botón CTA */
  .tp-caption.btn-slider {
    padding: 0 20px !important;
    text-align: center !important;
  }

  .btn-main {
    display: inline-block !important;
    margin: 0 auto !important;
  }

  .btn-main a {
    padding: 13px 30px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
  }

  /* Filtro oscuro para contraste */
  .filter-bg::before {
    background-color: rgba(0, 0, 0, 0.68) !important;
  }
}

/* iPhone SE y pequeños */
@media (max-width: 480px) {
  .section-slider.style-3 {
    min-height: 550px !important;
  }

  /* Título aún más compacto */
  .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
    padding: 0 15px !important;
    max-width: 92% !important;
  }

  .btn-main a {
    padding: 12px 26px !important;
    font-size: 11px !important;
  }
}

/* iPhone mini */
@media (max-width: 380px) {
  .btn-main a {
    padding: 11px 24px !important;
    font-size: 10.5px !important;
  }
}

/* ===== 2. ELIMINAR SPAN.ICON COMPLETAMENTE ===== */

/* Ocultar el span.icon que causa el efecto visual */
.btn-main .more .icon,
.btn-main .more span.icon,
.btn-main span.icon,
.btn-main .icon {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  pointer-events: none !important;
}

/* Eliminar TODOS los pseudo-elementos */
.btn-main::before,
.btn-main::after,
.btn-main *::before,
.btn-main *::after,
.btn-main a::before,
.btn-main a::after,
.btn-main a *::before,
.btn-main a *::after,
.btn-main .more::before,
.btn-main .more::after,
.btn-main .icon::before,
.btn-main .icon::after {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* Resetear estilos del botón */
.btn-main,
.btn-main *,
.btn-main a,
.btn-main a * {
  transform: none !important;
  -webkit-transform: none !important;
  animation: none !important;
  -webkit-animation: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* NUEVO ESTILO DE BOTÓN - SIMPLE */
.btn-main {
  display: inline-block !important;
  position: relative !important;
  overflow: visible !important;
}

.btn-main a {
  /* Reset y estructura */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important; /* Sin gap porque no hay ícono */
  position: relative !important;

  /* Fondo y forma */
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%) !important;
  border: none !important;
  border-radius: 50px !important;

  /* Espaciado */
  padding: 16px 36px !important;

  /* Tipografía */
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #000000 !important;
  text-decoration: none !important;

  /* Sombra */
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3) !important;

  /* Cursor */
  cursor: pointer !important;

  /* Transición */
  transition: all 0.3s ease !important;
}

/* Hover simple */
.btn-main a:hover {
  background: linear-gradient(135deg, #ffc933 0%, #ffb400 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 180, 0, 0.4) !important;
  color: #000000 !important;
}

.btn-main a:active {
  transform: translateY(0) !important;
}

/* Texto del botón - sin ícono */
.btn-main .more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  color: #000000 !important;
}

.btn-main a:hover .more {
  color: #000000 !important;
}

/* Responsive para botones */
@media (max-width: 767px) {
  .btn-main a {
    padding: 13px 28px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .btn-main a {
    padding: 11px 24px !important;
    font-size: 11px !important;
  }
}

/* ===== 3. VARIANTES DE BOTONES ===== */

/* Botón oscuro */
.btn-main.dark a {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
  color: #ffb400 !important;
  border: 2px solid #ffb400 !important;
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.2) !important;
}

.btn-main.dark a:hover {
  background: linear-gradient(135deg, #ffb400 0%, #e6a200 100%) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
}

.btn-main.dark .more {
  color: #ffb400 !important;
}

.btn-main.dark a:hover .more {
  color: #000000 !important;
}

/* Botón outline */
.btn-main.outline a {
  background: transparent !important;
  color: #ffb400 !important;
  border: 2px solid #ffb400 !important;
  box-shadow: none !important;
}

.btn-main.outline a:hover {
  background: #ffb400 !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
}

.btn-main.outline .more {
  color: #ffb400 !important;
}

.btn-main.outline a:hover .more {
  color: #000000 !important;
}

/* ===== 4. ELIMINAR ÍCONOS GLOBALMENTE ===== */

/* Por si hay íconos en otros lugares */
span.icon {
  display: none !important;
}

/* ===== 5. CAPA OSCURA DEL BANNER ===== */

.filter-bg::before {
  background-color: rgba(0, 0, 0, 0.65) !important;
  z-index: 1 !important;
}

@media (max-width: 767px) {
  .filter-bg::before {
    background-color: rgba(0, 0, 0, 0.75) !important;
  }
}

/* ===== 6. SOMBRA DE TEXTO ===== */

.tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

/* ===== 7. DESKTOP - MANTENER SUBTÍTULO VISIBLE ===== */

.tp-caption.tp-resizeme.text-white.font-heading.padding-top-100.text-slide {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  font-size: 18px !important;
  line-height: 32px !important;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6) !important;
}

@media (max-width: 991px) and (min-width: 768px) {
  .tp-caption.tp-resizeme.text-white.font-heading.padding-top-100.text-slide {
    font-size: 16px !important;
    line-height: 28px !important;
  }
}

/* ===== 8. ELEMENTOS DECORATIVOS ===== */

@media (max-width: 767px) {
  .section-slider img.before-slide {
    max-width: 60px !important;
    opacity: 0.3 !important;
  }

  .section-slider img.after-slide {
    max-width: 90px !important;
    opacity: 0.4 !important;
  }
}

@media (max-width: 480px) {
  .section-slider img.before-slide,
  .section-slider img.after-slide {
    display: none !important;
  }
}

/* ===== 9. WHATSAPP ===== */

.whatsapp-float {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
  }
}

/* ===== 10. SCROLL-TOP OCULTO ===== */

#scroll-top {
  display: none !important;
}

/* ===== 11. ANIMSITION FIX ===== */

#wrapper,
.animsition,
.animsition.fade-in {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== 12. ALTURA DEL BANNER ===== */

.section-slider.style-3 {
  height: 950px !important;
  margin-top: -110px !important;
}

@media (max-width: 767px) {
  .section-slider.style-3 {
    height: 80vh !important;
    min-height: 500px !important;
    max-height: 650px !important;
    margin-top: -90px !important;
  }
}

@media (max-width: 480px) {
  .section-slider.style-3 {
    height: 75vh !important;
    min-height: 450px !important;
    max-height: 600px !important;
  }
}

/* ===== 13. Z-INDEX ===== */

.header-hypnos {
  z-index: 1000 !important;
}

.tp-caption {
  z-index: 999 !important;
}

.whatsapp-float {
  z-index: 998 !important;
}

/* ===== 14. MENÚ LATERAL ===== */

@media (max-width: 991px) {
  .section-slider .menu-slide {
    display: none !important;
  }
}

/* ===== 15. BULLETS OCULTOS ===== */

@media (max-width: 767px) {
  .tp-bullets.custom.horizontal {
    display: none !important;
  }
}

/* ===== 16. DESKTOP - TAMAÑOS ORIGINALES ===== */

.tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
  font-size: 80px !important;
  line-height: 86px !important;
}

@media (max-width: 991px) and (min-width: 768px) {
  .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
    font-size: 60px !important;
    line-height: 70px !important;
  }
}

/* ===== 17. AJUSTES CONTENEDOR SLIDER ===== */

@media (max-width: 767px) {
  .tp-revslider-mainul,
  .tp-revslider-slidesli {
    height: 100% !important;
  }

  .tp-caption.btn-slider {
    margin-top: 0 !important;
  }
}

/* ===== 18. FORZAR SIN PSEUDO-ELEMENTOS ===== */

*[class*="btn"]::before,
*[class*="btn"]::after {
  content: "" !important;
  display: none !important;
}

/* ===== 19. AJUSTE VERTICAL DEL CONTENIDO MÓVIL ===== */

@media (max-width: 767px) {
  /* Asegurar que el título no esté muy arriba */
  .tp-caption.tp-parallax-wrap {
    display: flex !important;
    align-items: center !important;
  }

  /* Reducir espacio superior si existe */
  .tp-caption.btn-slider.btn-main {
    margin-top: 0 !important;
    padding-top: 15px !important;
  }
}

/* ===== 20. OPTIMIZACIÓN FINAL ===== */

/* Asegurar que no hay espacios extras */
@media (max-width: 767px) {
  .section-slider .tp-caption {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ===================================
   PORTAFOLIO MINIMALISTA - HYPNOS MEDIA
   Agregar al final de style.css
   =================================== */

/* Variables para portafolio */
:root {
  --portfolio-card-bg: #1a1f28;
  --portfolio-hover-bg: #222832;
  --portfolio-accent: #ffb400;
  --portfolio-text: #ffffff;
  --portfolio-subtitle: #999999;
}

/* Sobrescribir estilos del portafolio actual */
.section-portfolio .list-portfolio {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 24px !important;
  padding: 0 !important;
  max-width: 1400px !important;
  margin: 0 auto 60px auto !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio {
  margin: 0 !important;
  width: 100% !important;
}

/* Nueva estructura de card minimalista */
.section-portfolio .list-portfolio .themesflat-portfolio .boxitem {
  background: var(--portfolio-card-bg) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 180, 0, 0) !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .boxitem:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 180, 0, 0.3) !important;
  background: var(--portfolio-hover-bg) !important;
}

/* Imagen - más compacta */
.section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
  height: 280px !important;
  overflow: hidden !important;
  position: relative !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: all 0.5s ease !important;
}

/* Efecto de imagen en hover - más sutil */
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .imgbox
  img {
  transform: scale(1.05) !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .imgbox
  img.light {
  opacity: 1 !important;
}

/* Overlay sutil en hover */
.section-portfolio .list-portfolio .themesflat-portfolio .imgbox::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 100%
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .imgbox::after {
  opacity: 1 !important;
}

/* Contenido - más minimalista */
.section-portfolio .list-portfolio .themesflat-portfolio .box-item-content {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  padding: 0 !important;
  flex-grow: 1 !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box {
  background: transparent !important;
  padding: 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box::after {
  display: none !important;
}

/* Categoría/Subtitle - más prominente */
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .content-box
  .subtitle {
  color: var(--portfolio-accent) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 10px !important;
  display: inline-block !important;
  opacity: 0.9 !important;
}

/* Título del proyecto - más limpio */
.section-portfolio .list-portfolio .themesflat-portfolio .content-box .title {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  transition: color 0.3s ease !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box .title a {
  color: var(--portfolio-text) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  display: block !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .content-box
  .title
  a {
  color: var(--portfolio-accent) !important;
}

/* Icono de enlace externo - aparece en hover */
.section-portfolio .list-portfolio .themesflat-portfolio .content-box::before {
  content: "\f35d" !important; /* Font Awesome external link icon */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  position: absolute !important;
  bottom: 20px !important;
  right: 20px !important;
  font-size: 18px !important;
  color: var(--portfolio-accent) !important;
  opacity: 0 !important;
  transform: translateX(-10px) !important;
  transition: all 0.3s ease !important;
}

.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .content-box::before {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* ===================================
   RESPONSIVE - PORTAFOLIO
   =================================== */

@media (max-width: 1200px) {
  .section-portfolio .list-portfolio {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .section-portfolio .list-portfolio {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
    height: 240px !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .content-box {
    padding: 20px !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .content-box .title {
    font-size: 18px !important;
  }
}

@media (max-width: 480px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
    height: 200px !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .content-box .title {
    font-size: 16px !important;
  }
}

/* ===================================
   VARIANTE: Cards aún más pequeñas
   Descomenta si prefieres cards más compactas
   =================================== */

/*
.section-portfolio .list-portfolio {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
    height: 220px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box {
    padding: 18px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box .title {
    font-size: 16px !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio .content-box .subtitle {
    font-size: 10px !important;
}
*/

/* ===================================
   ANIMACIONES ADICIONALES
   =================================== */

/* Animación de entrada escalonada */
.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(1) {
  animation-delay: 0s !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(2) {
  animation-delay: 0.1s !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(3) {
  animation-delay: 0.2s !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(4) {
  animation-delay: 0.3s !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(5) {
  animation-delay: 0.4s !important;
}

.section-portfolio .list-portfolio .themesflat-portfolio:nth-child(6) {
  animation-delay: 0.5s !important;
}

/* Efecto de pulse en la categoría en hover */
.section-portfolio
  .list-portfolio
  .themesflat-portfolio
  .boxitem:hover
  .content-box
  .subtitle {
  animation: pulse 1.5s infinite !important;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}

/* DESKTOP: Logos cubren todo el espacio (comportamiento original) */
@media (min-width: 992px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* TABLET: Logos al 50% del contenedor pero visibles completos */
@media (max-width: 991px) and (min-width: 768px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1a1f28 !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
    width: 70% !important;
    height: auto !important;
    max-height: 80% !important;
    object-fit: contain !important;
    object-position: center !important;
    position: relative !important;
    transform: none !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
    width: 70% !important;
    height: auto !important;
    max-height: 80% !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Mantener hover effect en tablet */
  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem:hover
    .imgbox
    img {
    transform: scale(1.05) !important;
  }

  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem:hover
    .imgbox
    img.light {
    transform: translate(-50%, -50%) scale(1.05) !important;
  }
}

/* MOBILE: Logos al 30% (pequeños pero legibles) */
@media (max-width: 767px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1a1f28 !important;
    position: relative !important;
  }

  /* AMBAS imágenes usan position: absolute para evitar el salto */
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
    width: 50% !important;
    height: auto !important;
    max-height: 60% !important;
    object-fit: contain !important;
    object-position: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
    width: 50% !important;
    height: auto !important;
    max-height: 60% !important;
    object-fit: contain !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  /* Hover effect en móvil - ahora ambas usan el mismo transform */
  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem:hover
    .imgbox
    img {
    transform: translate(-50%, -50%) scale(1.05) !important;
  }

  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem:hover
    .imgbox
    img.light {
    transform: translate(-50%, -50%) scale(1.05) !important;
  }
}

/* MOBILE EXTRA PEQUEÑO: Logos un poco más grandes (35%) */
@media (max-width: 480px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
    width: 60% !important;
    max-height: 70% !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
    width: 60% !important;
    max-height: 70% !important;
  }
}

/* MOBILE EXTREMADAMENTE PEQUEÑO: Ajuste final */
@media (max-width: 380px) {
  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
    width: 40% !important;
    max-height: 50% !important;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
    width: 40% !important;
    max-height: 50% !important;
  }
}

/* ===================================
   OPCIONAL: Si quieres logos aún más pequeños en móvil
   Descomenta estas reglas
   =================================== */

/*
@media (max-width: 767px) {
    .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
        width: 25% !important;
        max-height: 35% !important;
    }
    
    .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
        width: 25% !important;
        max-height: 35% !important;
    }
}
*/

/* ===================================
   OPCIONAL: Si quieres logos más grandes en móvil
   Descomenta estas reglas
   =================================== */

/*
@media (max-width: 767px) {
    .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img {
        width: 45% !important;
        max-height: 55% !important;
    }
    
    .section-portfolio .list-portfolio .themesflat-portfolio .imgbox img.light {
        width: 45% !important;
        max-height: 55% !important;
    }
}
*/

/* ===================================
   SERVICE CARDS - GRADIENTE MODERNO
   Reemplazar/Agregar al final de style.css
   =================================== */

/* Gradiente principal para las cards */
.hypnos-service-card {
  background: linear-gradient(
    135deg,
    #2a2f3a 0%,
    #1a1f28 50%,
    #0f1419 100%
  ) !important;
  border-radius: 8px;
  padding: 40px 30px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

/* Gradiente en hover - más vibrante */
.hypnos-service-card:hover {
  background: linear-gradient(
    135deg,
    #2f3443 0%,
    #1f242f 50%,
    #14191f 100%
  ) !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.1);
}

/* Opcional: Efecto de brillo sutil que se mueve en hover */
.hypnos-service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 180, 0, 0.03) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.hypnos-service-card:hover::before {
  opacity: 1;
  left: 100%;
}

/* Asegurar que el contenido esté por encima del gradiente */
.hypnos-service-icon,
.hypnos-service-title,
.hypnos-service-description,
.hypnos-service-arrow {
  position: relative;
  z-index: 2;
}

/* ===================================
   VARIACIONES DE GRADIENTE
   Descomenta la que prefieras
   =================================== */

/* VARIANTE 1: Gradiente más dramático (similar al navbar) */

.hypnos-service-card {
  background: linear-gradient(135deg, #1e2330 0%, #0f1419 100%) !important;
}

.hypnos-service-card:hover {
  background: linear-gradient(135deg, #252b3a 0%, #14191f 100%) !important;
}

/* VARIANTE 2: Gradiente con toque amarillo sutil */
/*
.hypnos-service-card {
    background: linear-gradient(135deg, #2a2f3a 0%, #1a1f28 70%, rgba(255, 180, 0, 0.05) 100%) !important;
}

.hypnos-service-card:hover {
    background: linear-gradient(135deg, #2f3443 0%, #1f242f 70%, rgba(255, 180, 0, 0.08) 100%) !important;
}
*/

/* VARIANTE 3: Gradiente diagonal más pronunciado */
/*
.hypnos-service-card {
    background: linear-gradient(120deg, #2d323e 0%, #1a1f28 60%, #0d1116 100%) !important;
}

.hypnos-service-card:hover {
    background: linear-gradient(120deg, #33384a 0%, #1f242f 60%, #12171d 100%) !important;
}
*/

/* VARIANTE 4: Gradiente radial (desde el centro) */
/*
.hypnos-service-card {
    background: radial-gradient(circle at top left, #2a2f3a 0%, #1a1f28 50%, #0f1419 100%) !important;
}

.hypnos-service-card:hover {
    background: radial-gradient(circle at top left, #2f3443 0%, #1f242f 50%, #14191f 100%) !important;
}
*/

/* VARIANTE 5: Gradiente con múltiples paradas (más complejo) */
/*
.hypnos-service-card {
    background: linear-gradient(
        135deg,
        #2a2f3a 0%,
        #22272f 25%,
        #1a1f28 50%,
        #12171d 75%,
        #0f1419 100%
    ) !important;
}

.hypnos-service-card:hover {
    background: linear-gradient(
        135deg,
        #2f3443 0%,
        #272c36 25%,
        #1f242f 50%,
        #171c24 75%,
        #14191f 100%
    ) !important;
}
*/

/* ===================================
   SECCIÓN CTA HYPNOS - ESTILOS COMPLETOS
   Pegar al final de style.css
   
   NOTA: Usa clases únicas para evitar conflictos
   =================================== */

/* ===================================
   SECCIÓN CONTENEDORA
   =================================== */

.section-cta-hypnos {
  padding: 80px 0;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.section-cta-hypnos.bg-dark {
  background: linear-gradient(135deg, #0a0e14 0%, #000000 100%);
}

/* ===================================
   CONTENIDO DE TEXTO
   =================================== */

.cta-hypnos-content {
  padding-right: 40px;
}

.cta-hypnos-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.cta-hypnos-text {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  color: #ffffff;
  margin-bottom: 0;
}

/* ===================================
   BOTÓN CTA - OPCIÓN 1: OUTLINE MINIMALISTA
   (Por defecto - RECOMENDADO)
   =================================== */
/*
.btn-cta-hypnos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid #ffb400;
    border-radius: 6px;
    color: #ffb400;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    gap: 12px;
}

.btn-cta-text {
    position: relative;
    z-index: 2;
}

.btn-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Efecto de relleno desde la izquierda 
.btn-cta-hypnos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffb400;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn-cta-hypnos:hover::before {
    left: 0;
}

/* Hover states 
.btn-cta-hypnos:hover {
    color: #000000;
    border-color: #ffb400;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 180, 0, 0.3);
}

.btn-cta-hypnos:hover .btn-cta-icon {
    transform: translateX(5px);
}

/* Efecto de partículas expandiéndose 
.btn-cta-hypnos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 180, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn-cta-hypnos:hover::after {
    width: 300px;
    height: 300px;
} */

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 991px) {
  .cta-hypnos-content {
    padding-right: 20px;
  }

  .cta-hypnos-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .section-cta-hypnos {
    padding: 60px 0;
  }

  .section-cta-hypnos .text-right {
    text-align: center !important;
    margin-top: 30px;
  }

  .cta-hypnos-content {
    padding-right: 0;
    text-align: center;
  }

  .cta-hypnos-title {
    font-size: 28px;
  }

  .cta-hypnos-text {
    font-size: 15px;
  }

  .btn-cta-hypnos {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-hypnos-title {
    font-size: 24px;
  }

  .cta-hypnos-text {
    font-size: 14px;
  }

  .btn-cta-hypnos {
    padding: 14px 35px;
    font-size: 13px;
  }
}

/* ===================================
   OPCIÓN 2: BOTÓN SÓLIDO CON GRADIENTE
   Descomenta para usar esta opción
   =================================== */

.btn-cta-hypnos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  background: linear-gradient(135deg, #ffb400 0%, #ffa000 100%);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
  gap: 12px;
  position: relative;
  overflow: visible;
}

.btn-cta-text,
.btn-cta-icon {
  position: relative;
  z-index: 2;
}

.btn-cta-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-cta-hypnos:hover {
  background: linear-gradient(135deg, #ffc933 0%, #ffb400 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 180, 0, 0.5);
  color: #000000;
}

.btn-cta-hypnos:hover .btn-cta-icon {
  transform: translateX(5px);
}

.btn-cta-hypnos::before,
.btn-cta-hypnos::after {
  display: none;
}

/* ===================================
   OPCIÓN 3: GLASS EFFECT
   Descomenta para usar esta opción
   =================================== */

/*
.btn-cta-hypnos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    background: rgba(255, 180, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 180, 0, 0.3);
    border-radius: 10px;
    color: #ffb400;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    gap: 12px;
    position: relative;
    overflow: visible;
}

.btn-cta-text,
.btn-cta-icon {
    position: relative;
    z-index: 2;
}

.btn-cta-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-cta-hypnos:hover {
    background: rgba(255, 180, 0, 0.2);
    border-color: rgba(255, 180, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 180, 0, 0.2);
    color: #ffb400;
}

.btn-cta-hypnos:hover .btn-cta-icon {
    transform: translateX(5px);
}

.btn-cta-hypnos::before,
.btn-cta-hypnos::after {
    display: none;
}
*/

/* ===================================
   VARIANTES ADICIONALES (OPCIÓN 1)
   =================================== */

/* VARIANTE A: Borde más grueso */
/*
.btn-cta-hypnos {
    border: 3px solid #ffb400;
}
*/

/* VARIANTE B: Esquinas más redondeadas (píldora) */
/*
.btn-cta-hypnos {
    border-radius: 50px;
}
*/

/* VARIANTE C: Botón más grande */
/*
.btn-cta-hypnos {
    padding: 20px 50px;
    font-size: 16px;
}
*/

/* VARIANTE D: Sombra interna en hover */
/*
.btn-cta-hypnos:hover {
    box-shadow: 
        0 8px 25px rgba(255, 180, 0, 0.3),
        inset 0 0 20px rgba(255, 180, 0, 0.2);
}
*/

/* VARIANTE E: Efecto de parpadeo en el borde */
/*
@keyframes borderPulse {
    0%, 100% {
        border-color: #ffb400;
        box-shadow: 0 0 0 rgba(255, 180, 0, 0);
    }
    50% {
        border-color: #ffc933;
        box-shadow: 0 0 15px rgba(255, 180, 0, 0.3);
    }
}

.btn-cta-hypnos:hover {
    animation: borderPulse 2s infinite;
}
*/

/* ===================================
   AJUSTES PARA ANIMACIONES WOW.JS
   =================================== */

.cta-hypnos-content.wow,
.cta-hypnos-button.wow {
  visibility: hidden;
}

.cta-hypnos-content.wow.animated,
.cta-hypnos-button.wow.animated {
  visibility: visible;
}

/* ===================================
   MEJORAS VISUALES OPCIONALES
   =================================== */

/* Gradiente de fondo más dramático */
/*
.section-cta-hypnos.bg-dark {
    background: linear-gradient(135deg, #1a1f28 0%, #000000 100%);
}
*/

/* Efecto de brillo sutil en el fondo */
/*
.section-cta-hypnos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 180, 0, 0.03) 0%,
        transparent 50%
    );
    pointer-events: none;
}
*/

/* Línea decorativa superior */
/*
.section-cta-hypnos::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #ffb400 50%,
        transparent 100%
    );
}
*/

/* ===================================
   CONTACT CARDS - MEJOR DISTRIBUCIÓN HORIZONTAL
   Pegar al final de style.css (después del anterior)
   =================================== */

/* Contenedor principal - Centrar y limitar ancho máximo */
.hypnos-contact-info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centrar las cards */
  margin: 0 auto;
  max-width: 1400px; /* Limitar el ancho máximo */
  gap: 24px; /* Espaciado uniforme entre cards */
}

/* Resetear el padding de Bootstrap */
.hypnos-contact-info-section > [class*="col-"] {
  padding: 0;
  margin: 0;
  display: flex;
}

/* Cards - Ajustar ancho y espaciado */
.contact-info-card {
  background: linear-gradient(135deg, #2a2f3a 0%, #1a1f28 100%);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 180, 0, 0);
  position: relative;
  overflow: hidden;

  /* Control de dimensiones */
  height: 100%;
  min-height: 280px;
  width: 100%; /* Ocupa todo el ancho de su columna */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* ===================================
   DISTRIBUCIÓN MEJORADA
   =================================== */

/* Desktop grande: 4 columnas más compactas */
@media (min-width: 1200px) {
  .hypnos-contact-info-section {
    max-width: 1200px; /* Más compacto */
    gap: 20px; /* Espacio más ajustado */
  }

  .hypnos-contact-info-section > [class*="col-"] {
    flex: 0 0 calc(25% - 15px); /* 4 columnas con gap */
    max-width: calc(25% - 15px);
  }

  .contact-info-card {
    max-width: 100%;
  }
}

/* Desktop estándar: 4 columnas ajustadas */
@media (min-width: 992px) and (max-width: 1199px) {
  .hypnos-contact-info-section {
    max-width: 1000px;
    gap: 18px;
  }

  .hypnos-contact-info-section > [class*="col-"] {
    flex: 0 0 calc(25% - 14px);
    max-width: calc(25% - 14px);
  }
}

/* Tablet: 2 columnas */
@media (min-width: 768px) and (max-width: 991px) {
  .hypnos-contact-info-section {
    max-width: 700px;
    gap: 20px;
  }

  .hypnos-contact-info-section > [class*="col-"] {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .contact-info-card {
    min-height: 260px;
    padding: 35px 25px;
  }
}

/* Mobile: 1 columna */
@media (max-width: 767px) {
  .hypnos-contact-info-section {
    max-width: 450px;
    gap: 20px;
  }

  .hypnos-contact-info-section > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-info-card {
    min-height: auto;
    height: auto;
    padding: 35px 25px;
  }
}

/* ===================================
   VARIANTE: Cards más juntas (COMPACTO)
   Descomenta para usar
   =================================== */

/*
@media (min-width: 1200px) {
    .hypnos-contact-info-section {
        max-width: 1100px;
        gap: 16px;
    }
    
    .hypnos-contact-info-section > [class*="col-"] {
        flex: 0 0 calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
}
*/

/* ===================================
   VARIANTE: Cards más espaciadas (AMPLIO)
   Descomenta para usar
   =================================== */

/*
@media (min-width: 1200px) {
    .hypnos-contact-info-section {
        max-width: 1300px;
        gap: 30px;
    }
    
    .hypnos-contact-info-section > [class*="col-"] {
        flex: 0 0 calc(25% - 23px);
        max-width: calc(25% - 23px);
    }
}
*/

/* ===================================
   AJUSTES VISUALES ADICIONALES
   =================================== */

/* Hover effect */
.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.15);
  border: 1px solid rgba(255, 180, 0, 0.3);
  background: linear-gradient(135deg, #2f3443 0%, #1f242f 100%);
}

/* Ícono */
.contact-info-card .info-icon {
  width: 70px;
  height: 70px;
  background: #ffb400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.contact-info-card:hover .info-icon {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 180, 0, 0.4);
}

.contact-info-card .info-icon i {
  font-size: 28px;
  color: #000000;
}

/* Título */
.contact-info-card .info-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Texto/Enlaces */
.contact-info-card .info-text {
  font-size: 15px;
  line-height: 1.8;
  color: #b8b8b8;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.contact-info-card .info-text:last-child {
  margin-bottom: 0;
}

.contact-info-card .info-text a {
  color: #b8b8b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card .info-text a:hover {
  color: #ffb400;
}

/* Redes sociales */
.social-links-contact {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.social-links-contact a {
  width: 45px;
  height: 45px;
  background: rgba(255, 180, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb400;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links-contact a:hover {
  background: #ffb400;
  color: #000000;
  transform: translateY(-3px);
}

.social-links-contact a i {
  font-size: 18px;
}

/* ===================================
   AJUSTE FINO: Eliminar márgenes de Bootstrap
   =================================== */

.hypnos-contact-info-section .mb-4,
.hypnos-contact-info-section .mb-3,
.hypnos-contact-info-section .mb-2 {
  margin-bottom: 0 !important;
}

/* ===================================
   ANIMACIONES
   =================================== */

@keyframes fadeInUpCard {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-info-card.wow {
  visibility: hidden;
}

.contact-info-card.wow.animated {
  visibility: visible;
  animation: fadeInUpCard 0.6s ease-out;
}

/* ===================================
   RESPONSIVE FIXES (MOBILE)
   =================================== */
@media only screen and (max-width: 767px) {
  /* Fix Hero Title Font Size - Increased specificity */
  #wrapper
    .section-slider
    .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700 {
    font-size: 32px !important;
    line-height: 40px !important;
    white-space: normal !important;
    width: 100% !important;
    text-align: center !important;
    left: 0 !important;
  }

  /* Adjust Subtitle position - Increased specificity to override responsive.css */
  #wrapper
    .section-slider
    .tp-caption.tp-resizeme.text-white.font-heading.font-weight-700.padding-top-100.text-slide {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-top: 180px !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
    left: 0 !important;
    padding-right: 0 !important;
  }

  /* Fix Portfolio Card Images */
  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .imgbox
    img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }

  /* Ensure cards have proper spacing */
  .section-portfolio .list-portfolio .themesflat-portfolio {
    margin-bottom: 30px;
    padding: 0;
    width: 100% !important;
  }

  /* Center the button in hero and adjust padding */
  .section-slider .btn-slider {
    text-align: center !important;
    left: 0 !important;
    width: 100% !important;
  }

  /* Override the inner button padding from responsive.css */
  .padding-btn-sl {
    padding-top: 280px !important; /* Adjusted to fit better */
  }
}

/* ===================================
   PROJECTS PAGE RESPONSIVE FIXES
   =================================== */

/* Tablet View (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .section-portfolio .list-portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .section-portfolio .list-portfolio .themesflat-portfolio {
    width: 48%; /* 2 columns */
    margin-right: 0;
    margin-bottom: 30px;
  }

  .section-portfolio
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .imgbox
    img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Mobile View (Max 767px) - Specific tweaks for Projects Page */
@media only screen and (max-width: 767px) {
  /* Ensure images in projects page are fully visible and centered */
  .section-portfolio.style-2
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .imgbox {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Fallback background */
    overflow: hidden;
  }

  .section-portfolio.style-2
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .imgbox
    img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure logos are not cut off */
    max-height: 400px; /* Limit height to prevent huge cards */
  }

  /* Adjust content box position for better visibility on mobile */
  .section-portfolio.style-2
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .box-item-content {
    position: relative; /* Stack below image instead of overlaying if needed, or keep absolute but adjust */
    bottom: 0;
    padding: 0;
    margin-top: -10px; /* Pull up slightly */
  }

  .section-portfolio.style-2
    .list-portfolio
    .themesflat-portfolio
    .boxitem
    .box-item-content
    .content-box {
    background: rgba(17, 22, 30, 0.95); /* More opaque background */
    padding: 15px 20px;
  }
}
