/*

TemplateMo 570 Chain App Dev

https://templatemo.com/tm-570-chain-app-dev

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 50%;
}

em {
  font-style: normal;
  color: #EB8A8F;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background-color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: #fff;
  font-family: 'Roboto', sans-serif;
}

::selection {
  background: #00301C;
  color: #fff !important;
}

::-moz-selection {
  background: #00301C;
  color: #fff !important;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.section-heading {
  position: relative;
  z-index: 2;
}

.section-heading h4 {
  color: #2a2a2a;
  font-size: 30px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.section-heading h4 em {
  font-style: normal;
  color: #de5c7c;
}



.section-heading img {
  width: 45px;
  height: 2px;
}

.section-heading p {
  margin-top: 10px;
}

.show-up {
  position: relative;
  z-index: 2;
}

.white-button a {
  display: inline-block !important;
  padding: 10px 20px !important;
  color: #00301C !important;
  text-transform: capitalize;
  font-size: 15px;
  background-color: #fff;
  border-radius: 23px;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  transition: all .5s;
}

.white-button a i {
  margin-left: 5px;
  font-size: 18px;
}

.white-button a:hover {
  background-color: transparent;
  color: #fff !important;
}

.text-button a {
  font-size: 15px;
}

.text-button a i {
  margin-left: 5px;
  font-size: 14px;
  transition: all .3s;
}

.text-button a:hover i {
  margin-left: 8px;
}

.gradient-button a {
  display: inline-block !important;
  padding: 10px 20px !important;
  color: #fff !important;
  text-transform: capitalize;
  font-size: 15px;
  background: #00301C;
  border-radius: 23px;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  transition: all .5s;
}

.gradient-button a:hover {
  color: #fff !important;
  background: #FEC9D2;
  background: linear-gradient(90deg, rgba(254, 201, 210, 1) 11%, rgba(219, 82, 117, 0.78) 100%);
}

.border-button a {
  display: inline-block !important;
  padding: 10px 20px !important;
  color: #00301C !important;
  border: 1px solid #ffffff;
  text-transform: capitalize;
  font-size: 15px;
  display: inline-block;
  background-color: #fff;
  border-radius: 23px;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  transition: all .5s;
}

.border-button a:hover {
  background-color: #00301C;
  color: #fff !important;
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.background-header {
  background-color: #fff !important;
  height: 80px!important;
  border-bottom: none !important;
  position: fixed!important;
  top: 0px;
  left: 0px;
  right: 0px;
  box-shadow: 0px 5px 8px rgba(0,0,0,0.03);
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: #fff;
}

.background-header .main-nav .nav li:hover a {
  color: #ffff;
}

.background-header .nav li a.active {
  position: relative;
  color: #fff;
}

.background-header .nav li a.active:after {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #00301C;
  content: '';
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
}

.background-header .nav li:last-child a.active:after {
  background-color: transparent;
}

.header-area {
  background-color: transparent;
  position: absolute;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.header-area .main-nav .logo {
  line-height: 100px;
  float: left;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.background-header .main-nav .logo {
  line-height: 80px;
}

.background-header .main-nav .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:nth-child(6) {
  padding-right: 0px;
  padding-left: 40px;
}

.header-area .main-nav .nav li:last-child a ,
.background-header .main-nav .nav li:last-child a,
.header-area .main-nav .nav li:nth-child(6) a ,
.background-header .main-nav .nav li:nth-child(6) a {
  padding: 0px 20px !important;
  font-weight: 400;
}

.header-area .main-nav .nav li:last-child a:hover ,
.background-header .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li:nth-child(6) a:hover ,
.background-header .main-nav .nav li:nth-child(6) a:hover {
  color: #fff !important;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: #2a2a2a;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: #ffff!important;
}

.header-area .main-nav .nav li:last-child a.active {
  color: #fff !important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #ffffff!important;
  opacity: 1;
}

.header-area .main-nav .nav li.submenu {
  position: relative;
  padding-right: 30px;
}

.header-area .main-nav .nav li.submenu:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: #2a2a2a;
  position: absolute;
  right: 18px;
  top: 12px;
}

.background-header .main-nav .nav li.submenu:after {
  color: #2a2a2a;
}

.header-area .main-nav .nav li.submenu ul {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  top: 50px;
  opacity: 0;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
  transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.header-area .main-nav .nav li.submenu ul li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.submenu ul li a {
  opacity: 1;
  display: block;
  background: #f7f7f7;
  color: #2a2a2a!important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.submenu ul li a:hover {
  background: #fff;
  color: #00301C!important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.submenu ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.submenu:hover ul {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  z-index: 99;
  right: 40px;
  display: none;
  color: #DE5C7C;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #2a2a2a;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #2a2a2a;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #2a2a2a;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #2a2a2a;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #2a2a2a;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #2a2a2a;
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: #00301C;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 992px) {
  .header-area .main-nav .nav li:last-child  ,
  .background-header .main-nav .nav li:last-child {
    color: #069;
  }
  .header-area .main-nav .nav li:nth-child(6),
  .background-header .main-nav .nav li:nth-child(6) {
    padding-right: 0px;
  }
  .background-header .nav li a.active:after {
    display: none;
  }
}

@media (max-width: 767px) {
  .pre-header ul.info li:last-child,
  .pre-header ul.info li:nth-child(6) {
    display: none!important;
  }
  .background-header .main-nav .nav {
    margin-top: 80px !important;
  }
  .header-area .main-nav .logo {
    color: #1e1e1e;
  }
  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: #00301C!important;
    opacity: 1;
  }
  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
    position: fixed;
  }
  .header-area {
    background-color: #fff;
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
    box-shadow: 0px 5px 8px rgba(0,0,0,0.03);
  }
  .header-area .container {
    padding: 0px;
  }
  .header-area .logo {
    margin-left: 30px;
  }
  .header-area .menu-trigger {
    display: block !important;
  }
  .header-area .main-nav {
    overflow: hidden;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
  }
  .background-header .nav {
    margin-top: 80px;
  }
  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }
  .header-area.header-sticky .nav {
    margin-top: 100px;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: #f7f7f7 !important;
    color: #191a20 !important;
  }
  .header-area .main-nav .nav li a:hover {
    background: #eee !important;
    color: #00301C!important;
  }
  .header-area .main-nav .nav li.submenu ul {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
  }
  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }
  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }
  .header-area .main-nav .nav li.submenu ul.active {
    height: auto !important;
  }
  .header-area .main-nav .nav li.submenu:after {
    color: #3B566E;
    right: 25px;
    font-size: 14px;
    top: 15px;
  }
  .header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

/* 
---------------------------------------------
preloader
--------------------------------------------- 
*/

.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@-webkit-keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@-webkit-keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

@keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: #fff;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #00301C;
  border-radius: 50%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #00301C;
  border-radius: 50%;
}



/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/


.main-banner {
  background: 
  linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8)), /* capa con opacidad */
  url('/images/bgh.png') ,
  var(--brand-green);

  position: relative;
  overflow: hidden;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}

.main-banner:after {
  content: '';
  background-image: url(/images/bgh.png);
  background-size: contain;
  position: absolute;
  opacity: 0.1;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-banner .left-content {
  margin-right: 15px;
}

.main-banner .left-content h2 {
  z-index: 2;
  position: relative;
  font-weight: 700;
  line-height: 70px;
  font-size: 50px;
  margin-bottom: 20px;
}

.main-banner .left-content p {
  margin-bottom: 45px;
  font-weight: 400;
}

.main-banner .left-content .first-button {
  margin-right: 15px;
}

.main-banner .left-content .white-button {
  display: inline-block;
}

.main-banner .right-image {
  text-align: center;
  position: relative;
  z-index: 20;
}

.main-banner .right-image img {
  max-width: 80%;
  margin-top: 100px;
}

.main-banner .left-content .white-button a {
  background-color: #EB8A8F;
  color: #ffffff !important;
}

.main-banner .left-content .white-button a:hover {
  background-color: transparent;
  color: #fff !important;
  border: 1px solid #fff;
}

.main-banner .left-content .hero-primary-cta a {
  background: #00301C;
  border: 2px solid #00301C;
  color: #fff !important;
  font-size: 17px;
  font-weight: 800 !important;
  padding: 13px 26px !important;
  box-shadow: 0 14px 28px rgba(0, 48, 28, 0.28);
}

.main-banner .left-content .hero-primary-cta a:hover {
  background: #EB8A8F;
  border-color: #EB8A8F;
  color: #fff !important;
  transform: translateY(-2px);
}

.main-banner .left-content .hero-secondary-cta a {
  background: #fff;
  border: 2px solid #fff;
  color: #00301C !important;
  font-weight: 700 !important;
}

.main-banner .left-content .hero-secondary-cta a:hover {
  background: transparent;
  border-color: #fff;
  color: #fff !important;
}

.home-hero-banner {
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: center;
  padding: 118px 0 64px !important;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}

.home-hero-banner > .container,
.home-hero-banner > .container > .row,
.home-hero-banner > .container > .row > .col-lg-12,
.home-hero-banner > .container > .row > .col-lg-12 > .row {
  min-height: inherit;
}

.home-hero-banner > .container > .row > .col-lg-12 > .row {
  align-items: center;
}

.home-hero-banner .left-content {
  margin-right: 0;
  transform: translateY(-8px);
}

.home-hero-banner .left-content h2 {
  font-size: clamp(58px, 6vw, 104px);
  line-height: 0.95;
  margin-bottom: 26px;
}

.home-hero-banner .left-content h3 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.08;
}

.home-hero-banner .right-image img {
  width: min(100%, 620px);
  max-width: 100%;
  max-height: calc(100svh - 210px);
  margin-top: 0;
  object-fit: contain;
}

.home-hero-banner .custom-img {
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.28));
}

@media (min-width: 1600px) {
  .home-hero-banner .right-image img {
    width: min(100%, 720px);
  }
}

@media (max-width: 1199px) {
  .home-hero-banner {
    min-height: calc(100svh - 90px);
    padding: 126px 0 54px !important;
  }

  .home-hero-banner .right-image img {
    max-height: 42svh;
  }
}

@media (max-width: 991px) {
  .home-hero-banner {
    min-height: calc(100svh - 82px);
    padding: 132px 0 44px !important;
    border-bottom-left-radius: 70px !important;
    border-bottom-right-radius: 70px !important;
  }

  .home-hero-banner .left-content {
    transform: none;
  }

  .home-hero-banner .left-content h2 {
    font-size: clamp(48px, 12vw, 76px);
  }

  .home-hero-banner .left-content h3 {
    font-size: clamp(22px, 5vw, 34px);
  }

  .home-hero-banner .right-image {
    margin-top: 28px;
  }

  .home-hero-banner .right-image img {
    width: min(92%, 520px);
    max-height: 36svh;
  }
}

@media (max-width: 575px) {
  .home-hero-banner {
    min-height: calc(100svh - 74px);
    padding: 112px 0 34px !important;
    border-bottom-left-radius: 42px !important;
    border-bottom-right-radius: 42px !important;
  }

  .home-hero-banner .left-content h2 {
    font-size: clamp(42px, 15vw, 58px);
    margin-bottom: 18px;
  }

  .home-hero-banner .left-content h3 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .home-hero-banner .left-content .white-button {
    display: block;
    width: min(100%, 300px);
    margin: 10px auto 0;
  }

  .home-hero-banner .left-content .white-button a {
    width: 100%;
  }

  .home-hero-banner .right-image img {
    width: min(96%, 430px);
    max-height: 32svh;
  }
}
/* Fuente principal para todo el body */
body {
  font-family: 'Fira Sans', sans-serif;
}

/* Opcional: usa las otras fuentes en elementos específicos */
h1, h2, h3 {
  font-family: 'DM Serif Text', serif;
}

.scroll-to-section{
  font-family: 'DM Serif Text', serif;

}
.logo-text {
  font-family: 'Permanent Marker', cursive;
}

.special-title {
  font-family: 'Boldonse', sans-serif;
}

/* Estilo base para cada link del menú */
.main-nav .nav li a {
  display: inline-block;
  padding-left: 18px;
  padding-right: 18px;

  background: #436E60; /* Verde principal */
  border-radius: 12px; /* Bordes redondeados suaves */
  color: #fff !important; /* letras blancas */
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(27, 92, 72, 0.4); /* sombra verde */
  transition: all 0.3s ease;
  position: relative;
  bottom: 100px;
  overflow: hidden;
}

/* Efecto hover */
.main-nav .nav li a:hover,
.main-nav .nav li a.active {
  background: #F48484; /* Verde más claro en hover */
  transform: translateY(-3px); /* se eleva */
  box-shadow: 0 8px 15px rgba(27, 92, 72, 0.5);
  color: #fff !important  ;
}

.main-nav .nav li.nav-primary-cta a {
  background: #EB8A8F;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 22px rgba(235, 138, 143, 0.36);
  font-weight: 800;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}

.main-nav .nav li.nav-primary-cta a:hover {
  background: #00301C;
  border-color: #fff;
  box-shadow: 0 12px 26px rgba(0, 48, 28, 0.32);
}


/* Detalle de brillo animado */
.main-nav .nav li a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  transition: 0.5s;
}

/* El brillo se mueve al pasar el mouse */
.main-nav .nav li a:hover::after {
  left: 120%;
}

/* Fondo general del banner */

/* Contenedor de destellos */
.sparkle-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Destello individual */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #C2E3D2;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px rgba(200, 255, 220, 0.7);
  animation: sparkleAnim 3s infinite ease-in-out;
}

/* Animación de parpadeo */
@keyframes sparkleAnim {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* Animación de aparición */
.feature-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tarjetas */
.feature-card {
  transition: all 0.3s ease;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(27, 92, 72, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(27, 92, 72, 0.2);
}


/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.services {
  padding-top: 130px;
  position: relative;
}

.services  .section-heading p {
  margin-top: 10px;
  margin-left: 18%;
  margin-right: 18%;
}

.services .container-fluid {
  padding-left: 65px;
  padding-right: 65px;
}

.services:after {
  content: '';
  background-image: url(/images/ft2.png);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  bottom: -800px;
  left: -350px;
  width: 100%;
  height: 80%;
  opacity: 0.3;
}


.services .section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.services .section-heading .line-dec {
  margin: 0 auto;
}

.service-item {
  position: relative;
  z-index: 1;
  padding: 30px;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
  background-color: #fff;
  border-radius: 10px;
  border-top-right-radius: 50px;
  transition: all .3s;
}

.service-item .icon {
  margin-left: 0px;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  transition: all .3s;
}

.service-item h4 {
  transition: all .3s;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-item p {
  transition: all .3s;
  font-size: 15px;
  margin-bottom: 20px;
}

.service-item:hover h4,
.service-item:hover p,
.service-item:hover .text-button a {
  color: #E06482;
}

.first-service .icon {
  background-image: url(/images/service-icon-01.png);
}

.first-service:hover .icon {
  background-image: url(/images/service-icon-hover-01.png);
}

.second-service .icon {
  background-image: url(/images/service-icon-02.png);
}

.second-service:hover .icon {
  background-image: url(/images/service-icon-hover-02.png);
}


.third-service .icon {
  background-image: url(/images/service-icon-01.png);
}

.third-service:hover .icon {
  background-image: url(/images/service-icon-hover-03.png);
}

.fourth-service .icon {
  background-image: url(/images/service-icon-01.png);
}

.fourth-service:hover .icon {
  background-image: url(/images/service-icon-hover-04.png);
}

.service-item:hover {
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
  border:2px solid #DE5C7C;
  box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
  cursor: pointer;
}

.service-item {
  position: relative;
  overflow: hidden;
}

.service-item::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/bgh.png') no-repeat right top / cover;
  opacity: 0.1;   /* aquí controlas la opacidad */
  z-index: 0;
}

.service-item > * {
  position: relative;
  z-index: 1; /* asegura que el contenido quede arriba */
}


/*
---------------------------------------------
About Us
---------------------------------------------
*/

.about-us {
  padding-top: 130px;
  position: relative;
}

.about-us .section-heading {
  margin-bottom: 45px;
}

.about-us .section-heading,
.about-us .box-item,
.about-us p,
.about-us .box-item .gradient-button,
.about-us .box-item span {
  position: relative;
  z-index: 1;
}

.about-us .box-item {
  box-shadow: 0px 0px 15px rgba(0,0,0,0.07);
  padding: 10px 30px;
  background-color: #fff;
  border-radius: 40px;
  margin-bottom: 30px;
}

.about-us .box-item h4 a {
  font-size: 20px;
  font-weight: 700;
  margin-top: 8px;
  color: #2a2a2a;
  transition: all .3s;
}

.about-us .box-item p {
  margin-bottom: 0px;
}

.about-us .box-item:hover h4 a {
  color: #00301C;
}

.about-us .gradient-button {
  margin-top: 30px;
  margin-bottom: 10px;
}

.about-us span {
  font-size: 14px;
  color: #7a7a7a;
}

.about-us .right-image {
  position: relative;
  z-index: 1;
}

.about-us:after {
  width: 777px;
  height: 1132px;
  content: '';
  position: absolute;
  background-repeat: no-repeat;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}



/* 
---------------------------------------------
The Clients
---------------------------------------------
*/

.the-clients {
  margin-top: 130px;
}

.the-clients  .section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.the-clients  .section-heading p {
  margin-top: 10px;
  margin-left: 18%;
  margin-right: 18%;
}

.the-clients .naccs {
  position: relative;
}

.menu .thumb h4 {
  margin-bottom: 0px;
  font-size: 20px;
  color: #2a2a2a;
}

.menu .thumb span.date {
  display: inline-block;
  margin-top: 0px;
  color: #afafaf;
}

.menu .thumb span.category,
.menu .thumb span.rating {
  font-weight: 700;
  color: #afafaf;
}

.menu .thumb i {
  color: #afafaf;
}

.the-clients .naccs .menu div {
  color: #fff;
  font-size: 15px;
  margin-bottom: 15px;
  margin-top: 15px;
  text-align: left;
  padding: 0px 15px;
  cursor: pointer;
  position: relative;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.the-clients .naccs .menu div.active h4,
.the-clients .naccs .menu div.active i,
.the-clients .naccs .menu div.active span.rating,
.the-clients .naccs .menu div.active .thumb {
  color: #00301C;
}

.the-clients ul.nacc {
  position: relative;
  min-height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.the-clients ul.nacc li {
  opacity: 0;
  transform: translateX(-50px);
  position: absolute;
  list-style: none;
  transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.the-clients ul.nacc li.active {
  transition-delay: 0.3s;
  position: relative;
  z-index: 2;
  opacity: 1;
  transform: translateX(0px);
}

.the-clients ul.nacc li {
  width: 100%;
}

.the-clients .nacc .thumb .client-content img {
  width: 76px;
  height: 62px;
}

.the-clients .nacc .thumb .client-content {
  padding: 60px 30px;
  background: 
  linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), /* capa con opacidad */
  url('/images/bgh.png') ,
  var(--brand-green);  background-size: cover;
  border-radius: 50px;
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
}

.the-clients .nacc .thumb .client-content p {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  font-style: italic;
  margin-top: 30px;
}

.the-clients .nacc .thumb .down-content {
  margin-top: 30px;
}

.the-clients .nacc .thumb .down-content img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: inline;
}

.the-clients .nacc .thumb .down-content .right-content {
  display: inline-block;
  margin-left: 20px;
}

.the-clients .nacc .thumb .down-content .right-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.the-clients .nacc .thumb .down-content .right-content span {
  color: #2a2a2a;
}


/* 
---------------------------------------------
The Clients
---------------------------------------------
*/

.pricing-tables {
  padding-top: 130px;
}

.pricing-tables  .section-heading {
  text-align: center;
  margin-bottom: 80px;
}

.pricing-tables  .section-heading p {
  margin-top: 10px;
  margin-left: 18%;
  margin-right: 18%;
}

.pricing-item-regular {
  margin-top: 30px;
  background: 
  linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), /* capa con opacidad */
  url('/images/bgh.png') ,
  var(--brand-green);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.07);
  border-radius: 50px;
  padding: 90px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pricing-item-regular:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -999;
  content: '';
  width: 274px;
  height: 221px;
}

.pricing-item-regular:after {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  content: '';
  width: 370px;
  height: 171px;
}

.pricing-item-regular span.price {
  font-size: 40px;
  color: black;
  position: absolute;
  font-weight: 700;
  z-index: 1;
  left: 30px;
  top: 30px;
}

.pricing-item-regular h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.pricing-item-regular .icon img {
  width: 120px;
  height: 106px;
  margin-bottom: 30px;
}

.pricing-item-regular ul li {
  color: #00301C;
  font-size: 15px;
  margin-bottom: 15px;
}

.pricing-item-regular ul li:last-child {
  margin-bottom: 0px;
}

.pricing-item-regular ul li.non-function {
  color: #afafaf;
  text-decoration: line-through;
}

.pricing-item-regular .border-button {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.pricing-item-pro {
 background: 
 linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), /* capa con opacidad */
 url('/images/bgh.png') ,
 var(--brand-green);
 border-radius: 50px;
 padding: 120px 30px;
 text-align: center;
 position: relative;
 z-index: 1;
 overflow: hidden;
}

.pricing-item-pro:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -999;
  content: '';
  width: 281px;
  height: 251px;
}

.pricing-item-pro:after {
  position: absolute;
  bottom: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  content: '';
  width: 100%;
  height: 201px;
}

.pricing-item-pro span.price {
  font-size: 40px;
  color: white;
  position: absolute;
  font-weight: 700;
  z-index: 1;
  left: 30px;
  top: 30px;
}

.pricing-item-pro h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.pricing-item-pro .icon img {
  width: 120px;
  height: 106px;
  margin-bottom: 30px;
}

.pricing-item-pro ul li {
  color: #00301C;
  font-size: 15px;
  margin-bottom: 15px;
}

.pricing-item-pro ul li:last-child {
  margin-bottom: 0px;
}

.pricing-item-pro ul li.non-function {
  color: #afafaf;
  text-decoration: line-through;
}

.pricing-item-pro .border-button {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

/* --- Textos blancos --- */
.pricing-item-regular h4,
.pricing-item-regular ul li,
.pricing-item-pro h4,
.pricing-item-pro ul li {
  color: #fff;
}

.pricing-item-regular span.price,
.pricing-item-pro span.price {
  color: #fff;
}

/* Non-function en gris claro */
.pricing-item-regular ul li.non-function,
.pricing-item-pro ul li.non-function {
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
}

/* --- Interactividad en tarjetas --- */
.pricing-item-regular,
.pricing-item-pro {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-item-regular:hover,
.pricing-item-pro:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.3);
}

/* --- Botones elegantes --- */
.border-button a {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, #00301C, #00301C);
  text-decoration: none;
  transition: all 0.3s ease;
}

.border-button a:hover {
  background: linear-gradient(135deg, #EB8A8F, #EB8A8F);
  box-shadow: 0 0 15px rgba(0,200,83,0.7);
}

/* --- Icono dentro de li con animación --- */
.pricing-item-regular ul li i,
.pricing-item-pro ul li i {
  color: #fff;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pricing-item-regular ul li:hover i,
.pricing-item-pro ul li:hover i {
  transform: scale(1.2);
  opacity: 1;
}

.pricing-tables .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.pricing-tables .col-lg-4 {
  display: flex;
}
.pricing-item-regular,
.pricing-item-pro {
  flex: 1; /* se estira al alto máximo */
}
/* Plan Premium resaltado */
.pricing-tables .col-lg-4:nth-child(2) .pricing-item-pro {
  box-shadow: 0px 0px 30px rgba(235, 138, 143, 0.8);
  transform: scale(1.05); /* un poco más grande para destacar */
  z-index: 2; /* que quede por encima */
}
.pricing-tables .col-lg-4:nth-child(2) .pricing-item-pro:hover {
  box-shadow: 0px 0px 40px rgba(235, 138, 143, 1);
  transform: scale(1.08);
}

.saas-pricing .section-heading {
  margin-bottom: 48px;
}

.saas-pricing .section-heading p {
  color: #616161;
  font-size: 17px;
  line-height: 1.7;
  max-width: 680px;
  margin: 16px auto 0;
}

.saas-pricing-card {
  width: 100%;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 36, 31, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.saas-pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 138, 143, 0.45);
  box-shadow: 0 24px 55px rgba(22, 36, 31, 0.14);
}

.saas-pricing-card.is-featured {
  border: 2px solid #eb8a8f;
  box-shadow: 0 24px 60px rgba(235, 138, 143, 0.25);
}

.saas-pricing-card .card-body {
  padding: 34px 28px 28px;
}

.saas-pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 16px;
  background: #eb8a8f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 8px;
}

.saas-pricing-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 48, 28, 0.08);
  color: #00301c;
  font-size: 24px;
  margin-bottom: 22px;
}

.saas-pricing-card.is-featured .saas-pricing-icon {
  background: rgba(235, 138, 143, 0.14);
  color: #d96f76;
}

.saas-pricing-title {
  color: #00301c;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.saas-pricing-description {
  color: #636363;
  font-size: 15px;
  line-height: 1.6;
  min-height: 72px;
  margin-bottom: 24px;
}

.saas-pricing-price {
  border-top: 1px solid rgba(0, 48, 28, 0.1);
  border-bottom: 1px solid rgba(0, 48, 28, 0.1);
  padding: 18px 0;
  margin-bottom: 24px;
}

.saas-pricing-price span {
  display: block;
  color: #111;
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
}

.saas-pricing-price small {
  display: block;
  color: #7a7a7a;
  font-size: 14px;
  margin-top: 8px;
}

.saas-pricing-features {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.saas-pricing-features li {
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}

.saas-pricing-features i {
  color: #7dbe8a;
  font-size: 16px;
  line-height: 1.45;
}

.saas-pricing-cta {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #00301c;
  color: #00301c;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.saas-pricing-cta:hover {
  background: #00301c;
  border-color: #00301c;
  color: #fff;
}

.saas-pricing-cta.is-primary {
  background: #00301c;
  border-color: #00301c;
  color: #fff;
}

.saas-pricing-cta.is-primary:hover {
  background: #eb8a8f;
  border-color: #eb8a8f;
  color: #fff;
}

@media (max-width: 767px) {
  .saas-pricing-card .card-body {
    padding: 30px 22px 24px;
  }

  .saas-pricing-description {
    min-height: auto;
  }

  .saas-pricing-price span {
    font-size: 32px;
  }
}


/* 
---------------------------------------------
Free Quote
--------------------------------------------- 
*/

.free-quote {
  background-image: url(/images/quote-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 120px 0px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 130px;
}

.free-quote .section-heading {
  margin-bottom: 60px;
}

.free-quote .section-heading h6,
.free-quote .section-heading h4 {
  color: #fff;
}

.free-quote .section-heading .line-dec {
  margin: 0 auto;
  background-color: ;
}

.free-quote form {
  background-color: #fff;
  display: inline-block;
  width: 100%;
  min-height: 80px;
  border-radius: 40px;
  position: relative;
  z-index: 1;
}

.free-quote form input {
  width: 100%;
  margin-top: 20px;
  margin-left: 30px;
  color: #afafaf;
  font-weight: 400;
  font-size: 15px;
  height: 40px;
  background-color: transparent;
  border-bottom: 1px solid #eee;
  border-top: none;
  border-left: none;
  border-right: none;
  position: relative;
  z-index: 2;
  outline: none;
}

.free-quote form button {
  width: 100%;
  height: 80px;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  outline: none;
  border: none;
  margin-left: 30px;
  background-color: #726ae3;
  font-size: 15px;
  color: #fff;
}


/* 
---------------------------------------------
Footer Style
--------------------------------------------- 
*/

footer {
  background: 
  linear-gradient(rgba(253, 199, 208,0.6), rgba(253, 199, 208,0.1)), /* capa oscura encima */
  url("/images/footer-bg.png");  
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 130px;
  padding-top: 300px;
  padding-bottom: 60px;
}

footer .section-heading {
  margin-bottom: 45px;
}

footer .section-heading h4 {
  line-height: 45px;
  color: #fff;
  margin-left: 13%;
  margin-right: 13%;
  text-align: center;
}

footer #search {
  margin-bottom: 80px;
}

footer #search input::placeholder {
  color: #fff;
}

footer #search input {
  font-size: 15px;
  color: #fff;
  outline: none;
  height: 46px;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #fff;
  width: 100%;
}

footer #search button {
  height: 46px;
  border-radius: 23px;
  border: 1px solid #fff;
  background-color: transparent;
  color: #fff;
  width: 100%;
  transition: all .5s;
}

footer #search button:hover {
  background-color: #fff;
  color: #00301C;
}

.footer-widget .logo img {
  max-width: 96px;
  margin-bottom: 30px;
}

.footer-widget h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 30px;
}

.footer-widget p {
  margin-bottom: 15px;
}

.footer-widget p,
.footer-widget p a {
  color: #fff;
}

.footer-widget ul {
  display: inline;
  max-width: 40%;
  float: left;
  margin-right: 10%;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget ul li:last-child {
  margin-bottom: 0px;
}

.footer-widget ul li a {
  font-size: 15px;
  color: #fff;
  transition: all .3s;;
}

.footer-widget a:hover {
  opacity: 0.75;
}

footer .copyright-text p {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 0px;
  color: #fff;
}

footer p a {
  color: #fff;
  transition: all .5s;
}

footer p a:hover {
  opacity: 0.75;
  color: #fff;
}


/*
---------------------------------------------
PopUp
---------------------------------------------
*/

#lean_overlay {
  position: fixed;
  z-index: 100;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background: #000;
  display: none;
}

.popupContainer {
  position: absolute;
  width: 330px;
  height: auto;
  left: 45%;
  top: 60px;
  background: #FFF;
}

.btn {
  padding: 10px 20px;
  background: #00301C;
  color: #fff;
  transition: all .3s;
}

.btn_red {
  background: #00301C;
  color: #FFF;
}

.btn:hover {
  background: #E4E4E2;
}

.btn_red:hover {
  color: #2a2a2a;
  background: #E4E4E2;
}

a.btn {
  color: #fff;
  text-align: center;
  text-decoration: none;
}

a.btn_red {
  color: #FFF;
}

.one_half {
  width: 50%;
  display: block;
  float: left;
}

.one_half.last {
  width: 45%;
  margin-left: 5%;
}
/* Popup Styles*/

.popupHeader {
  font-size: 16px;
  text-transform: uppercase;
}

.popupHeader {
  background: #F4F4F2;
  position: relative;
  padding: 10px 20px;
  border-bottom: 1px solid #DDD;
  font-weight: bold;
}

.popupHeader .modal_close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px 15px;
  background: #00301C;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
}

.popupBody {
  padding: 20px;
}

.social_login .social_box {
  display: block;
  clear: both;
  padding: 10px;
  margin-bottom: 10px;
  background: #F4F4F2;
  overflow: hidden;
}

.social_login .icon {
  display: inline-block;
  
  padding: 5px 10px;
  margin-right: 10px;
  float: left;
  color: #FFF;
  font-size: 16px;
  text-align: center;
}

.social_login .fb .icon {
  background: #3B5998;
}

.social_login .google .icon {
  background: #DD4B39;
}

.social_login .icon_title {
  display: block;
  padding: 5px 0;
  float: left;
  font-weight: bold;
  font-size: 16px;
  color: #777;
}

.social_login .social_box:hover {
  background: #E4E4E2;
}

.centeredText {
  color: #afafaf;
  text-align: center;
  margin: 20px 0;
  clear: both;
  overflow: hidden;
  text-transform: capitalize;
}

.user_login label {
  color: #afafaf;
}

