/*
Theme Name: Bahamas
Theme URI: https://www.emmepubblicita.com/
Author: Web Agency Emmè
Author URI: https://www.emmepubblicita.com/
Description: Starter Theme Wordpress — integrazione Unibolletta
Version: 2.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bahamas
*/

/* ===== 1. CSS ORIGINALE DEL TEMA BAHAMAS ===== */

/* ! Reset */
body, html{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; box-sizing: border-box;margin: 0;padding: 0;}
*,*:before,*:after{ box-sizing: border-box; }
h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0;padding: 0;}
ol,ul{padding-left: 20px;}
img{height: auto;}
a{text-decoration: none;}
hr{border:none; border-bottom: 1px solid #000}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.46;
  font-size: 16px;
  font-weight: 400;
  position: relative;
  color: var(--site-text-color);
  font-family: var(--body-font);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6,.main-title,.sub-title,.title, .tit, .h1, .has-h-1-font-size, .h2, .has-h-2-font-size, .h3, .has-h-3-font-size, .h4, .has-h-4-font-size, .h5, .has-h-5-font-size, .h6, .has-h-6-font-size{
  
  line-height: 1.1;
  color: var(--site-title-color);
  font-family: var(--heading-font);
  font-weight: 700;
  position: relative;
  letter-spacing: -.045em;
}

/* ! Title System */
h1, h2, h3, h4, h5, h6, p, ol, ul{margin-bottom: 1rem;}

h1, .main-title, .h1, .has-h-1-font-size {font-size: clamp(2.8rem,5vw,5.3rem);  }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: clamp(2.2rem,3.4vw,3.7rem);}
h3, .title, .h3, .has-h-3-font-size{font-size: 28px;}
h4, .tit, .h4, .has-h-4-font-size{font-size: 24px;}
h5, .h5, .has-h-5-font-size{font-size: 20px;}
h6, .h6, .has-h-6-font-size{font-size: 18px;}


@media (max-width: 768px) {
  h1, .main-title, .h1, .has-h-1-font-size {font-size: 34px; }
  h2, .sub-title, .h2, .has-h-2-font-size{font-size: 30px;}
  h3, .title, .h3, .has-h-3-font-size{font-size: 26px;}
  h4, .tit, .h4, .has-h-4-font-size{font-size: 22px;}
  h5, .h5, .has-h-5-font-size{font-size: 18px; }
  h6, .h6, .has-h-6-font-size{font-size: 16px; }
}



/* Link color */
a { color: var(--link-color); }
a:hover { color: var(--link-color-hover); text-decoration: none; }

.clearfix, .cleared {
  clear: both;
}

ul {
  list-style-position: outside;
  padding-left: 20px;
}

.center{
  text-align: center;
}



.btn, .form .btn, .wp-block-buttons .wp-block-button a.wp-block-button__link, input[type="submit"] {
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  color: #ffffff;
  background-color: var(--link-color);

	display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px; 
  padding: 12px 17px;
  border-radius: 11px;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.25;
  transition: transform .2s,box-shadow .2s;
  cursor: pointer;
  border: 1px solid currentColor;
}

.wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link {
  background-color: transparent;
  color: #fff;
  border-color: inherit;
}


.wp-block-button.is-style-secondary .wp-block-button__link {
  background: transparent;
  border: 1px solid currentColor;
  color: var(--link-color);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent;
  color: var(--link-color);
  padding: 0;
}


.btn:hover, .form .btn:hover, .wp-block-buttons .wp-block-button a.wp-block-button__link:hover, .wp-block-buttons .wp-block-button.is-style-outline a.wp-block-button__link:hover, input[type="submit"]:hover {
  background: var(--link-color-hover);
  border-color: var(--link-color-hover);
  color: #fff;
}



