/*
Theme Name: Bahamas
Theme URI: https://www.emmepubblicita.com/
Author: Web Agency Emmè
Author URI: https://www.emmepubblicita.com/
Description: Starter Theme Wordpress
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

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ! 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.2;
  color: var(--site-title-color);
  font-family: var(--heading-font);
  font-weight: 700;
  position: relative;
}

/* ! 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: 36px;  }
h2, .sub-title, .h2, .has-h-2-font-size{font-size: 34px;}
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: #000;
  transition: all .3s ease-in-out;
  background-color:#ffd250;
  border-radius: 0px;
  border: 2px solid transparent;
  padding: 18px 30px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  line-height: 1;
}

.header .wp-block-buttons .wp-block-button a.wp-block-button__link{
    text-decoration: none;
  background: #12345b;
  color: white;
  padding: 13px 17px;
  border-radius: 9px;
  font-weight: 750;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1;
}

.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;
}

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

}

.wpcf7-not-valid-tip{
  z-index: 1;
  font-size: 10px;
  text-align: left;
  position: absolute;
  bottom: -12px;
  left: 15px;
  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;
}

.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: 60px;
  width: auto;
  display: block;
  box-sizing: content-box;
}


.header .corp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navigator
{
  margin-left: auto;
}
.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 10px;
  line-height: 30px;
  display: block;
  text-decoration: none;
    font-size: 13px;
  font-weight: 700;
  color: #263d54;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}


.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: #fff;
}

.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 ul {
  padding-left: 10px;
}

.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; }


}

/* National Travel Refound — integrazione con tema Bahamas 2.7
   Caricare DOPO i CSS del tema. Non sostituisce style.css/layout.css.
   Per CSS aggiuntivo di WordPress incollare l'intero contenuto.
*/

:root {
  --ntr-blue: #12345b;
  --ntr-blue-deep: #0b2748;
  --ntr-sky: #008fd3;
  --ntr-gold: #ffbf16;
  --ntr-bg: #f5f8fc;
  --ntr-ink: #162839;
  --ntr-muted: #506477;
  --ntr-border: #dae3ee;
  --ntr-radius: 16px;
  --ntr-width: 1270px;
  --ntr-shadow: 0 12px 35px rgba(18, 52, 91, 0.08);
}

/* Bahamas usa main.pagina.corp e article.contenuto.
   Le sezioni hanno align=full nel markup Gutenberg, riconosciuto dal tema.
   Evitiamo di toccare globalmente .corp, .pagina o .contenuto. */
.pagina.corp > .contenuto > .ntr-hero.alignfull,
.pagina.corp > .contenuto > .ntr-section.alignfull,
.pagina.corp > .contenuto > .ntr-cta.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  clear: both;
}