.action_btns {
  clear: both;
  overflow: hidden;
}

.action_btns a {
  display: block;
}
/* User Login Form */

.user_login {
  display: none;
}

.user_login label {
  display: block;
  margin-bottom: 5px;
}

.user_login input[type="text"],
.user_login input[type="email"],
.user_login input[type="password"] {
  display: block;
  width: 90%;
  padding: 10px;
  border: 1px solid #DDD;
  color: #666;
}

.user_login input[type="checkbox"] {
  float: left;
  margin-right: 10px;
  width: 22px;
  height: 22px;
}

.user_login input[type="checkbox"]+label {
  float: left;
}

.user_login .checkbox {
  margin-bottom: 10px;
  clear: both;
  overflow: hidden;
}

.forgot_password {
  display: block;
  margin: 20px 0 10px;
  clear: both;
  overflow: hidden;
  text-decoration: none;
  color: #00301C;
  transition: all .3s;
}
/* User Register Form */

.user_register {
  display: none;
}

.user_register label {
  color: #afafaf;
  display: block;
  margin-bottom: 5px;
}

.user_register input[type="text"],
.user_register input[type="email"],
.user_register input[type="password"] {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid #DDD;
  color: #666;
}

.user_register input[type="checkbox"] {
  width: 22px;
  height: 22px;
  float: left;
  margin-right: 8px;
}

.user_register input[type="checkbox"]+label {
  float: left;
  color: #afafaf;
}

.user_register .checkbox {
  margin-bottom: 10px;
  clear: both;
  overflow: hidden;
}



/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/



@media (max-width: 1200px) {
  .header-area .main-nav .logo h4 {
    font-size: 24px;
  }
  .header-area .main-nav .logo h4 img {
    max-width: 25px;
    margin-left: 0px;
  }
  .header-area .main-nav .nav li:last-child {
    padding-left: 20px;
  }
  
  .main-banner .left-content h2 {
    z-index: 2;
    position: relative;
    font-weight: 700;
    line-height: 70px;
    font-size: 50px;
    margin-bottom: 20px;
  }

  .main-banner .left-content p {
    margin-bottom: 45px;
  }
}

@media (max-width: 992px) {
  .header-area {
    background-color: #fff;
  }
  .main-banner:after {
    display: none;
  } 
  .main-banner .left-content h2 {
    color: #2a2a2a;
    margin-right: 0;
  }
  .main-banner .left-content p {
    margin-right: 0;
  }
  .main-banner .left-content .white-button a {
    background-color: #EB8A8F;
    color: #fff !important;
  }
  form#contact {
    overflow: hidden;
  }
  .header-area .main-nav .logo h4 {
    font-size: 20px;
  }
  .main-banner .left-content {
    margin-right: 0px;
  }
  .main-banner {
    text-align: center;
    padding: 226px 0px 30px 0px;
  }
  .main-banner:before {
    display: none;
  }
  .main-banner .right-image {
    margin: 30px auto 0px auto;
    text-align: center;
  }
  .features-item {
    margin-bottom: 45px;
  }
  .last-features-item,
  .last-skill-item {
    margin-bottom: 0px !important;
  }
  .skill-item {
    margin-bottom: 30px;
  }
  .about-left-image img {
    margin-right: 0px;
    margin-bottom: 45px;;
  }
  .services .naccs .menu div {
    font-size: 15px;
    font-weight: 500;
  }
  .service-item {
    text-align: center;
    margin-bottom: 30px;
  }
  .about-us .box-item {
    text-align: center;
  }
  .about-us:after {
    display: none;
  }
  .about-us .gradient-button,
  .about-us span {
    text-align: center;
    display: block;
  }
  .about-us .right-image {
    margin-top: 30px;
  }
  .service-item .icon {
    margin: 0 auto 30px auto;
  }
  .about-us .section-heading {
    text-align: center;
  }
  .about-us .left-image {
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 45px;
  }
  .blog-posts {
    margin-left: 0px;
    margin-top: 30px;
  }
  .post-item {
    margin-bottom: 70px;
  }
  .pricing-item-regular {
    margin-bottom: 30px;
  }
  .our-portfolio .owl-nav {
    display: none !important;
  }
  .contact-info {
    margin-top: 60px;
  }
  form#contact {
    padding: 45px;
  }
}

@media (max-width: 767px) {
  .the-clients .naccs .menu div {
    text-align: center;
  }
  footer .section-heading h4 {
    color: #2a2a2a;
  }
  footer #search {
    margin-bottom: 45px;
  }
  footer {
    padding-top: 0px;
    text-align: center;
  }
  .footer-widget ul {
    display: block;
    width: 100%;
    float: none;
    text-align: center;
    margin: 0 auto;
  }
  .footer-widget h4 {
    margin-top: 45px;
    margin-bottom: 20px;
  }
  footer #search input {
    border: 1px solid #eee;
    color: #afafaf;
    background-color: #fff;
    border-radius: 23px;
    margin-bottom: 15px;
    padding: 0px 30px;
  }
  footer #search button {
    background-color: #fff;
    color: #00301C;
  }
  footer #search input::placeholder { 
    color: #2a2a2a;
  }
  .header-area .main-nav .logo h4 {
    font-size: 30px;
  }
  .header-area .main-nav .logo h4 img {
    max-width: 30px;
    margin-left: 5px;
  }
  .main-banner .info-stat {
    margin-bottom: 15px;
  }
  .menu .thumb span.date {
    margin-bottom: -20px;
    display: block;
  }
  .service-item {
    text-align: center;
    padding: 30px;
  }
  .menu .thumb span.category {
    display: none;
  }
  .about-us .right-image {
    margin-top: 30px;
  }
  .service-item .icon {
    float: none;
    margin-right: 0px;
    margin-bottom: 15px;
  }
  .service-item .right-content {
    display: inline-block;
  }
  .services .naccs .menu div .thumb {
    padding: 5px;
  }
  .services .icon img {
    margin: 0px;
  }
  .the-clients .nacc .thumb .down-content .right-content {
    margin-left: 0px;
    margin-top: 15px;
  }
  .services ul.nacc li.active {
    padding: 45px;
  }
  .services .naccs .menu div  {
    font-size: 0px;
  }
  .the-clients .nacc .thumb .down-content {
    text-align: center;
  }
  .services ul.nacc li .right-image img {
    float: none;
  }
  .our-portfolio .section-heading,
  .about-us .section-heading,
  .about-us .about-item,
  .about-us p,
  .about-us .main-green-button {
    text-align: center;
  }
  .our-portfolio .section-heading .line-dec {
    margin: 0 auto;
  }
  .our-services .section-heading {
    margin-left: 15px;
    margin-right: 15px;
  }
  .free-quote form input {
    margin-left: 0px;
    padding: 0px 30px;
  }
  .free-quote form button {
    margin-left: 0px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 0px;
  }
  .blog-posts {
    margin-left: 0px;
    margin-top: 30px;
  }
  .post-item {
    margin-bottom: 30px;
  }
  .post-item .thumb img {
    max-width: 140px;
  }
  .post-item .right-content p {
    display: none;
  }
  .about-us .about-item {
    margin-top: 15px;
  }
  form#contact {
    padding: 30px;
  }
}

/*FOOTER*/
:root{
  --brand-green:#00301C;
}
.text-warning-gt{
  color: #f38484;
}
/* Fondo, esquinas redondeadas grandes y separación visual */
#newsletter {
  background: 
  linear-gradient(rgba(0, 21, 12, 0.62), rgba(0, 21, 12, 0.72)), /* capa oscura */
  url('/images/bgh.png') ,
  var(--brand-green);

  position: relative;
  overflow: hidden;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  margin-top: 64px;
  margin-bottom: 0;
  padding-bottom: 48px !important;
}

body:has(#newsletter) {
  background:
    linear-gradient(rgba(0, 21, 12, 0.62), rgba(0, 21, 12, 0.72)),
    url('/images/bgh.png'),
    var(--brand-green);
}

/* Premium editor welcome modal */
.editor-event-date-error {
  width: 100%;
  margin-top: 5px;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.editor-welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.editor-welcome-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.editor-welcome-modal.is-closing {
  visibility: visible;
}

.editor-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 12, 0.78);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.editor-welcome-dialog {
  position: relative;
  isolation: isolate;
  width: min(100%, 610px);
  overflow: hidden;
  padding: 54px 58px 48px;
  border: 1px solid transparent;
  border-radius: 28px;
  color: #f7faf8;
  background:
    linear-gradient(145deg, rgba(17, 24, 32, 0.98), rgba(8, 12, 17, 0.99)) padding-box,
    linear-gradient(105deg, rgba(0, 143, 57, 0.78), rgba(255, 255, 255, 0.12) 49%, rgba(255, 79, 163, 0.8)) border-box;
  box-shadow:
    -26px 12px 76px rgba(0, 143, 57, 0.32),
    26px 12px 76px rgba(255, 79, 163, 0.28),
    0 36px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-align: center;
  outline: none;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transition: opacity 280ms ease, transform 420ms cubic-bezier(0.2, 0.85, 0.28, 1.16);
}

.editor-welcome-modal.is-visible .editor-welcome-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.editor-welcome-glow {
  position: absolute;
  z-index: -2;
  inset: -42px;
  background: linear-gradient(105deg, rgba(0, 143, 57, 0.55), transparent 46%, rgba(255, 79, 163, 0.52));
  filter: blur(34px);
  opacity: 0.88;
  pointer-events: none;
}

.editor-welcome-dialog::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 8% 38%, rgba(0, 143, 57, 0.14), transparent 36%),
    radial-gradient(circle at 92% 34%, rgba(255, 79, 163, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 46%);
  pointer-events: none;
}

.editor-welcome-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.editor-welcome-close:hover,
.editor-welcome-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  transform: rotate(4deg) scale(1.05);
  outline: 2px solid rgba(255, 79, 163, 0.38);
  outline-offset: 2px;
}

.editor-welcome-icon {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #008f39, #28d875 38%, #ff4fa3 72%, #008f39);
  box-shadow:
    -12px 4px 34px rgba(0, 143, 57, 0.52),
    12px 4px 34px rgba(255, 79, 163, 0.46);
}

.editor-welcome-icon::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #0b0f14;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.06);
}

.editor-welcome-icon span {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 143, 57, 0.24), rgba(255, 79, 163, 0.22));
}

.editor-welcome-icon i {
  font-size: 29px;
  color: #fff;
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.22));
}

.editor-welcome-kicker {
  display: block;
  margin-bottom: 12px;
  color: #8fa29a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.editor-welcome-dialog h2 {
  max-width: 500px;
  margin: 0 auto;
  color: #fff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.editor-welcome-dialog h2 span {
  color: transparent;
  background: linear-gradient(100deg, #18bd61 8%, #58e290 44%, #ff4fa3 94%);
  -webkit-background-clip: text;
  background-clip: text;
}

.editor-welcome-dialog p {
  max-width: 470px;
  margin: 20px auto 30px;
  color: #aebbb6;
  font-size: 16px;
  line-height: 1.65;
}

.editor-welcome-primary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid rgba(102, 255, 162, 0.2);
  border-radius: 16px;
  color: #fff;
  background: #008f39;
  box-shadow: 0 14px 34px rgba(0, 143, 57, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.editor-welcome-primary:hover,
.editor-welcome-primary:focus-visible {
  color: #fff;
  background: #00ad48;
  box-shadow: 0 18px 42px rgba(0, 173, 72, 0.46), 0 0 0 4px rgba(0, 143, 57, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.editor-welcome-sparkles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px currentColor;
  animation: editor-welcome-sparkle 2.4s ease-in-out infinite;
}

.editor-welcome-sparkles i:nth-child(1) { top: 76px; left: 19%; color: #3dde7d; }
.editor-welcome-sparkles i:nth-child(2) { top: 132px; left: 11%; color: #008f39; animation-delay: 0.5s; }
.editor-welcome-sparkles i:nth-child(3) { top: 88px; right: 18%; color: #ff79b8; animation-delay: 0.85s; }
.editor-welcome-sparkles i:nth-child(4) { top: 146px; right: 11%; color: #ff4fa3; animation-delay: 1.25s; }
.editor-welcome-sparkles i:nth-child(5) { top: 48px; right: 32%; color: #fff; animation-delay: 1.65s; }

.is-editor-welcome-open {
  overflow: hidden;
}

@keyframes editor-welcome-sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.65); }
  50% { opacity: 1; transform: scale(1.65); }
}

@media (max-width: 575.98px) {
  .editor-welcome-modal { padding: 16px; }
  .editor-welcome-dialog { padding: 48px 24px 34px; border-radius: 24px; }
  .editor-welcome-icon { width: 88px; height: 88px; margin-bottom: 22px; }
  .editor-welcome-icon span { width: 58px; height: 58px; }
  .editor-welcome-icon i { font-size: 25px; }
  .editor-welcome-dialog p { margin: 16px auto 25px; font-size: 14px; }
  .editor-welcome-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .editor-welcome-modal,
  .editor-welcome-dialog,
  .editor-welcome-close,
  .editor-welcome-primary {
    transition-duration: 1ms !important;
  }

  .editor-welcome-sparkles i {
    animation: none;
  }
}


@media (min-width: 992px){
  #newsletter{
    border-top-left-radius: 350px;
    border-top-right-radius: 350px;
  }
}

/* Flores laterales (coloca tus archivos en estas rutas) */
#newsletter::before,
#newsletter::after{
  display: none;
  content: none;
}
/* Flor izquierda */
#newsletter::before{
  left:-60px;                    /* un poco fuera para que se vea orgánico */
  background-image:url('/images/ft5.png');
  background-position:left bottom;
  width: 100%;
      opacity:0.4;


}
/* Flor derecha */
#newsletter::after{
  right:-100px;
  background-image:url('/images/fte.png');
  background-position:right bottom;
  width: 100%;

}
#newsletter::after{
  right:-40px;
  background-image:url('/images/fte.png');
  background-position:right bottom;
  width: 100%;
    opacity:0.4;

}

/* Input más cómodo en móvil */
.min-w-280{ min-width: 280px; }

/* Afinar contraste de placeholders en el verde */
#newsletter ::placeholder{ color: rgba(255,255,255,.85); }

#newsletter .social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

#newsletter .footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#newsletter .footer-social-icon:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

#newsletter .footer-social-facebook { color: #1877f2; }
#newsletter .footer-social-instagram { color: #e4405f; }
#newsletter .footer-social-whatsapp { color: #25d366; }



/*PARA DESTELLOS Y PARA LA SECCION DE FOTOS*/
.body {
  position: relative;
  min-height: 100vh;
  background: 
  linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
  url('/images/redflor.png') no-repeat 5% 10%,
  url('/images/redflor.png') no-repeat 15% 30%,
  url('/images/redflor.png') no-repeat 25% 50%,
  url('/images/redflor.png') no-repeat 35% 20%,
  url('/images/redflor.png') no-repeat 45% 70%,
  url('/images/redflor.png') no-repeat 55% 40%,
  url('/images/redflor.png') no-repeat 65% 60%,
  url('/images/redflor.png') no-repeat 75% 15%,
  url('/images/redflor.png') no-repeat 85% 85%,
  url('/images/redflor.png') no-repeat 95% 30%,
  url('/images/redflor.png') no-repeat 10% 80%,
  url('/images/redflor.png') no-repeat 20% 90%,
  url('/images/redflor.png') no-repeat 30% 10%,
  url('/images/redflor.png') no-repeat 40% 40%,
  url('/images/redflor.png') no-repeat 50% 20%,
  url('/images/redflor.png') no-repeat 60% 80%,
  url('/images/redflor.png') no-repeat 70% 50%,
  url('/images/redflor.png') no-repeat 80% 30%,
  url('/images/redflor.png') no-repeat 90% 60%;
  
  background-size: 50% auto, 15% auto, 15% auto, 15% auto, 15% auto,
  15% auto, 15% auto, 15% auto, 15% auto, 15% auto,
  15% auto, 15% auto, 15% auto, 15% auto, 15% auto,
  15% auto, 15% auto, 15% auto, 15% auto, 15% auto;
}

.swiper {
  width: 100%;
  padding-top: 3.125rem;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background: #fff;
}

.swiper-pagination {
  bottom: 1.25rem !important;
}

.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}

.swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  padding: 0 0 0 1.563rem;
  text-transform: uppercase;
}

.swiper-slide p {
  color: #dadada;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: 0 1.563rem;
  line-height: 1.6;
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper-slide a {
  margin: 1.25rem 1.563rem 3.438rem 1.563rem;
  padding: 0.438em 1.875rem;
  font-size: 0.9rem;
}

.swiper-slide a:hover {
  color: #005baa;
}

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-slide--one {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/images/imgA1b.png") no-repeat 50% 50%/cover;
}

.swiper-slide--two {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/images/imgA2b.png") no-repeat 50% 50%/cover;
}

.swiper-slide--three {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/images/imgA3b.png") no-repeat 50% 50%/cover;
}

.swiper-slide--four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/images/imgA4b.png") no-repeat 50% 50%/cover;
}

.swiper-slide--five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/images/imgA5b.png") no-repeat 50% 50%/cover;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

@media screen and (min-width: 48rem) {
  main {
    display: flex;
    align-items: center;
  }

  .bg,
  .bg2 {
    opacity: 0.1;
  }
}
@media screen and (min-width: 93.75rem) {
  .swiper {
    width: 85%;
  }
}
.bg, .bg2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;  /* ajusta a tu gusto */
  opacity: 0.1;
  z-index: -1;   /* se van detrás */
}
.col-lg-6.swiper-col {
  position: relative;
}



/*HISTORIAS INSTA*/
.fw-semibold {
  background: #fff; /* fondo blanco */
  color: #333; /* texto gris oscuro para contraste */
  padding: 12px 24px; /* espacio interno elegante */
  border-radius: 50px; /* esquinas totalmente redondeadas */
  font-weight: 600;

  /* Estilo profesional extra */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* sombra sutil */
  transition: all 0.3s ease;
  z-index: 9999;
}

.fw-semibold:hover {
  background: #EB8A8F; /* color temático al pasar el mouse */
  color: #fff; /* texto blanco */
  box-shadow: 0 6px 18px rgba(235, 138, 143, 0.4);
}




/*CONTACTANOS MODAL*/
/* FONDO DEL MODAL */
/* FONDO DEL MODAL */
/* FONDO DEL MODAL */
.contact-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;

  /* Oculto por defecto */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Cuando está activo */
.contact-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* CONTENIDO */
.contact-content {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;

  /* Animación entrada */
  transform: translateY(-50px);
  opacity: 0;
  transition: all 0.5s ease;
}

/* Activo (entra con fade + slide) */
.contact-modal.active .contact-content {
  transform: translateY(0);
  opacity: 1;
}

/* BOTÓN CERRAR */
.close-contact {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}
.close-contact:hover {
  color: #e74c3c;
  transform: rotate(90deg);
}

/* TITULOS */
.contact-title {
  margin-bottom: 10px;
  color: #DE5C7C;
  font-weight: bold;
}

.contact-subtitle {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

/* FORMULARIO */
.form-group {
  text-align: left;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #DE5C7C;
  box-shadow: 0 0 8px rgba(222,92,124,0.3);
}

/* BOTÓN ENVIAR */
.btn-submit {
  background: linear-gradient(90deg, #DE5C7C, #8BC34A);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  margin-top: 10px;
}
.btn-submit:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* REDES SOCIALES */
.contact-social {
  margin-top: 20px;
}
.contact-social p {
  margin-bottom: 10px;
  color: #333;
}
.contact-social a {
  font-size: 24px;
  margin: 0 10px;
  color: #DE5C7C;
  transition: 0.3s;
}
.contact-social a:hover {
  color: #8BC34A;
  transform: scale(1.2);
}


/* BLOEQUE DE HISTORIAS*/
/* Botón de cerrar (X) */

.fw-semibold{
  cursor: pointer;
}
.story-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10000;

  /* Efectos base */
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 10px rgba(255,255,255,0.7), 0 0 20px rgba(255,0,150,0.7);
}

/* Hover: se hace más grande y brilla */
.story-close:hover {
  transform: scale(1.3) rotate(10deg);
  color: #ff0080;
  text-shadow: 0 0 15px #ff0080, 0 0 25px #ff00ff, 0 0 40px #ff0080;
}

.bg-invitacioneshistori {
  position: relative;
  background-color: #f2f2f2; /* gris claro */
  padding: 60px 20px;
  overflow: hidden;
  z-index: 0; 
}


.bg-invitacioneshistori2 {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.4)),
    url('/images/klipartz.com.png') no-repeat top left,
    url('/images/klipartz.com.png') no-repeat top right,
    url('/images/klipartz.com.png') no-repeat bottom right;

  background-size: auto, 180px, 150px, 200px; 
  /* auto = gradiente, 180px = top left, 150px = top right, 200px = bottom right */
  
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  padding-top: 20px !important;
  padding-bottom: 15px !important;
}



/* Imagen decorativa de flor */
.bg-invitacioneshistori::before,
.bg-invitacioneshistori::after,
.bg-invitacioneshistori .flor1,
.bg-invitacioneshistori .flor2,
.bg-invitacioneshistori .flor3,
.bg-invitacioneshistori .flor4,
.bg-invitacioneshistori .flor5,
.bg-invitacioneshistori .flor6,
.bg-invitacioneshistori .flor7,
.bg-invitacioneshistori .flor8 {
  content: "";
  position: absolute;
  background-image: url("/images/klipartz.com.png"); /* tu flor en PNG */
  background-size: contain;
  background-repeat: no-repeat;
  width: 320px;
  height: 800px;
  opacity: 0.4;
  z-index: 0;
}

/* Posiciones distintas */
.bg-invitacioneshistori::before {
  top: 5%;
  right: 92%;
}
.bg-invitacioneshistori::after {
  top: 10%;
  right: -5%;
  transform: rotate(180deg);
}

.bg-invitacioneshistori .flor1 {
  top: 10%;
  left: 5%;
}
.bg-invitacioneshistori .flor2 {
  bottom: 20%;
  left: 15%;
}
.bg-invitacioneshistori .flor3 {
  bottom: 5%;
  right: 25%;
}
.bg-invitacioneshistori .flor4 {
  top: 50%;
  left: 80%;
}
.bg-invitacioneshistori .flor5 {
  top: 15%;
  right: 20%;
}
.bg-invitacioneshistori .flor6 {
  bottom: 35%;
  right: 5%;
}
.bg-invitacioneshistori .flor7 {
  top: 60%;
  left: 10%;
}
.bg-invitacioneshistori .flor8 {
  bottom: 10%;
  left: 50%;
}


.story-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0.4; /* la imagen rectangular más tenue */
}

.story-img2 {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0.8; /* la imagen rectangular más tenue */
}


.story-img:hover {
  transform: scale(1.05);
  opacity: 0.8; /* al pasar el mouse, más visible */
}

.inv-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* Overlay oscuro degradado para que se vea pro */
.inv-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* === BORDE CIRCULAR DEGRADADO === */
.circle-avatar{
  --size: 120px;          /* tamaño del círculo */
  --ring: 4px;            /* grosor del borde */
  --c1: #FF0080;          /* rosa */
  --c2: #FF9897;          /* verde oscuro */

  position: absolute;
  width: var(--size);
  height: var(--size);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;       /* recorta la imagen circular */
  cursor: pointer;

}

/* anillo degradado encima de la imagen */
.circle-avatar::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(15deg, var(--c1), var(--c2));
  /* máscara: deja visible solo el borde (anillo) */
  -webkit-mask:
  radial-gradient(farthest-side, transparent calc(100% - var(--ring)), #000 0);
  mask:
  radial-gradient(farthest-side, transparent calc(100% - var(--ring)), #000 0);
  z-index: 2;
  pointer-events: none;
}

.circle-avatar img{
  position: relative;     /* queda debajo del anillo */
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}




.inv-image {
  position: relative;
  z-index: 9999;
}

.inv-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;

}

.inv-image img:hover {
  transform: scale(1.03);
}

.story small {
  font-size: 0.9rem;
  color: #444;
}

/* Fondo negro tipo modal */
/* Estado inicial oculto */
.story-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Cuando se abre */
.story-modal.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* Contenido */
.story-content {
  display: flex;
  width: 90%;
  height: 90%;
  gap: 20px;
}

/* Avatar izquierda */
/* Avatar/logo arriba a la izquierda */
.story-left {
  position: absolute;
  top: 15px;
  left: 15px;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
}

.avatar-modal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white; /* resalta */
}

/* Barra de progreso más corta y centrada */
.progress-container {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  width: 60%;   /* ahora más corta */
  max-width: 500px;
}

@media (max-width: 740px) {
  .progress-container {
   position: absolute;
   top: 10px;
 }
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: white;
  transition: width linear;
}

/* Contenedor central */
.story-center {
  flex: 3;
  position: relative;
  display: flex;
  flex-direction: column; /* apilar en columna */
  justify-content: flex-start; /* empezar desde arriba */
  align-items: center;
  gap: 150px; /* espacio entre barras e imagen */
  margin-top: 50px; /* espacio para avatar */
}

/* Imagen principal */
.story-main-img {
  max-height: 85vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Cuando la pantalla sea menor o igual a 740px */
@media (max-width: 740px) {
  .story-main-img {
    position: relative;
    top: 100px;
  }
}





.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffff;
  transition: width linear;
}
.story-left {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre logo y texto */
  z-index: 10000;
}

/* Avatar/logo */
.avatar-modal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white; /* pequeño borde */
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

/* Texto HISTORY */
.story-left h1 {
  font-size: 40px;
  color: white;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.inv-card h3 {
  display: inline-block;    /* Para que se comporte como caja */
  min-width: 150px;         /* Todos tendrán al menos este ancho */
  text-align: center;       /* Texto e imágenes centrados */
  font-size: 1.2rem;        /* Tamaño uniforme de letra */
  white-space: nowrap;      /* Evita que salte de línea */
  z-index: 9999;
}
.inv-card  {
  z-index: 9999;
}


/*MODIFICACION DE MENU*/
/* Logo normal (pantallas grandes) */
.class-img-logo {
  width: 20%;
}

/* Cuando la pantalla es más chica que 1200px */
@media (max-width: 1200px) {
  .contenedor {
    max-width: 1440px !important;
  }
}

/* Cuando la pantalla es más chica que 992px (tablets y móviles) */
@media (max-width: 1088px) {
  .contenedor {
    max-width: 1800px !important;
  }
  .class-img-logo {
    width: 15%;
    position: relative;
  }

  .header-area .main-nav .nav li a{
    font-size: 12px !important;
  }
}





/* ====== Ajuste para pantallas pequeñas ====== */
@media (max-width: 968px) {
  .header-area .logo {
    width: 100%;
    justify-content: center; /* centrado */
  }
  .class-img-logo {
    width: 10%;
    position: relative;
  }

  .header-area .nav {
    order: 1; /* menú pasa arriba */
    width: 100%;
    justify-content: center; /* menú centrado */
  }

  .header-area.header-sticky {
   min-height: 120px; 
 }
 .background-header .main-nav .logo {
  line-height: 100px;
}
}


@media (max-width: 879px) {
  .class-img-logo {
    width: 10%;
    position: relative;
  }

}

@media (max-width: 766px) {
  .header-area .logo {
    display: flex;
    justify-content: center;  /* centra horizontal */
    align-items: center;      /* centra vertical */
    width: 100%;              /* ocupa todo el ancho */
    margin: 0 auto;           /* evita desplazamiento */
    text-align: center;
  }

  .class-img-logo {
    width: 30%;   /* un poco más grande en móviles */
    max-width: 140px; /* límite para que no se deforme */
    margin-bottom: 200px;
    position: relative;
  }
}




/* ===== Menú móvil estilizado ===== */
@media (max-width: 768px) {
  .header-area .main-nav .nav {
    display: none; /* oculto por defecto */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: #ffffff; /* fondo blanco */
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    padding-top: 100px;
    z-index: 999;
    transition: all 0.3s ease-in-out;
  }

  .header-area .main-nav .nav.active {
    display: flex; /* se muestra cuando se abre */
  }

  .header-area .main-nav .nav li {
    margin: 15px 0;
    text-align: center;
  }

  .header-area .main-nav .nav li a {
    font-size: 18px;
    font-weight: 600;
    color: #333 !important;
    padding: 12px 20px;
    border-radius: 6px;
    transition: 0.3s;
  }

  .header-area .main-nav .nav li a:hover {
    background: linear-gradient(90deg, #ff7eb3, #ff758c);
    color: #fff !important;
  }

  .header-area .main-nav .nav li.nav-primary-cta a {
    background: #00301C;
    color: #fff !important;
    border-color: #00301C;
  }

  /* Botón hamburguesa */
  .menu-trigger {
    display: block;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
  }

  /* Centrado del logo arriba */
  .header-area .logo {
    justify-content: center;
  }
}
/* ===== Sidebar Menu ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px; /* oculto por defecto */
  width: 260px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.2);
  transition: 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  left: 0; /* aparece */
}

/* Header con logo y nombre */
.sidebar-header {
  text-align: center;
  padding: 30px 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-logo {
  width: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.sidebar-header p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
}

/* Navegación */
.sidebar-nav {
  list-style: none;
  padding: 20px;
  margin: 0;
  flex-grow: 1;
}

.sidebar-nav li {
  margin: 15px 0;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.sidebar-nav li a i {
  margin-right: 12px;
  font-size: 18px;
  color: #ff758c; /* color iconos */
}

.sidebar-nav li a:hover {
  background: #f7f7f7;
}

.sidebar-nav li.sidebar-primary-cta a {
  background: #00301C;
  color: #fff;
  font-weight: 800;
  justify-content: center;
}

.sidebar-nav li.sidebar-primary-cta a i {
  color: #fff;
}

.sidebar-nav li.sidebar-primary-cta a:hover {
  background: #EB8A8F;
  color: #fff;
}

.free-invitation-builder {
  min-height: 100vh;
  padding-top: 150px !important;
}

.free-invitation-hero {
  margin-bottom: 28px;
}

.free-builder-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.16);
  color: #00301C;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.free-invitation-builder h1 {
  color: #00301C;
  font-size: 42px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.free-invitation-builder p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

.free-builder-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #345448;
  background: #fff;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(22, 36, 31, 0.08);
}

.free-builder-note i {
  color: #7dbe8a;
  font-size: 20px;
}

.free-builder-summary {
  background: #fff;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(22, 36, 31, 0.1);
}

.summary-item {
  height: 100%;
  min-height: 110px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 48, 28, 0.08), rgba(235, 138, 143, 0.12));
  padding: 18px;
}

.summary-item strong {
  display: block;
  color: #EB8A8F;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.summary-item span {
  color: #00301C;
  font-weight: 800;
}

.free-builder-alert {
  border: 0;
  border-radius: 8px;
  background: rgba(125, 190, 138, 0.16);
  color: #00301C;
  font-weight: 600;
}

.template-choice-card {
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(22, 36, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.template-choice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 138, 143, 0.45);
  box-shadow: 0 24px 55px rgba(22, 36, 31, 0.14);
}