input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], textarea, select {
  border: none;
  background-color: #F8F8F8;
  padding: 0 15px;
  height: 44px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0;
  font-family: var(--body-font);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #2A292970;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

textarea {
  height: 80px;
  line-height: 1.6;
  padding: 10px;
}

select {
  background-image: url('data:image/svg+xml,<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 6L8.5 10L12.5 6" stroke="%231E1E1E" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position-x: calc(100% - 15px);
  background-position-y: center;
}

input:focus, textarea:focus {
  outline: none;
}

input[type="search"] {
  width: auto;
}

.form .field {
  margin-bottom: 20px;
}

span.wpcf7-list-item {
  display: inline-block;
  margin: 0;
}

.wpcf7-spinner {
  position: absolute;
	left:0;
	bottom:0;
}

.wpcf7-form-control-wrap.privacy label,
.wpcf7-form-control.wpcf7-acceptance {
  font-size: 17px;

}
.wpcf7-form-control-wrap
{
	display:block;
}

.wpcf7-not-valid-tip{
  z-index: 1;
  font-size: 10px;
  text-align: left;
  position: absolute;
  bottom: -10px;
  left: 10px;
  background: transparent;
  right: 15px;
  box-sizing: border-box;
  padding: 0.5px;
}

.privacy{
	margin: 10px 0;
  font-weight: 400;
  color: var(--site-text-color);

}

.privacy a {
  color: var(--site-text-color);
  text-decoration: underline;
}

.privacy .wpcf7-not-valid-tip {
  position: relative;
  top: 0;
  bottom: 0;
  left: auto;
  right: auto;
  text-align: inherit; 
}
.wpcf7-form-control-wrap label {
  font-weight: 400;
  color: var(--site-text-color);
}

.wpcf7-not-valid {
  border: 1px solid red !important;
  display: inline-block;
}

.wpcf7-form-control.wpcf7-acceptance.wpcf7-not-valid {
  border: none !important;
}

.wpcf7-response-output {
  max-width: 868px;
  margin: 30px auto 0 !important;
  border: none !important;
  color: red;
  text-align: center;
}

label {
  color: var(--site-title-color);
  font-family: var(--body-font);
  font-size: 16px;
  font-style: normal;
  display: block;
  margin: 0 0 5px;
  font-weight: 600;
  line-height: normal;
}



.dis, .privacy label {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}
.privacy label a {
  color: #000;
}



.wpcf7-not-valid {
  border: 1px solid red !important;
  display: inline-block;
}

/* Per Webkit (Chrome, Safari, Edge) */
::-webkit-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Mozilla Firefox */
::-moz-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per Microsoft Edge (Legacy) */
::-ms-input-placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}

/* Per i browser più moderni */
::placeholder {
  color: rgba(51, 40, 30);
  opacity: 0.5;
}



.header {
  position: sticky;
  z-index: 100;
  top:0;
  background: #ffffffef;
  border-bottom: 1px solid var(--ub-line);
}
@media screen and (min-width:1025px)
{
	.header{
		backdrop-filter:blur(16px);
	}
}


.admin-bar .header{
  top:32px;
}

.page-template-menu-trasparent .header {
  background: transparent !important;
  position: fixed;
  left: 0;
  right: 0;
}

.scroll-down .header{
  background: var(--site-bg) !important;
}


#logo {
  position: relative;
  z-index: 250;
}

#logo img {
  padding: 20px 0;
  height: 70px;
  width: auto;
  display: block;
  box-sizing: content-box;
}


.header .corp {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navigator .menu {
  margin: 0;
  padding: 0;
  z-index: 110;
  position: relative;
}
.navigator .menu li {
	display:inline-block;
  	position: relative;
	
}
.navigator .menu li a {
  padding: 0 20px;
  line-height: 40px;
  color: var(--site-title-color);
  display: block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}


.page-template-menu-trasparent:not(.scroll-down) .navigator .menu li a { 
  color: #fff;
}

.navigator .menu li a:hover,
.navigator .menu li.current_page_item>a {
  color: var(--link-color-hover);
}



.navigator .menu ul {
  display:none;
  position: absolute;
  padding: 0;
  left:0;
  width: 200px;
  transition: all 0.6s cubic-bezier(.215, .61, .355, 1);
  box-shadow: 0 9px 68px 0 rgba(38, 43, 43, 0.1);
  background: #fff;
  top: 40px;
}
.navigator .menu li:hover ul,
.navigator .menu li:focus-within ul {
  display:block;
  z-index: 300;
}
.navigator .menu ul li { 
  width: 100%;
  display:block;	
}

.navigator .menu ul li a {
  line-height: 20px;
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--site-title-color) !important;
  text-align: left;
}

.navigator .menu ul li a:hover{
  background-color: #ccc;
}

.navigator .menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 28px;
}