/* Contenitore interno indipendente da max-width dei blocchi e da --corp */
.ntr-hero,
.ntr-section,
.ntr-cta {
  padding: clamp(52px, 6.5vw, 94px) 0;
  position: relative;
  isolation: isolate;
}
.ntr-hero > *,
.ntr-section > *,
.ntr-cta > * {
  max-width: var(--ntr-width);
  margin-left: auto;
  margin-right: auto;
}
.ntr-hero { 
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #0b2748 0%, #12345b 58%, #096a99 100%);
}
.ntr-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 78px solid rgba(255, 255, 255, 0.055);
  pointer-events: none;
  z-index: -1;
}
.ntr-hero .ntr-eyebrow { 
  color: var(--ntr-gold);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ntr-hero h1.wp-block-heading {
  color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  margin-top: 18px;
  margin-bottom: 23px;
}
.ntr-hero .ntr-lead {
  color: #e5eef7;
  line-height: 1.67;
  font-size: clamp(1.05rem, 1.6vw, 1.33rem);
}

/* Tipografia e sezioni */
.ntr-section { background: #fff; color: var(--ntr-ink); }
.ntr-section.ntr-soft,
.ntr-section.ntr-form-section { background: var(--ntr-bg); }
.ntr-section h2.wp-block-heading,
.ntr-cta h2.wp-block-heading {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ntr-blue);
  margin: 0 auto 20px;
}
.ntr-section h3.wp-block-heading {
  color: var(--ntr-blue);
  font-size: clamp(1.15rem, 1.5vw, 1.38rem);
  line-height: 1.34;
  margin-bottom: 11px;
}
.ntr-section p,
.ntr-section li,
.ntr-cta p {
  color: var(--ntr-muted);
  font-size: 1.035rem;
  line-height: 1.72;
}
.ntr-section a:not(.wp-block-button__link) { color: #006aa2; text-underline-offset: 3px; }
.ntr-section ul, .ntr-section ol { padding-left: 1.35rem; }
.ntr-section li { margin-bottom: 9px; }

/* Griglie Gutenberg: senza cambiare le classi native di Bahamas */
.ntr-section .wp-block-columns.ntr-grid,
.ntr-hero .wp-block-columns.ntr-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap !important;
  gap: 22px;
  margin-top: 34px;
  margin-bottom: 28px;
}
.ntr-grid > .wp-block-column { min-width: 0; flex-grow: 1; }
.ntr-grid-3 > .wp-block-column { flex-basis: calc((100% - 44px) / 3) !important; }
.ntr-grid-2 > .wp-block-column { flex-basis: calc((100% - 22px) / 2) !important; }
.ntr-section .ntr-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ntr-border);
  border-radius: var(--ntr-radius);
  box-shadow: var(--ntr-shadow);
  padding: clamp(22px, 2.8vw, 31px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ntr-section .ntr-card p { margin: 0 0 16px; font-size: 0.985rem; flex: 1; }
.ntr-card > .ntr-actions { margin-top: auto; }

/* Pulsanti: maggiore specificità degli stili globali Bahamas */
.ntr-hero .wp-block-buttons.ntr-actions,
.ntr-section .wp-block-buttons.ntr-actions,
.ntr-cta .wp-block-buttons.ntr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.ntr-hero .ntr-actions .wp-block-button .wp-block-button__link,
.ntr-section .ntr-actions .wp-block-button .wp-block-button__link,
.ntr-cta .ntr-actions .wp-block-button .wp-block-button__link {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 9px;
  border: 2px solid transparent;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 750;
  padding: 14px 22px;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.ntr-hero .ntr-btn-primary .wp-block-button__link,
.ntr-section .ntr-btn-primary .wp-block-button__link,
.ntr-cta .ntr-btn-primary .wp-block-button__link {
  background: var(--ntr-gold);
  color: var(--ntr-blue-deep);
}
.ntr-hero .ntr-btn-primary .wp-block-button__link:hover,
.ntr-section .ntr-btn-primary .wp-block-button__link:hover,
.ntr-cta .ntr-btn-primary .wp-block-button__link:hover {
  background: #ffd250;
  color: var(--ntr-blue-deep);
  transform: translateY(-2px);
}
.ntr-section .ntr-btn-secondary .wp-block-button__link {
  background: transparent;
  color: var(--ntr-blue);
  border-color: var(--ntr-blue);
}
.ntr-hero .ntr-btn-secondary .wp-block-button__link,
.ntr-cta .ntr-btn-secondary .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.ntr-section .ntr-btn-secondary .wp-block-button__link:hover {
  background: #ecf6fc;
  color: var(--ntr-blue);
}
.ntr-hero .ntr-btn-secondary .wp-block-button__link:hover,
.ntr-cta .ntr-btn-secondary .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Call to action e box informativi */
.ntr-cta { background: var(--ntr-blue); text-align: center; }
.ntr-cta h2.wp-block-heading { color: #fff; }
.ntr-cta p { color: #e7eff8; max-width: 790px; }
.ntr-cta .wp-block-buttons.ntr-actions { justify-content: center; }
.ntr-section .ntr-note {
  background: #edf6fb;
  border-left: 4px solid var(--ntr-sky);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-top: 26px;
}
.ntr-section .ntr-note p { font-size: .95rem; color: #2b4b61; margin: 0; }

/* Dettagli / FAQ native Gutenberg; niente librerie JS */
.ntr-section .wp-block-details {
  border-bottom: 1px solid var(--ntr-border);
  padding: 12px 0;
  margin: 0;
}
.ntr-section .wp-block-details summary {
  padding: 12px 28px 12px 0;
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--ntr-blue);
  cursor: pointer;
}
.ntr-section .wp-block-details p { margin: 7px 0 16px; font-size: .98rem; }
.ntr-hero a:focus-visible,
.ntr-section a:focus-visible,
.ntr-cta a:focus-visible,
.ntr-section summary:focus-visible,
.ntr-section input:focus-visible,
.ntr-section select:focus-visible,
.ntr-section textarea:focus-visible {
  outline: 3px solid var(--ntr-gold);
  outline-offset: 3px;
}

/* Contact Form 7 */
.ntr-cf7-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; }
.ntr-cf7-field { display: block; min-width: 0; }
.ntr-cf7-field > .ntr-label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--ntr-blue); }
.ntr-cf7-field .wpcf7-form-control-wrap { display: block; }
.ntr-cf7-field input,
.ntr-cf7-field select,
.ntr-cf7-field textarea {
  display: block;
  width: 100%;
  min-height: 49px;
  height: auto;
  color: var(--ntr-ink);
  background: #fff;
  border: 1px solid #b9cad9;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.4;
}
.ntr-cf7-field textarea { min-height: 118px; resize: vertical; }
.ntr-cf7-full { grid-column: 1 / -1; }
.ntr-cf7-privacy { line-height: 1.6; font-size: .94rem; }
.ntr-cf7-privacy .wpcf7-list-item { margin-left: 0; }
.ntr-section .wpcf7 form input.ntr-cf7-submit,
.ntr-section .wpcf7 input[type="submit"].ntr-cf7-submit {
  background: var(--ntr-gold);
  color: var(--ntr-blue);
  border: 0;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  padding: 16px 26px;
  min-height: 50px;
}
.ntr-section .wpcf7 input[type="submit"].ntr-cf7-submit:hover {
  background: #ffd250;
  color: var(--ntr-blue);
}
.ntr-section .wpcf7-not-valid-tip { font-size: .85rem; margin-top: 5px; }

/* Voce Area riservata: aggiungere classe CSS ntr-menu-login nel menu WordPress */
.header .navigator .menu li.ntr-menu-login > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 8px;
  background: var(--ntr-blue);
  color: #fff;
  font-weight: 700;
}
.header .navigator .menu li.ntr-menu-login > a:hover { background: var(--ntr-sky); color: #fff; }

@media (max-width: 960px) {
  .ntr-grid-3 > .wp-block-column { flex-basis: calc((100% - 22px) / 2) !important; }
}
@media (max-width: 700px) {
  .ntr-hero, .ntr-section, .ntr-cta { padding: 52px 22px; }
  .ntr-hero h1.wp-block-heading { font-size: clamp(2.1rem, 9vw, 3.3rem); }
  .ntr-section .wp-block-columns.ntr-grid { display: block; }
  .ntr-grid > .wp-block-column { width: 100%; margin-bottom: 17px; }
  .ntr-section .ntr-card { padding: 23px; }
  .ntr-cf7-grid { grid-template-columns: 1fr; }
  .ntr-cf7-full { grid-column: auto; }
  .ntr-actions .wp-block-button { width: 100%; }
  .ntr-actions .wp-block-button .wp-block-button__link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ntr-actions .wp-block-button__link { transition: none !important; transform: none !important; }
}
.ntr-visual-card {
  background: #fff;
  border: 1px solid var(--ntr-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ntr-shadow);
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform .28s ease, box-shadow .28s ease;
}

.ntr-mini-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #008fd3;
  margin: 0 0 14px;
}
.ntr-mini-label::before{content:"";width:26px;height:2px;background:#ffbf16;border-radius:99px;display:block}

.ntr-check-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}
.ntr-check-list li{position:relative;padding-left:30px;margin:0;color:var(--ntr-muted)}
.ntr-check-list li::before{content:'✓';position:absolute;left:0;top:0;color:#008fd3;font-weight:900}


.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-visible{opacity:1;transform:none}

@media (prefers-reduced-motion: reduce){.reveal,.ntr-slide,.ntr-card,.ntr-contact-card,.ntr-plan,.ntr-visual-card{transition:none!important}}

.ntr-split{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:32px;align-items:center;max-width:var(--ntr-width);margin:0 auto}
.ntr-split-reverse{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr)}
.ntr-split-reverse .ntr-split-media{order:2}
.ntr-split-reverse .ntr-split-content{order:1}
.ntr-split-media img{width:100%;display:block;border-radius:22px;box-shadow:0 24px 50px rgba(18,52,91,.18);min-height:350px;object-fit:cover}
.ntr-split-content p:last-child{margin-bottom:0}
.ntr-photo-grid{display:grid;gap:24px;max-width:var(--ntr-width);margin:26px auto 0}
.ntr-photo-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ntr-photo-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ntr-visual-card{background:#fff;border:1px solid var(--ntr-border);border-radius:20px;overflow:hidden;box-shadow:var(--ntr-shadow);display:flex;flex-direction:column;transform:translateY(0);transition:transform .28s ease, box-shadow .28s ease}
.ntr-visual-card:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(18,52,91,.16)}
.ntr-visual-card img{width:100%;object-fit:cover;display:block}
.ntr-visual-content{padding:22px 22px 24px}
.ntr-visual-content p{margin-bottom:0}
.ntr-process-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:var(--ntr-width);margin:28px auto 0}
.ntr-process-step{background:#fff;border:1px solid var(--ntr-border);border-radius:18px;padding:22px;box-shadow:var(--ntr-shadow)}
.ntr-process-step:before {display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;background:#12345b;color:#fff;font-weight:800;margin-bottom:14px}

.ntr-process-step:nth-child(1)::before{
  content: "01";
}
.ntr-process-step:nth-child(2)::before{
  content: "02";
}
.ntr-process-step:nth-child(3)::before{
  content: "03";
}
 .ntr-process-step:nth-child(4)::before{
  content: "04";
}

.ntr-process-step strong{display:block;color:#12345b;margin-bottom:8px;font-size:1.06rem}
.ntr-process-step p{font-size:.96rem;margin:0}
.ntr-process-strip .ntr-process-step:nth-child(5){grid-column:auto}
.ntr-audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.ntr-audience-card{background:#fff;border:1px solid #d8e2ee;border-radius:18px;padding:22px;box-shadow:var(--ntr-shadow)}
.ntr-inline-link{display:inline-flex;margin-top:10px;font-weight:700;color:#006aa2;text-decoration:none}
.ntr-inline-link::after{content:'→';margin-left:7px}
.ntr-check-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}
.ntr-check-list li{position:relative;padding-left:30px;margin:0;color:var(--ntr-muted)}
.ntr-check-list li::before{content:'✓';position:absolute;left:0;top:0;color:#008fd3;font-weight:900}
.ntr-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:var(--ntr-width);margin:28px auto 0}
.ntr-plan{background:#fff;border:1px solid var(--ntr-border);border-radius:18px;padding:28px;box-shadow:var(--ntr-shadow)}
.ntr-plan-label{display:inline-block;background:#edf6fb;color:#0b5480;border-radius:99px;padding:7px 12px;font-size:12px !important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px}
.ntr-plan-featured{background:linear-gradient(180deg,#12345b 0%,#0d2b4b 100%);border-color:#12345b;transform:translateY(-6px)}
.ntr-plan-featured .ntr-plan-label{background:rgba(255,255,255,.14);color:#fff}
.ntr-plan-featured h3,.ntr-plan-featured p{color:#fff!important}
.ntr-contact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:var(--ntr-width);margin:26px auto 0}
.ntr-contact-card{background:#fff;border:1px solid var(--ntr-border);border-radius:18px;padding:22px;box-shadow:var(--ntr-shadow);display:flex;flex-direction:column;gap:8px}
.ntr-contact-card strong{color:#12345b;font-size:1rem}
.ntr-contact-card a,.ntr-contact-card span{color:#506477;text-decoration:none}
.ntr-doc-box{max-width:var(--ntr-width);margin:28px auto 0;padding:24px 26px;border:1px solid #cbd7e4;border-radius:18px;background:#fff;box-shadow:var(--ntr-shadow);display:flex;justify-content:space-between;gap:22px;align-items:center}
.ntr-doc-btn{background:#ffbf16;color:#12345b;font-weight:800;padding:14px 18px;border-radius:10px;text-decoration:none;white-space:nowrap}

.ntr-section .ntr-card,.ntr-contact-card,.ntr-plan,.ntr-preview-form,.ntr-doc-box{transition:transform .28s ease, box-shadow .28s ease}
.ntr-section .ntr-card:hover,.ntr-contact-card:hover,.ntr-plan:hover,.ntr-preview-form:hover,.ntr-doc-box:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(18,52,91,.15)}
@media (max-width: 1100px){.ntr-photo-grid-3,.ntr-plan-grid,.ntr-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ntr-process-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 820px){.ntr-split,.ntr-split-reverse{grid-template-columns:1fr}.ntr-split-reverse .ntr-split-media,.ntr-split-reverse .ntr-split-content{order:initial}.ntr-audience-grid,.ntr-photo-grid-2,.ntr-photo-grid-3,.ntr-plan-grid,.ntr-contact-grid,.ntr-process-strip{grid-template-columns:1fr}.ntr-slider,.ntr-slides{min-height:390px}.ntr-slide-content{padding:28px 22px 50px}.ntr-slider-dots{left:22px;bottom:16px}.ntr-doc-box{flex-direction:column;align-items:flex-start}}
@media (max-width: 640px){.ntr-visual-card img{height:190px}.ntr-slider-btn{width:42px;height:42px;font-size:1.5rem}.ntr-slide-content h2{font-size:1.8rem}}


.ntr-preview-footer{background:#0b2748;color:#eef5ff}
.ntr-footer-inner{margin:auto;padding:65px 0;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:55px}
.ntr-preview-footer p{color:#b6c9dd;font-size:14px;line-height:1.8}
.ntr-preview-footer a{color:#dceafa;text-decoration:none;font-size:14px;display:block;margin-top:12px}
.ntr-preview-footer a:hover{color:#ffbf16}
.ntr-preview-footer strong{font-size:15px;color:white}
.ntr-footer-brand>b{letter-spacing:.08em}
.ntr-footer-links ul {
  margin:0;
  padding: 0;
  list-style: none;
}


.ntr-visual-card > figure {
  margin: 0 !important;
}