.template-phone-preview {
  padding: 18px 18px 6px;
  background:
    radial-gradient(circle at top left, rgba(235, 138, 143, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(125, 190, 138, 0.18), transparent 36%),
    #fff;
}

.template-phone-frame {
  width: min(176px, 100%);
  aspect-ratio: 9 / 19.2;
  margin: 0 auto;
  padding: 5px;
  position: relative;
  border: 2px solid #2f2f2f;
  border-radius: 28px;
  background: linear-gradient(135deg, #171717, #3a3a3a);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.28) inset,
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.template-phone-frame::before,
.template-phone-frame::after {
  content: "";
  position: absolute;
  width: 2px;
  background: #3a3a3a;
  border-radius: 3px;
}

.template-phone-frame::before {
  height: 34px;
  left: -4px;
  top: 70px;
}

.template-phone-frame::after {
  height: 48px;
  right: -4px;
  top: 108px;
}

.template-phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  z-index: 2;
}

.template-choice-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 23px;
}

.template-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.template-choice-card:hover .template-choice-image img {
  transform: scale(1.04);
}

.template-choice-image.is-blank-template {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(0, 48, 28, 0.08), rgba(235, 138, 143, 0.14)),
    #fff;
}

.blank-template-skeleton {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 48, 28, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.blank-template-line,
.blank-template-photo {
  display: block;
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.16);
}

.blank-template-line {
  height: 12px;
  width: 100%;
}

.blank-template-line.is-title {
  height: 22px;
  width: 78%;
  background: rgba(235, 138, 143, 0.38);
}

.blank-template-line.is-short {
  width: 56%;
}

.blank-template-photo {
  height: 40%;
  min-height: 90px;
  background:
    linear-gradient(135deg, rgba(235, 138, 143, 0.28), rgba(125, 190, 138, 0.28)),
    rgba(0, 48, 28, 0.08);
}

.template-choice-badge {
  position: absolute;
  top: 18px;
  left: 12px;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.template-choice-card .card-body {
  padding: 22px;
}

.template-choice-type {
  color: #EB8A8F;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.template-choice-title {
  color: #00301C;
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 16px;
}

.template-choice-features {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.template-choice-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}

.template-choice-features i {
  color: #7dbe8a;
  font-size: 15px;
}

.template-choice-actions {
  display: grid;
  gap: 10px;
}

.template-choice-actions.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.btn-template-preview,
.btn-template-select {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
  white-space: normal;
  line-height: 1.2;
}

.btn-template-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 48, 28, 0.28);
  color: #00301C !important;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 48, 28, 0.06);
}

.btn-template-preview:hover,
.btn-template-preview:focus,
.btn-template-preview:active {
  border-color: #EB8A8F !important;
  background: rgba(235, 138, 143, 0.12) !important;
  color: #00301C !important;
  box-shadow: none !important;
}

.btn-template-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00301C, #436E60);
  border: 1px solid #00301C;
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(0, 48, 28, 0.22);
  text-transform: none;
}

.btn-template-select:hover {
  background: linear-gradient(135deg, #EB8A8F, #d96f76);
  border-color: #EB8A8F;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(235, 138, 143, 0.28);
}

/* Header actions: login last + differentiated create CTA */
.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.header-area .main-nav .nav li.nav-primary-cta a i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.header-area .main-nav .nav li.nav-primary-cta a:hover,
.background-header .main-nav .nav li.nav-primary-cta a:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

.header-area .main-nav .nav li.nav-login-action a,
.background-header .main-nav .nav li.nav-login-action a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px !important;
  background: #EB8A8F !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 30px rgba(235, 138, 143, 0.28) !important;
}

.header-area .main-nav .nav li.nav-login-action a:hover,
.background-header .main-nav .nav li.nav-login-action a:hover,
.header-area .main-nav .nav li.nav-session-action button:hover,
.background-header .main-nav .nav li.nav-session-action button:hover {
  background: #d96f76 !important;
  transform: translateY(-2px);
}

.sidebar-nav li.sidebar-primary-cta a {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.14), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.9) !important;
  border: 1px solid rgba(242, 200, 109, 0.58);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(0, 48, 28, 0.22);
}

.sidebar-nav li.sidebar-login-action a,
.sidebar-session-action button {
  min-height: 50px;
  border-radius: 10px;
  background: #EB8A8F !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(235, 138, 143, 0.28);
}

/* Crear invitacion: override final para reemplazar rosa por dorado. */
.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
.create-invitation-body .sidebar-nav li.sidebar-login-action a,
.create-invitation-body .sidebar-session-action button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a i,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a i,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button i,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .sidebar-nav li.sidebar-login-action a:hover,
.create-invitation-body .sidebar-session-action button:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

/* Menu global: iguala todas las vistas al encabezado de inicio. */
.header-area,
.background-header {
  background: #00301c !important;
}

.header-area .main-nav .nav li a,
.background-header .main-nav .nav li a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button {
  border-radius: 8px !important;
}

.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.header-area .main-nav .nav li.nav-primary-cta a i,
.background-header .main-nav .nav li.nav-primary-cta a i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.header-area .main-nav .nav li.nav-primary-cta a:hover,
.background-header .main-nav .nav li.nav-primary-cta a:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

.header-area .main-nav .nav li.nav-login-action a,
.background-header .main-nav .nav li.nav-login-action a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button,
.sidebar-nav li.sidebar-login-action a,
.sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.85) !important;
  background: linear-gradient(135deg, #f2c86d, #d69a32) !important;
  color: #3b2a0a !important;
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.28) !important;
}

.header-area .main-nav .nav li.nav-login-action a i,
.background-header .main-nav .nav li.nav-login-action a i,
.header-area .main-nav .nav li.nav-session-action button i,
.background-header .main-nav .nav li.nav-session-action button i {
  color: #3b2a0a !important;
}

.header-area .main-nav .nav li.nav-login-action a:hover,
.background-header .main-nav .nav li.nav-login-action a:hover,
.header-area .main-nav .nav li.nav-session-action button:hover,
.background-header .main-nav .nav li.nav-session-action button:hover,
.sidebar-nav li.sidebar-login-action a:hover,
.sidebar-session-action button:hover {
  border-color: #f8d98c !important;
  background: linear-gradient(135deg, #f6d684, #e0a642) !important;
  color: #2f2108 !important;
  transform: translateY(-2px);
}

/* Crear invitacion: Iniciar Sesion debe ser dorado solido como en inicio. */
body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
body.create-invitation-body .sidebar-nav li.sidebar-login-action a,
body.create-invitation-body .sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.85) !important;
  background: linear-gradient(135deg, #f2c86d, #d69a32) !important;
  color: #3b2a0a !important;
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.28) !important;
}

body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a i,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a i,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button i,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button i {
  background: transparent !important;
  color: #3b2a0a !important;
}

body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a:hover,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a:hover,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button:hover,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button:hover,
body.create-invitation-body .sidebar-nav li.sidebar-login-action a:hover,
body.create-invitation-body .sidebar-session-action button:hover {
  border-color: #f8d98c !important;
  background: linear-gradient(135deg, #f6d684, #e0a642) !important;
  color: #2f2108 !important;
}

/* Crear invitacion: paleta dorada alineada con la pagina de inicio */
.create-invitation-body {
  --create-gold: #c98617;
  --create-gold-soft: #f2c86d;
  --create-gold-dark: #9f650d;
  --create-green: #00301c;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
.create-invitation-body .sidebar-nav li.sidebar-login-action a,
.create-invitation-body .sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.72) !important;
  background: linear-gradient(135deg, var(--create-gold), var(--create-gold-dark)) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(201, 134, 23, 0.28) !important;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .sidebar-nav li.sidebar-login-action a:hover,
.create-invitation-body .sidebar-session-action button:hover {
  background: linear-gradient(135deg, #dca041, var(--create-gold)) !important;
  transform: translateY(-2px);
}

.create-invitation-body .event-flow-page .event-flow-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(242, 200, 109, 0.18), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(201, 134, 23, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 241, 0.96));
}

.create-invitation-body .event-flow-page .event-category-card:hover,
.create-invitation-body .event-flow-page .event-category-card:focus-visible {
  border-color: rgba(201, 134, 23, 0.45);
}

.create-invitation-body .event-flow-page .event-category-card:hover::after,
.create-invitation-body .event-flow-page .event-category-card:focus-visible::after,
.create-invitation-body .event-flow-page .event-category-card.is-active::after {
  color: var(--create-gold);
}

.create-invitation-body .event-flow-page .event-category-card.is-active {
  border-color: rgba(201, 134, 23, 0.58);
  background:
    radial-gradient(circle at 86% 16%, rgba(242, 200, 109, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf8, #fffaf0);
  box-shadow: 0 24px 44px rgba(201, 134, 23, 0.16);
}

.create-invitation-body .event-flow-page .event-category-card.is-active .event-category-icon {
  background: linear-gradient(135deg, var(--create-gold), var(--create-gold-dark));
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.24);
}

.create-invitation-body .event-flow-page .recommended-template-topline > span {
  color: var(--create-gold);
}

.create-invitation-body .event-flow-page .recommended-template-topline strong {
  background: linear-gradient(135deg, var(--create-gold), var(--create-gold-dark));
  box-shadow: 0 7px 15px rgba(201, 134, 23, .25);
}

.create-invitation-body .event-flow-page .recommended-template-button:hover,
.create-invitation-body .event-flow-page .recommended-template-button:focus-visible {
  border-color: var(--create-gold) !important;
  background: var(--create-gold) !important;
}

/* Header typography clarity */
.header-area .main-nav .nav li a,
.background-header .main-nav .nav li a,
.header-area .main-nav .nav li.nav-login-action a,
.background-header .main-nav .nav li.nav-login-action a,
.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button {
  font-family: 'Fira Sans', 'Montserrat', 'Roboto', Arial, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-shadow: none !important;
  filter: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  font-synthesis: none;
}

.header-area .main-nav .nav li a i,
.background-header .main-nav .nav li a i,
.header-area .main-nav .nav li.nav-session-action button i,
.background-header .main-nav .nav li.nav-session-action button i {
  filter: none !important;
  text-shadow: none !important;
  -webkit-font-smoothing: subpixel-antialiased;
}

.btn-template-select.is-loading {
  pointer-events: none;
  background: linear-gradient(135deg, #00301C, #c98617) !important;
  border-color: #00301C !important;
  color: #fff !important;
  transform: none;
}

@media (max-width: 575px) {
  .template-choice-actions.has-preview {
    grid-template-columns: 1fr;
  }
}

.template-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.template-preview-modal.is-open {
  display: flex;
}

.template-preview-dialog {
  width: min(420px, 100%);
  height: min(760px, 92vh);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.template-preview-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.template-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
}

.template-preview-close:hover {
  background: #EB8A8F;
}

@media (max-width: 991px) {
  .free-invitation-builder {
    padding-top: 130px !important;
  }

  .free-invitation-builder h1 {
    font-size: 34px;
  }
}

@media (max-width: 575px) {
  .free-invitation-builder {
    padding-top: 115px !important;
  }

  .free-invitation-builder h1 {
    font-size: 30px;
  }

  .template-preview-modal {
    padding: 14px;
  }
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Botón hamburguesa */
.menu-trigger {
  font-size: 24px;
  cursor: pointer;
  color: #333;
  position: relative;
  z-index: 1100;
}

/* Ocultar el menú viejo en móvil */
@media (max-width: 992px) {
  .main-nav .nav {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .main-nav .nav {
    display: none !important;
  }
}
@media (max-width: 992px) {
  .main-banner {
   
    border-bottom-left-radius: 100PX;
    border-bottom-right-radius: 100PX;
  }


}






/*MODELOS .HTML*/

.bg-cta {
  background: linear-gradient(135deg, #F48484, #F48484);
  color: #ffffff !important;
}
.color-rosa {
  color: #F48484 !important;
}


/* Header sticky inicial */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Header cuando se haga scroll */
.header-scrolled {
    background-color: #ffffff; /* blanco */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Opcional: cambia color de enlaces al hacer scroll */
.header-scrolled .main-nav .nav li a {
    color: #333;
}


/* MODELOS BLADE PAG */



 .story-center {
      flex: 3;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      gap: 10px !important; 
      margin-top: 50px;
    }
    /* Botón rosa */
    .btn-pink {
      display: block;
      margin: 5px auto 10px; /* menos espacio arriba y abajo */
      padding: 12px 20px;
      background: #E16584;
      color: #fff;
      font-size: 1rem;
      font-weight: bold;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(233, 30, 99, 0.4);
    }

    .header-area.is-sticky {
      position: fixed;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      z-index: 9999
    }

    /* Efecto hover */
    .btn-pink:hover {
      background: #D8AD47;
      transform: scale(1.05);
      box-shadow: 0 6px 14px rgba(233, 30, 99, 0.6);
    }

    /* Efecto click */
    .btn-pink:active {
      transform: scale(0.95);
    }

    /* Phone mockup */
    .phone-preview {
      position: relative;
      width: 350px;
      margin: 0 auto; /* quitamos margen superior extra */
    }
    .phone-frame { position: relative; }
    .phone-img { width: 100%; display: block; }
    .phone-screen { position: absolute; top: 1%; left: 9%; width: 82%; height: 97%; border: none; border-radius: 45px; overflow: auto; }

    /* Botón ojo */
    .btn-eye {
      position: absolute;
      top: 12px;
      right: 12px;

      /* Estilo elegante */
      background: linear-gradient(135deg, #ffff, #ffffff);
      border: none;
      color: #436E60;
      font-size: 0.95rem;
      font-weight: 600;
      padding: 8px 14px;
      border-radius: 30px;

      display: flex;
      align-items: center;
      gap: 6px;

      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);

      /* Transiciones suaves */
      transition: all 0.3s ease;
      z-index: 5;
    }

    .btn-eye:hover {
      transform: translateY(-3px) scale(1.05);
      background: linear-gradient(135deg, #436E60, #436E60);
      box-shadow: 0 6px 16px rgba(0,0,0,0.25);
      color: #ffffff;
    }


    /* Modal */

    /* Progress bar */
    .progress-container { height: 5px; width: 100%; background: rgba(255,255,255,0.2); border-radius: 10px; margin-bottom: 10px; }
    .progress-bar span { display: block; width:0%; height:100%; background: #fff; border-radius: 10px; }

    /* Estilos generales ya los tienes, aquí solo añadimos ajustes responsivos */

    /* Para pantallas pequeñas (móviles) */
    
    .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
      color: #fff !important;
    }

    /* Tabs responsivos */
    #pills-tab {
      overflow-x: auto;
      white-space: nowrap;
      flex-wrap: nowrap;
    }

    #pills-tab .nav-item {
      flex: 0 0 auto; /* evita que se achiquen demasiado */
    }

    @media (max-width: 768px) {
      #pills-tab {
        justify-content: flex-start;
        scrollbar-width: thin;
      }
    }

    .dte {
      margin-top: 100px; /* o padding-top */
    }
    .header-area {
      position: fixed;     /* hace que siempre esté fija */
      top: 0;              /* pegada arriba */
      left: 0;
      width: 100%;         /* ocupa todo el ancho */
      z-index: 999;        /* por encima de otros elementos */
      background: #fff;    /* importante para que no quede transparente */
      transition: all 0.3s ease; /* suaviza cambios */
    }
    .nav-pills .nav-link {
      border-radius: 12px;
      padding: 12px 16px;
      transition: all 0.3s ease-in-out;
      color: #111;
    }


    .nav-pills .nav-link.active {
      background: linear-gradient(135deg, #436E60, #436E60);
      color: #fff;
      font-weight: bold;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .tab-pane {
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.4s ease-in-out;
    }

    .tab-pane.show.active {
      opacity: 1;
      transform: translateY(0);
    }
    .nav-pills .nav-link.active {
      position: relative;
    }

    .nav-pills .nav-link.active::before {
      content: "";
      position: absolute;
      left: -8px;
      top: 50%;
      transform: translateY(-50%);
      width: 5px;
      height: 60%;
      background: #56ab2f;
      border-radius: 4px;
    }
    .header-area {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 2; /* solo encima de lo necesario */
      background: #fff; /* para que no sea invisible */
    }
    #invitaciones {
      position: relative;
    }

    /* Por defecto: vertical */
    #pills-tab {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    #pills-tab {
      flex-direction: row;
      flex-wrap: wrap;       /* permite que bajen a segunda fila si no caben */
      justify-content: center;
      gap: 0.75rem;
    }

    #pills-tab .nav-item {
      flex: 1 1 auto;        /* que los botones se acomoden y crezcan parejo */
      text-align: center;
    }

    #pills-tab .nav-link {
      width: 100%;           /* los botones ocupan el ancho del item */
    }
    /* Cuando sea menor o igual a 992px: 3 columnas */
    @media (max-width: 992px) {
      #pills-tab {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
        gap: 0.75rem;
      }

      #pills-tab .nav-item {
        width: 100%;
      }

      #pills-tab .nav-link {
        width: 100%;  /* el botón ocupa todo el ancho de su celda */
        text-align: center;
      }
    }

    .accordion-button:not(.collapsed) {
      color: #00301C;
      background-color: #e7f1ff;
      box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
    }
    .accordion-button {
      color: #00301C;
      background-color: #e7f1ff;
      box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
      z-index:9 !important;
    }

#pills-tab .nav-link {
      position: relative;
    }

    #pills-tab .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0%;
      height: 3px;
      background: #EB8A8F;
      transition: width 0.3s ease;
      border-radius: 3px;
    }

    #pills-tab .nav-link:hover::after {
      width: 100%;
    }
    .tab-pane .row {
      perspective: 1000px; /* Permite efecto 3D */
    }

    .inv-image {
      position: relative;
      overflow: visible; /* Para que el zoom no se corte */
      cursor: pointer;
      transition: transform 0.5s ease;
      transform-style: preserve-3d; /* Mantiene efecto 3D */
    }

    .inv-image img {
      width: 100%;
      border-radius: 8px;
      transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    


    .inv-image:hover .btn-eye {
      opacity: 1;
    }

    #invitaciones {
      min-height: 70vh; /* altura mínima 90% de la pantalla */
      padding-top: 940px;
      padding-bottom: 820px;
    }

     /* Fade-in animación */
    .fade-in {
      animation: fadeInUp 0.4s ease forwards;
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .btn-outline-primary:hover {
      color: #111111 !important;
    }


    /* Fondo Parallax */
  .bg-cta-parallax {
    background-image: url('/images/portada2.png'); /* tu imagen de fondo */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 50vh !important;
    display: flex;
    align-items: center;
  }

  /* Capa oscura encima del fondo */
  .bg-cta-parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35); /* aquí ajustas lo obscuro */
    z-index: 1;
  }

  /* Asegurar que el contenido quede encima */
  .bg-cta-parallax .container {
    position: relative;
    z-index: 2;
  }

  /* Overlay semi-transparente */
  .bg-cta-parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.15); /* ajusta la opacidad */
    z-index: 1;
  }

  /* Caja de texto */
  .cta-box {
    background-color: rgba(244, 132, 132, 0.4); /* rosa transparente */
    max-width: 500px;
    z-index: 2;
    text-align: left;
  }

  /* Texto con sombra */
  .cta-box h2, 
  .cta-box p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }

  /* Responsivo */
  @media (max-width: 768px) {
    .container {
      justify-content: center !important;
    }
    .cta-box {
      max-width: 100%;
      text-align: center;
    }
  }
  .btn {
    padding: 10px 20px;
    background: transparent !important; 
    color: #111111;
    transition: all .3s;
    border: 1px solid #ffffff;  
  }



   /* Efecto 3D hover en imagen */
  .perspective-hover {
    perspective: 1000px;
  }

  .interactive-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
  }

  .perspective-hover:hover .interactive-img {
    transform: scale(1.05) rotateY(5deg) rotateX(3deg);
  }

  /* Overlay de texto centrado */
  .overlay-text {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .perspective-hover:hover .overlay-text {
    opacity: 1;
  }

  /* Hover en botón CTA */
  .btn-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }

   #faq .accordion-button {
    background: #fff;
    transition: all 0.3s ease-in-out;
    font-size: 1.05rem;
  }
  #faq .accordion-button:not(.collapsed) {
    background: #f8f9fa;
    color: #d63384;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);

  }
  #faq .accordion-body {
    background: #fff;
    font-size: 0.95rem;
    color: #436E60;
  }
  .fw-semibold:hover{
    color: #EB8A8F;
  }


.phone-screen {
    border: none;
  background: #fff url('/images/img_cargando.png') center center no-repeat;
  background-size: 50%;
}

.template-choice-card .template-choice-actions a.btn-template-select,
.template-choice-card .template-choice-actions a.btn-template-select:visited {
  background: linear-gradient(135deg, #00301C, #436E60) !important;
  border: 1px solid #00301C !important;
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(0, 48, 28, 0.22) !important;
  opacity: 1 !important;
}

.template-choice-card .template-choice-actions a.btn-template-select:hover,
.template-choice-card .template-choice-actions a.btn-template-select:focus,
.template-choice-card .template-choice-actions a.btn-template-select:active {
  background: linear-gradient(135deg, #EB8A8F, #d96f76) !important;
  border-color: #EB8A8F !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(235, 138, 143, 0.28) !important;
}

.template-choice-card .template-choice-actions a.btn-template-select.is-loading {
  pointer-events: none;
  background: linear-gradient(135deg, #00301C, #c98617) !important;
  border-color: #00301C !important;
  color: #fff !important;
}

.invitation-editor-page {
  min-height: 100vh;
  padding: 140px 0 56px;
  background:
    linear-gradient(135deg, rgba(235, 138, 143, 0.08), rgba(125, 190, 138, 0.1)),
    #f8faf8;
}

.editor-header {
  max-width: 1380px;
  margin: 0 auto 24px;
  padding: 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.editor-kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.16);
  color: #00301C;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.editor-header h1 {
  color: #00301C;
  font-size: 38px;
  line-height: 1.12;
  margin: 12px 0 8px;
}

.editor-header p {
  color: #5b625f;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.editor-back-link {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.editor-workspace {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 18px;
}

.editor-preview-shell,
.editor-panel {
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(22, 36, 31, 0.1);
}

.editor-preview-shell {
  overflow: hidden;
}

.editor-preview-toolbar {
  min-height: 58px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 48, 28, 0.1);
  color: #00301C;
  font-weight: 800;
}

.editor-status {
  color: #EB8A8F;
  font-size: 13px;
  text-transform: uppercase;
}

.basic-invitation-preview {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px;
}

.preview-banner {
  min-height: 360px;
  border-radius: 8px;
  padding: 44px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(0, 48, 28, 0.62), rgba(0, 48, 28, 0.42)),
    linear-gradient(135deg, #00301C, #EB8A8F);
}

.preview-label {
  align-self: center;
  border-radius: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-banner h2 {
  font-size: 42px;
  line-height: 1.1;
  margin: 22px 0 10px;
}

.preview-banner h3 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
}

.preview-banner p {
  max-width: 420px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
}

.preview-section {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #fff;
}

.preview-section h4 {
  color: #00301C;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}

.preview-section p {
  color: #4c5350;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.preview-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preview-detail-grid div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #394440;
  font-weight: 700;
}

.preview-detail-grid i {
  color: #7dbe8a;
}

.preview-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.preview-map-placeholder,
.editor-map-placeholder {
  min-height: 150px;
  border: 2px dashed rgba(0, 48, 28, 0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #607069;
  background: rgba(125, 190, 138, 0.08);
  text-align: center;
  padding: 20px;
}

.preview-map-placeholder i,
.editor-map-placeholder i {
  color: #00301C;
  font-size: 30px;
}

.preview-map-placeholder strong {
  color: #00301C;
  font-size: 18px;
  font-weight: 800;
}

.preview-map-placeholder span {
  color: #4c5350;
  font-weight: 600;
}

.btn-map-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 18px;
  background: #00301C;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.btn-map-link:hover {
  background: #EB8A8F;
  color: #fff !important;
}

.btn-map-link.disabled {
  pointer-events: none;
  opacity: 0.58;
}

.editor-panel {
  padding: 22px;
  position: sticky;
  top: 110px;
}

.editor-panel-header h2 {
  color: #00301C;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.editor-panel-header p {
  color: #65716d;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.editor-accordion .accordion-item {
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.editor-accordion .accordion-button {
  color: #00301C;
  font-weight: 800;
  box-shadow: none;
}

.editor-accordion .accordion-button:not(.collapsed) {
  background: rgba(125, 190, 138, 0.12);
  color: #00301C;
}

.editor-panel .form-label {
  color: #26332f;
  font-weight: 800;
}

.editor-panel .form-control {
  border-radius: 8px;
  border-color: rgba(0, 48, 28, 0.18);
  min-height: 44px;
}

.editor-panel .form-control:focus {
  border-color: #7dbe8a;
  box-shadow: 0 0 0 0.2rem rgba(125, 190, 138, 0.18);
}

.editor-field-help {
  color: #65716d;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 10px;
}

.editor-map-feedback {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(0, 48, 28, 0.06);
  color: #394440;
  font-size: 13px;
  font-weight: 700;
}

.editor-map-feedback i {
  color: #00301C;
  font-size: 16px;
  line-height: 1.35;
}

.editor-map-feedback.is-valid {
  background: rgba(125, 190, 138, 0.15);
  color: #00301C;
}

.editor-map-feedback.is-valid i {
  color: #198754;
}

.editor-map-feedback.is-invalid {
  background: rgba(235, 138, 143, 0.15);
  color: #7a263f;
}

.editor-map-feedback.is-invalid i {
  color: #d96f76;
}

.editor-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.editor-actions .btn {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 800;
}

.editor-placeholder-message {
  margin-top: 14px;
  border-radius: 8px;
}

@media (max-width: 1199px) {
  .editor-panel {
    position: static;
  }
}

@media (max-width: 767px) {
  .invitation-editor-page {
    padding-top: 118px;
  }

  .editor-header {
    display: block;
  }

  .editor-header h1 {
    font-size: 30px;
  }

  .editor-back-link {
    width: 100%;
    margin-top: 16px;
  }

  .basic-invitation-preview {
    padding: 16px;
  }

  .preview-banner {
    min-height: 300px;
    padding: 34px 18px;
  }

  .preview-banner h2 {
    font-size: 32px;
  }

  .preview-banner h3 {
    font-size: 26px;
  }

  .preview-detail-grid,
  .preview-two-columns,
  .editor-actions {
    grid-template-columns: 1fr;
  }

  .editor-panel {
    padding: 16px;
  }
}

.invitation-editor-page.is-basic-template {
  padding-top: 118px;
  background:
    radial-gradient(circle at 12% 8%, rgba(235, 138, 143, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(125, 190, 138, 0.18), transparent 30%),
    #f7faf8;
}

.invitation-editor-page.is-basic-template .editor-header,
.invitation-editor-page.is-basic-template .editor-workspace {
  max-width: 1760px;
}

.invitation-editor-page.is-basic-template .editor-preview-shell {
  min-height: calc(100vh - 190px);
}

.invitation-editor-page.is-basic-template .basic-invitation-preview {
  width: min(100%, 940px);
  max-width: none;
  padding: 34px;
  position: relative;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 250, 0.98)),
    repeating-linear-gradient(135deg, rgba(0, 48, 28, 0.025) 0 1px, transparent 1px 12px);
  box-shadow:
    0 28px 70px rgba(22, 36, 31, 0.16),
    inset 0 0 0 1px rgba(0, 48, 28, 0.06);
  transition: max-width 0.25s ease, transform 0.25s ease;
}

.invitation-editor-page.is-basic-template .basic-invitation-preview::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.basic-invitation-preview.is-phone-preview {
  max-width: 430px !important;
}

.basic-invitation-preview.theme-emerald {
  --preview-primary: #00301C;
  --preview-secondary: #7dbe8a;
  --preview-accent: #EB8A8F;
  --preview-soft: rgba(125, 190, 138, 0.12);
}

.basic-invitation-preview.theme-rose {
  --preview-primary: #7a263f;
  --preview-secondary: #EB8A8F;
  --preview-accent: #436E60;
  --preview-soft: rgba(235, 138, 143, 0.14);
}

.basic-invitation-preview.theme-gold {
  --preview-primary: #59401f;
  --preview-secondary: #d5a84f;
  --preview-accent: #00301C;
  --preview-soft: rgba(213, 168, 79, 0.16);
}

.basic-invitation-preview.theme-wine {
  --preview-primary: #4b1023;
  --preview-secondary: #b86b77;
  --preview-accent: #d6b46a;
  --preview-soft: rgba(184, 107, 119, 0.14);
}

.basic-invitation-preview.theme-lavender {
  --preview-primary: #44315f;
  --preview-secondary: #b8a7d8;
  --preview-accent: #6f8f7a;
  --preview-soft: rgba(184, 167, 216, 0.16);
}

.basic-invitation-preview.theme-sky {
  --preview-primary: #16364f;
  --preview-secondary: #8dbbd2;
  --preview-accent: #d59f6a;
  --preview-soft: rgba(141, 187, 210, 0.16);
}

.basic-invitation-preview.font-playfair {
  --preview-heading-font: "Playfair Display", "DM Serif Text", serif;
  --preview-body-font: "Fira Sans", "Roboto", sans-serif;
}

.basic-invitation-preview.font-cormorant {
  --preview-heading-font: "Cormorant Garamond", "DM Serif Text", serif;
  --preview-body-font: "Lora", serif;
}

.basic-invitation-preview.font-lora {
  --preview-heading-font: "Lora", "DM Serif Text", serif;
  --preview-body-font: "Montserrat", "Roboto", sans-serif;
}

.basic-invitation-preview.font-montserrat {
  --preview-heading-font: "Montserrat", "Roboto", sans-serif;
  --preview-body-font: "Montserrat", "Roboto", sans-serif;
}

.basic-invitation-preview {
  font-family: var(--preview-body-font, "Fira Sans", sans-serif);
}

.invitation-editor-page.is-basic-template .preview-banner {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--preview-primary) 88%, #000 12%), rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 16% 20%, color-mix(in srgb, var(--preview-secondary) 42%, transparent), transparent 32%),
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--preview-accent) 35%, transparent), transparent 30%),
    var(--preview-primary);
  box-shadow:
    0 30px 60px rgba(0, 48, 28, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -80px 120px rgba(0, 0, 0, 0.22);
}

.invitation-editor-page.is-basic-template .preview-banner::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  z-index: -1;
}

.invitation-editor-page.is-basic-template .preview-banner::after {
  content: "";
  position: absolute;
  inset: auto 10% 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.24));
  filter: blur(20px);
  z-index: -1;
}

.preview-ornament {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  z-index: -1;
}

.preview-ornament.is-top {
  top: -90px;
  right: -70px;
}

.preview-ornament.is-bottom {
  left: -90px;
  bottom: -110px;
}

.preview-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.38;
  z-index: -2;
}

.preview-glow.is-left {
  left: 8%;
  top: 12%;
  background: var(--preview-secondary);
}

.preview-glow.is-right {
  right: 6%;
  bottom: 8%;
  background: var(--preview-accent);
}

.invitation-editor-page.is-basic-template .preview-label {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.preview-divider {
  display: block;
  width: 76px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
}

.invitation-editor-page.is-basic-template .preview-banner h2 {
  font-family: var(--preview-heading-font, "Playfair Display", serif);
  font-size: clamp(38px, 5.2vw, 76px);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.invitation-editor-page.is-basic-template .preview-banner h3 {
  font-family: var(--preview-heading-font, "Playfair Display", serif);
  font-size: clamp(32px, 4.4vw, 58px);
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.invitation-editor-page.is-basic-template .preview-section {
  border: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 252, 0.98));
  box-shadow:
    0 18px 44px rgba(22, 36, 31, 0.1),
    inset 0 0 0 1px rgba(0, 48, 28, 0.06);
}

.invitation-editor-page.is-basic-template .preview-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--preview-accent), var(--preview-secondary));
}

.invitation-editor-page.is-basic-template .preview-section h4 {
  color: var(--preview-primary);
  font-family: var(--preview-heading-font, "Playfair Display", serif);
}

.basic-invitation-preview.layout-editorial .preview-banner {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(28px, 7vw, 86px);
  padding-right: clamp(24px, 5vw, 64px);
}