.navigator .menu > li.menu-item-has-children > a::after {
  content: " ";
  width: 30px;
  height: 30px;
  background-size: 30px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: rotate(90deg);
  margin-top: -15px;
  background-size: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}


.page-template-menu-trasparent:not(.scroll-down) .menu > li.menu-item-has-children > a::after{
	background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="white" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}


.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  color: #b4c8d8;
}

.footer h4, .footer .tit {
  font-size: 21px;
  margin: 0 0 15px;
  text-transform: uppercase;
  color: #fff;
}

.footer a {
  color: #fff;
}

.footer a:hover, 
.credit a:hover {
  color: #eee;
}
.footer p{
	font-size: .86rem;
  margin: 17px 0 0;
}

.footer ul {
  padding-left: 10px;
}
.footer img{
	width: 200px !important;
  height: auto;
  filter: brightness(0) invert(1);
}

.credit {
  color: #fff;
  text-align: center;
  padding: 15px 0 10px;
  font-size: 11px;
}

.credit a{
  color: #fff;
}

.credit p {
  margin: 0;
}

.contenuto img {
  max-width: 100%;
  height: auto;
  display: block;
}


.call{
  display: none;
}


.page-hero {
  padding: 150px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
}
.page-hero .main-title {
  margin: 0;
}

.wp-block-group {
  scroll-margin-top: 100px;
}



.whatsapp-button {
  background: #42e35f;
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 30px;
  bottom: 30px;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} 
.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}



/*--------------------------------------------------------------
# Breakpoint (1024px)
--------------------------------------------------------------*/

@media screen and (max-width: 1024px) {

  body {
    padding-bottom: 51.2px;
}
	
.call {
  background: #fff;
  position: fixed;
  bottom: 0;
  z-index: 99999;
  left: 0;
  right: 0;
  box-shadow:0px 0px 12px #aaa;
  padding: 5px;
  box-sizing: border-box;
  display: block;
}
	
 .call .widget {
  display: flex;
  justify-content: right;
  align-items: center;
}
  
.call a {
  text-align: center;
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 4px;
  margin: 3px 18px 3px 0;
  line-height: 60px;
  font-size:0;
}

.call span {
  margin-left: 10px;
  margin-right: auto;
  font-size: 14px;
  text-align: left;
  color: #1d1d1d;
  text-transform: uppercase;
  line-height: 16px;
}
	
	.call svg{
		color:#fff;
	}

	
.top-bar{
  display:none;
}	
  
.resmenu {
  display: block;
  order: 3;
}

.header-widget{
margin-left:auto; 
margin-right:40px;
}
  
  
    .navigator {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    transform: translateX(100%);
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    bottom: 0;
    padding-top: 80px;
    background-color: #fff;
    z-index: 200;
    margin:0;
    overflow: scroll;
    padding-left: 40px;
    padding-right: 40px;
  }

  .visible {
    overflow: hidden;
  }

  .visible .navigator {
    transform: translateX(0%);
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
  }

  .navigator .menu {
    display: block;
    width: 100%;
    margin: 40px auto 0;
    position: relative;
  }

  .navigator .menu li {
    display: block;
  }

  .navigator .menu li a {
    line-height: 60px;
    background-color: transparent;
	color: var(--site-title-color) !important;
  }
	
 .navigator .menu .sub-menu {
    position: relative;
    width: 100%;
    opacity: 1;
    top: auto !important;
    visibility: visible;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    margin: 0;
	padding: 0px;
    display: block;
  }

  .navigator .menu .open-dropdown .sub-menu {
    max-height: 980px;
  }

  .menu > li.menu-item-has-children.open-dropdown > a::after{
	transform: rotate(-90deg);
  }
	
	  .page-template-menu-trasparent:not(.scroll-down, .visible) #nav-icon2 span {
	background: #fff;
  }
	
}

/*--------------------------------------------------------------
# Breakpoint (768px)
--------------------------------------------------------------*/

@media screen and (max-width: 768px) {

  .header-widget { display:none; }


}

/* ===== 2. LANDING UNIBOLLETTA (CSS ESPANSO) ===== */

:root {
    --ub-navy: #071b36;
    --ub-navy2: #0e2b4a;
    --ub-turq: #0dbdb0;
    --ub-mint: #dcf8f3;
    --ub-green: #36bc84;
    --ub-orange: #f19a28;
    --ub-text: #17314d;
    --ub-muted: #64768a;
    --ub-bg: #f5f9fb;
    --ub-line: #dfebef;
}

.ub-page {
    color: var(--ub-text);
    font-family: Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.ub-page * {
    box-sizing: border-box;
}

.ub-page a {
    text-decoration: none;
}

.ub-page h1,.ub-page h2,.ub-page h3,.ub-page p {
    margin-top: 0;
}

.ub-page h1,.ub-page h2,.ub-page h3 {
    color: var(--ub-navy);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.ub-page h1 {
    font-size: clamp(2.8rem,5vw,5.3rem);
    max-width: 830px;
}

.ub-page h2 {
    font-size: clamp(2.2rem,3.4vw,3.7rem);
}

.ub-page h3 {
    font-size: 1.27rem;
    letter-spacing: -.025em;
}

.ub-page p {
    line-height: 1.75;
}

.ub-page .wp-block-group {
    box-sizing: border-box;
}

.ub-container {
    max-width: 1210px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.ub-section {
    padding-top: 112px !important;
    padding-bottom: 112px !important;
}

.ub-section-tight {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
}

.ub-muted-section {
    background: var(--ub-bg);
}

.ub-dark {
    background: var(--ub-navy);
    color: white;
}

.ub-dark h2,.ub-dark h3,.ub-dark p {
    color: white;
}

.ub-eyebrow {
    display: block;
    font-size: .76rem !important;
    font-weight: 800;
    letter-spacing: .14em;
    color: #0b8e88 !important;
    text-transform: uppercase;
    margin-bottom: 24px !important;
}

.ub-dark .ub-eyebrow {
    color: #65e3d8 !important;
}

.ub-lead {
    font-size: clamp(1.04rem,1.4vw,1.24rem);
    color: var(--ub-muted);
}

.ub-dark .ub-lead {
    color: #cbd9e4;
}

.ub-button.wp-block-button .wp-block-button__link,.ub-button:not(.wp-block-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 11px;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.25;
    transition: transform .2s,box-shadow .2s;
    cursor: pointer;
    border: 0;
}

.ub-button-primary .wp-block-button__link,.ub-button-primary:not(.wp-block-button) {
    background: var(--ub-turq) !important;
}

.ub-button-primary:hover .wp-block-button__link,.ub-button-primary:not(.wp-block-button):hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 27px #0dbdb033;
}

.ub-button-outline .wp-block-button__link {
    border: 1px solid #b1d7db !important;
    background: transparent !important;
    color: var(--ub-navy) !important;
}

.ub-button-white .wp-block-button__link {
    background: #fff !important;
    color: var(--ub-navy) !important;
}

.ub-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 75% 25%,#cef8f1 0,transparent 28%),linear-gradient(125deg,#fff 35%,#effaf9);
    padding-top: 100px !important;
    padding-bottom: 95px !important;
}

.ub-hero:before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 560px;
    right: -120px;
    bottom: -300px;
    border: 75px solid #c8eee8;
    border-radius: 50%;
    opacity: .65;
}

.ub-hero .ub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr);
    gap: 65px;
    align-items: center;
}

.ub-hero .ub-eyebrow {
    margin-bottom: 18px !important;
}
 

.ub-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 32px 0 !important;
}

.ub-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 25px;
    margin-top: 28px !important;
    color: var(--ub-text);
    font-size: .86rem;
    font-weight: 700;
}

.ub-trust span:before {
    content: "✓";
    color: #079a8c;
    font-weight: 900;
    margin-right: 9px;
}

.ub-hero-art {
    min-height: 400px;
    position: relative;
}

.ub-orbit {
    position: absolute;
    inset: 20px;
    border: 2px solid #92dfd5;
    border-radius: 50%;
    box-shadow: inset 0 0 0 42px #e2f8f4,0 0 0 20px #e9f7f6;
}

.ub-orbit:after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -20px;
    top: -25px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0dbdb0,#52d6b2);
    opacity: .23;
}