.basic-invitation-preview.layout-editorial .preview-banner h2,
.basic-invitation-preview.layout-editorial .preview-banner h3,
.basic-invitation-preview.layout-editorial .preview-banner p {
  margin-left: 0;
  margin-right: auto;
}

.basic-invitation-preview.layout-editorial .preview-divider {
  margin-left: 0;
}

.basic-invitation-preview.layout-minimal .preview-banner {
  min-height: 430px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--preview-primary) 92%, #fff 8%), var(--preview-primary));
  box-shadow:
    0 24px 52px rgba(0, 48, 28, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.basic-invitation-preview.ornaments-none .preview-ornament,
.basic-invitation-preview.ornaments-none .preview-glow,
.basic-invitation-preview.ornaments-none .preview-banner::before,
.basic-invitation-preview.ornaments-none .preview-banner::after {
  display: none;
}

.basic-invitation-preview.ornaments-rich .preview-ornament {
  width: 340px;
  height: 340px;
  border-width: 2px;
  opacity: 0.9;
}

.basic-invitation-preview.ornaments-rich .preview-glow {
  opacity: 0.58;
  filter: blur(12px);
}

.preview-section-eyebrow {
  display: inline-flex;
  color: var(--preview-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.invitation-editor-page.is-basic-template .preview-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.invitation-editor-page.is-basic-template .preview-detail-grid div {
  min-height: 104px;
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58)),
    var(--preview-soft);
  display: block;
  box-shadow:
    0 12px 28px rgba(22, 36, 31, 0.08),
    inset 0 0 0 1px rgba(0, 48, 28, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.invitation-editor-page.is-basic-template .preview-detail-grid div:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(22, 36, 31, 0.12),
    inset 0 0 0 1px rgba(0, 48, 28, 0.06);
}

.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  border-radius: 14px !important;
  background: #EB8A8F !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0;
  text-transform: none;
  box-shadow:
    0 10px 20px rgba(235, 138, 143, 0.28),
    0 3px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

.header-area .main-nav .nav li.nav-primary-cta a i {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.header-area .main-nav .nav li.nav-primary-cta a::after {
  width: 70px;
  left: -90px;
  background: rgba(255, 255, 255, 0.32);
}

.header-area .main-nav .nav li.nav-primary-cta a:hover,
.background-header .main-nav .nav li.nav-primary-cta a:hover {
  transform: translateY(-2px);
  background: #d96f76 !important;
  box-shadow:
    0 12px 22px rgba(235, 138, 143, 0.32),
    0 4px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.header-area .main-nav .nav li:not(.nav-primary-cta) a.active,
.background-header .main-nav .nav li:not(.nav-primary-cta) a.active {
  background: #436E60 !important;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(27, 92, 72, 0.4) !important;
  transform: none;
}

.sidebar-nav li.sidebar-primary-cta a {
  min-height: 52px;
  border-radius: 12px;
  background: #EB8A8F !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(235, 138, 143, 0.28);
}

.sidebar-nav li.sidebar-primary-cta a:hover {
  background: #d96f76 !important;
}

@media (max-width: 768px) {
  .header-area .main-nav .nav li.nav-primary-cta a {
    min-height: 50px;
    width: min(100%, 280px);
    margin: 0 auto;
  }
}

.invitation-editor-page.is-basic-template .preview-detail-grid i {
  display: block;
  color: var(--preview-accent);
  font-size: 22px;
  margin-bottom: 10px;
}

.invitation-editor-page.is-basic-template .preview-map-placeholder,
.invitation-editor-page.is-basic-template .editor-map-placeholder {
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--preview-accent) 18%, transparent), transparent 32%),
    linear-gradient(135deg, var(--preview-soft), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(45deg, rgba(0, 48, 28, 0.05) 0 10px, transparent 10px 20px);
  box-shadow: inset 0 0 0 1px rgba(0, 48, 28, 0.06);
}

.editor-preview-tools {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.06);
}

.editor-device-button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  background: transparent;
  color: #00301C;
  font-size: 13px;
  font-weight: 800;
}

.editor-device-button.is-active {
  background: #00301C;
  color: #fff;
}

.editor-theme-options {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.editor-theme-options legend {
  color: #26332f;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.theme-option {
  min-height: 46px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #26332f;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-weight: 800;
  text-align: left;
}

.theme-option.is-active,
.theme-option:hover {
  border-color: #00301C;
  box-shadow: 0 10px 22px rgba(0, 48, 28, 0.1);
}

.theme-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 48, 28, 0.16);
}

.theme-swatch.is-emerald {
  background: linear-gradient(135deg, #00301C, #7dbe8a);
}

.theme-swatch.is-rose {
  background: linear-gradient(135deg, #7a263f, #EB8A8F);
}

.theme-swatch.is-gold {
  background: linear-gradient(135deg, #59401f, #d5a84f);
}

.theme-swatch.is-wine {
  background: linear-gradient(135deg, #4b1023, #d6b46a);
}

.theme-swatch.is-lavender {
  background: linear-gradient(135deg, #44315f, #b8a7d8);
}

.theme-swatch.is-sky {
  background: linear-gradient(135deg, #16364f, #8dbbd2);
}

.editor-color-options,
.editor-font-options,
.editor-style-options {
  border: 0;
  padding: 0;
  margin: 18px 0 0;
}

.editor-color-options legend,
.editor-font-options legend,
.editor-style-options legend {
  color: #26332f;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.editor-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.editor-color-grid label {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #26332f;
  font-size: 12px;
  font-weight: 900;
}

.editor-color-grid input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 3px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.editor-font-grid,
.editor-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.font-option,
.style-option {
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #26332f;
  text-align: left;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(25, 42, 34, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.font-option strong {
  display: block;
  color: #00301C;
  font-size: 14px;
}

.font-option span {
  display: block;
  color: #6a7b73;
  font-size: 12px;
  font-weight: 800;
}

.font-option[data-font="font-playfair"] strong {
  font-family: "Playfair Display", serif;
}

.font-option[data-font="font-cormorant"] strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
}

.font-option[data-font="font-lora"] strong {
  font-family: "Lora", serif;
}

.font-option[data-font="font-montserrat"] strong {
  font-family: "Montserrat", sans-serif;
}

.style-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  min-height: 48px;
}

.style-option i {
  color: #EB8A8F;
  font-size: 17px;
}

.font-option:hover,
.font-option:focus-visible,
.font-option.is-active,
.style-option:hover,
.style-option:focus-visible,
.style-option.is-active {
  transform: translateY(-2px);
  border-color: #00301C;
  background: #f7fbf8;
  box-shadow: 0 12px 24px rgba(0, 48, 28, 0.1);
  outline: none;
}

.style-option.is-active {
  background: #00301C;
  color: #fff;
}

.style-option.is-active i {
  color: #fff;
}

@media (max-width: 575px) {
  .editor-color-grid,
  .editor-font-grid,
  .editor-style-grid {
    grid-template-columns: 1fr;
  }
}

/* Final home hero sizing overrides */
.home-hero-banner {
  min-height: calc(100svh - 96px) !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 118px !important;
  padding-bottom: 64px !important;
  background:
    linear-gradient(rgba(0, 20, 12, 0.18), rgba(0, 20, 12, 0.72)),
    url('/images/bgh.png'),
    #00301C !important;
  background-repeat: repeat, repeat, no-repeat !important;
  background-size: auto, 423px 590px, auto !important;
  background-position: center, center top, center !important;
}

.home-hero-banner .right-image {
  margin-top: 0 !important;
}

.home-hero-banner::after {
  background-image: url('/images/bgh.png') !important;
  background-repeat: repeat !important;
  background-size: 423px 590px !important;
  background-position: center top !important;
  opacity: 0.12 !important;
  filter: none !important;
}

.home-hero-banner .right-image img {
  position: relative;
  width: min(100%, 620px) !important;
  max-width: 100% !important;
  max-height: calc(100svh - 210px) !important;
  margin-top: 0 !important;
  object-fit: contain !important;
  left: 20px;
}

@media (max-width: 1199px) {
  .home-hero-banner {
    min-height: calc(100svh - 90px) !important;
    padding-top: 126px !important;
    padding-bottom: 54px !important;
  }

  .home-hero-banner .right-image img {
    max-height: 42svh !important;
  }
}

@media (max-width: 991px) {
  .home-hero-banner {
    min-height: calc(100svh - 82px) !important;
    padding-top: 132px !important;
    padding-bottom: 44px !important;
  }

  .home-hero-banner .right-image {
    margin-top: 28px !important;
  }

  .home-hero-banner .right-image img {
    width: min(92%, 520px) !important;
    max-height: 36svh !important;
  }
}

@media (max-width: 575px) {
  .home-hero-banner {
    min-height: calc(100svh - 74px) !important;
    padding-top: 112px !important;
    padding-bottom: 34px !important;
    background-size: auto, 340px auto, auto !important;
  }

  .home-hero-banner::after {
    background-size: 340px auto !important;
  }

  .home-hero-banner .right-image img {
    width: min(96%, 430px) !important;
    max-height: 32svh !important;
  }
}

@media (max-width: 1199px) {
  .invitation-editor-page.is-basic-template .editor-preview-shell {
    min-height: auto;
  }

  .invitation-editor-page.is-basic-template .preview-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .invitation-editor-page.is-basic-template .basic-invitation-preview {
    padding: 16px;
  }

  .invitation-editor-page.is-basic-template .preview-banner {
    min-height: 420px;
  }

  .invitation-editor-page.is-basic-template .preview-detail-grid {
    grid-template-columns: 1fr;
  }

  .editor-preview-toolbar {
    display: grid;
  }

  .editor-preview-tools {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.editor-header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.editor-header-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 48, 28, 0.1);
  color: #00301C;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(22, 36, 31, 0.06);
}

.editor-header-badges i {
  color: #EB8A8F;
}

.invitation-editor-page.is-basic-template .editor-preview-shell,
.invitation-editor-page.is-basic-template .editor-panel {
  border-color: rgba(0, 48, 28, 0.08);
  box-shadow: 0 24px 70px rgba(22, 36, 31, 0.12);
}

.invitation-editor-page.is-basic-template .editor-preview-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.editor-progress {
  margin: 18px 0 20px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.05);
  border: 1px solid rgba(0, 48, 28, 0.08);
}

.editor-progress-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #00301C;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.editor-progress-track {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 48, 28, 0.1);
}

.editor-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00301C, #7dbe8a, #EB8A8F);
  transition: width 0.25s ease;
}

.editor-preset-options {
  border: 0;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid rgba(0, 48, 28, 0.08);
}

.editor-preset-options legend {
  color: #26332f;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.editor-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preset-option {
  min-height: 44px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #00301C;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(22, 36, 31, 0.05);
}

.preset-option:hover,
.preset-option.is-active {
  background: #00301C;
  border-color: #00301C;
  color: #fff;
}

[data-preview].is-updated {
  animation: previewPulse 0.26s ease;
}

@keyframes previewPulse {
  0% {
    filter: brightness(1);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.12);
    transform: translateY(-1px);
  }
  100% {
    filter: brightness(1);
    transform: translateY(0);
  }
}

.invitation-editor-page.is-basic-template .editor-panel {
  max-height: calc(100vh - 140px);
  overflow: auto;
  scrollbar-width: thin;
}

.invitation-editor-page.is-basic-template .editor-panel::-webkit-scrollbar {
  width: 8px;
}

.invitation-editor-page.is-basic-template .editor-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 48, 28, 0.22);
  border-radius: 999px;
}

.invitation-editor-page.is-basic-template .editor-actions .btn-success {
  background: linear-gradient(135deg, #00301C, #436E60);
  border-color: #00301C;
  box-shadow: 0 14px 24px rgba(0, 48, 28, 0.2);
}

.invitation-editor-page.is-basic-template .editor-actions .btn-success:hover {
  background: linear-gradient(135deg, #EB8A8F, #d96f76);
  border-color: #EB8A8F;
}

.basic-invitation-preview.is-phone-preview .preview-banner {
  min-height: 520px;
}

.basic-invitation-preview.is-phone-preview .preview-detail-grid,
.basic-invitation-preview.is-phone-preview .preview-two-columns {
  grid-template-columns: 1fr;
}

.basic-invitation-preview.is-phone-preview .preview-banner h2 {
  font-size: clamp(34px, 10vw, 46px);
}

.basic-invitation-preview.is-phone-preview .preview-banner h3 {
  font-size: clamp(28px, 8vw, 38px);
}

@media (max-width: 991px) {
  .invitation-editor-page.is-basic-template {
    padding-top: 126px;
  }

  .invitation-editor-page.is-basic-template .editor-workspace {
    padding-left: 12px;
    padding-right: 12px;
  }

  .invitation-editor-page.is-basic-template .editor-panel {
    max-height: none;
    overflow: visible;
  }

  .editor-header-badges {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .invitation-editor-page.is-basic-template {
    padding-top: 108px;
    padding-bottom: 24px;
  }

  .invitation-editor-page.is-basic-template .editor-header {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 16px;
  }

  .invitation-editor-page.is-basic-template .editor-header h1 {
    font-size: 28px;
  }

  .invitation-editor-page.is-basic-template .editor-preview-shell,
  .invitation-editor-page.is-basic-template .editor-panel {
    border-radius: 8px;
  }

  .invitation-editor-page.is-basic-template .editor-preview-toolbar {
    gap: 10px;
  }

  .editor-device-button {
    min-height: 40px;
  }

  .invitation-editor-page.is-basic-template .preview-banner {
    min-height: 460px;
    padding: 28px 16px;
  }

  .preview-section {
    padding: 18px;
  }

  .editor-preset-grid {
    grid-template-columns: 1fr;
  }

  .invitation-editor-page.is-basic-template .editor-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 18px -16px -16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 48, 28, 0.08);
  }
}

/* Event onboarding */
.event-onboarding-page {
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 64px;
  background:
    linear-gradient(135deg, rgba(235, 138, 143, 0.14), rgba(255, 255, 255, 0) 32%),
    linear-gradient(315deg, rgba(116, 159, 126, 0.18), rgba(255, 255, 255, 0) 38%),
    #fbfcfa;
  color: #00301C;
}

.event-onboarding-hero {
  padding: 34px 0 20px;
}

.event-onboarding-kicker,
.section-heading-lite span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.18);
  color: #c65e67;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-onboarding-hero h1 {
  margin: 18px 0 14px;
  color: #00301C;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.event-onboarding-subtitle {
  max-width: 700px;
  margin: 0;
  color: #31463c;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  line-height: 1.35;
}

.event-onboarding-copy {
  max-width: 620px;
  margin: 16px 0 0;
  color: #5f6f67;
  font-size: 16px;
  font-weight: 700;
}

.event-onboarding-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 46px rgba(0, 48, 28, 0.1);
}

.event-onboarding-summary div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf6;
}

.event-onboarding-summary strong {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #00301C;
  color: #fff;
  font-size: 16px;
}

.event-onboarding-summary span {
  color: #31463c;
  font-weight: 900;
}

.event-category-section,
.recommended-template-section {
  padding: 28px 0;
}

.section-heading-lite {
  margin-bottom: 20px;
}

.section-heading-lite h2 {
  margin: 12px 0 6px;
  color: #00301C;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.section-heading-lite p {
  max-width: 640px;
  margin: 0;
  color: #617168;
  font-weight: 700;
}

.event-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.event-category-card {
  min-height: 196px;
  padding: 20px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #00301C;
  text-align: left;
  box-shadow: 0 16px 34px rgba(25, 42, 34, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.event-category-card:hover,
.event-category-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(235, 138, 143, 0.55);
  box-shadow: 0 22px 42px rgba(25, 42, 34, 0.13);
  outline: none;
}

.event-category-card.is-active {
  border-color: #00301C;
  background: linear-gradient(180deg, #fff, #f3faf5);
  box-shadow: 0 24px 46px rgba(0, 48, 28, 0.15);
}

.event-category-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
  font-size: 22px;
}

.event-category-card.is-active .event-category-icon {
  background: #EB8A8F;
}

.event-category-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.event-category-card small {
  display: block;
  color: #66766f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.recommended-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recommended-template-card {
  overflow: hidden;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(25, 42, 34, 0.09);
}

.recommended-template-visual {
  position: relative;
  height: 250px;
  background: linear-gradient(135deg, #f8e8ea, #eef8f0);
}

.recommended-template-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recommended-template-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 48, 28, 0), rgba(0, 48, 28, 0.18));
  pointer-events: none;
}

.recommended-template-placeholder {
  position: absolute;
  inset: 28px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px dashed rgba(0, 48, 28, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.recommended-template-placeholder span,
.recommended-template-placeholder strong {
  display: block;
  height: 14px;
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.14);
}

.recommended-template-placeholder span:first-child {
  width: 46%;
  background: rgba(235, 138, 143, 0.4);
}

.recommended-template-placeholder span:nth-child(2) {
  width: 78%;
}

.recommended-template-placeholder span:nth-child(3) {
  width: 60%;
}

.recommended-template-placeholder strong {
  width: 100%;
  height: 72px;
  margin-top: 6px;
  background: rgba(116, 159, 126, 0.18);
}

.recommended-template-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #EB8A8F;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recommended-template-body {
  padding: 20px;
}

.recommended-template-body > span {
  display: block;
  margin-bottom: 6px;
  color: #EB8A8F;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recommended-template-body h3 {
  margin: 0 0 8px;
  color: #00301C;
  font-size: 24px;
  line-height: 1.1;
}

.recommended-template-body p {
  min-height: 48px;
  margin-bottom: 18px;
  color: #617168;
  font-weight: 700;
  line-height: 1.45;
}

.recommended-template-button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #00301C;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0, 48, 28, 0.16);
}

.recommended-template-button:hover,
.recommended-template-button:focus-visible {
  background: #EB8A8F;
  border-color: #EB8A8F;
  color: #fff;
  outline: none;
}

.recommended-empty-state {
  margin-top: 20px;
  padding: 26px;
  border: 1px dashed rgba(0, 48, 28, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  color: #00301C;
  text-align: center;
}

.recommended-empty-state i {
  color: #EB8A8F;
  font-size: 32px;
}

@media (max-width: 1199px) {
  .event-category-grid,
  .recommended-template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .event-onboarding-page {
    padding-top: 116px;
  }

  .event-category-grid,
  .recommended-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .event-onboarding-page {
    padding-top: 102px;
    padding-bottom: 34px;
  }

  .event-onboarding-hero {
    padding-top: 20px;
  }

  .event-onboarding-summary {
    padding: 12px;
  }

  .event-category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .recommended-template-grid {
    grid-template-columns: 1fr;
  }

  .event-category-card {
    min-height: 154px;
    padding: 18px;
  }

  .recommended-template-visual {
    height: 220px;
  }

  .recommended-template-body p {
    min-height: auto;
  }
}

/* Refined onboarding layout */
.event-onboarding-page {
  padding-top: 118px;
  background:
    linear-gradient(180deg, #fbf6f6 0, #fbfcfa 260px, #f7faf7 100%);
}

.event-onboarding-hero {
  padding: 38px 0 18px;
}

.event-onboarding-hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

.event-onboarding-subtitle,
.event-onboarding-copy {
  margin-left: auto;
  margin-right: auto;
}

.event-onboarding-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(25, 42, 34, 0.08);
}

.event-onboarding-summary div {
  position: relative;
  justify-content: center;
  min-height: 66px;
  background: transparent;
}

.event-onboarding-summary div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: rgba(0, 48, 28, 0.1);
}

.event-onboarding-summary .is-current {
  background: #f4faf5;
}

.event-category-section,
.recommended-template-section,
.event-next-step-section {
  padding: 18px 0;
}

.event-section-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 48, 28, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(25, 42, 34, 0.08);
}

.event-section-panel-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 245, 0.86));
}

.section-heading-lite {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading-row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.selected-category-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  white-space: nowrap;
  padding: 9px 14px;
  border: 1px solid rgba(235, 138, 143, 0.28);
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.14);
  color: #c65e67;
  font-size: 14px;
  font-weight: 900;
}

.event-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.event-category-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 138px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(25, 42, 34, 0.06);
}

.event-category-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  font-size: 19px;
}

.event-category-text {
  min-width: 0;
}

.event-category-card strong {
  font-size: 18px;
}

.event-category-card small {
  font-size: 13px;
}

.recommended-template-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recommended-template-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 250px;
  box-shadow: 0 14px 32px rgba(25, 42, 34, 0.08);
}

.recommended-template-visual {
  height: 100%;
  min-height: 250px;
}

.recommended-template-placeholder {
  inset: 18px;
  padding: 16px;
}

.recommended-template-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.recommended-template-body h3 {
  font-size: 22px;
}

.recommended-template-body p {
  min-height: 0;
  margin-bottom: 20px;
}

.recommended-template-button {
  margin-top: auto;
}

.event-next-step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
  box-shadow: 0 22px 44px rgba(0, 48, 28, 0.18);
}

.event-next-step-card span {
  color: #f7b8bc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-next-step-card h2 {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.event-next-step-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.event-next-step-button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #EB8A8F;
  border-radius: 8px;
  background: #EB8A8F;
  color: #fff;
  font-weight: 900;
}

.event-next-step-button:hover,
.event-next-step-button:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #00301C;
}

@media (max-width: 1199px) {
  .event-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommended-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .event-onboarding-page {
    padding-top: 112px;
  }

  .event-onboarding-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .event-onboarding-summary div {
    justify-content: flex-start;
  }

  .event-onboarding-summary div:not(:last-child)::after {
    display: none;
  }

  .section-heading-row,
  .event-next-step-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .recommended-template-card {
    grid-template-columns: 1fr;
  }

  .recommended-template-visual {
    height: 240px;
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  .event-onboarding-page {
    padding-top: 98px;
  }

  .event-section-panel,
  .event-next-step-card {
    padding: 18px;
  }

  .event-category-grid,
  .recommended-template-grid {
    grid-template-columns: 1fr;
  }

  .event-category-card {
    min-height: auto;
  }

  .event-next-step-button {
    width: 100%;
  }
}

/* Guided event creation flow */
.event-flow-page {
  position: relative;
  min-height: 100vh;
  padding: 98px 0 0;
  background:
    radial-gradient(circle at top left, rgba(235, 138, 143, 0.13), transparent 34%),
    linear-gradient(180deg, #fbf7f7 0, #f8fbf8 52%, #ffffff 100%);
  overflow-x: hidden;
}

.event-flow-page > .event-flow-step > .container {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}

.event-flow-step {
  display: none;
  min-height: calc(100vh - 98px);
  align-items: center;
  padding: 28px 0;
}

.event-flow-step.is-active {
  display: flex;
  animation: eventFlowIn 0.36s ease both;
}

@keyframes eventFlowIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-flow-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(25, 42, 34, 0.11);
}

.event-flow-card-wide {
  max-width: none;
}

.event-flow-intro {
  max-width: 820px;
  margin: 0 auto;
}

.event-flow-intro .event-onboarding-kicker {
  justify-content: center;
}

.event-flow-intro h1 {
  margin: 18px auto 14px;
  color: #00301C;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
}

.event-flow-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  margin: 28px auto 34px;
  padding: 10px;
  gap: 8px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 8px;
  background: #f8fbf8;
}

.event-flow-progress div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border-radius: 8px;
  color: #4f625a;
  font-weight: 900;
}

.event-flow-progress .is-current {
  background: #00301C;
  color: #fff;
}

.event-flow-progress strong {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 14px;
}

.event-flow-page .event-category-section {
  padding: 0;
}

.event-flow-page .section-heading-lite {
  max-width: 720px;
  margin: 0 auto 22px;
}

.event-flow-page .event-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.event-flow-page .event-category-card {
  min-height: clamp(132px, 17vh, 176px);
  padding: clamp(16px, 2vw, 22px);
  border-color: rgba(0, 48, 28, 0.11);
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 42, 34, 0.06);
}

.event-flow-page .event-category-card:hover,
.event-flow-page .event-category-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(235, 138, 143, 0.55);
}

.event-flow-page .event-category-card.is-active {
  border-color: #EB8A8F;
  background: #fff7f8;
}

.event-flow-page .event-category-icon {
  background: #00301C;
}

.event-flow-page .event-category-card.is-active .event-category-icon {
  background: #EB8A8F;
}

.event-change-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 48, 28, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #00301C;
  font-weight: 900;
}

.event-change-button:hover,
.event-change-button:focus-visible,
.event-change-button:active {
  background: #00301C !important;
  border-color: #00301C !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0, 48, 28, 0.18) !important;
}

.event-change-button:hover i,
.event-change-button:focus-visible i,
.event-change-button:active i {
  color: #fff !important;
}

.selected-category-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 22px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f6faf7;
}

.selected-category-panel span {
  color: #5f6f67;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-category-panel strong {
  color: #00301C;
  font-size: 18px;
}

.event-flow-page .recommended-template-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.event-flow-page .recommended-template-card {
  grid-template-columns: 38% 1fr;
  min-height: clamp(240px, 30vh, 320px);
}

.event-flow-page .recommended-template-visual {
  min-height: clamp(240px, 30vh, 320px);
}

.event-flow-page .recommended-template-body {
  padding: 20px;
}

.event-flow-page .recommended-template-button {
  color: #fff;
}

@media (max-width: 1199px) {
  .event-flow-page .event-category-grid,
  .event-flow-page .recommended-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .event-flow-page {
    padding-top: 104px;
  }

  .event-flow-step {
    min-height: calc(100vh - 104px);
    align-items: flex-start;
    padding: 22px 0 34px;
  }

  .event-flow-progress {
    grid-template-columns: 1fr;
  }

  .event-flow-progress div {
    justify-content: flex-start;
  }

  .event-flow-page .recommended-template-card {
    grid-template-columns: 1fr;
  }

  .event-flow-page .recommended-template-visual {
    height: 230px;
  }
}

@media (max-width: 575px) {
  .event-flow-page {
    padding-top: 96px;
  }

  .event-flow-step {
    min-height: calc(100vh - 96px);
    padding: 16px 0 28px;
  }

  .event-flow-card {
    min-height: calc(100vh - 128px);
    padding: 18px;
  }

  .event-flow-intro h1 {
    font-size: 38px;
  }

  .event-flow-page .event-category-grid,
  .event-flow-page .recommended-template-grid {
    grid-template-columns: 1fr;
  }

  .event-flow-page .event-category-card {
    min-height: auto;
  }

  .section-heading-row {
    gap: 14px;
  }

  .event-change-button,
  .recommended-template-button {
    width: 100%;
  }

  .selected-category-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Home hero redesign */
.home-hero-banner {
  min-height: calc(100svh - 96px) !important;
  display: flex !important;
  align-items: center !important;
  padding: 118px 0 48px !important;
  background:
    radial-gradient(circle at 66% 45%, rgba(238, 194, 93, 0.18), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(235, 138, 143, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(0, 24, 14, 0.98) 0%, rgba(0, 48, 28, 0.88) 48%, rgba(0, 24, 14, 0.98) 100%),
    url('/images/bgh.png'),
    #00301C !important;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat !important;
  background-size: auto, auto, auto, 423px 590px, auto !important;
  background-position: center, center, center, center top, center !important;
  box-shadow: inset 0 1px 0 rgba(255, 214, 118, 0.2), 0 20px 50px rgba(0, 0, 0, 0.18) !important;
}

.home-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(158deg, transparent 0 15%, rgba(238, 194, 93, 0.34) 15.4%, transparent 16.2% 100%),
    linear-gradient(350deg, transparent 0 78%, rgba(238, 194, 93, 0.22) 78.3%, transparent 79.2% 100%),
    radial-gradient(circle at 88% 62%, rgba(238, 194, 93, 0.2), transparent 18%);
}

.home-hero-banner::after {
  background-image: url('/images/bgh.png') !important;
  background-repeat: repeat !important;
  background-size: 423px 590px !important;
  background-position: center top !important;
  opacity: 0.12 !important;
  filter: none !important;
}

.home-hero-banner .sparkle-container,
.home-hero-banner .container {
   z-index: 3;
}



.home-hero-content {
  min-height: calc(100svh - 190px);
}


.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin-bottom: 22px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 214, 118, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.home-hero-badge i {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe18a, #d9a33a);
  color: #00301C;
  font-size: 12px;
}

.home-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-family: "DM Serif Text", serif;
  font-size: clamp(46px, 5.5vw, 96px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.home-hero-copy h1 span,
.home-hero-copy h1 strong,
.home-hero-copy h1 em {
  display: block;
}

.home-hero-copy h1 strong {
  color: #f2c86d;
  font-style: normal;
}

.home-hero-copy h1 em {
  color: #fff;
  font-size: 0.62em;
  font-style: normal;
  letter-spacing: 0.08em;
}

.home-hero-divider {
  display: block;
  width: min(100%, 420px);
  height: 2px;
  margin: 24px 0 20px;
  background: linear-gradient(90deg, #d8a744, rgba(216, 167, 68, 0.18), transparent);
  position: relative;
}

.home-hero-divider::after {
  content: "";
  position: absolute;
  left: 45%;
  top: 50%;
  width: 46px;
  height: 10px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, #ffd978, transparent);
  border-radius: 999px;
}

.home-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.45;
  font-weight: 500;
}

.home-hero-copy p strong {
  color: #f2c86d;
  font-weight: 900;
}

.home-hero-actions {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.home-hero-actions a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-hero-primary {
  border: 1px solid #f2c86d;
  background: linear-gradient(135deg, #ffe18a, #d9a33a);
  color: #3a2710 !important;
  box-shadow: 0 18px 34px rgba(216, 167, 68, 0.22);
}

.home-hero-secondary {
  border: 1px solid rgba(242, 200, 109, 0.82);
  background: rgba(0, 48, 28, 0.28);
  color: #f8e3a7 !important;
}

.home-hero-actions a:hover {
  transform: translateY(-2px);
}

.home-hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.home-hero-trust div {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 10px;
  align-items: start;
  color: #fff;
}

.home-hero-trust i {
  grid-row: span 2;
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(242, 200, 109, 0.78);
  border-radius: 50%;
  color: #f2c86d;
  font-size: 15px;
}

.home-hero-trust strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.home-hero-trust span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.home-hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
}

.home-hero-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 9%;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(242, 200, 109, 0.28), transparent 70%);
  filter: blur(6px);
}

.home-hero-banner .right-image img {
  width: min(100%, 760px) !important;
  max-width: 100% !important;
  max-height: calc(100svh - 185px) !important;
  margin-top: 0 !important;
  object-fit: contain !important;
  filter: drop-shadow(0 32px 38px rgba(0, 0, 0, 0.42)) !important;
}

@media (max-width: 1199px) {
  .home-hero-banner .right-image img {
    width: min(100%, 640px) !important;
    max-height: 46svh !important;
  }

  .home-hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .home-hero-banner {
    min-height: auto !important;
    padding-top: 132px !important;
    padding-bottom: 48px !important;
  }

  .home-hero-content {
    min-height: auto;
  }

  .home-hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .home-hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-trust {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-visual {
    min-height: auto;
    margin-top: 28px !important;
  }

  .home-hero-banner .right-image img {
    width: min(96%, 620px) !important;
    max-height: none !important;
  }
}

@media (max-width: 575px) {
  .home-hero-banner {
    padding-top: 112px !important;
    padding-bottom: 36px !important;
    background-size: auto, auto, auto, 340px auto, auto !important;
  }

  .home-hero-banner::after {
    background-size: 340px auto !important;
  }

  .home-hero-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .home-hero-copy h1 em {
    font-size: 0.58em;
  }

  .home-hero-copy p {
    font-size: 17px;
  }

  .home-hero-actions {
    gap: 12px;
  }

  .home-hero-actions a {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }

  .home-hero-trust {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .home-hero-banner .right-image img {
    width: min(96%, 430px) !important;
  }
}

/* Home premium header + hero final composition */
.home-page .header-area {
  min-height: 112px;
  background: #00301C !important;
  border-bottom: 1px solid rgba(242, 200, 109, 0.16);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
}

.home-page .header-area.header-sticky,
.home-page .header-area.header-scrolled,
.home-page .background-header {
  background: #00301C !important;
}

.home-page .header-area .contenedor,
.home-page .header-area .container,
.home-page .header-area .row,
.home-page .header-area .col-12,
.home-page .header-area .main-nav {
  background: transparent !important;
}

.home-page .header-area .contenedor,
.home-page .header-area .row,
.home-page .header-area .col-12,
.home-page .header-area .main-nav {
  min-height: 112px;
}

.home-page .header-area .main-nav {
  display: flex;
  align-items: center;
}

.home-page .header-area .main-nav .logo {
  position: static;
  flex: 0 0 auto;
}

.home-page .header-area .main-nav .class-img-logo {
  width: 102px;
  height: 102px;
  object-fit: contain;
  margin-top: 5px;
}

.home-page .header-area .main-nav .nav {
  flex: 1;
  justify-content: center;
  gap: 26px;
  align-items: center;
}

.home-page .header-area .main-nav .nav li {
  padding: 0 !important;
}

.home-page .header-area .main-nav .nav li a {
  bottom: auto !important;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  background: rgba(67, 110, 96, 0.42) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18) !important;
  text-transform: none;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.home-page .header-area .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background: #EB8A8F !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 16px 30px rgba(235, 138, 143, 0.28) !important;
}

.home-page .home-hero-banner {
  min-height: calc(100svh - 112px) !important;
  padding: 112px 0 38px !important;
  background:
    radial-gradient(circle at 68% 43%, rgba(242, 200, 109, 0.24), transparent 27%),
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(90deg, rgba(0, 26, 16, 0.98) 0%, rgba(0, 48, 28, 0.86) 52%, rgba(0, 26, 16, 0.98) 100%),
    url('/images/bgh.png'),
    #00301C !important;
}

.home-hero-gold-arc {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0.82;
}

.home-hero-gold-arc-top {
  top: 108px;
  left: 8%;
  width: 42%;
  height: 118px;
  border-top: 4px solid rgba(246, 214, 123, 0.78);
  border-radius: 50%;
  transform: rotate(-7deg);
  filter: drop-shadow(0 0 18px rgba(242, 200, 109, 0.42));
}

.home-hero-gold-arc-top::before,
.home-hero-gold-arc-top::after,
.home-hero-gold-arc-bottom::before,
.home-hero-gold-arc-bottom::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 200, 109, 0.55), transparent);
}