.ub-symbol {
    position: absolute;
    left: 18%;
    top: 16%;
    width: 65%;
    min-height: 220px;
    background: var(--ub-navy);
    border-radius: 24px;
    transform: rotate(-5deg);
    box-shadow: 0 30px 70px #091d3244;
    padding: 28px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ub-symbol-head {
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .7rem;
    color: #8ae9dd;
}

.ub-symbol-lines {
    display: grid;
    gap: 12px;
}

.ub-symbol-lines span {
    height: 14px;
    border-radius: 50px;
    background: #29536a;
}

.ub-symbol-lines span:nth-child(2) {
    width: 80%;
    background: #0dbdb0;
}

.ub-symbol-lines span:nth-child(3) {
    width: 62%;
    background: #3cae7d;
}

.ub-floating {
    position: absolute;
    right: -6px;
    bottom: 50px;
    background: #fff;
    border: 1px solid var(--ub-line);
    border-radius: 14px;
    box-shadow: 0 18px 30px #0928401e;
    padding: 18px 23px;
    font-weight: 800;
    color: var(--ub-navy);
}

.ub-floating:before {
    content: "●";
    color: var(--ub-green);
    margin-right: 9px;
}

.ub-benefits {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px !important;
}

.ub-card {
    background: white;
    border: 1px solid var(--ub-line);
    border-radius: 19px;
    padding: 30px 25px !important;
    box-shadow: 0 15px 35px #102b4010;
}

.ub-card .ub-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: var(--ub-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #0a8e86;
    margin-bottom: 26px;
}

.ub-card p {
    font-size: .95rem;
    color: var(--ub-muted);
    margin-bottom: 0;
}

.ub-steps {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 25px !important;
    position: relative;
    margin-top: 45px !important;
}

.ub-step {
    border-top: 2px solid #a7ded8;
    padding-top: 22px;
    position: relative;
}

.ub-step:before {
    content: "";
    width: 13px;
    height: 13px;
    border: 4px solid #0dbdb0;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: 0;
}

.ub-step-num {
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .12em;
    color: #0a9f97;
    margin-bottom: 26px;
}

.ub-step p {
    color: var(--ub-muted);
    font-size: .94rem;
}

.ub-process {
    display: grid !important;
    grid-template-columns: 1fr 1.13fr;
    gap: 60px !important;
    align-items: center;
}

.ub-diagram {
    background: linear-gradient(145deg,#123654,#08223d);
    border-radius: 28px;
    padding: 28px !important;
    display: grid;
    gap: 12px;
    box-shadow: 0 25px 60px #071b3620;
}

.ub-diagram-node {
    border: 1px solid #315a71;
    border-radius: 13px;
    color: white;
    padding: 21px 20px;
    font-weight: 800;
    background: #ffffff0a;
    display: flex;
    align-items: center;
    gap: 16px;
	width:100%;
}

.ub-diagram-node strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: #0dbdb0;
    color: #072a34;
}

.ub-diagram-arrow {
    text-align: center;
    color: #7ce5d9;
    font-weight: 900;
    font-size: 1.2rem;
}

.ub-diagram-note {
    color: #b5cbd6 !important;
    font-size: .78rem !important;
    margin: 10px 0 0 !important;
}

.ub-feature-list {
    padding-left: 20px;
    line-height: 2;
    color: var(--ub-muted);
}

.ub-feature-list li::marker {
    color: var(--ub-turq);
}

.ub-area-grid {
    display: grid !important;
    grid-template-columns: repeat(3,1fr);
    gap: 18px !important;
}

.ub-area-chip {
    background: #fff;
    padding: 23px !important;
    border: 1px solid var(--ub-line);
    border-radius: 14px;
    font-weight: 800;
    color: var(--ub-navy);
}

.ub-area-chip:before {
    content: "↗";
    margin-right: 15px;
    color: #09aaa2;
}

.ub-conversion {
    background: linear-gradient(125deg,#071b36,#153e55);
    border-radius: 26px;
    padding: 66px !important;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 45px;
    align-items: center;
}

.ub-conversion h2 {
    max-width: 720px;
}

.ub-conversion .wp-block-buttons {
    justify-content: flex-end;
}

.ub-faq details {
    border-bottom: 1px solid var(--ub-line);
    padding: 22px 6px;
	 margin:0;
}

.ub-faq details:first-child {
    border-top: 1px solid var(--ub-line);
}

.ub-faq summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--ub-navy);
    list-style: none;
    padding-right: 33px;
    position: relative;
}

.ub-faq summary::-webkit-details-marker {
    display: none;
}

.ub-faq summary:after {
    content: "+";
    position: absolute;
    right: 4px;
    font-size: 1.6rem;
	line-height:1;
    color: #008f89;
}

.ub-faq details[open] summary:after {
    content: "−";
}

.ub-faq details p {
    color: var(--ub-muted);
    padding-top: 12px;
    margin-bottom: 0;
    max-width: 860px;
}

.ub-form-section {
    background: linear-gradient(145deg,#effaf8,#f6f9fb);
}

.ub-form-layout {
    display: grid !important;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px !important;
    align-items: start;
}

.ub-form-wrap {
    background: white;
    border-radius: 22px;
    padding: 35px !important;
    border: 1px solid var(--ub-line);
    box-shadow: 0 25px 60px #08233e15;
}

.ub-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
}

.ub-form label {
    font-size: .84rem;
    color: var(--ub-navy);
    font-weight: 750;
    display: block;
}

.ub-form label input:not([type=checkbox]),.ub-form select {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 9px;
    border: 1px solid #cbdce3;
    border-radius: 9px;
    background: #fff;
    color: var(--ub-navy);
    padding: 11px 13px;
    font: inherit;
    font-weight: 450;
}

.ub-form label input:focus,.ub-form select:focus {
    outline: 2px solid var(--ub-turq);
    outline-offset: 2px;
}

.ub-privacy {
    display: flex !important;
    gap: 12px;
    align-items: start;
    margin: 25px 0;
}

.ub-privacy input {
    margin-top: 3px;
    accent-color: var(--ub-turq);
    width: 19px;
    height: 19px;
    flex: none;
}

.ub-privacy a {
    text-decoration: underline;
    color: #077f7b;
}

.ub-submit {
    width: 100%;
}

.ub-form-micro {
    font-size: .79rem;
    color: var(--ub-muted);
    margin-top: 17px;
    margin-bottom: 0;
}

.ub-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ub-form-notice {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: .9rem;
}

.ub-form-success {
    background: #e2f7e7;
    color: #175a39;
}

.ub-form-error {
    background: #fff1ef;
    color: #9c332f;
}

.ub-network {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    align-items: center;
}

.ub-network-stat p {
    max-width: 430px;
    color: var(--ub-muted);
}

.ub-network-number {
    display: flex;
    align-items: baseline;
    gap: 16px;
    color: var(--ub-navy);
    margin-bottom: 23px;
    flex-wrap: wrap;
}

.ub-network-number>span:first-child {
  font-size:clamp(5rem,10vw,9rem);
  font-weight:900;
  letter-spacing:-.07em
}

.ub-network-number [data-ub-count] {
    font-size: clamp(5rem,10vw,9rem);
    line-height: 1;
    letter-spacing: -.07em;
    font-weight: 900;
    color: var(--ub-navy);
}

.ub-network-plus {
    font-weight: 800;
    max-width: 100px;
    line-height: 1.3;
}

.ub-network-caption {
    font-size: .77rem;
    color: #77909f;
}

.ub-map {
    padding: 10px 28px 20px;
    border-radius: 24px;
    border: 1px solid var(--ub-line);
    background: radial-gradient(circle at 50% 40%,#e7fbf7,#fff 65%);
    text-align: center;
}

.ub-map-art {
    position: relative;
    width: min(100%,440px);
    margin: auto;
}

.ub-map-art img {
    display: block;
    width: 100%;
    height: auto;
}

.ub-map-points {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ub-pin {
    position: absolute;
    width: 13px;
    height: 13px;
    border: 3px solid white;
    border-radius: 50%;
    background: var(--ub-turq);
    box-shadow: 0 0 0 5px #00bfac29;
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: ubPin .5s both;
}

.ub-map-legend {
    font-size: .84rem;
    font-weight: 800;
    color: var(--ub-navy);
}

.ub-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ub-turq);
    margin-right: 8px;
}

.ub-map-note {
    font-size: .73rem;
    color: var(--ub-muted);
    margin: 8px 0 0;
}

.ub-reveal {
    opacity: 0;
    transform: translateY(23px);
    transition: opacity .65s,transform .65s;
}

.ub-reveal.ub-visible {
    opacity: 1;
    transform: none;
}