.home-hero-gold-arc-top::before {
  top: 12px;
}

.home-hero-gold-arc-top::after {
  top: 24px;
}

.home-hero-gold-arc-bottom {
  right: -7%;
  bottom: 8%;
  width: 58%;
  height: 170px;
  border-bottom: 5px solid rgba(246, 214, 123, 0.82);
  border-radius: 50%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 0 22px rgba(242, 200, 109, 0.46));
}

.home-hero-gold-arc-bottom::before {
  bottom: 18px;
}

.home-hero-gold-arc-bottom::after {
  bottom: 34px;
}

.home-hero-gold-leaves {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 26%;
  width: 90px;
  height: 390px;
  pointer-events: none;
  opacity: 0.62;

  filter: blur(0.1px) drop-shadow(0 0 14px rgba(242, 200, 109, 0.3));
}

.home-page .home-hero-banner .container {
  width: min(100% - 140px, 1540px);
  max-width: 1540px;
}

.home-page .home-hero-content {
  min-height: calc(100svh - 190px);
}

.home-page .home-hero-copy {
  max-width: 650px;
}

.home-page .home-hero-copy h1 {
  font-size: clamp(58px, 5vw, 92px);
  line-height: 0.88;
}

.home-page .home-hero-copy h1 em {
  font-size: 0.5em;
  letter-spacing: 0.11em;
}

.home-page .home-hero-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(21px, 1.35vw, 25px);
  line-height: 1.45;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.home-page .home-hero-actions a {
  min-width: 245px;
  min-height: 64px;
  font-size: 18px;
}

@media (min-width: 992px) {
  .home-page .home-hero-actions {
    flex-wrap: nowrap;
  }

  .home-page .home-hero-actions a {
    flex: 0 0 auto;
  }
}

.home-page .home-hero-trust {
  width: min(100%, 740px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.home-page .home-hero-trust div {
  grid-template-columns: 40px 1fr;
}

.home-page .home-hero-visual {
  min-height: 650px;
  justify-content: flex-end;
}

.home-page .home-hero-banner .right-image img {
  width: min(100%, 920px) !important;
  max-height: calc(100svh - 150px) !important;
}

@media (max-width: 1399px) {
  .home-page .home-hero-banner .container {
    width: min(100% - 64px, 1320px);
  }

  .home-page .home-hero-copy h1 {
    font-size: clamp(54px, 5.2vw, 82px);
  }

  .home-page .home-hero-banner .right-image img {
    width: min(100%, 760px) !important;
  }
}

@media (min-width: 992px) and (max-width: 1263px) {
 /* .home-page .home-hero-content {
    grid-column-gap: 18px;
  }*/

  .home-page .home-hero-content > .col-lg-5 {
    flex: 0 0 auto;
    width: 48%;
  }

  .home-page .home-hero-content > .col-lg-7 {
    flex: 0 0 auto;
    width: 52%;
  }

  .home-page .home-hero-copy h1 {
    font-size: clamp(50px, 4.8vw, 66px);
  }

  .home-page .home-hero-copy p {
    max-width: 520px;
    font-size: 20px;
  }

  .home-page .home-hero-actions a {
    min-width: 220px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-page .home-hero-visual {
    justify-content: flex-end;
  }

  .home-page .home-hero-banner .right-image img {
    width: min(100%, 500px) !important;
    max-height: 50svh !important;
  }
}

@media (max-width: 1199px) {
  .home-page .header-area .main-nav .nav {
    gap: 12px;
  }

  .home-page .header-area .main-nav .nav li a {
    padding: 0 16px !important;
    font-size: 14px !important;
  }

  .home-page .home-hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 968px) {
  .home-page .header-area,
  .home-page .header-area .contenedor,
  .home-page .header-area .row,
  .home-page .header-area .col-12,
  .home-page .header-area .main-nav {
    min-height: 92px;
  }

  .home-page .header-area .main-nav .class-img-logo {
    width: 82px;
    height: 82px;
  }

  .home-page .home-hero-banner {
    padding-top: 112px !important;
  }

  .home-page .home-hero-banner .container {
    width: min(100% - 28px, 720px);
  }

  .home-page .home-hero-copy {
    text-align: center;
  }

  .home-page .home-hero-copy h1 {
    font-size: clamp(48px, 11vw, 78px);
  }

  .home-page .home-hero-visual {
    min-height: auto;
    justify-content: center;
  }

  .home-page .home-hero-banner .right-image img {
    width: min(100%, 640px) !important;
    max-height: none !important;
  }

  .home-hero-gold-arc-top {
    top: 96px;
    left: -10%;
    width: 80%;
    opacity: 0.48;
  }

  .home-hero-gold-arc-bottom,
  .home-hero-gold-leaves {
    opacity: 0.28;
  }
}

@media (max-width: 968px) {
  .home-page .header-area .main-nav {
    justify-content: center;
    position: relative;
  }

  .home-page .header-area .main-nav .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .home-page .header-area .main-nav .nav {
    display: none !important;
  }

  .home-page .header-area .main-nav .class-img-logo {
    width: 98px;
    height: 98px;
    margin-top: 6px;
  }

  .home-page .header-area .menu-trigger,
  .home-page .header-area .main-nav .menu-trigger {
    position: absolute;
    right: 0;
    top: 15%;
    transform: translateY(-50%);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 8px;
    background: rgba(235, 138, 143, 0.14);
    color: #EB8A8F !important;
    font-size: 24px;
    z-index: 10001;
  }

  .home-page .sidebar {
    background: linear-gradient(180deg, #00301C, #022617);
    color: #fff;
  }

  .home-page .sidebar-header h3,
  .home-page .sidebar-header p,
  .home-page .sidebar-nav li a {
    color: #fff !important;
  }
}

@media (max-width: 575px) {
  .home-page .home-hero-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .home-page .home-hero-copy p {
    font-size: 17px;
  }

  .home-page .home-hero-actions a {
    min-width: 0;
  }

  .home-page .home-hero-trust {
    grid-template-columns: 1fr;
  }

  .home-hero-gold-arc-top,
  .home-hero-gold-arc-bottom,
  .home-hero-gold-leaves {
    display: none;
  }
}

.home-page .home-hero-banner .home-hero-copy p {
  color: rgba(255, 255, 255, 0.94) !important;
}

/* Global header parity */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 112px;
}

.header-area {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  min-height: 112px !important;
  background: #00301C !important;
  border-bottom: 1px solid rgba(242, 200, 109, 0.16) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
  z-index: 9999 !important;
}

.header-area.header-sticky,
.header-area.header-scrolled,
.background-header {
  background: #00301C !important;
}

.header-area .contenedor,
.header-area .container,
.header-area .row,
.header-area .col-12,
.header-area .main-nav {
  min-height: 112px !important;
  background: transparent !important;
}

.header-area .main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-area .main-nav .logo {
  position: static;
  flex: 0 0 auto;
}

.header-area .main-nav .class-img-logo {
  width: 102px;
  height: 102px;
  object-fit: contain;
  margin-top: 5px;
}

.header-area .main-nav .nav {
  flex: 1;
  justify-content: center;
  gap: 26px;
  align-items: center;
}

.header-area .main-nav .nav li {
  padding: 0 !important;
}

.header-area .main-nav .nav li a {
  bottom: auto !important;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px !important;
  background: rgba(67, 110, 96, 0.42) !important;
  color: #fff !important;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18) !important;
  text-transform: none;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.header-area .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background: #EB8A8F !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 16px 30px rgba(235, 138, 143, 0.28) !important;
}

@media (max-width: 1199px) {
  .header-area .main-nav .nav {
    gap: 12px;
  }

  .header-area .main-nav .nav li a {
    padding: 0 16px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 968px) {
  body {
    padding-top: 92px;
  }

  .header-area,
  .header-area .contenedor,
  .header-area .row,
  .header-area .col-12,
  .header-area .main-nav {
    min-height: 92px !important;
  }

  .header-area .main-nav {
    justify-content: center;
    position: relative;
  }

  .header-area .main-nav .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .header-area .main-nav .class-img-logo {
    width: 98px;
    height: 98px;
    margin-top: 6px;
  }

  .header-area .main-nav .nav {
    display: none !important;
  }

  .header-area .menu-trigger,
  .header-area .main-nav .menu-trigger {
    position: absolute;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border-radius: 8px;
    background: rgba(235, 138, 143, 0.14);
    color: #EB8A8F !important;
    font-size: 24px;
    z-index: 10001;
    line-height: 1;
  }

  .sidebar {
    background: linear-gradient(180deg, #00301C, #022617);
    color: #fff;
  }

  .sidebar-header h3,
  .sidebar-header p,
  .sidebar-nav li a {
    color: #fff !important;
  }
}

/* Final mobile header stabilization */
@media (max-width: 968px) {
  .header-area {
    height: 92px !important;
    min-height: 92px !important;
  }

  .header-area .main-nav,
  .header-area .logo,
  .header-area .menu-trigger {
    min-height: 92px !important;
  }

  .header-area .main-nav .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    width: auto !important;
    z-index: 2;
  }

  .header-area .main-nav .class-img-logo {
    display: block;
    width: 82px !important;
    height: 82px !important;
    margin: 0 auto !important;
    object-fit: contain;
  }

  .header-area .main-nav .menu-trigger {
    margin: 0 !important;
    padding: 0 !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
  }
}

/* Home hero spacing refinement */
.home-page .home-hero-banner {
  display: flex;
  align-items: center;
  padding: clamp(42px, 5svh, 64px) 0 42px !important;
}

.home-page .home-hero-banner .container {
  width: min(100% - 112px, 1280px);
  max-width: 1280px;
}

.home-page .home-hero-content {
  min-height: auto;
  column-gap: clamp(28px, 4vw, 72px);
}

.home-page .home-hero-copy {
  max-width: 560px;
}

.home-page .home-hero-copy h1 {
  font-size: clamp(52px, 4.4vw, 78px);
}

.home-page .home-hero-copy p {
  max-width: 560px;
  font-size: clamp(18px, 1.22vw, 22px);
  line-height: 1.5;
}

.home-page .home-hero-actions {
  gap: 16px;
}

.home-page .home-hero-actions a {
  min-width: 218px;
  min-height: 58px;
}

.home-page .home-hero-trust {
  width: min(100%, 640px);
  gap: 16px;
  margin-top: 30px;
}

.home-page .home-hero-trust div {
  grid-template-columns: 34px 1fr;
}

.home-page .home-hero-visual {
  min-height: auto;
}

.home-page .home-hero-banner .right-image img {
  width: min(100%, 780px) !important;
  max-height: min(58svh, 590px) !important;
}

@media (min-width: 992px) and (max-width: 1263px) {
  .home-page .home-hero-banner .container {
    width: min(100% - 96px, 1160px);
  }

  .home-page .home-hero-content {
    column-gap: 28px;
  }

  .home-page .home-hero-content > .col-lg-5 {
    width: 44%;
  }

  .home-page .home-hero-content > .col-lg-7 {
    width: 56%;
  }

  .home-page .home-hero-copy h1 {
    font-size: clamp(44px, 4.2vw, 56px);
  }

  .home-page .home-hero-copy p {
    max-width: 500px;
    font-size: 18px;
  }

  .home-page .home-hero-actions a {
    min-width: 200px;
    min-height: 56px;
    font-size: 16px;
  }

  .home-page .home-hero-banner .right-image img {
    width: min(100%, 540px) !important;
    max-height: min(54svh, 500px) !important;
  }
}

@media (max-width: 991px) {
  .home-page .home-hero-banner {
    padding: 44px 0 36px !important;
  }

  .home-page .home-hero-banner .container {
    width: min(100% - 36px, 760px);
  }
}

@media (max-width: 575px) {
  .home-page .home-hero-banner .container {
    width: min(100% - 28px, 540px);
  }
}

.editor-share-button {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 48, 28, 0.18);
}

.nav-session-action form,
.sidebar-session-action form {
  margin: 0;
}

.nav-session-action button,
.sidebar-session-action button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.header-area .main-nav .nav li.nav-session-action button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.sidebar-session-action button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-align: left;
}

.my-invitations-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(235, 138, 143, 0.15), transparent 30%),
    linear-gradient(135deg, #f8fbf8, #fff7f7);
}

.my-invitations-hero {
  padding: 132px 0 72px;
}

.my-invitations-heading,
.my-invitations-login,
.my-invitations-empty {
  max-width: 820px;
}

.my-invitations-heading span,
.my-invitations-login span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #00301c;
  background: rgba(242, 200, 109, 0.32);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-invitations-heading h1,
.my-invitations-login h1 {
  margin: 0 0 14px;
  color: #00301c;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.96;
}

.my-invitations-heading p,
.my-invitations-login p,
.my-invitations-empty p {
  max-width: 680px;
  color: #49635a;
  font-size: 18px;
  line-height: 1.7;
}

.my-invitations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.my-invitation-card,
.my-invitations-login,
.my-invitations-empty {
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 48, 28, 0.1);
}

.my-invitation-card {
  padding: 20px;
}

.my-invitations-login,
.my-invitations-empty {
  padding: clamp(28px, 5vw, 48px);
}

.my-invitation-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.my-invitation-card-top span {
  color: #6f7d77;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-invitation-card-top h2 {
  margin: 4px 0 0;
  color: #00301c;
  font-size: 24px;
  font-weight: 900;
}

.my-invitation-card-top strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-invitation-card-top strong.is-published {
  color: #087743;
  background: rgba(8, 119, 67, 0.1);
}

.my-invitation-card-top strong.is-draft {
  color: #8a5a00;
  background: rgba(242, 200, 109, 0.25);
}

.my-invitation-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  color: #53675f;
  font-size: 13px;
  font-weight: 800;
}

.my-invitation-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-invitation-card label {
  display: block;
  margin-bottom: 7px;
  color: #00301c;
  font-size: 13px;
  font-weight: 900;
}

.my-invitation-link {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #f7faf8;
  border: 1px solid rgba(0, 48, 28, 0.08);
}

.my-invitation-link input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: #315044;
  font-size: 13px;
  font-weight: 800;
}

.my-invitation-link button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #00301c;
}

.my-invitation-link button.is-copied {
  background: #087743;
}

.my-invitation-actions,
.my-invitations-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.my-invitation-actions .btn,
.my-invitations-login-actions .btn,
.my-invitations-empty .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 900;
}

.my-invitations-empty {
  margin-top: 30px;
  text-align: center;
}

.my-invitations-empty > i {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #00301c;
  background: rgba(242, 200, 109, 0.3);
  font-size: 30px;
}

.my-invitations-empty h2 {
  color: #00301c;
  font-weight: 900;
}

@media (max-width: 1199px) {
  .my-invitations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .my-invitations-hero {
    padding-top: 112px;
  }

  .my-invitations-grid {
    grid-template-columns: 1fr;
  }

  .my-invitation-actions .btn,
  .my-invitations-login-actions .btn {
    width: 100%;
  }
}

.invitation-auth-modal .modal-dialog {
  max-width: min(1020px, calc(100% - 24px));
  margin: 10px auto;
}

.modal-backdrop {
  z-index: 29990 !important;
}

.invitation-auth-modal {
  background: rgba(0, 24, 14, 0.62);
  z-index: 30000 !important;
}

.invitation-auth-modal:not(.show) {
  display: none;
}

.invitation-auth-modal.show {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 0 !important;
}

body.modal-open {
  overflow: hidden;
}

body.plan-payment-open {
  overflow: hidden;
}

.plan-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 31000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 24, 14, 0.54);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.plan-payment-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.plan-payment-dialog {
  position: relative;
  width: min(100%, 1120px);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(214, 169, 88, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.plan-payment-modal.is-open .plan-payment-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.plan-payment-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #00301c;
  box-shadow: 0 14px 30px rgba(0, 48, 28, 0.12);
  transition: transform 180ms ease, background 180ms ease;
  z-index: 2;
}

.plan-payment-close:hover {
  background: #ffffff;
  transform: scale(1.04);
}

.plan-payment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  min-height: min(760px, calc(100vh - 56px));
}

.plan-payment-aside {
  position: relative;
  padding: 42px 34px 34px;
  background:
    radial-gradient(circle at top left, rgba(214, 162, 70, 0.34), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(160deg, #032f1f 0%, #0a4a33 56%, #0d5a3d 100%);
  color: #f7f2e8;
}

.plan-payment-aside::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.plan-payment-main {
  padding: 42px 34px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 242, 0.94));
}

.plan-payment-main-head {
  margin-bottom: 18px;
}

.plan-payment-main-head small {
  display: inline-block;
  margin-bottom: 8px;
  color: #b47c16;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-payment-main-head h3 {
  margin: 0 0 8px;
  color: #00301c;
  font-family: "DM Serif Text", serif;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.05;
}

.plan-payment-main-head p {
  margin: 0;
  color: #687770;
  font-size: 14px;
  line-height: 1.6;
}

.plan-payment-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #f3c46d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-payment-head h2 {
  margin: 0 42px 12px 0;
  color: #fffaf1;
  font-family: "DM Serif Text", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
}

.plan-payment-head p {
  margin: 0 0 22px;
  color: rgba(248, 244, 236, 0.8);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.plan-payment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.plan-payment-summary small,
.plan-payment-summary strong {
  display: block;
}

.plan-payment-summary small {
  margin-bottom: 3px;
  color: rgba(249, 241, 223, 0.72);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-payment-summary strong {
  color: #fffaf1;
  font-size: 15px;
  font-weight: 900;
}

.plan-payment-benefits {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.plan-payment-benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-payment-benefit i {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(243, 196, 109, 0.16);
  color: #f3c46d;
  font-size: 18px;
}

.plan-payment-benefit strong,
.plan-payment-benefit span {
  display: block;
}

.plan-payment-benefit strong {
  margin-bottom: 5px;
  color: #fffaf1;
  font-size: 15px;
  font-weight: 900;
}

.plan-payment-benefit span {
  color: rgba(248, 244, 236, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.plan-payment-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(246, 208, 128, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(243, 196, 109, 0.22);
}

.plan-payment-note strong,
.plan-payment-note span {
  display: block;
}

.plan-payment-note strong {
  margin-bottom: 6px;
  color: #f9d994;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-payment-note span {
  color: rgba(255, 250, 241, 0.82);
  font-size: 13px;
  line-height: 1.6;
}

.plan-payment-status {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  background: rgba(0, 48, 28, 0.045);
  color: #315044;
  font-size: 13px;
  font-weight: 800;
}

.plan-payment-status[data-status="success"] {
  background: rgba(47, 155, 98, 0.12);
  color: #087743;
}

.plan-payment-status[data-status="warning"] {
  background: rgba(201, 134, 23, 0.14);
  color: #9a650c;
}

.plan-payment-status[data-status="error"] {
  background: #fff1f2;
  color: #9f2436;
}

.plan-payment-status a {
  color: #00301c;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plan-payment-buttons {
  min-height: 420px;
}

.plan-payment-buttons-shell {
  position: relative;
  min-height: 420px;
}

.plan-payment-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(227, 179, 78, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.94);
  color: #315044;
  text-align: center;
}

.plan-payment-loader[hidden] {
  display: none;
}

.plan-payment-loader span {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(0, 48, 28, 0.12);
  border-top-color: #00301c;
  border-radius: 50%;
  animation: planPaymentSpin 0.8s linear infinite;
}

.plan-payment-loader strong {
  color: #00301c;
  font-size: 15px;
  font-weight: 900;
}

.plan-payment-loader small {
  max-width: 280px;
  color: #66776f;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
}

@keyframes planPaymentSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .plan-payment-modal {
    padding: 16px;
  }

  .plan-payment-layout {
    grid-template-columns: 1fr;
  }

  .plan-payment-aside,
  .plan-payment-main {
    padding: 30px 22px 22px;
  }

  .plan-payment-aside::before {
    inset: 14px;
  }

  .plan-payment-dialog {
    width: min(100%, 760px);
    max-height: calc(100vh - 32px);
    border-radius: 22px;
  }
}

@media (max-width: 575.98px) {
  .plan-payment-head h2 {
    margin-right: 28px;
    font-size: 34px;
  }

  .plan-payment-summary {
    grid-template-columns: 1fr;
  }

  .plan-payment-main-head h3 {
    font-size: 28px;
  }
}

.plan-payment-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #00301c;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.plan-payment-fallback[hidden] {
  display: none;
}

.plan-payment-fallback:hover {
  color: #fff;
  background: #014a2d;
}

.invitation-auth-modal .modal-content {
  max-height: calc(100vh - 20px);
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 48, 28, 0.28);
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.88);
  opacity: 1;
}

.auth-modal-brand {
  color: #fff;
  background:
    linear-gradient(150deg, rgba(0, 48, 28, 0.95), rgba(0, 87, 55, 0.9)),
    url("../../images/client-bg.png");
  background-size: cover;
  background-position: center;
}

.auth-modal-brand-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
}

.auth-modal-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.auth-modal-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(242, 200, 109, 0.16);
  color: #f2c86d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-modal-brand h2 {
  max-width: 420px;
  margin: 0 0 10px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
}

.auth-modal-brand p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
}

.auth-benefits {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.auth-benefits i {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #00301c;
  background: #f2c86d;
}

.auth-modal-panel {
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  padding: 24px 30px;
}

.auth-tabs {
  gap: 8px;
  padding: 5px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 12px;
  background: #f7faf8;
}

.auth-tabs .nav-link {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  color: #315044;
  font-weight: 900;
}

.auth-tabs .nav-item {
  flex: 1;
}

.auth-tabs .nav-link.active {
  color: #fff;
  background: #00301c;
  box-shadow: 0 10px 24px rgba(0, 48, 28, 0.18);
}

.auth-tab-content .tab-pane {
  display: none;
}

.auth-tab-content .tab-pane.active {
  display: block;
}

.auth-form .mb-3 {
  margin-bottom: 12px !important;
}

.auth-form .row.g-3 {
  --bs-gutter-x: 12px;
  --bs-gutter-y: 10px;
}

#invitationRegisterForm .col-md-2 {
  min-width: 96px;
}

.auth-form .form-label,
.auth-field-title {
  color: #173d2f;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.auth-form .form-control,
.auth-form .form-select {
  min-height: 40px;
  border-radius: 8px;
  border-color: rgba(0, 48, 28, 0.16);
  color: #19372d;
  font-weight: 700;
}

.auth-password-field {
  display: flex;
  align-items: stretch;
}

.auth-password-field .form-control {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
  border-radius: 8px 0 0 8px;
}

.auth-password-toggle {
  flex: 0 0 42px;
  width: 42px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 48, 28, 0.16);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: #315044;
  background: #eef5f0;
}

.auth-password-field .form-control:focus + .auth-password-toggle {
  border-color: rgba(0, 48, 28, 0.36);
}

.auth-password-field.is-invalid .auth-password-toggle {
  border-color: #dc3545;
  color: #842029;
  background: #fff5f5;
}

.auth-form .invalid-feedback.d-block {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}

.auth-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.auth-forgot-link {
  color: #0f5b3b;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus-visible {
  color: #c98617;
  text-decoration: underline;
  outline: none;
}

.auth-submit-button {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 900;
}

.invitation-auth-modal .auth-tabs .nav-link:hover,
.invitation-auth-modal .auth-tabs .nav-link:focus-visible {
  color: #173d2f !important;
  background: #eef5f0;
  outline: none;
}

.invitation-auth-modal .auth-tabs .nav-link.active:hover,
.invitation-auth-modal .auth-tabs .nav-link.active:focus-visible {
  color: #fff !important;
  background: #00301c;
}

.invitation-auth-modal .auth-submit-button.btn,
.invitation-auth-modal .auth-submit-button.btn-success {
  border-color: #00301c;
  background: linear-gradient(135deg, #00301c 0%, #0b5a3c 100%);
  color: #111111 !important;
  box-shadow: 0 14px 30px rgba(0, 48, 28, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.invitation-auth-modal .auth-submit-button span,
.invitation-auth-modal .auth-submit-button i {
  color: inherit !important;
}

.invitation-auth-modal .auth-submit-button:hover,
.invitation-auth-modal .auth-submit-button:focus-visible {
  border-color: #d98b92;
  background: linear-gradient(135deg, #e7848b 0%, #d86b76 100%);
  color: #111111 !important;
  box-shadow: 0 18px 34px rgba(216, 107, 118, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.invitation-auth-modal .auth-password-toggle:hover,
.invitation-auth-modal .auth-password-toggle:focus-visible {
  color: #00301c;
  background: #dfece5;
  outline: none;
}

.invitation-auth-modal .auth-segment:hover,
.invitation-auth-modal .auth-segment:focus-visible {
  color: #173d2f;
  border-color: rgba(0, 48, 28, 0.26);
  background: #f5f8f6;
  outline: none;
}

.auth-legal-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px 12px;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcfb 0%, #f4f8f5 100%);
  cursor: pointer;
}

.auth-legal-consent .form-check-input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border-color: rgba(0, 48, 28, 0.2);
}

.auth-legal-copy {
  color: #234435;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.auth-legal-copy a {
  color: #c65e67;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 94, 103, 0.24);
}

.auth-legal-copy a:hover,
.auth-legal-copy a:focus-visible {
  color: #00301c;
  border-bottom-color: rgba(0, 48, 28, 0.32);
  outline: none;
}

.auth-legal-note {
  margin-top: 8px;
  color: #6f7d77;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.auth-form-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #8a1f2d;
  background: #fff1f2;
  font-weight: 800;
}

.password-recovery-body .gt-header,
.password-recovery-body footer {
  display: none;
}

.password-recovery-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background:
    radial-gradient(circle at 18% 16%, rgba(201, 134, 23, 0.12), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f6f2ea 100%);
}

.password-recovery-card {
  width: min(100%, 420px);
  padding: 34px 30px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 48, 28, 0.15);
}

.password-recovery-header {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 18px;
}

.password-recovery-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(124px, 42vw);
  max-width: 100%;
}

.password-recovery-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 124px;
  object-fit: contain;
}

.password-recovery-kicker {
  display: block;
  margin-bottom: 8px;
  color: #c98617;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.password-recovery-card h1 {
  margin: 0 0 12px;
  color: #00301c;
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
}

.password-recovery-card p {
  margin: 0 0 12px;
  color: #5f6d67;
  font-size: 14px;
  line-height: 1.6;
}

.password-recovery-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.password-recovery-field {
  display: grid;
  gap: 8px;
}

.password-recovery-field label {
  color: #173d2f;
  font-size: 13px;
  font-weight: 900;
}

.password-recovery-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 10px;
  background: #fff;
  color: #173d2f;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.password-recovery-field input:focus {
  border-color: rgba(201, 134, 23, 0.7);
  box-shadow: 0 0 0 4px rgba(201, 134, 23, 0.12);
}

.password-recovery-password-field {
  position: relative;
}

.password-recovery-password-field input {
  padding-right: 48px;
}

.password-recovery-password-field.is-invalid input,
.password-recovery-field input.is-invalid {
  border-color: rgba(182, 59, 74, 0.72);
  box-shadow: 0 0 0 4px rgba(182, 59, 74, 0.1);
}

.password-recovery-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #53615b;
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, color 0.18s ease;
}

.password-recovery-toggle:hover,
.password-recovery-toggle:focus-visible {
  background: rgba(0, 48, 28, 0.08);
  color: #00301c;
  outline: none;
}

.password-recovery-strength {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 48, 28, 0.08);
}

.password-recovery-strength span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #b63b4a;
  transition: width 0.18s ease, background 0.18s ease;
}

.password-recovery-strength span[data-score="2"] {
  background: #c98617;
}

.password-recovery-strength span[data-score="3"],
.password-recovery-strength span[data-score="4"] {
  background: #137a4f;
}

.password-recovery-field small {
  display: none;
  color: #b63b4a;
  font-size: 12px;
  font-weight: 800;
}

.password-recovery-field small.is-visible,
.password-recovery-field small:not(:empty) {
  display: block;
}

.password-recovery-help {
  color: #6f7d77;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.password-recovery-alert {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(182, 59, 74, 0.18);
  border-radius: 10px;
  color: #9f2637;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.password-recovery-primary,
.password-recovery-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.password-recovery-primary {
  border: 1px solid rgba(0, 48, 28, 0.86);
  background: #00301c;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 48, 28, 0.2);
  position: relative;
  gap: 10px;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.password-recovery-secondary {
  border: 1px solid rgba(0, 48, 28, 0.12);
  background: #f8f6ef;
  color: #173d2f;
}

.password-recovery-primary:hover,
.password-recovery-primary:focus-visible {
  background: #06472e;
  color: #fff;
  outline: none;
}

.password-recovery-primary:disabled {
  cursor: wait;
  opacity: 0.92;
  box-shadow: 0 12px 26px rgba(0, 48, 28, 0.16);
}

.password-recovery-button-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.password-recovery-form.is-submitting .password-recovery-button-text {
  display: none;
}

.password-recovery-form.is-submitting .password-recovery-button-loading {
  display: inline-flex;
}

.password-recovery-button-spinner,
.password-recovery-spinner {
  display: inline-block;
  border-radius: 50%;
  animation: passwordRecoverySpin 0.78s linear infinite;
}

.password-recovery-button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
}

.password-recovery-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(255, 253, 248, 0.78);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 0.18s ease;
}