@keyframes ubPin {
    from {
        opacity: 0;
        scale: .4;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

@media (max-width:1080px) {
    .ub-benefits {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ub-hero .ub-hero-grid {
        gap: 30px;
    }

    .ub-section {
        padding-top: 85px !important;
        padding-bottom: 85px !important;
    }
}

@media (max-width:780px) {
    .ub-hero .ub-hero-grid,.ub-network,.ub-process,.ub-form-layout,.ub-conversion {
        grid-template-columns: 1fr !important;
    }

    .ub-hero {
        padding-top: 55px !important;
    }

    .ub-hero-art {
        min-height: 290px;
        max-width: 400px;
        width: 100%;
        margin: 20px auto 0;
    }

    .ub-symbol {
        min-height: 180px;
    }

    .ub-floating {
        bottom: 15px;
    }

    .ub-steps {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding-left: 12px;
    }

    .ub-step {
        border-top: none;
        border-left: 2px solid #a7ded8;
        padding: 10px 0 15px 28px;
    }

    .ub-step:before {
        top: 17px;
        left: -8px;
    }

    .ub-step-num {
        margin-bottom: 10px;
    }

    .ub-area-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .ub-conversion {
        padding: 38px !important;
    }

    .ub-conversion .wp-block-buttons {
        justify-content: flex-start;
    }

    .ub-form-wrap {
        padding: 24px !important;
		width:100%;
    }

    .ub-form-grid {
        grid-template-columns: 1fr;
    }

    .ub-section {
        padding-top: 68px !important;
        padding-bottom: 68px !important;
    }
}

@media (max-width:480px) {
    .ub-benefits,.ub-area-grid {
        grid-template-columns: 1fr !important;
    }

    .ub-hero-actions {
        display: grid;
    }

    .ub-hero-actions .wp-block-button {
        width: 100%;
    }

    .ub-hero-actions .wp-block-button__link {
        width: 100%;
    }

    .ub-card {
        padding: 24px !important;
    }

    .ub-hero h1 {
        font-size: 2.55rem;
    }

    .ub-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .ub-conversion {
        padding: 27px !important;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ub-page *, .ub-page *:before,.ub-page *:after {
        animation: none !important;
        transition: none !important;
    }

    .ub-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== 3. COMPATIBILITÀ CON BAHAMAS / GUTENBERG / CF7 ===== */


/* ==============================================================
   Compatibilità Bahamas / Gutenberg
   La pagina utilizza header e footer originali del tema.
   ============================================================= */

/* Il wrapper full-width non deve ereditare la larghezza vincolata di Gutenberg. */
.ub-page.wp-block-group.alignfull {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Gutenberg applica limiti di larghezza ai figli dei Group constrained. */
.ub-page .wp-block-group.is-layout-constrained > .ub-container,
.ub-page .wp-block-group.is-layout-constrained > .ub-hero-grid,
.ub-page .wp-block-group.is-layout-constrained > .ub-benefits,
.ub-page .wp-block-group.is-layout-constrained > .ub-steps,
.ub-page .wp-block-group.is-layout-constrained > .ub-process,
.ub-page .wp-block-group.is-layout-constrained > .ub-form-layout,
.ub-page .wp-block-group.is-layout-constrained > .ub-diagram,
.ub-page .wp-block-group.is-layout-constrained > .ub-conversion {
    max-width: none;
}

.ub-page .ub-container {
    width: 100%;
    max-width: 1210px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Le colonne Gutenberg possono avere un margin-bottom di default. */
.ub-page .wp-block-columns {
    margin-bottom: 0;
}

.ub-page .wp-block-columns > .wp-block-column {
    min-width: 0;
}

/* Priorità rispetto ai pulsanti globali del tema Bahamas. */
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    min-height: 52px;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-primary .wp-block-button__link,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-primary {
    color: var(--ub-navy);
    background: var(--ub-turq);
    border: 2px solid var(--ub-turq);
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-primary .wp-block-button__link:hover,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-primary:hover {
    background: #12d2c3;
    border-color: #12d2c3;
    color: var(--ub-navy);
    transform: translateY(-2px);
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-outline .wp-block-button__link,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-outline {
    color: var(--ub-navy);
    background: transparent;
    border: 2px solid #c4d8df;
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-outline .wp-block-button__link:hover,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-outline:hover {
    color: var(--ub-navy);
    background: var(--ub-mint);
    border-color: var(--ub-turq);
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-white .wp-block-button__link,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-white {
    background: #fff;
    border: 2px solid #fff;
    color: var(--ub-navy);
}

.ub-page .wp-block-buttons .wp-block-button.ub-button-white .wp-block-button__link:hover,
.ub-page .wp-block-buttons .wp-block-button .wp-block-button__link.ub-button-white:hover {
    background: #e6faf6;
    border-color: #e6faf6;
    color: var(--ub-navy);
}

/* Tipografia: vince sui font-size globali h1-h6 del tema. */
.ub-page h1.wp-block-heading {
    font-size: clamp(2.65rem, 5vw, 5.3rem);
}

.ub-page h2.wp-block-heading {
    font-size: clamp(2.05rem, 3.4vw, 3.7rem);
}

.ub-page h3.wp-block-heading {
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
}

.ub-page .ub-dark h2,
.ub-page .ub-dark h3,
.ub-page .ub-conversion h2,
.ub-page .ub-conversion h3 {
    color: #fff;
}

/* FAQ Gutenberg Details. */
.ub-page .ub-faq .wp-block-details {
    margin-bottom: 12px;
}

.ub-page .ub-faq .wp-block-details > summary {
    list-style-position: inside;
}

/* Contact Form 7: classi realmente presenti nell'HTML del sito. */
.ub-page .ub-form-wrap .wpcf7 .form.row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 18px;
    margin: 0;
}

.ub-page .ub-form-wrap .wpcf7 .form.row > .field {
    width: auto;
    max-width: none;
    flex: initial;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.ub-page .ub-form-wrap .wpcf7 .form.row > .field:has(textarea) {
    grid-column: 1 / -1;
}

.ub-page .ub-form-wrap .wpcf7 .form.row > p,
.ub-page .ub-form-wrap .wpcf7 .form.row > .privacy {
    grid-column: 1 / -1;
}

.ub-page .ub-form-wrap .wpcf7 input:not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
.ub-page .ub-form-wrap .wpcf7 select,
.ub-page .ub-form-wrap .wpcf7 textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 53px;
    border: 1px solid #cbdce3;
    border-radius: 10px;
    background: #fff;
    padding: 12px 15px;
    font-size: 16px;
    color: var(--ub-navy);
    box-shadow: none;
    font-family: inherit;
}

.ub-page .ub-form-wrap .wpcf7 textarea {
    min-height: 120px;
    height: 135px;
    resize: vertical;
}

.ub-page .ub-form-wrap .wpcf7 :is(input, textarea, select):focus-visible {
    outline: 2px solid var(--ub-turq);
    outline-offset: 2px;
}

.ub-page .ub-form-wrap .wpcf7 input[type="submit"] {
    display: inline-flex;
    width: auto;
    min-height: 52px;
    padding: 14px 24px;
    background: var(--ub-turq);
    border: 2px solid var(--ub-turq);
    border-radius: 10px;
    color: var(--ub-navy);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.ub-page .ub-form-wrap .wpcf7 input[type="submit"]:hover {
    background: #12d2c3;
    border-color: #12d2c3;
    color: var(--ub-navy);
}

.ub-page .ub-form-wrap .wpcf7 .privacy {
    margin: 14px 0 8px;
    color: var(--ub-text);
    font-size: 14px;
}

.ub-page .ub-form-wrap .wpcf7 .privacy label,
.ub-page .ub-form-wrap .wpcf7 .privacy a {
    color: var(--ub-text);
    font-size: 14px;
}

.ub-page .ub-form-wrap .wpcf7 .wpcf7-not-valid-tip {
    position: static;
    display: block;
    padding: 4px 0 0;
    font-size: 12px;
    color: #a52b2b;
}

.ub-page .ub-form-wrap .wpcf7 .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 14px !important;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
}

.ub-page .ub-form-wrap .wpcf7 form.sent .wpcf7-response-output {
    background: #e5f7ec;
    color: #205b3a;
}

.ub-page .ub-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.ub-page .ub-form-wrap .wpcf7 form.failed .wpcf7-response-output {
    background: #fff0ed;
    color: #a52b2b;
}

@media (max-width: 1024px) {
    .ub-page .ub-form-wrap .wpcf7 .form.row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ub-page .ub-form-wrap .wpcf7 .form.row {
        grid-template-columns: 1fr;
    }

    .ub-page .ub-form-wrap .wpcf7 input[type="submit"] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ub-page .wp-block-buttons .wp-block-button .wp-block-button__link {
        transition: none;
        transform: none;
    }
}