.password-recovery-loading.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.password-recovery-loading-box {
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #173d2f;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 48, 28, 0.16);
}

.password-recovery-loading-box strong {
  color: #00301c;
  font-size: 16px;
  line-height: 1.25;
}

.password-recovery-loading-box span:last-child {
  color: #5f6d67;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.password-recovery-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(201, 134, 23, 0.22);
  border-top-color: #c98617;
}

@keyframes passwordRecoverySpin {
  to {
    transform: rotate(360deg);
  }
}

.password-recovery-secondary:hover,
.password-recovery-secondary:focus-visible {
  background: #f0eadc;
  color: #00301c;
  outline: none;
}

.password-recovery-success {
  text-align: center;
}

.password-recovery-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(21, 160, 83, 0.12);
  color: #15a053;
  font-size: 28px;
}

.password-recovery-success .password-recovery-primary {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 575px) {
  .password-recovery-card {
    padding: 28px 22px;
  }

  .password-recovery-header {
    margin-bottom: 16px;
  }

  .password-recovery-logo {
    width: min(118px, 52vw);
  }

  .password-recovery-card h1 {
    font-size: 30px;
  }
}

.auth-field-help {
  display: block;
  margin-top: 4px;
  color: #6f7d77;
  font-size: 12px;
  font-weight: 700;
}

.auth-field-help.is-valid {
  color: #087743;
}

.auth-field-help.is-invalid {
  color: #b42335;
}

.auth-segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.auth-segment {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 10px;
  color: #315044;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.btn-check:checked + .auth-segment {
  color: #fff;
  border-color: #00301c;
  background: #00301c;
}

.auth-strength-meter {
  height: 5px;
  overflow: hidden;
  margin-top: 6px;
  border-radius: 999px;
  background: #eef3ef;
}

.auth-strength-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #eb8a8f;
  transition: width 0.2s ease, background 0.2s ease;
}

.auth-strength-meter span[data-score="2"] {
  background: #f2c86d;
}

.auth-strength-meter span[data-score="3"],
.auth-strength-meter span[data-score="4"] {
  background: #2f9b62;
}

.invitation-ready-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(235, 138, 143, 0.14), transparent 28%),
    linear-gradient(135deg, #f8fbf8, #fff7f7);
}

.ready-hero {
  padding: 132px 0 70px;
}

.ready-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #00301c;
  background: rgba(242, 200, 109, 0.32);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-hero h1 {
  max-width: 560px;
  color: #00301c;
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.96;
}

.ready-hero p {
  max-width: 560px;
  color: #475b54;
  font-size: 18px;
  line-height: 1.7;
}

.ready-link-panel {
  max-width: 640px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 48, 28, 0.1);
}

.ready-link-panel label {
  display: block;
  margin-bottom: 8px;
  color: #00301c;
  font-weight: 900;
}

.ready-link-control {
  display: flex;
  gap: 10px;
}

.ready-link-control input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 10px;
  padding: 0 12px;
  color: #173d2f;
  font-weight: 800;
}

.ready-link-panel small {
  display: block;
  margin-top: 8px;
  color: #6f7d77;
  font-weight: 700;
}

.ready-link-panel small.is-success {
  color: #087743;
}

.ready-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ready-actions .btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 900;
}

.ready-preview-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 48, 28, 0.16);
}

.ready-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: #00301c;
  border-bottom: 1px solid rgba(0, 48, 28, 0.08);
}

.ready-preview-header span,
.ready-preview-header strong {
  display: block;
}

.ready-preview-header span {
  color: #6f7d77;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-preview-header strong {
  margin-top: 2px;
  font-size: 18px;
}

.ready-preview-header i {
  font-size: 28px;
  color: #eb8a8f;
}

.ready-preview-frame {
  height: min(70vh, 640px);
  background: #eef3ef;
}

.ready-preview-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991px) {
  .invitation-auth-modal .modal-content {
    max-height: calc(100svh - 16px);
  }

  .auth-modal-brand-inner {
    min-height: auto;
    align-items: center;
    padding: 22px 24px 18px;
    text-align: center;
  }

  .auth-modal-logo {
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
  }

  .auth-modal-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .auth-modal-brand h2 {
    max-width: min(100%, 430px);
    margin-bottom: 0;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.02;
  }

  .auth-modal-brand p {
    display: block;
    max-width: min(100%, 420px);
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    line-height: 1.38;
  }

  .auth-benefits {
    display: none;
  }

  .auth-modal-panel {
    max-height: calc(100svh - 176px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 20px 96px;
    scroll-padding-bottom: 120px;
  }

  #invitationLoginForm,
  #invitationRegisterForm {
    padding-bottom: 24px;
  }

  .auth-legal-consent {
    padding: 12px;
    gap: 10px;
  }

  .ready-hero {
    padding-top: 112px;
  }
}

@media (max-width: 575px) {
  .invitation-auth-modal .modal-dialog {
    max-width: calc(100% - 12px);
    margin: 6px auto;
  }

  .invitation-auth-modal .modal-content {
    max-height: calc(100svh - 12px);
    border-radius: 14px;
  }

  .auth-modal-close {
    top: 10px;
    right: 10px;
  }

  .auth-modal-logo {
    width: 58px;
    height: 58px;
  }

  .auth-modal-brand-inner {
    padding: 20px 20px 16px;
  }

  .auth-modal-brand h2 {
    font-size: 25px;
  }

  .auth-modal-brand p {
    font-size: 12.5px;
  }

  .auth-modal-panel {
    max-height: calc(100svh - 190px);
    padding: 20px 16px 112px;
    scroll-padding-bottom: 136px;
  }

  #invitationLoginForm,
  #invitationRegisterForm {
    padding-bottom: 34px;
  }

  .auth-tabs {
    margin-bottom: 18px;
  }

  .auth-segmented-control,
  .ready-link-control {
    grid-template-columns: 1fr;
  }

  .auth-form .row.g-3 {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 10px;
  }

  #invitationRegisterForm .col-md-2,
  #invitationRegisterForm .col-md-5,
  #invitationRegisterForm .col-md-6 {
    width: 100%;
    min-width: 0;
  }

  .auth-form-row {
    align-items: flex-start;
    gap: 8px;
  }

  .auth-form .form-control,
  .auth-form .form-select,
  .auth-password-toggle {
    min-height: 38px;
  }

  .ready-link-control {
    display: grid;
  }

  .ready-actions .btn {
    width: 100%;
  }

  .ready-preview-frame {
    height: 560px;
  }
}

/* Invitados home: desktop hero/header alignment refinements */
@media (min-width: 969px) {
  .invitaciones-home .header-area .main-nav {
    justify-content: flex-start;
  }

  .invitaciones-home .header-area .main-nav .logo {
    margin-right: auto;
  }

  .invitaciones-home .header-area .main-nav .nav {
    flex: 0 1 auto;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
    position: relative;
    top: -15px;
    transform: none;
  }

  .invitaciones-home .header-area .main-nav .nav li a {
    padding: 0 20px !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
    transform: none !important;
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  .invitaciones-home .header-area .main-nav .nav li a i {
    opacity: 1;
    filter: none;
  }

  .invitaciones-home .header-area .main-nav .nav li.nav-primary-cta a {
    min-width: 220px;
    padding: 0 22px !important;
    font-weight: 900 !important;
  }

  .invitaciones-home .home-hero-visual {
    align-items: flex-start;
    padding-top: clamp(4px, 2.2vh, 26px);
  }

  .invitaciones-home .home-hero-banner .right-image img {
    transform: translateY(-14px);
  }
}

@media (min-width: 969px) and (max-width: 1199px) {
  .invitaciones-home .header-area .main-nav .nav {
    gap: 10px;
  }

  .invitaciones-home .header-area .main-nav .nav li a {
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  .invitaciones-home .header-area .main-nav .nav li.nav-primary-cta a {
    min-width: 200px;
    padding: 0 18px !important;
  }

  .invitaciones-home .home-hero-banner .right-image img {
    transform: translateY(-8px);
  }
}

/* Global desktop navbar parity */
@media (min-width: 969px) {
  .header-area .main-nav {
    justify-content: flex-start;
  }

  .header-area .main-nav .logo {
    margin-right: auto;
  }

  .header-area .main-nav .nav {
    flex: 0 1 auto;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
    position: relative;
    top: -15px;
    transform: none;
  }

  .header-area .main-nav .nav li a {
    padding: 0 20px !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    letter-spacing: 0;
    -webkit-font-smoothing: auto;
    text-rendering: optimizeLegibility;
    transform: none !important;
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  }

  .header-area .main-nav .nav li a i {
    opacity: 1;
    filter: none;
  }

  .header-area .main-nav .nav li.nav-primary-cta a {
    min-width: 220px;
    padding: 0 22px !important;
    font-weight: 900 !important;
  }
}

@media (min-width: 969px) and (max-width: 1199px) {
  .header-area .main-nav .nav {
    gap: 10px;
  }

  .header-area .main-nav .nav li a {
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  .header-area .main-nav .nav li.nav-primary-cta a {
    min-width: 200px;
    padding: 0 18px !important;
  }
}

.recommended-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.recommended-template-actions .btn {
  flex: 1 1 160px;
}

.recommended-template-preview {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 48, 28, 0.18) !important;
  border-radius: 8px;
  background: #fff !important;
  color: #00301C !important;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 48, 28, 0.08);
}

.recommended-template-preview:hover,
.recommended-template-preview:focus-visible {
  border-color: rgba(235, 138, 143, 0.55) !important;
  color: #c65e67 !important;
  transform: translateY(-2px);
}

.editor-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.editor-demo-link,
.editor-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.editor-demo-link {
  min-height: 44px;
  border-radius: 8px;
  background: #00301C !important;
  border-color: #00301C !important;
  color: #fff !important;
  font-weight: 900;
}

.template-live-preview {
  width: min(100%, 980px);
  min-height: 760px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1714;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: width 0.24s ease, min-height 0.24s ease, border-radius 0.24s ease;
}

.template-live-preview iframe {
  width: 100%;
  height: 760px;
  display: block;
  border: 0;
  background: #fff;
}

.template-live-preview.is-phone-preview {
  width: min(100%, 390px);
  min-height: 760px;
  border-radius: 28px;
  padding: 12px;
}

.template-live-preview.is-phone-preview iframe {
  height: 736px;
  border-radius: 20px;
}

.template-editor-panel .accordion-body {
  padding-bottom: 8px;
}

.template-required {
  color: #EB8A8F;
  font-weight: 900;
}

.template-file-name {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 12px;
}

.editor-section-head {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0;
  background: #fff;
}

.editor-section-head .accordion-button {
  flex: 1 1 auto;
  min-width: 0;
}

.editor-section-visibility {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 10px 0;
}

.editor-section-visibility .form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 6px 10px 6px 42px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.04);
}

.editor-section-visibility .form-check-input {
  width: 36px;
  height: 20px;
  margin-left: -34px;
  cursor: pointer;
  border-color: rgba(0, 48, 28, 0.28);
  background-color: rgba(0, 48, 28, 0.28);
}

.editor-section-visibility .form-check-input:checked {
  border-color: #00301C;
  background-color: #00301C;
}

.editor-section-visibility .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.editor-section-visibility .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #00301C;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.editor-section-visibility [data-section-visibility-label] {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  color: #8a6b13;
  font-size: 10px;
  text-transform: uppercase;
}

.editor-section-help {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #00301C;
  box-shadow: 0 8px 18px rgba(25, 42, 34, 0.08);
}

.editor-section-help:hover,
.editor-section-help:focus-visible {
  border-color: #D4AF37;
  color: #D4AF37;
  outline: none;
}

.editor-accordion .accordion-item.has-section-visibility.is-complete::before {
  right: 225px;
}

.editor-accordion .accordion-item.is-section-hidden .accordion-body {
  opacity: 0.58;
}

.editor-accordion .accordion-item.is-section-hidden .accordion-body::before {
  content: "Seccion oculta en la invitacion";
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(235, 138, 143, 0.28);
  border-radius: 999px;
  background: rgba(235, 138, 143, 0.1);
  color: #b94f59;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.popover {
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(25, 42, 34, 0.16);
}

.popover-body {
  color: #243a31;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.template-editor-panel .editor-section-visibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 12px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 48, 28, 0.055), rgba(212, 175, 55, 0.095)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.template-editor-panel .editor-section-visibility .form-check {
  width: 100%;
  min-height: 38px;
  padding: 0 0 0 48px;
  border: 0;
  background: transparent;
}

.template-editor-panel .editor-section-visibility .form-check-input {
  width: 42px;
  height: 24px;
  margin-top: 7px;
  margin-left: -48px;
}

.template-editor-panel .editor-section-visibility .form-check-label {
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
}

.template-editor-panel .editor-section-help {
  flex: 0 0 auto;
}

.editor-accordion .accordion-item.has-section-visibility.is-complete::before {
  right: 14px;
}

@media (max-width: 768px) {
  .template-editor-panel .editor-section-visibility {
    margin: 0 10px 10px;
    padding: 9px 10px;
  }

  .template-editor-panel .editor-section-visibility .form-check-label {
    font-size: 11px;
  }
}

.editor-result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.editor-result-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: #00301C;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.editor-placeholder-message.alert-danger {
  border-color: rgba(220, 53, 69, 0.22);
  background: rgba(220, 53, 69, 0.08);
  color: #9f1f2d;
}

@media (max-width: 768px) {
  .editor-header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .editor-header-actions .btn {
    flex: 1 1 100%;
  }

  .template-live-preview,
  .template-live-preview iframe {
    min-height: 640px;
    height: 640px;
  }

  .template-live-preview.is-phone-preview iframe {
    height: 616px;
  }
}

/* Premium editor side panel */
.invitation-editor-page.is-basic-template .editor-panel {
  border: 1px solid rgba(0, 48, 28, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.96)),
    #fff;
  box-shadow: 0 24px 56px rgba(25, 42, 34, 0.12);
}

.editor-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.editor-panel-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.14);
  color: #c65e67;
  font-size: 12px;
  font-weight: 900;
}

.editor-step-nav {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px -6px 16px;
  padding: 10px 8px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 8px;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  box-shadow: 0 14px 30px rgba(25, 42, 34, 0.08);
}

.editor-step-nav::before {
  content: "";
  position: absolute;
  inset: -18px -8px -14px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(25, 42, 34, 0.06);
}

.editor-step-nav button {
  position: relative;
  display: grid;
  min-height: 54px;
  place-items: center;
  gap: 4px;
  padding: 8px 6px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #fff;
  color: #52655d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 8px 18px rgba(25, 42, 34, 0.05);
}

.editor-step-nav button i {
  color: #00301C;
  font-size: 17px;
}

.editor-step-nav button:hover,
.editor-step-nav button:focus-visible,
.editor-step-nav button.is-active {
  border-color: #00301C;
  background: #00301C;
  color: #fff;
  outline: none;
}

.editor-step-nav button:hover i,
.editor-step-nav button:focus-visible i,
.editor-step-nav button.is-active i {
  color: #fff;
}

.editor-step-scroll-controls {
  display: none;
}

.editor-step-scroll-button {
  border: 0;
  padding: 0;
}

.editor-step-nav button .editor-step-edit-icon,
.editor-app-body .editor-canva-panel .editor-step-nav button .editor-step-edit-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #00301C;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(22, 36, 31, 0.12);
  pointer-events: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.editor-step-nav button:hover .editor-step-edit-icon,
.editor-step-nav button:focus-visible .editor-step-edit-icon,
.editor-step-nav button.is-active .editor-step-edit-icon,
.editor-app-body .editor-canva-panel .editor-step-nav button:hover .editor-step-edit-icon,
.editor-app-body .editor-canva-panel .editor-step-nav button:focus-visible .editor-step-edit-icon,
.editor-app-body .editor-canva-panel .editor-step-nav button.is-active .editor-step-edit-icon {
  background: #F6D46B;
  color: #00301C;
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 8px 18px rgba(246, 212, 107, 0.34);
}

@media (min-width: 992px) {
  .editor-step-nav button .editor-step-edit-icon,
  .editor-app-body .editor-canva-panel .editor-step-nav button .editor-step-edit-icon {
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    font-size: 9px;
    box-shadow: 0 5px 12px rgba(22, 36, 31, 0.14);
  }

  .editor-step-nav button:hover .editor-step-edit-icon,
  .editor-step-nav button:focus-visible .editor-step-edit-icon,
  .editor-step-nav button.is-active .editor-step-edit-icon,
  .editor-app-body .editor-canva-panel .editor-step-nav button:hover .editor-step-edit-icon,
  .editor-app-body .editor-canva-panel .editor-step-nav button:focus-visible .editor-step-edit-icon,
  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active .editor-step-edit-icon {
    transform: translate(1px, -1px) scale(1.05);
  }
}

.editor-accordion .accordion-item {
  position: relative;
}

.editor-accordion .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 48px;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.editor-accordion .accordion-button:hover,
.editor-accordion .accordion-button:focus-visible {
  background: rgba(235, 138, 143, 0.1);
  color: #00301C;
  box-shadow: inset 3px 0 0 rgba(235, 138, 143, 0.68);
}

.editor-section-edit-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(235, 138, 143, 0.16);
  color: #EB8A8F;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.editor-accordion .accordion-button:hover .editor-section-edit-icon,
.editor-accordion .accordion-button:focus-visible .editor-section-edit-icon,
.editor-accordion .accordion-item.is-active-panel .editor-section-edit-icon {
  background: #EB8A8F;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 18px rgba(235, 138, 143, 0.32);
}

.editor-accordion .accordion-button span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.editor-accordion .accordion-button span i {
  color: #EB8A8F;
  font-size: 18px;
}

.editor-accordion .accordion-button small {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(0, 48, 28, 0.08);
  color: #436E60;
  font-size: 12px;
  font-weight: 900;
}

.editor-accordion .accordion-body {
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

.editor-panel .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #00301C;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-panel .form-control {
  min-height: 48px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #243a31;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(25, 42, 34, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.editor-panel textarea.form-control {
  min-height: 88px;
}

.editor-panel .form-control:hover {
  border-color: rgba(0, 48, 28, 0.28);
}

.editor-panel .form-control:focus {
  border-color: #EB8A8F;
  box-shadow: 0 0 0 4px rgba(235, 138, 143, 0.14);
  transform: translateY(-1px);
}

.theme-option,
.preset-option {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.theme-option:hover,
.preset-option:hover {
  transform: translateY(-2px);
}

.theme-option.is-active,
.preset-option.is-active {
  box-shadow: 0 12px 24px rgba(0, 48, 28, 0.13);
}

.editor-actions {
  gap: 10px;
}

.invitation-editor-page.is-basic-template .editor-actions .btn {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 900;
}

.invitation-editor-page.is-basic-template .editor-actions .btn-outline-secondary {
  border-color: rgba(0, 48, 28, 0.18);
  background: #fff !important;
  color: #00301C;
}

.invitation-editor-page.is-basic-template .editor-actions .btn-outline-secondary:hover {
  border-color: #00301C;
  background: #f5faf6 !important;
}

.editor-reset-section {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px dashed rgba(0, 48, 28, 0.22);
  border-radius: 8px;
  background: #fbfdfc;
  color: #436E60;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.editor-reset-section:hover,
.editor-reset-section:focus-visible {
  transform: translateY(-1px);
  border-color: #EB8A8F;
  background: rgba(235, 138, 143, 0.12);
  color: #c65e67;
  outline: none;
}

@media (max-width: 575px) {
  .editor-step-nav {
    grid-template-columns: repeat(5, 72px);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .editor-step-nav button {
    min-height: 58px;
  }

  .editor-accordion .accordion-button {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 44px;
  }
}

/* Canva-style invitation editor */
.invitation-editor-page .editor-canvas-area,
.invitation-editor-page .editor-control-area {
  min-width: 0;
}

.editor-canva-panel .editor-actions {
  grid-template-columns: 1fr;
}

.editor-canva-panel .editor-share-button {
  width: 100%;
}

.editor-canva-panel.is-panel-ready .editor-accordion .accordion-item:not(.is-active-panel) {
  display: none;
}

.editor-canva-panel .editor-accordion .accordion-item.is-active-panel {
  display: block;
}

.editor-sheet-close {
  display: none;
}

@media (min-width: 1200px) {
  .invitation-editor-page .editor-workspace {
    display: grid;
    grid-template-columns: minmax(380px, 470px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .invitation-editor-page .editor-control-area,
  .invitation-editor-page .editor-canvas-area {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .invitation-editor-page .editor-control-area {
    grid-column: 1;
    grid-row: 1;
  }

  .invitation-editor-page .editor-canvas-area {
    grid-column: 2;
    grid-row: 1;
  }

  .editor-canva-panel {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "menu header"
      "menu fields"
      "menu actions"
      "menu message";
    gap: 0 18px;
    max-height: calc(100vh - 138px);
    overflow: hidden !important;
    padding: 0;
    position: sticky;
    top: 110px;
  }

  .editor-canva-panel .editor-panel-header {
    grid-area: header;
    padding: 20px 20px 0 0;
  }

  .editor-canva-panel .editor-step-nav {
    grid-area: menu;
    position: relative;
    top: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    margin: 0;
    padding: 14px 10px;
    overflow-y: auto;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px 0 0 8px;
    background: #00301C;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    scrollbar-width: thin;
  }

  .editor-canva-panel .editor-step-nav::before {
    display: none;
  }

  .editor-canva-panel .editor-step-nav button {
    width: 100%;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    box-shadow: none;
  }

  .editor-canva-panel .editor-step-nav button i {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #F6D46B;
    font-size: 17px;
  }

  .editor-canva-panel .editor-step-nav button:hover,
  .editor-canva-panel .editor-step-nav button:focus-visible,
  .editor-canva-panel .editor-step-nav button.is-active {
    border-color: rgba(246, 212, 107, 0.55);
    background: #fff;
    color: #00301C;
    outline: none;
    transform: translateY(-1px);
  }

  .editor-canva-panel .editor-step-nav button:hover i,
  .editor-canva-panel .editor-step-nav button:focus-visible i,
  .editor-canva-panel .editor-step-nav button.is-active i {
    background: rgba(235, 138, 143, 0.14);
    color: #EB8A8F;
  }

  .editor-canva-panel .editor-accordion {
    grid-area: fields;
    min-height: 0;
    overflow-y: auto;
    padding: 0 20px 4px 0;
    scrollbar-width: thin;
  }

  .editor-canva-panel .editor-accordion .accordion-item {
    margin-bottom: 0;
    border-color: rgba(0, 48, 28, 0.1);
    box-shadow: 0 14px 30px rgba(22, 36, 31, 0.07);
  }

  .editor-canva-panel .editor-accordion .accordion-button {
    pointer-events: none;
    min-height: 58px;
    background: rgba(0, 48, 28, 0.05);
  }

  .editor-canva-panel .editor-accordion .accordion-button::after {
    display: none;
  }

  .editor-canva-panel .editor-accordion .accordion-body {
    padding: 18px;
  }

  .editor-canva-panel .editor-actions {
    grid-area: actions;
    margin: 14px 20px 18px 0;
  }

  .editor-canva-panel .editor-placeholder-message {
    grid-area: message;
    margin: 0 20px 18px 0;
  }
}

@media (max-width: 1199.98px) {
  .editor-canva-panel {
    position: static;
  }
}

@media (max-width: 991.98px) {
  .invitation-editor-page {
    padding-bottom: 138px;
  }

  .invitation-editor-page .editor-workspace {
    padding-left: 12px;
    padding-right: 12px;
  }

  .editor-canva-panel {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: block;
    padding: 0 10px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(248, 250, 248, 0), #f8faf8 14%);
    box-shadow: none;
    pointer-events: none;
  }

  .editor-canva-panel .editor-panel-header {
    display: none;
  }

  .editor-canva-panel .editor-accordion,
  .editor-canva-panel .editor-actions,
  .editor-canva-panel .editor-placeholder-message,
  .editor-canva-panel .editor-step-nav {
    pointer-events: auto;
  }

  .editor-canva-panel .editor-accordion {
    max-height: min(48svh, 480px);
    overflow-y: auto;
    margin: 0 0 8px;
    padding: 10px;
    border: 1px solid rgba(0, 48, 28, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 -18px 48px rgba(22, 36, 31, 0.18);
    scrollbar-width: thin;
  }

  .editor-canva-panel .editor-accordion .accordion-item {
    margin-bottom: 0;
    border: 0;
    box-shadow: none;
  }

  .editor-canva-panel .editor-accordion .accordion-button {
    pointer-events: none;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(0, 48, 28, 0.06);
  }

  .editor-canva-panel .editor-accordion .accordion-button::after {
    display: none;
  }

  .editor-canva-panel .editor-accordion .accordion-body {
    padding: 14px 2px 4px;
    background: #fff;
  }

  .editor-canva-panel .editor-actions {
    position: static !important;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .editor-canva-panel .editor-actions .btn {
    min-height: 52px;
    border-radius: 12px;
  }

  .editor-canva-panel .editor-placeholder-message {
    margin: 0 0 8px;
  }

  .editor-canva-panel .editor-step-nav {
    position: relative;
    top: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(74px, 1fr);
    gap: 7px;
    margin: 0;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid rgba(0, 48, 28, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 -12px 34px rgba(22, 36, 31, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    scrollbar-width: none;
  }

  .editor-canva-panel .editor-step-nav::-webkit-scrollbar {
    display: none;
  }

  .editor-canva-panel .editor-step-nav::before {
    display: none;
  }

  .editor-canva-panel .editor-step-nav button {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f7faf8;
    color: #50625a;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.12;
    box-shadow: none;
    white-space: normal;
  }

  .editor-canva-panel .editor-step-nav button i {
    color: #00301C;
    font-size: 18px;
  }

  .editor-canva-panel .editor-step-nav button.is-active,
  .editor-canva-panel .editor-step-nav button:hover,
  .editor-canva-panel .editor-step-nav button:focus-visible {
    border-color: rgba(235, 138, 143, 0.55);
    background: #00301C;
    color: #fff;
    outline: none;
  }

  .editor-canva-panel .editor-step-nav button.is-active i,
  .editor-canva-panel .editor-step-nav button:hover i,
  .editor-canva-panel .editor-step-nav button:focus-visible i {
    color: #F6D46B;
  }
}

@media (max-width: 575px) {
  .editor-canva-panel .editor-accordion {
    max-height: 44svh;
  }

  .editor-canva-panel .editor-accordion .accordion-button span {
    font-size: 14px;
  }

  .editor-canva-panel .editor-step-nav {
    grid-auto-columns: 72px;
  }
}

/* Full screen editor app layout */
.editor-app-body {
  overflow-x: hidden;
  overflow-y: hidden;
  background: #eef3f0;
}

.editor-app-body .header-area,
.editor-app-body .whatsapp-float,
.editor-app-body footer {
  display: none !important;
}

.editor-app-body .invitation-editor-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 100svh;
  height: 100svh;
  padding: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f6f9f7 0%, #edf3ef 100%);
}

.editor-app-shell {
  width: 100vw;
  max-width: 100vw;
  height: 100svh;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  overflow: hidden;
}

.editor-app-body .row {
  --bs-gutter-x: 0;
}

.editor-app-topbar {
  position: relative;
  z-index: 1040;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, auto) minmax(260px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0, 48, 28, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(22, 36, 31, 0.08);
}

.editor-topbar-brand,
.editor-topbar-status,
.editor-topbar-actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.editor-topbar-actions {
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
}

.editor-topbar-brand {
  gap: 10px;
}

.editor-topbar-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #00301C;
  box-shadow: 0 10px 22px rgba(0, 48, 28, 0.16);
}

.editor-topbar-logo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
}

.editor-topbar-title {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.editor-topbar-title span {
  color: #5e6d66;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-topbar-title strong {
  overflow: hidden;
  color: #00301C;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-topbar-status {
  justify-content: center;
  gap: 8px;
}

.editor-topbar-status span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #f7faf8;
  color: #335248;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.editor-topbar-status i {
  color: #78BD8A;
  font-size: 15px;
}

.editor-topbar-actions {
  justify-content: flex-end;
  gap: 8px;
}

.editor-topbar-action,
.editor-topbar-share {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.editor-topbar-action {
  border: 1px solid rgba(0, 48, 28, 0.12);
  background: #fff;
  color: #00301C;
}

.editor-topbar-action:hover,
.editor-topbar-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(235, 138, 143, 0.5);
  background: rgba(235, 138, 143, 0.1);
  color: #c65e67;
  outline: none;
}

.editor-topbar-share {
  border: 1px solid #EB8A8F;
  background: linear-gradient(135deg, #EB8A8F, #d96f76);
  color: #fff;
  box-shadow: 0 12px 22px rgba(235, 138, 143, 0.24);
}

.editor-topbar-share:hover,
.editor-topbar-share:focus-visible {
  transform: translateY(-1px);
  border-color: #00301C;
  background: linear-gradient(135deg, #00301C, #436E60);
  color: #fff;
  outline: none;
}

.editor-share-loading-open {
  overflow: hidden;
}

.editor-share-loading-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.editor-share-loading-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.editor-share-loading-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 18, 0.44);
  backdrop-filter: blur(8px);
}

.editor-share-loading-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 30px 28px 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 247, 0.95));
  box-shadow: 0 24px 80px rgba(0, 48, 28, 0.22);
  text-align: center;
}

.editor-share-loading-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid rgba(0, 48, 28, 0.1);
  border-top-color: #EB8A8F;
  border-right-color: #00301C;
  animation: editorShareSpin 0.85s linear infinite;
  box-shadow: 0 0 0 8px rgba(235, 138, 143, 0.08);
}

.editor-share-loading-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(235, 138, 143, 0.12);
  color: #c65e67;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-share-loading-dialog h2 {
  margin: 0 0 10px;
  color: #00301C;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.editor-share-loading-dialog p {
  margin: 0;
  color: #54655e;
  font-size: 15px;
  line-height: 1.7;
}

@keyframes editorShareSpin {
  to {
    transform: rotate(360deg);
  }
}

.editor-app-body .editor-workspace {
  width: 100vw;
  max-width: 100vw !important;
  max-width: none !important;
  height: calc(100svh - 64px);
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

.editor-app-body .editor-canvas-area,
.editor-app-body .editor-control-area {
  min-height: 0;
}

.editor-app-body .editor-preview-shell,
.editor-app-body .editor-panel {
  border-radius: 0;
}

.editor-app-body .editor-preview-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  border-left: 1px solid rgba(0, 48, 28, 0.08);
  background: #eef3f0;
  box-shadow: none;
}

.editor-preview-title {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.editor-preview-title span {
  color: #6b7772;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-preview-title strong {
  overflow: hidden;
  color: #00301C;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-app-body .editor-preview-toolbar {
  min-height: 58px;
  padding: 9px 14px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 48, 28, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.editor-event-date-control {
  width: min(260px, 100%);
  min-width: 210px;
  display: grid;
  gap: 4px;
  color: #00301C;
  font-weight: 900;
}

.editor-event-date-control span {
  color: #6b7772;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.editor-event-date-control input {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(0, 48, 28, 0.14);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  color: #00301C;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(22, 36, 31, 0.04);
}

.editor-event-date-control input:focus {
  border-color: #00301C;
  outline: 3px solid rgba(0, 48, 28, 0.12);
}

.editor-event-date-control.is-date-reminder-marked {
  border-radius: 8px;
  padding: 8px;
  margin: 0 -8px;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(235, 138, 143, 0.54),
    0 10px 26px rgba(0, 48, 28, 0.12);
}

.editor-event-date-control.is-date-reminder-marked span {
  color: #00301C;
}

.editor-event-date-control.is-date-reminder-marked input {
  border-color: #EB8A8F;
  box-shadow: none;
}

.event-date-guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 1290;
  background: rgba(0, 24, 14, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.event-date-guide-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.event-date-guide-card {
  position: fixed;
  top: var(--event-date-guide-top, 132px);
  left: var(--event-date-guide-left, 24px);
  z-index: 1320;
  width: var(--event-date-guide-width, min(360px, calc(100vw - 32px)));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(0, 48, 28, 0.12);
  border-left: 5px solid #EB8A8F;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  color: #24342f;
  box-shadow: 0 24px 70px rgba(0, 24, 14, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.event-date-guide-card::before,
.event-date-guide-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.event-date-guide-card::before {
  top: -17px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 17px solid rgba(235, 138, 143, 0.9);
}

.event-date-guide-card::after {
  top: -13px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 14px solid #fff;
}

.event-date-guide-card.is-menu-step::before,
.event-date-guide-card.is-menu-step::after {
  top: 50%;
  left: auto;
  transform: translateY(-50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 0;
}

.event-date-guide-card.is-menu-step::before {
  right: calc(100% + 1px);
  border-right: 17px solid rgba(235, 138, 143, 0.9);
}

.event-date-guide-card.is-menu-step::after {
  right: 100%;
  border-top-width: 11px;
  border-bottom-width: 11px;
  border-right: 14px solid #fff;
}

.event-date-guide-card.is-above-step::before,
.event-date-guide-card.is-above-step::after {
  top: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border-top: 17px solid rgba(235, 138, 143, 0.9);
  border-right: 14px solid transparent;
  border-bottom: 0;
  border-left: 14px solid transparent;
}

.event-date-guide-card.is-above-step::after {
  top: calc(100% - 1px);
  border-top: 14px solid #fff;
  border-right-width: 11px;
  border-left-width: 11px;
}

.event-date-guide-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.event-date-guide-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(235, 138, 143, 0.14);
  color: #00301C;
  font-size: 22px;
}

.event-date-guide-card h2 {
  margin: 0 0 6px;
  color: #00301C;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 900;
}

.event-date-guide-card p {
  margin: 0;
  color: #4d5d57;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 650;
}

.event-date-guide-button {
  min-height: 38px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  background: #00301C;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 48, 28, 0.22);
}

.event-date-guide-button:hover,
.event-date-guide-button:focus-visible {
  background: #436E60;
  outline: none;
}

body.is-event-date-guide-open .editor-app-body .editor-preview-toolbar,
body.is-event-date-guide-open .editor-preview-toolbar,
body.is-event-date-guide-open .invitation-editor-page.is-basic-template .editor-preview-toolbar,
body.is-event-date-guide-open .invitation-editor-page.is-imported-template .editor-preview-toolbar {
  position: relative;
  z-index: 1301;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.is-event-date-guide-open .editor-preview-title,
body.is-event-date-guide-open .editor-preview-tools {
  visibility: hidden;
  pointer-events: none;
}

body.is-event-date-guide-open .editor-event-date-control {
  position: relative;
  z-index: 1306;
  border-radius: 8px;
  padding: 10px;
  margin: 6px -10px -10px;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(235, 138, 143, 0.54),
    0 0 0 8px rgba(255, 255, 255, 0.92),
    0 20px 44px rgba(0, 24, 14, 0.34);
}

body.is-event-date-guide-open .editor-event-date-control span {
  color: #00301C;
}

body.is-event-date-guide-open .editor-event-date-control input {
  border-color: #EB8A8F;
  background: #fff;
  box-shadow: none;
}

body.is-editor-menu-guide-open .editor-control-area .editor-step-nav {
  position: relative;
  z-index: 1306;
  border-color: rgba(235, 138, 143, 0.72);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(235, 138, 143, 0.42),
    0 0 0 8px rgba(255, 255, 255, 0.92),
    0 22px 48px rgba(0, 24, 14, 0.34);
}

body.is-editor-menu-guide-open .editor-control-area .editor-step-nav::before {
  background: transparent;
  box-shadow: none;
}

body.is-editor-preview-guide-open .editor-preview-stage {
  position: relative;
  z-index: 1306;
  border-radius: 8px;
  box-shadow:
    0 0 0 4px rgba(235, 138, 143, 0.42),
    0 0 0 8px rgba(255, 255, 255, 0.92),
    0 24px 54px rgba(0, 24, 14, 0.34);
}

body.is-editor-devices-guide-open .editor-preview-toolbar {
  position: relative;
  z-index: 1301;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.is-editor-devices-guide-open .editor-preview-title,
body.is-editor-devices-guide-open .editor-event-date-control {
  visibility: hidden;
  pointer-events: none;
}

body.is-editor-devices-guide-open .editor-preview-tools {
  position: relative;
  z-index: 1306;
  border-radius: 8px;
  padding: 6px;
  margin: -6px;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(235, 138, 143, 0.42),
    0 0 0 8px rgba(255, 255, 255, 0.92),
    0 18px 42px rgba(0, 24, 14, 0.28);
}

.editor-preview-stage {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(0, 48, 28, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 48, 28, 0.04) 1px, transparent 1px),
    #eef3f0;
  background-size: 28px 28px;
}

.editor-app-body .basic-invitation-preview,
.editor-app-body .template-live-preview {
  transform: scale(var(--editor-preview-scale, 1));
  transform-origin: top center;
  transition: transform 0.22s ease, width 0.22s ease, max-width 0.22s ease;
}

.editor-app-body .basic-invitation-preview {
  width: min(100%, 1040px);
}

.editor-preview-tools {
  align-items: center;
}

.editor-preview-tool,
.editor-device-button {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: transparent;
  color: #00301C;
  font-size: 13px;
  font-weight: 900;
}

.editor-preview-tool:hover,
.editor-preview-tool:focus-visible,
.editor-device-button:hover,
.editor-device-button:focus-visible {
  background: rgba(0, 48, 28, 0.08);
  outline: none;
}

.editor-zoom-value {
  min-width: 48px;
  color: #33463e;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.editor-device-button.is-active {
  background: #00301C;
  color: #fff;
}

@media (min-width: 1200px) {
  .editor-app-body .editor-workspace {
    display: grid !important;
    grid-template-columns: clamp(320px, 30vw, 390px) minmax(0, 1fr) !important;
    align-items: stretch;
  }

  .editor-app-body .editor-control-area,
  .editor-app-body .editor-canvas-area {
    width: auto !important;
    max-width: none !important;
    height: 100%;
    padding: 0 !important;
  }

  .editor-app-body .editor-control-area {
    grid-column: 1;
  }

  .editor-app-body .editor-canvas-area {
    grid-column: 2;
  }

  .editor-app-body .editor-canva-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "menu fields"
      "menu message";
    gap: 0;
    position: static;
    overflow: hidden !important;
    border: 0;
    border-right: 1px solid rgba(0, 48, 28, 0.1);
    background: #fff;
    box-shadow: none;
  }

  .editor-app-body .editor-canva-panel .editor-panel-header {
    display: none;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    grid-area: menu;
    min-height: 100%;
    border-radius: 0;
    background: #fbfdfc;
    border-right: 1px solid rgba(0, 48, 28, 0.08);
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button {
    min-height: 66px;
    padding: 7px 4px;
    font-size: 10px;
    border-color: transparent;
    background: transparent;
    color: #54655e;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button i {
    background: rgba(0, 48, 28, 0.06);
    color: #00301C;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button:hover,
  .editor-app-body .editor-canva-panel .editor-step-nav button:focus-visible,
  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active {
    border-color: rgba(0, 48, 28, 0.12);
    background: #00301C;
    color: #fff;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button:hover i,
  .editor-app-body .editor-canva-panel .editor-step-nav button:focus-visible i,
  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active i {
    background: rgba(246, 212, 107, 0.18);
    color: #F6D46B;
  }

  .editor-app-body .editor-canva-panel .editor-accordion {
    grid-area: fields;
    height: 100%;
    max-height: none;
    padding: 14px;
    overflow-y: auto;
    background: #fff;
  }

  .editor-app-body .editor-canva-panel .editor-accordion .accordion-item {
    border-radius: 8px;
    box-shadow: none;
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message {
    grid-area: message;
    margin: 0 18px 18px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .editor-app-body .editor-workspace {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    align-items: stretch;
  }

  .editor-app-body .editor-control-area,
  .editor-app-body .editor-canvas-area {
    width: auto !important;
    max-width: none !important;
    height: 100%;
    padding: 0 !important;
  }

  .editor-app-body .editor-control-area {
    grid-column: 1;
    position: relative;
    z-index: 5;
  }

  .editor-app-body .editor-canvas-area {
    grid-column: 2;
  }

  .editor-app-body .editor-canva-panel {
    width: 92px;
    height: 100%;
    display: grid;
    grid-template-columns: 92px 330px;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "menu fields"
      "menu message";
    position: relative;
    overflow: visible !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .editor-app-body .editor-canva-panel .editor-panel-header {
    display: none;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    grid-area: menu;
    pointer-events: auto;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
    background: #fbfdfc;
    border-right: 1px solid rgba(0, 48, 28, 0.08);
  }

  .editor-app-body .editor-canva-panel .editor-accordion {
    grid-area: fields;
    pointer-events: auto;
    width: 330px;
    max-height: calc(100svh - 84px);
    margin: 10px 0 0;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(0, 48, 28, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 18px 18px 42px rgba(22, 36, 31, 0.16);
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message {
    grid-area: message;
    pointer-events: auto;
    margin: 0 0 10px;
  }
}

@media (max-width: 991.98px) {
  .editor-app-body {
    overflow: hidden;
  }

  .editor-app-shell {
    grid-template-rows: 62px minmax(0, 1fr);
  }

  .editor-app-topbar {
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 7px 10px;
  }

  .editor-topbar-status {
    display: none;
  }

  .editor-topbar-logo {
    width: 42px;
    height: 42px;
  }

  .editor-topbar-logo img {
    width: 38px;
    height: 38px;
  }

  .editor-topbar-title strong {
    max-width: 34vw;
  }

  .editor-topbar-actions {
    gap: 6px;
  }

  .editor-topbar-action span,
  .editor-topbar-share span {
    display: none;
  }

  .editor-topbar-action,
  .editor-topbar-share {
    min-width: 42px;
    min-height: 42px;
    padding: 9px;
  }

  .editor-app-body .editor-workspace {
    height: calc(100svh - 62px);
    display: grid !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
  }

  .editor-app-body .editor-canvas-area {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    padding: 0 !important;
  }

  .editor-app-body .editor-preview-shell {
    border-left: 0;
  }

  .editor-preview-stage {
    padding: 14px 12px 190px;
  }

  .editor-app-body .editor-canva-panel {
    z-index: 1030;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    order: 4;
    border-radius: 8px;
  }

  .editor-app-body .editor-canva-panel .editor-accordion {
    order: 1;
    border-radius: 8px;
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message {
    order: 2;
  }

  .editor-app-body .editor-canva-panel .editor-actions {
    order: 3;
  }
}

@media (min-width: 768px) {
  .editor-app-body .editor-preview-toolbar {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .editor-app-body .editor-preview-title {
    flex: 1 1 auto;
  }

  .editor-app-body .editor-event-date-control {
    width: 178px;
    min-width: 168px;
    flex: 0 0 178px;
  }

  .editor-app-body .editor-event-date-control input {
    min-height: 34px;
    padding-inline: 9px;
  }

  .editor-app-body .editor-preview-tools {
    flex: 0 1 auto;
    min-width: 0;
  }

  .editor-app-body .editor-preview-tool,
  .editor-app-body .editor-device-button {
    min-width: 34px;
    min-height: 34px;
    padding: 6px 8px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .editor-app-body .editor-preview-toolbar {
    display: grid;
    grid-template-columns: minmax(168px, 220px) minmax(0, 1fr);
    align-items: end;
    gap: 10px;
  }

  .editor-app-body .editor-preview-title {
    grid-column: 1 / -1;
  }

  .editor-app-body .editor-event-date-control {
    width: 100%;
    min-width: 0;
  }

  .editor-app-body .editor-event-date-control input {
    min-height: 34px;
    padding-inline: 9px;
  }

  .editor-app-body .editor-preview-tools {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 34px 44px 34px minmax(84px, 1fr) minmax(68px, 0.8fr);
    align-items: center;
  }

  .editor-app-body .editor-preview-tool,
  .editor-app-body .editor-device-button {
    min-width: 34px;
    min-height: 34px;
    padding: 6px 8px;
  }
}

@media (max-width: 575px) {
  .editor-preview-toolbar {
    display: grid;
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
    align-items: end;
    gap: 10px;
  }

  .editor-preview-title {
    grid-column: 1 / -1;
  }

  .editor-event-date-control {
    width: min(154px, 100%);
    min-width: 0;
    justify-self: center;
  }

  .editor-event-date-control input {
    min-height: 34px;
    padding-inline: 8px;
  }

  .event-date-guide-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .event-date-guide-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .editor-preview-tools {
    width: 100%;
    display: grid;
    grid-template-columns: 28px 38px 28px 1fr 1fr;
    gap: 4px;
  }

  .editor-preview-tool,
  .editor-device-button {
    min-width: 28px;
    min-height: 32px;
    padding: 5px 6px;
  }

  .editor-zoom-value {
    min-width: 38px;
  }

  .editor-device-button span {
    display: none;
  }

  .editor-app-body .basic-invitation-preview {
    width: min(100%, 420px);
  }
}

/* Mobile editor: bottom dock with elevated property sheet */
@media (max-width: 991.98px) {
  .editor-app-body .editor-preview-stage {
    padding-bottom: calc(168px + env(safe-area-inset-bottom));
  }

  .editor-app-body .editor-canva-panel {
    top: auto !important;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 8px 0;
    background:
      linear-gradient(180deg, rgba(238, 243, 240, 0), rgba(238, 243, 240, 0.96) 34%, #eef3f0 100%);
    pointer-events: none;
  }

  .editor-app-body .editor-canva-panel .editor-accordion {
    order: 1;
    width: min(100%, 560px);
    max-height: 0;
    align-self: center;
    margin: 0;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 -18px 48px rgba(22, 36, 31, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(26px) scale(0.985);
    transition: max-height 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), padding 0.28s ease, border-color 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.22s ease, box-shadow 0.22s ease;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-accordion {
    max-height: min(52svh, 480px);
    padding: 12px;
    border-color: rgba(0, 48, 28, 0.1);
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .editor-app-body .editor-canva-panel .editor-accordion::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(0, 48, 28, 0.18);
  }

  .editor-app-body .editor-canva-panel .editor-sheet-close {
    position: sticky;
    top: -16px;
    z-index: 8;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: -22px 0 -14px auto;
    border: 1px solid rgba(0, 48, 28, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #00301C;
    box-shadow: 0 10px 22px rgba(22, 36, 31, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.94);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease, color 0.18s ease;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-sheet-close {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .editor-app-body .editor-canva-panel .editor-sheet-close:hover,
  .editor-app-body .editor-canva-panel .editor-sheet-close:focus-visible {
    background: #EB8A8F;
    color: #fff;
    outline: none;
  }

  .editor-app-body .editor-canva-panel .editor-accordion .accordion-item.is-active-panel {
    animation: editorSheetPanelIn 0.26s ease both;
  }

  .editor-app-body .editor-canva-panel .editor-accordion .accordion-button {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 48, 28, 0.08), rgba(125, 190, 138, 0.1));
  }

  .editor-app-body .editor-canva-panel .editor-accordion .accordion-body {
    padding: 12px 2px 4px;
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message {
    order: 2;
    width: min(100%, 560px);
    align-self: center;
    margin: 0;
    pointer-events: auto;
  }

  .editor-app-body .editor-canva-panel .editor-actions {
    order: 3;
    width: min(100%, 560px);
    align-self: center;
    margin: 0;
    pointer-events: auto;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    order: 4;
    width: calc(100vw - 24px);
    max-width: none;
    align-self: stretch;
    grid-auto-flow: column;
    grid-auto-columns: minmax(86px, 1fr);
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(0, 48, 28, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 -10px 32px rgba(22, 36, 31, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    pointer-events: auto;
    transform: translateY(0);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.22s ease;
  }

  .editor-app-body .editor-canva-panel .editor-step-scroll-controls {
    order: 4;
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: calc(26px + env(safe-area-inset-bottom));
    z-index: 12;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .editor-app-body .editor-canva-panel .editor-step-scroll-controls::before,
  .editor-app-body .editor-canva-panel .editor-step-scroll-controls::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 58px;
    height: 72px;
    border-radius: 16px;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .editor-app-body .editor-canva-panel .editor-step-scroll-controls::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  }

  .editor-app-body .editor-canva-panel .editor-step-scroll-controls::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
  }

  .editor-app-body .editor-step-scroll-button {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(246, 212, 107, 0.78);
    border-radius: 50%;
    background: #00301C;
    color: #F6D46B;
    font-size: 16px;
    box-shadow: 0 14px 30px rgba(0, 48, 28, 0.24);
    opacity: 0.96;
    pointer-events: auto;
    animation: editorStepArrowNudge 1.8s ease-in-out infinite;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  }

  .editor-app-body .editor-step-scroll-button.is-prev {
    transform: translateX(2px);
  }

  .editor-app-body .editor-step-scroll-button.is-next {
    transform: translateX(-2px);
  }

  .editor-app-body .editor-step-scroll-button i {
    background: transparent !important;
    color: inherit !important;
    font-size: 16px;
  }

  .editor-app-body .editor-step-scroll-button:hover,
  .editor-app-body .editor-step-scroll-button:focus-visible {
    background: #F6D46B;
    color: #00301C;
    outline: none;
    animation-play-state: paused;
    box-shadow: 0 16px 34px rgba(246, 212, 107, 0.34);
  }

  .editor-app-body .editor-step-scroll-button.is-prev:hover,
  .editor-app-body .editor-step-scroll-button.is-prev:focus-visible {
    transform: translateX(2px) translateY(-1px) scale(1.04);
  }

  .editor-app-body .editor-step-scroll-button.is-next:hover,
  .editor-app-body .editor-step-scroll-button.is-next:focus-visible {
    transform: translateX(-2px) translateY(-1px) scale(1.04);
  }

  .editor-app-body .editor-step-scroll-button.is-disabled {
    opacity: 0.32;
    pointer-events: none;
    animation: none;
  }

  .editor-app-body .editor-step-scroll-controls.is-not-scrollable {
    display: none;
  }

  @keyframes editorStepArrowNudge {
    0%, 100% {
      filter: brightness(1);
    }
    50% {
      filter: brightness(1.16);
    }
  }

  .editor-app-body .editor-canva-panel .editor-step-nav::-webkit-scrollbar {
    display: none;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-step-nav {
    transform: translateY(-2px);
    box-shadow:
      0 -14px 38px rgba(22, 36, 31, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button {
    position: relative;
    min-width: 86px;
    min-height: 64px;
    border-radius: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #F6D46B;
    opacity: 0;
    transform: translateX(-50%) scaleX(0.4);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 48, 28, 0.18);
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

@media (max-width: 575px) {
  .editor-app-body .editor-preview-stage {
    padding-bottom: calc(162px + env(safe-area-inset-bottom));
  }

  .editor-app-body .editor-canva-panel {
    padding-left: 8px;
    padding-right: 8px;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-accordion {
    max-height: 48svh;
    border-radius: 16px;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    grid-auto-columns: 72px;
    border-radius: 16px;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button {
    min-height: 62px;
    font-size: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .editor-app-body {
    overflow: hidden;
  }

  .editor-app-shell {
    grid-template-rows: 74px minmax(0, 1fr);
  }

  .editor-app-body .editor-workspace {
    width: 100%;
    height: calc(100svh - 74px);
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .editor-app-body .editor-control-area,
  .editor-app-body .editor-canvas-area {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .editor-app-body .editor-canvas-area {
    grid-row: 1;
    height: 100%;
  }

  .editor-app-body .editor-preview-shell {
    height: 100%;
    min-height: 0;
    border-left: 0;
  }

  .editor-app-body .editor-preview-stage {
    min-height: 0;
    padding: 16px 18px calc(172px + env(safe-area-inset-bottom));
    overflow: auto;
  }

  .editor-app-body .basic-invitation-preview {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .editor-app-body .editor-canva-panel {
    position: fixed !important;
    top: auto !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0 16px calc(10px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(238, 243, 240, 0), rgba(238, 243, 240, 0.96) 34%, #eef3f0 100%);
    box-shadow: none;
    overflow: visible !important;
    pointer-events: none;
  }

  .editor-app-body .editor-canva-panel .editor-panel-header {
    display: none;
  }

  .editor-app-body .editor-canva-panel .editor-accordion {
    order: 1;
    width: min(100%, 680px);
    max-height: 0;
    align-self: center;
    margin: 0;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 -18px 48px rgba(22, 36, 31, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(26px) scale(0.985);
    transition: max-height 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), padding 0.28s ease, border-color 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.22s ease, box-shadow 0.22s ease;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-accordion {
    max-height: min(52svh, 500px);
    padding: 12px;
    border-color: rgba(0, 48, 28, 0.1);
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .editor-app-body .editor-canva-panel .editor-accordion::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(0, 48, 28, 0.18);
  }

  .editor-app-body .editor-canva-panel .editor-sheet-close {
    position: sticky;
    top: -16px;
    z-index: 8;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin: -22px 0 -14px auto;
    border: 1px solid rgba(0, 48, 28, 0.12);
    border-radius: 50%;
    background: #fff;
    color: #00301C;
    box-shadow: 0 10px 22px rgba(22, 36, 31, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.94);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease, color 0.18s ease;
  }

  .editor-app-body .editor-canva-panel.is-mobile-sheet-open .editor-sheet-close {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message,
  .editor-app-body .editor-canva-panel .editor-actions {
    width: calc(100vw - 32px);
    align-self: stretch;
    margin: 0;
    pointer-events: auto;
  }

  .editor-app-body .editor-canva-panel .editor-placeholder-message {
    order: 2;
  }

  .editor-app-body .editor-canva-panel .editor-actions {
    order: 3;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav {
    order: 4;
    width: calc(100vw - 32px);
    max-width: none;
    min-height: 0;
    align-self: stretch;
    grid-auto-flow: column;
    grid-auto-columns: minmax(92px, 1fr);
    grid-template-columns: none;
    gap: 8px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(0, 48, 28, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 -10px 32px rgba(22, 36, 31, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    pointer-events: auto;
    transform: translateY(0);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav::-webkit-scrollbar {
    display: none;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav::before {
    display: none;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button {
    position: relative;
    width: auto;
    min-width: 92px;
    min-height: 64px;
    border-radius: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .editor-app-body .editor-canva-panel .editor-step-nav button.is-active {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 48, 28, 0.18);
  }
}

@keyframes editorSheetPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/*SECCION NUEVA RESTRUCTURA LUIS*/

.event-moments-section {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0 clamp(64px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 150, 31, 0.08), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(0, 48, 28, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf8 48%, #ffffff 100%);
}

.event-moments-section::before,
.event-moments-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(214, 150, 31, 0.08);
  filter: blur(42px);
}

.event-moments-section::before {
  width: 260px;
  height: 260px;
  left: -120px;
  top: 12%;
}

.event-moments-section::after {
  width: 320px;
  height: 320px;
  right: -150px;
  bottom: 8%;
}

.event-moments-section .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.event-moments-header {
  max-width: 820px;
  margin: 0 auto 44px;
}

.event-moments-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.event-moments-eyebrow::before,
.event-moments-eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.event-moments-eyebrow::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.event-moments-header h2 {
  margin: 0;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 700;
}

.event-moments-header h2 span,
.event-moments-header p strong {
  color: #c98617;
  font-weight: 700;
}

.event-moments-header p {
  max-width: 580px;
  margin: 22px auto 0;
  color: #4c5550;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.event-moments-grid {
  justify-content: center;
}

.event-moment-card {
  height: 100%;
  min-height: 282px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 34px 28px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    #fff;
  color: #111816;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 48, 28, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.event-moment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 134, 23, 0.38);
  box-shadow: 0 28px 70px rgba(0, 48, 28, 0.13);
}

.event-moment-icon {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 134, 23, 0.54);
  border-radius: 50%;
  color: #d6961f;
  font-size: 38px;
  background: radial-gradient(circle, rgba(214, 150, 31, 0.1), rgba(255, 255, 255, 0.82));
}

.event-moment-card > span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-moment-card > span::before,
.event-moment-card > span::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d6961f);
}

.event-moment-card > span::after {
  background: linear-gradient(90deg, #d6961f, transparent);
}

.event-moment-card h3 {
  margin: 0 0 10px;
  color: #111816;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
}

.event-moment-card p {
  max-width: 300px;
  margin: 0 auto 18px;
  color: #4d5552;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.48;
}

.event-moment-card a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #c98617;
  border-radius: 50%;
  color: #c98617;
  text-decoration: none;
  font-size: 19px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.event-moment-card a:hover,
.event-moment-card a:focus-visible {
  background: #c98617;
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

.event-moments-cta {
  margin-top: 28px;
}

.event-moments-cta a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 28px;
  border: 1px solid rgba(201, 134, 23, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111816;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(17px, 2vw, 22px);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 48, 28, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.event-moments-cta a i {
  color: #d6961f;
  font-size: 24px;
}

.event-moments-cta a:hover,
.event-moments-cta a:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 24px 52px rgba(0, 48, 28, 0.11);
  outline: none;
}

@media (max-width: 991px) {
  .event-moments-section {
    padding-top: 68px;
  }

  .event-moments-header {
    margin-bottom: 34px;
  }

  .event-moment-card {
    min-height: 260px;
    padding: 30px 24px 26px;
  }
}

@media (max-width: 575px) {
  .event-moments-section {
    padding: 56px 0 62px;
  }

  .event-moments-eyebrow {
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .event-moments-eyebrow::before,
  .event-moments-eyebrow::after {
    width: 24px;
  }

  .event-moments-header h2 {
    font-size: 40px;
  }

  .event-moments-header p {
    font-size: 17px;
  }

  .event-moment-icon {
    width: 78px;
    height: 78px;
    font-size: 31px;
  }

  .event-moment-card h3 {
    font-size: 30px;
  }

  .event-moments-cta a {
    width: 100%;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    line-height: 1.25;
  }
}

.services-benefits-section {
  position: relative;
  padding: clamp(70px, 8vw, 112px) 0 clamp(76px, 8vw, 118px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 150, 31, 0.08), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(0, 48, 28, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf8 48%, #ffffff 100%);
}

.services-benefits-section .container {
  position: relative;
  z-index: 1;
  max-width: 1420px;
}

.services-benefits-header {
  max-width: 1060px;
  margin: 0 auto 54px;
}

.services-benefits-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.services-benefits-eyebrow::before,
.services-benefits-eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.services-benefits-eyebrow::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.services-benefits-eyebrow i,
.services-benefits-divider i {
  color: #c98617;
  font-size: 14px;
}

.services-benefits-header h2 {
  margin: 0;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 700;
}

.services-benefits-header h2 span {
  color: #c98617;
}

.services-benefits-divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px 0 24px;
}

.services-benefits-divider::before,
.services-benefits-divider::after {
  content: "";
  width: 62px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.services-benefits-divider::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.services-benefits-header p {
  max-width: 690px;
  margin: 0 auto;
  color: #4c5550;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 600;
}

.services-benefits-header p strong {
  color: #00301C;
  font-weight: 700;
}

.services-benefits-grid {
  justify-content: center;
}

.service-benefit-card {
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 30px 30px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    #fff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 48, 28, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 134, 23, 0.34);
  box-shadow: 0 28px 70px rgba(0, 48, 28, 0.13);
}

.service-benefit-icon {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 134, 23, 0.56);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 134, 23, 0.08), rgba(255, 255, 255, 0.9));
  color: #d6961f;
  font-size: 38px;
}

.service-benefit-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 108px;
  height: 14px;
  margin-bottom: 15px;
  color: #c98617;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.service-benefit-card > span::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #c98617;
}

.service-benefit-card > span::after {
  content: "\f004";
  font-size: 12px;
  line-height: 1;
  box-shadow: 48px 0 0 -5.5px #c98617;
}

.service-benefit-card h3 {
  margin: 0 0 14px;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
}

.service-benefit-card p {
  margin: 0 auto 26px;
  color: #343a37;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.48;
}

.service-benefit-card a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #c98617;
  border-radius: 50%;
  color: #c98617;
  font-size: 0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-benefit-card a i {
  font-size: 19px;
}

.service-benefit-card a:hover,
.service-benefit-card a:focus-visible {
  background: #c98617;
  color: #fff;
  transform: translateX(3px);
  outline: none;
}

@media (max-width: 1199px) {
  .service-benefit-card {
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .services-benefits-section {
    padding: 58px 0 70px;
  }

  .services-benefits-header {
    margin-bottom: 34px;
  }

  .services-benefits-eyebrow {
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .services-benefits-eyebrow::before,
  .services-benefits-eyebrow::after {
    width: 28px;
  }

  .services-benefits-header h2 {
    font-size: 39px;
  }

  .services-benefits-header p {
    font-size: 19px;
  }

  .service-benefit-card {
    min-height: auto;
    padding: 30px 24px 28px;
  }

  .service-benefit-icon {
    width: 92px;
    height: 92px;
    font-size: 35px;
  }
}

.pricing-tables.saas-pricing {
  position: relative;
  padding: clamp(76px, 8vw, 118px) 0 clamp(76px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 150, 31, 0.08), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(0, 48, 28, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf8 48%, #ffffff 100%);
}

.pricing-tables.saas-pricing::before {
  content: "";
  position: absolute;
  inset: 26px auto auto 50%;
  width: min(780px, 80vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 134, 23, 0.42), transparent);
}

.pricing-tables.saas-pricing .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.pricing-tables.saas-pricing .section-heading {
  max-width: 880px;
  margin: 0 auto 52px;
}

.pricing-section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.pricing-section-eyebrow::before,
.pricing-section-eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.pricing-section-eyebrow::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.pricing-tables.saas-pricing .section-heading h2 {
  margin: 0;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 700;
}

.pricing-tables.saas-pricing .section-heading h2 em {
  color: #c98617;
  font-style: normal;
}

.pricing-tables.saas-pricing .section-heading p {
  max-width: 660px;
  margin: 20px auto 0;
  color: #4c5550;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 600;
}

.pricing-tables.saas-pricing .row.g-4 {
  row-gap: 28px;
}

.saas-pricing-card {
  isolation: isolate;
  min-height: 100%;
  border: 1px solid rgba(0, 48, 28, 0.12) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    #fff !important;
  box-shadow: 0 18px 45px rgba(0, 48, 28, 0.08) !important;
}

.saas-pricing-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #00301C, #c98617);
  opacity: 0.88;
}

.saas-pricing-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 134, 23, 0.42) !important;
  box-shadow: 0 28px 70px rgba(0, 48, 28, 0.13) !important;
}

.saas-pricing-card.is-featured {
  border-color: rgba(201, 134, 23, 0.48) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 134, 23, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff, #fffdf8 100%) !important;
  box-shadow: 0 28px 70px rgba(0, 48, 28, 0.13) !important;
}

.saas-pricing-card.is-featured::before {
  background: linear-gradient(90deg, #00301C, #c98617);
}

.saas-pricing-card .card-body {
  padding: 36px 30px 30px;
}

.saas-pricing-badge {
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: #c98617;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(201, 134, 23, 0.2);
}

.saas-pricing-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(201, 134, 23, 0.28);
  border-radius: 50%;
  background: rgba(201, 134, 23, 0.08);
  color: #c98617;
  font-size: 27px;
}

.saas-pricing-card.is-featured .saas-pricing-icon {
  border-color: rgba(201, 134, 23, 0.54);
  background: radial-gradient(circle, rgba(214, 150, 31, 0.1), rgba(255, 255, 255, 0.82));
  color: #d6961f;
}

.saas-pricing-title {
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
  font-weight: 700;
}

.saas-pricing-description {
  min-height: 68px;
  color: #49534e;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 600;
}

.saas-pricing-price {
  position: relative;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 48, 28, 0.1);
  border-bottom: 1px solid rgba(0, 48, 28, 0.1);
}

.saas-pricing-price span {
  color: #111816;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 3vw, 42px);
  font-weight: 900;
}

.saas-pricing-card.is-featured .saas-pricing-price span {
  color: #00301C;
}

.saas-pricing-price small {
  color: #66716c;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.saas-pricing-features {
  gap: 11px;
}

.saas-pricing-features li {
  color: #28342f;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 650;
}

.saas-pricing-features i {
  color: #c98617;
  font-size: 15px;
}

.saas-pricing-card.is-featured .saas-pricing-features i {
  color: #c98617;
}

.saas-pricing-cta {
  min-height: 52px;
  gap: 12px;
  border: 1px solid #00301C;
  border-radius: 8px;
  background: #fff;
  color: #00301C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 48, 28, 0.06);
}

.saas-pricing-cta:hover,
.saas-pricing-cta:focus-visible {
  background: #00301C;
  border-color: #00301C;
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.saas-pricing-cta.is-primary {
  border-color: #c98617;
  background: #c98617;
  color: #fff;
  box-shadow: 0 18px 36px rgba(201, 134, 23, 0.2);
}

.saas-pricing-cta.is-primary:hover,
.saas-pricing-cta.is-primary:focus-visible {
  border-color: #00301C;
  background: #00301C;
}

@media (min-width: 992px) {
  .saas-pricing-card.is-featured {
    transform: translateY(-14px);
  }

  .saas-pricing-card.is-featured:hover {
    transform: translateY(-20px);
  }
}

@media (max-width: 991px) {
  .pricing-tables.saas-pricing {
    padding: 68px 0 78px;
  }

  .pricing-tables.saas-pricing .section-heading {
    margin-bottom: 34px;
  }
}

@media (max-width: 575px) {
  .pricing-section-eyebrow {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .pricing-section-eyebrow::before,
  .pricing-section-eyebrow::after {
    width: 24px;
  }

  .pricing-tables.saas-pricing .section-heading h2 {
    font-size: 36px;
  }

  .saas-pricing-card .card-body {
    padding: 32px 22px 24px;
  }

  .saas-pricing-description {
    min-height: auto;
  }
}

.work-process-section {
  position: relative;
  padding: clamp(76px, 8vw, 118px) 0 clamp(78px, 8vw, 122px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 150, 31, 0.08), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(0, 48, 28, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf8 48%, #ffffff 100%);
}

.work-process-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  width: min(820px, 82vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(201, 134, 23, 0.46), transparent);
}

.work-process-section .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.work-process-header {
  max-width: 850px;
  margin: 0 auto 52px;
}

.work-process-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.work-process-eyebrow::before,
.work-process-eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.work-process-eyebrow::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.work-process-eyebrow i {
  color: #c98617;
  font-size: 13px;
}

.work-process-header h2 {
  margin: 0;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
}

.work-process-header h2 span,
.work-process-header h2 em {
  color: #c98617;
  font-style: normal;
}

.work-process-header p {
  max-width: 680px;
  margin: 20px auto 0;
  color: #4c5550;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 600;
}

.work-process-header p strong {
  color: #00301C;
}

.work-process-showcase {
  margin-bottom: 36px;
}

.work-process-video {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(201, 134, 23, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 251, 248, 0.88)),
    #fff;
  box-shadow: 0 28px 72px rgba(0, 48, 28, 0.12);
}

.work-process-video::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 134, 23, 0.24), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.work-process-video video,
.work-process-video .plyr {
  border-radius: 8px;
  overflow: hidden;
}

.work-process-summary {
  height: 100%;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 134, 23, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfbf8);
  box-shadow: 0 18px 45px rgba(0, 48, 28, 0.08);
}

.work-process-summary > span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 13px;
  border: 1px solid rgba(201, 134, 23, 0.32);
  border-radius: 999px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-process-summary h3 {
  margin: 0 0 14px;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
}

.work-process-summary p {
  margin: 0 0 26px;
  color: #46514c;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.work-process-highlights {
  display: grid;
  gap: 14px;
}

.work-process-highlights div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  column-gap: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 48, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.work-process-highlights div:hover {
  transform: translateX(4px);
  border-color: rgba(201, 134, 23, 0.3);
  box-shadow: 0 14px 28px rgba(0, 48, 28, 0.07);
}

.work-process-highlights i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 134, 23, 0.1);
  color: #c98617;
}

.work-process-highlights strong {
  color: #00301C;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.work-process-highlights span {
  color: #59635f;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.work-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.work-process-step {
  position: relative;
  min-height: 245px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 48, 28, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.work-process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 134, 23, 0.38);
  box-shadow: 0 28px 70px rgba(0, 48, 28, 0.13);
}

.work-process-step > span {
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(0, 48, 28, 0.08);
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.work-process-step i {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(201, 134, 23, 0.54);
  background: radial-gradient(circle, rgba(214, 150, 31, 0.1), rgba(255, 255, 255, 0.82));
  color: #d6961f;
  font-size: 22px;
}

.work-process-step h3 {
  position: relative;
  margin: 0 0 12px;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: 25px;
  line-height: 1.12;
}

.work-process-step p {
  position: relative;
  margin: 0;
  color: #4d5752;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

@media (max-width: 1199px) {
  .work-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .work-process-section {
    padding: 68px 0 78px;
  }

  .work-process-header {
    margin-bottom: 36px;
  }
}

@media (max-width: 575px) {
  .work-process-eyebrow {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .work-process-eyebrow::before,
  .work-process-eyebrow::after {
    width: 24px;
  }

  .work-process-header h2 {
    font-size: 38px;
  }

  .work-process-summary,
  .work-process-step {
    padding: 26px 20px 22px;
  }

  .work-process-steps {
    grid-template-columns: 1fr;
  }
}

.package-comparison-section {
  position: relative;
  padding: clamp(74px, 8vw, 116px) 0 clamp(80px, 8vw, 122px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(214, 150, 31, 0.08), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(0, 48, 28, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbf8 48%, #ffffff 100%);
}

.package-comparison-section .container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.package-comparison-header {
  max-width: 900px;
  margin: 0 auto 44px;
}

.package-comparison-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
  color: #c98617;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.package-comparison-eyebrow::before,
.package-comparison-eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c98617);
}

.package-comparison-eyebrow::after {
  background: linear-gradient(90deg, #c98617, transparent);
}

.package-comparison-eyebrow i {
  color: #c98617;
}

.package-comparison-header h2 {
  margin: 0;
  color: #00301C;
  font-family: 'DM Serif Text', serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
}

.package-comparison-header h2 span {
  color: #c98617;
}

.package-comparison-header p {
  max-width: 660px;
  margin: 20px auto 0;
  color: #4c5550;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  font-weight: 600;
}

.package-comparison-shell {
  border: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(0, 48, 28, 0.08);
  overflow: hidden;
}

.package-comparison-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 134, 23, 0.55) rgba(0, 48, 28, 0.08);
}

.package-comparison-scroll:focus-visible {
  outline: 3px solid rgba(201, 134, 23, 0.32);
  outline-offset: 3px;
}

.package-comparison-table {
  width: 100%;
  min-width: 860px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #26342e;
  font-family: 'Montserrat', sans-serif;
}

.package-comparison-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.package-comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(201, 134, 23, 0.28);
  background: #00301C;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.package-comparison-table thead th:first-child {
  width: 43%;
  text-align: left;
}

.package-comparison-table thead th span {
  display: block;
  font-family: 'DM Serif Text', serif;
  font-size: 25px;
  line-height: 1.1;
}

.package-comparison-table thead th small {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201, 134, 23, 0.16);
  color: #f3d78b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-comparison-table tbody th,
.package-comparison-table tbody td {
  padding: 17px 20px;
  border-bottom: 1px solid rgba(0, 48, 28, 0.08);
  background: rgba(255, 255, 255, 0.82);
  transition: background 0.18s ease, color 0.18s ease;
}

.package-comparison-table tbody tr:nth-child(even) th,
.package-comparison-table tbody tr:nth-child(even) td {
  background: rgba(251, 251, 248, 0.92);
}

.package-comparison-table tbody tr:hover th,
.package-comparison-table tbody tr:hover td {
  background: rgba(201, 134, 23, 0.08);
}

.package-comparison-table tbody th {
  text-align: left;
  color: #26342e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.package-comparison-table tbody th span {
  display: inline-flex;
  margin-right: 8px;
  margin-bottom: 4px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(201, 134, 23, 0.12);
  color: #a66d12;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-comparison-table tbody td {
  text-align: center;
  vertical-align: middle;
}

.comparison-status {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}

.comparison-status.is-included {
  background: rgba(201, 134, 23, 0.13);
  color: #c98617;
  box-shadow: inset 0 0 0 1px rgba(201, 134, 23, 0.28);
}

.comparison-status.is-muted {
  background: rgba(0, 48, 28, 0.06);
  color: rgba(0, 48, 28, 0.36);
}

.package-comparison-table tbody td:last-child .comparison-status.is-included {
  background: rgba(201, 134, 23, 0.13);
  color: #c98617;
  box-shadow: inset 0 0 0 1px rgba(201, 134, 23, 0.28);
}

.package-comparison-table tbody tr.comparison-extra-row.is-visible {
  animation: comparisonRowReveal 0.34s ease both;
}

.package-comparison-table tbody tr.comparison-extra-row.is-collapsing {
  animation: comparisonRowHide 0.22s ease both;
}

.package-comparison-actions {
  margin-top: 28px;
}

.package-comparison-toggle {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border: 1px solid rgba(201, 134, 23, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #00301C;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 48, 28, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.package-comparison-toggle:hover,
.package-comparison-toggle:focus-visible {
  transform: translateY(-2px);
  background: #00301C;
  color: #fff;
  box-shadow: 0 24px 54px rgba(0, 48, 28, 0.16);
  outline: none;
}

.package-comparison-toggle i {
  color: #c98617;
  transition: transform 0.22s ease, color 0.22s ease;
}

.package-comparison-toggle:hover i,
.package-comparison-toggle:focus-visible i {
  color: #f3d78b;
}

.package-comparison-toggle.is-expanded i {
  transform: rotate(180deg);
}

@keyframes comparisonRowReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes comparisonRowHide {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (max-width: 767px) {
  .package-comparison-section {
    padding: 60px 0 76px;
  }

  .package-comparison-header {
    margin-bottom: 32px;
  }

  .package-comparison-eyebrow {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .package-comparison-eyebrow::before,
  .package-comparison-eyebrow::after {
    width: 24px;
  }

  .package-comparison-header h2 {
    font-size: 36px;
  }

  .package-comparison-table {
    min-width: 760px;
  }

  .package-comparison-table thead th,
  .package-comparison-table tbody th,
  .package-comparison-table tbody td {
    padding: 15px 14px;
  }

  .package-comparison-toggle {
    width: 100%;
    border-radius: 8px;
  }
}

/* Home premium section typography alignment */
@media (max-width: 575px) {
  .services-benefits-eyebrow,
  .pricing-section-eyebrow,
  .work-process-eyebrow,
  .package-comparison-eyebrow {
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .services-benefits-header h2,
  .pricing-tables.saas-pricing .section-heading h2,
  .work-process-header h2,
  .package-comparison-header h2 {
    font-size: 40px;
    line-height: 1.03;
  }

  .services-benefits-header p,
  .pricing-tables.saas-pricing .section-heading p,
  .work-process-header p,
  .package-comparison-header p {
    font-size: 17px;
    line-height: 1.45;
  }
}

/* Final overrides for /crear-invitacion template cards */
.event-flow-page {
  min-height: 100vh;
  padding: clamp(92px, 8vw, 124px) 0 clamp(44px, 6vw, 78px) !important;
}

.event-flow-page > .event-flow-step > .container,
.event-flow-page > .event-flow-step > .container-fluid,
.event-flow-page > .event-flow-step > .event-flow-shell {
  width: 100%;
  padding-left: var(--bs-gutter-x, .75rem) !important;
  padding-right: var(--bs-gutter-x, .75rem) !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 100% !important;
}

.event-flow-step {
  min-height: calc(100vh - clamp(136px, 14vw, 202px));
  padding: 0 !important;
}

.event-flow-card {
  min-height: calc(100vh - clamp(136px, 14vw, 202px));
  padding: clamp(22px, 3vw, 42px) !important;
  border-left: 1px solid rgba(0, 48, 28, 0.1);
  border-right: 1px solid rgba(0, 48, 28, 0.1);
  border-radius: 8px;
}

@media (max-width: 575px) {
  .event-flow-page {
    padding: 96px 0 20px !important;
  }

  .event-flow-step,
  .event-flow-card {
    min-height: calc(100vh - 116px);
  }
}

.event-flow-page .event-flow-step.is-active .event-flow-card {
  animation: iosStageIn 900ms cubic-bezier(.2, .8, .2, 1) both;
  transform-origin: 50% 44%;
}

.event-flow-page .event-flow-step.is-leaving .event-flow-card {
  animation: iosStageOut 420ms cubic-bezier(.4, 0, .2, 1) both;
}

.event-flow-page .event-flow-step.is-entering .event-flow-card {
  animation: iosStageIn 980ms cubic-bezier(.16, 1, .3, 1) both;
}

.event-flow-page .event-flow-intro,
.event-flow-page .section-heading-lite,
.event-flow-page .template-category-strip {
  animation: iosContentBloom 860ms cubic-bezier(.16, 1, .3, 1) both;
}

.event-flow-page .event-category-card,
.event-flow-page .recommended-template-card {
  opacity: 0;
  transform: translateY(22px) scale(.94);
  filter: blur(10px);
  animation: iosItemBloom 880ms cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(min(var(--item-index, 0), 12) * 58ms + 140ms);
  will-change: opacity, transform, filter;
}

.event-flow-page .event-category-card:nth-child(1),
.event-flow-page .recommended-template-card:nth-child(1) { --item-index: 1; }
.event-flow-page .event-category-card:nth-child(2),
.event-flow-page .recommended-template-card:nth-child(2) { --item-index: 2; }
.event-flow-page .event-category-card:nth-child(3),
.event-flow-page .recommended-template-card:nth-child(3) { --item-index: 3; }
.event-flow-page .event-category-card:nth-child(4),
.event-flow-page .recommended-template-card:nth-child(4) { --item-index: 4; }
.event-flow-page .event-category-card:nth-child(5),
.event-flow-page .recommended-template-card:nth-child(5) { --item-index: 5; }
.event-flow-page .event-category-card:nth-child(6),
.event-flow-page .recommended-template-card:nth-child(6) { --item-index: 6; }
.event-flow-page .event-category-card:nth-child(7),
.event-flow-page .recommended-template-card:nth-child(7) { --item-index: 7; }
.event-flow-page .event-category-card:nth-child(8),
.event-flow-page .recommended-template-card:nth-child(8) { --item-index: 8; }
.event-flow-page .event-category-card:nth-child(9),
.event-flow-page .recommended-template-card:nth-child(9) { --item-index: 9; }
.event-flow-page .event-category-card:nth-child(10),
.event-flow-page .recommended-template-card:nth-child(10) { --item-index: 10; }
.event-flow-page .event-category-card:nth-child(11),
.event-flow-page .recommended-template-card:nth-child(11) { --item-index: 11; }
.event-flow-page .event-category-card:nth-child(12),
.event-flow-page .recommended-template-card:nth-child(12) { --item-index: 12; }

@keyframes iosStageIn {
  0% {
    opacity: 0;
    transform: scale(.9) translateY(18px);
    filter: blur(18px);
  }
  58% {
    opacity: 1;
    transform: scale(1.012) translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes iosStageOut {
  to {
    opacity: 0;
    transform: scale(.965) translateY(-8px);
    filter: blur(10px);
  }
}

@keyframes iosContentBloom {
  from {
    opacity: 0;
    transform: scale(.96) translateY(14px);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes iosItemBloom {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(.94);
    filter: blur(10px);
  }
  70% {
    opacity: 1;
    transform: translateY(-2px) scale(1.006);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.event-flow-page .event-flow-progress,
.event-flow-page .event-onboarding-subtitle,
.event-flow-page .event-onboarding-copy {
  display: none !important;
}

.event-flow-page .template-category-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(12, 59, 46, .12);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  box-shadow: 0 8px 24px rgba(12, 59, 46, .05);
}

@media (prefers-reduced-motion: reduce) {
  .event-flow-page .event-flow-step.is-active .event-flow-card,
  .event-flow-page .event-flow-step.is-leaving .event-flow-card,
  .event-flow-page .event-flow-step.is-entering .event-flow-card,
  .event-flow-page .event-flow-intro,
  .event-flow-page .section-heading-lite,
  .event-flow-page .template-category-strip,
  .event-flow-page .event-category-card,
  .event-flow-page .recommended-template-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.event-flow-page .template-category-strip span {
  margin: 0;
  color: #6f7d77;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.event-flow-page .template-category-strip strong {
  color: #0c3b2e;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.event-flow-page .event-flow-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(12, 59, 46, 0.12);
  background:
    radial-gradient(circle at 50% 18%, rgba(242, 200, 109, 0.16), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(235, 138, 143, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 251, 0.96));
  box-shadow: 0 28px 70px rgba(11, 48, 37, 0.1);
}

.event-flow-page .event-flow-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(32vw, 300px);
  height: min(32vw, 300px);
  background: radial-gradient(circle, rgba(242, 200, 109, 0.12) 0%, rgba(242, 200, 109, 0) 72%);
  pointer-events: none;
}

.event-flow-page .event-flow-card > * {
  position: relative;
  z-index: 1;
}

.event-flow-page .section-heading-split {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
  animation: eventCenterBloom 900ms cubic-bezier(.16, 1, .3, 1) both;
}

.event-flow-page .section-heading-split > div {
  max-width: 680px;
}

.event-flow-page .section-heading-split h1 {
  margin: 0;
  color: #00301c;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 0.98;
  text-wrap: balance;
}

.event-flow-page .section-heading-split p {
  max-width: 620px;
  margin: 0;
  color: #62716b;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 700;
  line-height: 1.7;
}

@keyframes eventCenterBloom {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.84);
    filter: blur(18px);
  }
  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.018);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.event-flow-page .section-heading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.event-flow-page .section-heading-meta small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 200, 109, 0.18);
  color: #6b5620;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.event-flow-page .event-category-grid {
  gap: clamp(16px, 2vw, 22px);
}

.event-flow-page .event-category-card {
  position: relative;
  min-height: clamp(150px, 18vh, 186px);
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(12, 59, 46, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 248, 0.94));
  box-shadow: 0 18px 36px rgba(11, 48, 37, 0.08);
}

.event-flow-page .event-category-card::after {
  content: "\F285";
  font-family: bootstrap-icons;
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(0, 48, 28, 0.18);
  font-size: 1rem;
  transition: transform 220ms ease, color 220ms ease;
}

.event-flow-page .event-category-card:hover,
.event-flow-page .event-category-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(235, 138, 143, 0.45);
  box-shadow: 0 22px 40px rgba(11, 48, 37, 0.12);
}

.event-flow-page .event-category-card:hover::after,
.event-flow-page .event-category-card:focus-visible::after,
.event-flow-page .event-category-card.is-active::after {
  transform: translateX(4px);
  color: #eb8a8f;
}

.event-flow-page .event-category-card.is-active {
  border-color: rgba(235, 138, 143, 0.55);
  background: linear-gradient(180deg, rgba(255, 247, 248, 0.98), rgba(255, 250, 250, 0.94));
  box-shadow: 0 24px 44px rgba(235, 138, 143, 0.14);
}

.event-flow-page .event-category-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, #00301c, #0d5a44);
  box-shadow: 0 14px 28px rgba(0, 48, 28, 0.18);
}

.event-flow-page .event-category-card strong {
  color: #0b3428;
  font-size: 1.08rem;
  font-weight: 900;
}

.event-flow-page .event-category-card small {
  margin-top: 0.28rem;
  color: #66756f;
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (max-width: 575px) {
  .event-flow-page .section-heading-meta small {
    min-height: 30px;
  }

  .event-flow-page .section-heading-split {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }

  .event-flow-page .section-heading-split h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .event-flow-page .event-category-card {
    min-height: 132px;
    border-radius: 18px;
  }
}

.event-flow-page .recommended-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.event-flow-page .recommended-template-card {
  display: grid;
  grid-template-columns: minmax(128px, 38%) minmax(0, 1fr);
  gap: 1rem;
  min-height: 292px;
  padding: .85rem .9rem;
  border: 1px solid rgba(12, 59, 46, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12, 59, 46, .06);
  overflow: hidden;
}

.event-flow-page .recommended-template-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.event-flow-page .recommended-template-visual::after,
.event-flow-page .recommended-template-tag {
  display: none;
}

.event-flow-page .recommended-template-visual img {
  width: min(100%, 156px);
  height: auto;
  max-height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .22));
}

.event-flow-page .recommended-template-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: .35rem 0 .15rem;
}

.event-flow-page .recommended-template-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.event-flow-page .recommended-template-topline > span {
  color: #ee6f8a;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.event-flow-page .recommended-template-topline strong {
  flex: 0 0 auto;
  padding: .34rem .52rem;
  border-radius: 6px;
  background: #ee6f8a;
  color: #fff;
  font-size: .63rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(238, 111, 138, .28);
}

.event-flow-page .recommended-template-body h3 {
  margin: 0 0 .45rem;
  color: #083c2c;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 1.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.12;
}

.event-flow-page .recommended-template-rating {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .7rem;
}

.event-flow-page .recommended-template-rating span {
  color: #f2a400;
  font-size: .92rem;
  letter-spacing: .02em;
  line-height: 1;
}

.event-flow-page .recommended-template-rating small {
  color: #53645e;
  font-size: .8rem;
  font-weight: 700;
}

.event-flow-page .recommended-template-body p {
  margin: 0 0 .9rem;
  color: #5d6a65;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.55;
}

.event-flow-page .recommended-template-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .8rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.event-flow-page .recommended-template-features span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .38rem;
  color: #294f43;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
}

.event-flow-page .recommended-template-features i {
  flex: 0 0 auto;
  color: #0c5a43;
  font-size: .92rem;
}

.event-flow-page .recommended-template-actions {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: .65rem;
  margin-top: 0;
}

.event-flow-page .recommended-template-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 42px;
  padding: .65rem .7rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.event-flow-page .recommended-template-preview {
  border: 1.5px solid #0c3b2e;
  background: #fff;
  color: #0c3b2e;
}

.event-flow-page .recommended-template-button {
  min-width: 0;
  border: 1.5px solid #063d2e !important;
  background: #063d2e !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(0, 48, 28, .18);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}

.event-flow-page .recommended-template-button:hover,
.event-flow-page .recommended-template-button:focus-visible {
  background: #ee6f8a !important;
  border-color: #ee6f8a !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 1399px) {
  .event-flow-page .recommended-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .event-flow-page .recommended-template-grid {
    grid-template-columns: 1fr;
  }

  .event-flow-page .recommended-template-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .event-flow-page .template-category-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-flow-page .recommended-template-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: .8rem;
    min-height: 250px;
    padding: .75rem;
  }

  .event-flow-page .recommended-template-visual {
    min-height: 226px;
  }

  .event-flow-page .recommended-template-body h3 {
    font-size: 1.2rem;
  }

  .event-flow-page .recommended-template-body p {
    font-size: .82rem;
    line-height: 1.45;
  }

  .event-flow-page .recommended-template-features {
    grid-template-columns: 1fr;
    gap: .38rem;
  }

  .event-flow-page .recommended-template-actions {
    grid-template-columns: 1fr;
  }

  .event-flow-page .recommended-template-actions .btn {
    min-height: 38px;
    font-size: .78rem;
  }
}

/* Final header action override */
.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.header-area .main-nav .nav li.nav-primary-cta a i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.header-area .main-nav .nav li.nav-primary-cta a:hover,
.background-header .main-nav .nav li.nav-primary-cta a:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

.header-area .main-nav .nav li.nav-login-action a,
.background-header .main-nav .nav li.nav-login-action a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px !important;
  background: #EB8A8F !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 30px rgba(235, 138, 143, 0.28) !important;
}

.header-area .main-nav .nav li.nav-login-action a:hover,
.background-header .main-nav .nav li.nav-login-action a:hover,
.header-area .main-nav .nav li.nav-session-action button:hover,
.background-header .main-nav .nav li.nav-session-action button:hover {
  background: #d96f76 !important;
  transform: translateY(-2px);
}

.sidebar-nav li.sidebar-primary-cta a {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.14), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.9) !important;
  border: 1px solid rgba(242, 200, 109, 0.58);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(0, 48, 28, 0.22);
}

.sidebar-nav li.sidebar-login-action a,
.sidebar-session-action button {
  min-height: 50px;
  border-radius: 10px;
  background: #EB8A8F !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(235, 138, 143, 0.28);
}

/* Crear invitacion: override final para reemplazar rosa por dorado. */
.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
.create-invitation-body .sidebar-nav li.sidebar-login-action a,
.create-invitation-body .sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.72) !important;
  background: linear-gradient(135deg, #c98617, #9f650d) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(201, 134, 23, 0.28) !important;
}

.create-invitation-body .event-flow-page .event-flow-card {
  background:
    radial-gradient(circle at 50% 18%, rgba(242, 200, 109, 0.18), transparent 24%),
    radial-gradient(circle at 16% 82%, rgba(201, 134, 23, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 241, 0.96));
}

.create-invitation-body .event-flow-page .event-category-card:hover,
.create-invitation-body .event-flow-page .event-category-card:focus-visible {
  border-color: rgba(201, 134, 23, 0.45);
}

.create-invitation-body .event-flow-page .event-category-card:hover::after,
.create-invitation-body .event-flow-page .event-category-card:focus-visible::after,
.create-invitation-body .event-flow-page .event-category-card.is-active::after {
  color: #c98617;
}

.create-invitation-body .event-flow-page .event-category-card.is-active {
  border-color: rgba(201, 134, 23, 0.58);
  background:
    radial-gradient(circle at 86% 16%, rgba(242, 200, 109, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdf8, #fffaf0);
  box-shadow: 0 24px 44px rgba(201, 134, 23, 0.16);
}

.create-invitation-body .event-flow-page .event-category-card.is-active .event-category-icon {
  background: linear-gradient(135deg, #c98617, #9f650d);
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.24);
}

.create-invitation-body .event-flow-page .recommended-template-topline > span {
  color: #c98617;
}

.create-invitation-body .event-flow-page .recommended-template-topline strong {
  background: linear-gradient(135deg, #c98617, #9f650d);
  box-shadow: 0 7px 15px rgba(201, 134, 23, .25);
}

.create-invitation-body .event-flow-page .recommended-template-button:hover,
.create-invitation-body .event-flow-page .recommended-template-button:focus-visible {
  border-color: #c98617 !important;
  background: #c98617 !important;
}

/* Crear invitacion: iguala Iniciar Sesion al boton dorado de inicio. */
.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
.create-invitation-body .sidebar-nav li.sidebar-login-action a,
.create-invitation-body .sidebar-session-action button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a i,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a i,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button i,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.create-invitation-body .header-area .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-login-action a:hover,
.create-invitation-body .header-area .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .background-header .main-nav .nav li.nav-session-action button:hover,
.create-invitation-body .sidebar-nav li.sidebar-login-action a:hover,
.create-invitation-body .sidebar-session-action button:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

/* Menu global: iguala todas las vistas al encabezado de inicio. */
.header-area,
.background-header {
  background: #00301c !important;
}

.header-area .main-nav .nav li.nav-primary-cta a,
.background-header .main-nav .nav li.nav-primary-cta a {
  min-width: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.62) !important;
  border-color: rgba(242, 200, 109, 0.62) !important;
  color: #fff !important;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(242, 200, 109, 0.1) !important;
}

.header-area .main-nav .nav li.nav-primary-cta a i,
.background-header .main-nav .nav li.nav-primary-cta a i {
  background: rgba(242, 200, 109, 0.2) !important;
  color: #f2c86d !important;
}

.header-area .main-nav .nav li.nav-primary-cta a:hover,
.background-header .main-nav .nav li.nav-primary-cta a:hover {
  background:
    linear-gradient(180deg, rgba(242, 200, 109, 0.16), rgba(255, 255, 255, 0)),
    rgba(67, 110, 96, 0.78) !important;
  border-color: rgba(242, 200, 109, 0.9) !important;
  transform: translateY(-2px);
}

.header-area .main-nav .nav li.nav-login-action a,
.background-header .main-nav .nav li.nav-login-action a,
.header-area .main-nav .nav li.nav-session-action button,
.background-header .main-nav .nav li.nav-session-action button,
.sidebar-nav li.sidebar-login-action a,
.sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.85) !important;
  background: linear-gradient(135deg, #f2c86d, #d69a32) !important;
  color: #3b2a0a !important;
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.28) !important;
}

.header-area .main-nav .nav li.nav-login-action a i,
.background-header .main-nav .nav li.nav-login-action a i,
.header-area .main-nav .nav li.nav-session-action button i,
.background-header .main-nav .nav li.nav-session-action button i {
  color: #3b2a0a !important;
}

.header-area .main-nav .nav li.nav-login-action a:hover,
.background-header .main-nav .nav li.nav-login-action a:hover,
.header-area .main-nav .nav li.nav-session-action button:hover,
.background-header .main-nav .nav li.nav-session-action button:hover,
.sidebar-nav li.sidebar-login-action a:hover,
.sidebar-session-action button:hover {
  border-color: #f8d98c !important;
  background: linear-gradient(135deg, #f6d684, #e0a642) !important;
  color: #2f2108 !important;
  transform: translateY(-2px);
}

/* Crear invitacion: fuerza el login dorado como inicio. */
body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button,
body.create-invitation-body .sidebar-nav li.sidebar-login-action a,
body.create-invitation-body .sidebar-session-action button {
  border-color: rgba(242, 200, 109, 0.85) !important;
  background: linear-gradient(135deg, #f2c86d, #d69a32) !important;
  color: #3b2a0a !important;
  box-shadow: 0 14px 28px rgba(201, 134, 23, 0.28) !important;
}

body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a i,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a i,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button i,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button i {
  background: transparent !important;
  color: #3b2a0a !important;
}

body.create-invitation-body .header-area .main-nav .nav li.nav-login-action a:hover,
body.create-invitation-body .background-header .main-nav .nav li.nav-login-action a:hover,
body.create-invitation-body .header-area .main-nav .nav li.nav-session-action button:hover,
body.create-invitation-body .background-header .main-nav .nav li.nav-session-action button:hover,
body.create-invitation-body .sidebar-nav li.sidebar-login-action a:hover,
body.create-invitation-body .sidebar-session-action button:hover {
  border-color: #f8d98c !important;
  background: linear-gradient(135deg, #f6d684, #e0a642) !important;
  color: #2f2108 !important;
}
