﻿    :root {
      --bg: #fff9f0;
      --bg-soft: #f6ecde;
      --ink: #5a3b2a;
      --ink-soft: #7a5b4a;
      --brand: #ea8b6d;
      --brand-2: #4fb2bb;
      --brand-3: #e8bf4f;
      --card: #fff9f2;
      --line: rgba(31, 26, 22, 0.12);
      --shadow: 0 20px 40px rgba(20, 16, 12, 0.14);
      --radius: 14px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 92px;
    }

    body {
      margin: 0;
      font-family: "Nunito Sans", sans-serif;
      color: var(--ink);
      background: linear-gradient(180deg, #c9ebf8 0%, #9fd8ec 42%, #84cfe6 100%);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
      isolation: isolate;
    }

    body.lightbox-open { overflow: hidden; }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
      background:
        radial-gradient(1200px 420px at 20% -12%, rgba(243, 252, 255, 0.58), transparent 72%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 74 C120 34 240 34 360 74 C480 114 600 114 720 74 C840 34 960 34 1080 74 C1200 114 1320 114 1440 74' fill='none' stroke='white' stroke-opacity='0.74' stroke-width='2.2'/%3E%3Cpath d='M0 142 C120 102 240 102 360 142 C480 182 600 182 720 142 C840 102 960 102 1080 142 C1200 182 1320 182 1440 142' fill='none' stroke='white' stroke-opacity='0.5' stroke-width='1.8'/%3E%3C/svg%3E");
      background-size: 100% 100%, 820px 220px;
      background-repeat: no-repeat, repeat;
      background-position: center top, 0 0;
      mix-blend-mode: screen;
      opacity: 0.72;
      animation: driftWaveA 28s linear infinite;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -3;
      pointer-events: none;
      background:
        radial-gradient(900px 300px at 88% 6%, rgba(154, 217, 238, 0.34), transparent 74%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0 62 C90 26 190 26 290 62 C390 98 490 98 590 62 C690 26 790 26 890 62 C990 98 1090 98 1190 62 C1290 26 1365 28 1440 58' fill='none' stroke='white' stroke-opacity='0.46' stroke-width='1.7'/%3E%3C/svg%3E");
      background-size: 100% 100%, 620px 180px;
      background-repeat: no-repeat, repeat;
      background-position: center top, 0 26px;
      mix-blend-mode: screen;
      opacity: 0.56;
      animation: driftWaveB 22s linear infinite;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(var(--max), 92vw);
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      overflow: visible;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: linear-gradient(120deg, rgba(255, 249, 239, 0.94), rgba(240, 251, 253, 0.9));
      border-bottom: 0;
    }

    .header-wave {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      height: 44px;
      transform: translateY(-1px);
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .header-wave svg {
      display: block;
      width: 100%;
      height: calc(100% + 8px);
      transform: translateY(-6px);
      filter: drop-shadow(0 2px 3px rgba(48, 90, 108, 0.16));
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 12px 0;
      position: relative;
      z-index: 1;
    }

    .logo-brand {
      display: inline-flex;
      align-items: center;
      max-width: min(62vw, 360px);
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .logo-image {
      display: block;
      width: 100%;
      max-height: 62px;
      object-fit: contain;
      position: relative;
      z-index: 1;
    }

    .logo-brand::after {
      content: "";
      position: absolute;
      inset: -6% -28%;
      background: linear-gradient(120deg, transparent 34%, rgba(255, 255, 255, 0.78) 50%, transparent 66%);
      transform: translateX(-120%) skewX(-10deg);
      animation: sheen 6s ease-in-out 1 both;
      pointer-events: none;
      mix-blend-mode: screen;
      opacity: 0.82;
      z-index: 2;
    }

    .menu-toggle {
      display: none;
      position: relative;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 8px;
      width: 42px;
      height: 38px;
      padding: 0;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .22s ease, background-color .22s ease;
    }

    .menu-toggle-icon {
      display: inline-flex;
      flex-direction: column;
      gap: 4px;
      width: 18px;
    }

    .menu-toggle-bar {
      width: 100%;
      height: 2px;
      border-radius: 999px;
      background: var(--brand);
      transition: transform .28s cubic-bezier(.22, .78, .24, 1), opacity .2s ease;
      transform-origin: center;
    }

    .menu-toggle-bar:nth-child(1) { transform: translateY(0) rotate(0); }
    .menu-toggle-bar:nth-child(2) { opacity: 1; }
    .menu-toggle-bar:nth-child(3) { transform: translateY(0) rotate(0); }

    .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .menu-toggle.is-animating {
      animation: menuTogglePulse .24s ease;
    }

    .menu-toggle:active {
      transform: scale(0.94);
    }

    @keyframes menuTogglePulse {
      0% { transform: scale(1); }
      50% { transform: scale(0.9); }
      100% { transform: scale(1); }
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 18px;
      font-weight: 600;
      font-size: 0.92rem;
    }

    .menu a {
      position: relative;
      color: var(--ink-soft);
      transition: color .25s ease;
    }

    .menu a i { margin-right: 6px; }

    .menu a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 0;
      height: 2px;
      background: var(--brand);
      transition: width .25s ease;
    }

    .menu a:hover::after,
    .menu a:focus-visible::after { width: 100%; }
    .menu a:hover,
    .menu a.active { color: var(--brand-2); }

    .hero {
      padding: 82px 0 82px;
      position: relative;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 26px;
      align-items: stretch;
    }

    .hero-text {
      background: transparent;
      border: 0;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
      animation: rise .8s ease both;
      position: static;
      overflow: visible;
      min-width: 0;
    }

    .hero-text::after {
      content: none;
    }

    .eyebrow {
      display: inline-block;
      padding: 5px 11px;
      border-radius: 999px;
      border: 1px solid rgba(0, 152, 168, 0.35);
      color: var(--brand-2);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.4px;
      text-transform: uppercase;
      margin-bottom: 14px;
      background: rgba(255, 255, 255, 0.7);
    }

    h1, h2, h3 {
      margin: 0 0 14px;
      font-family: "Nunito Sans", sans-serif;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: 0;
    }

    h1 { font-size: clamp(1.85rem, 3.8vw, 3.05rem); }
    h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); }
    h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

    h1 {
      background: linear-gradient(120deg, #6f402b, #4fb2bb 36%, #ea8b6d 72%, #e8bf4f);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-sheen {
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      background-size: 100% 100%, 220% 100%;
      background-position: 0 0, 130% 0;
      background-repeat: no-repeat;
      animation: textSheen 6s ease-in-out infinite;
    }

    .hero-text h1.hero-sheen {
      position: relative;
      display: inline-block;
      background-image:
        linear-gradient(120deg, #6f402b, #4fb2bb 36%, #ea8b6d 72%, #e8bf4f);
      background-size: 100% 100%;
      background-position: 0 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      animation: none;
    }

    .hero-text h1.hero-sheen::after {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      color: transparent;
      -webkit-text-fill-color: transparent;
      background-image: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.98) 50%, transparent 70%);
      background-size: 260% 100%;
      background-position: 130% 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      animation: textSheen 6s ease-in-out infinite;
      pointer-events: none;
    }

    .hero-text .impact.hero-sheen {
      background-image:
        linear-gradient(120deg, #7a5b4a, #7a5b4a),
        linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.9) 50%, transparent 64%);
    }

    .hero-text .cta-note.hero-sheen {
      background-image:
        linear-gradient(120deg, #5f4b3f, #5f4b3f),
        linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.92) 50%, transparent 64%);
    }

    main section h2 {
      background: linear-gradient(120deg, #6f402b, #4fb2bb 36%, #ea8b6d 72%, #e8bf4f);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero p {
      margin: 0;
      color: var(--ink-soft);
      font-size: clamp(0.98rem, 1.4vw, 1.08rem);
      max-width: 60ch;
    }

    .impact {
      font-weight: 600;
      line-height: 1.72;
    }

    .impact strong {
      font-weight: 800;
      color: var(--ink);
    }

    .impact .uline {
      font-weight: 800;
      text-decoration-line: underline;
      text-decoration-thickness: 2px;
      text-decoration-color: rgba(79, 178, 187, 0.45);
      text-underline-offset: 3px;
    }

    .impact a {
      font-weight: 800;
      text-decoration-line: underline;
      text-decoration-thickness: 2px;
      text-decoration-color: rgba(79, 178, 187, 0.45);
      text-underline-offset: 3px;
    }

    .cta-note {
      margin-top: 10px;
      font-size: 0.93rem;
      font-weight: 700;
      color: #5f4b3f;
    }

    .cta-row {
      margin-top: 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 999px;
      padding: 4px 12px 4px 8px;
      min-height: 36px;
      font-weight: 800;
      font-size: 0.82rem;
      letter-spacing: 0.3px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      transition: transform .2s ease, box-shadow .22s ease, background .25s ease, filter .22s ease, border-color .22s ease;
      position: relative;
      overflow: hidden;
      transform: translateY(0);
      color: #fff;
      text-transform: uppercase;
      box-shadow: 0 8px 16px rgba(31, 26, 22, 0.16);
    }

    .btn:hover {
      transform: translateY(-2px);
      filter: saturate(1.04);
      box-shadow: 0 12px 22px rgba(31, 26, 22, 0.16);
    }

    .btn:active {
      transform: translateY(0);
      box-shadow: 0 6px 12px rgba(31, 26, 22, 0.12);
    }

    .btn:focus-visible {
      outline: 0;
      box-shadow: 0 0 0 3px rgba(79, 178, 187, 0.28), 0 12px 22px rgba(31, 26, 22, 0.16);
    }

    .hero-text .btn {
      isolation: isolate;
    }

    .hero-text .btn::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.65) 50%, transparent 72%);
      transform: translateX(-120%);
      animation: sheen 6s ease-in-out infinite;
      pointer-events: none;
      opacity: 0.85;
    }

    .btn-primary {
      --btn-icon-color: #cf5e2f;
      border-color: rgba(193, 83, 40, 0.34);
      background: linear-gradient(130deg, #f07843, #f49a68 58%, #f6b98f);
      box-shadow: 0 10px 20px rgba(242, 106, 46, 0.26);
    }

    .btn-whatsapp {
      --btn-icon-color: #16944b;
      border-color: rgba(22, 140, 58, 0.3);
      background: linear-gradient(130deg, #169a45, #23b456 60%, #35c56b);
      box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
    }

    .btn-secondary {
      --btn-icon-color: #1799c5;
      border-color: rgba(24, 145, 188, 0.3);
      background: linear-gradient(130deg, #1a9dcb, #22a7d7 58%, #39b7df);
    }

    .btn-static {
      --btn-icon-color: #2b4f7a;
      border-color: rgba(42, 67, 99, 0.36);
      background: linear-gradient(130deg, #3b5f87, #486e97 60%, #5880aa);
      cursor: default;
      box-shadow: 0 8px 16px rgba(31, 26, 22, 0.1);
    }

    .btn-static:hover,
    .btn-static:active {
      transform: none;
      filter: none;
      box-shadow: 0 8px 18px rgba(31, 26, 22, 0.1);
    }

    .btn-icon {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .btn i {
      font-size: 0.9rem;
    }

    .btn .btn-icon,
    .btn i {
      display: inline-grid;
      place-items: center;
      width: 24px;
      height: 24px;
      min-width: 24px;
      border-radius: 50%;
      background: #fff;
      color: var(--btn-icon-color, #2f4f63);
      box-shadow: 0 2px 4px rgba(15, 26, 32, 0.18);
    }

    .hero-media {
      border-radius: 24px;
      overflow: visible;
      min-height: 430px;
      width: 100%;
      margin-left: auto;
      margin-right: 0;
      box-shadow: none;
      position: relative;
      animation: rise .9s ease both;
      border: 0;
      min-width: 0;
    }

    .hero-collage {
      position: relative;
      min-height: 430px;
      height: 100%;
    }

    .collage-card {
      position: absolute;
      overflow: hidden;
      border-radius: 10px;
      border: 0;
      box-shadow:
        0 1px 2px rgba(18, 30, 40, 0.16),
        0 10px 20px rgba(14, 28, 38, 0.2);
      background: #f6f7f8;
      backface-visibility: hidden;
      transform-style: preserve-3d;
    }

    .collage-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      box-shadow:
        inset 0 0 0 8px rgba(248, 249, 250, 0.98),
        inset 0 0 0 9px rgba(212, 218, 224, 0.45);
      pointer-events: none;
      z-index: 4;
    }

    .card-main {
      left: 20%;
      right: 11%;
      top: 11%;
      bottom: 14%;
      z-index: 4;
      transform: rotate(2.2deg);
    }

    .card-left {
      left: 0;
      top: -2%;
      width: 42%;
      height: 52%;
      z-index: 2;
      transform: rotate(-6deg);
    }

    .card-right-top {
      right: -5%;
      bottom: -3%;
      width: 41%;
      height: 48%;
      z-index: 1;
      transform: rotate(5deg);
    }

    .collage-image {
      position: absolute;
      inset: 8px;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 3px;
      opacity: 0;
      transform: scale(1.02);
      transition: opacity .8s ease, transform 1.6s ease;
      backface-visibility: hidden;
    }

    .collage-image.is-active {
      opacity: 1;
      transform: scale(1.06);
    }

    .card-main .collage-image.is-active {
      transform: scale(1.045);
    }



    .stat {
      background: linear-gradient(145deg, #ffffff, #f1fbfd);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
      text-align: center;
      animation: rise 1s ease both;
    }

    .stat strong {
      display: block;
      font-size: 1.1rem;
      color: var(--brand);
    }

    section {
      padding: 60px 0;
      position: relative;
    }

    .wave-section {
      --section-wave-fill-start: rgba(255, 252, 246, 0.92);
      --section-wave-top-color: var(--section-wave-fill-start);
      background: var(--section-wave-top-color);
      padding-top: 40px;
      padding-bottom: 60px;
      overflow: visible;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
      isolation: isolate;
    }

    #dimora.wave-section {
      --section-wave-fill-start: rgba(255, 245, 236, 0.96);
    }

    #servizi.wave-section {
      --section-wave-fill-start: rgba(234, 249, 252, 0.96);
    }

    #gallery.wave-section {
      --section-wave-fill-start: rgba(255, 250, 231, 0.96);
    }

    #salento.wave-section {
      --section-wave-fill-start: rgba(232, 246, 241, 0.96);
    }

    #contatti.wave-section {
      --section-wave-fill-start: rgba(246, 238, 229, 0.96);
    }

    .wave-section::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      height: 48px;
      pointer-events: none;
      z-index: 0;
      background: var(--section-wave-top-color);
      -webkit-mask-size: 100% 100%;
      -webkit-mask-repeat: no-repeat;
      mask-size: 100% 100%;
      mask-repeat: no-repeat;
    }

    .wave-section::before {
      top: 0;
      transform: translateY(-98%);
      filter: drop-shadow(0 -4px 6px rgba(48, 90, 108, 0.3));
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,72 C110,32 220,34 340,78 C465,124 590,126 720,82 C850,38 980,38 1110,82 C1235,124 1345,122 1440,74 L1440,170 L0,170 Z'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,72 C110,32 220,34 340,78 C465,124 590,126 720,82 C850,38 980,38 1110,82 C1235,124 1345,122 1440,74 L1440,170 L0,170 Z'/%3E%3C/svg%3E");
    }

    .wave-section > .container {
      position: relative;
      z-index: 1;
    }

    .wave-section + .wave-section { margin-top: 0; }

    .section-head {
      max-width: 720px;
      margin-bottom: 24px;
    }

    .section-head p {
      color: var(--ink-soft);
      margin: 0;
      font-weight: 600;
      line-height: 1.72;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .feature {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 16px;
      box-shadow: 0 8px 18px rgba(31, 26, 22, 0.05);
    }

    .feature strong {
      display: block;
      margin-bottom: 4px;
      color: var(--brand-2);
    }

    .info-banner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 20px;
    }

    .info-item {
      background: linear-gradient(145deg, #ffffff, #fff7ea);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 14px;
    }

    .position-metrics {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .position-metric {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(79, 178, 187, 0.28);
      background: rgba(239, 251, 253, 0.9);
      color: #35566a;
      font-size: 0.8rem;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .gallery-wrap {
      display: grid;
      gap: 22px;
    }

    .gallery-category {
      background: transparent;
      border: 0;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }

    .gallery-category h3 {
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tour-tile {
      border: 0;
      border-radius: 0;
      padding: 0;
      background: transparent;
      box-shadow: none;
      display: grid;
      gap: 0;
      min-height: 220px;
    }

    .tour-screen {
      position: relative;
      border-radius: inherit;
      overflow: hidden;
      min-height: 250px;
      background: #1b1814;
      perspective: 1700px;
      transform-style: preserve-3d;
      border: 1px solid rgba(255, 255, 255, 0.62);
      box-shadow:
        0 2px 5px rgba(24, 44, 56, 0.42),
        0 20px 42px rgba(10, 26, 36, 0.22);
      transition: transform .35s cubic-bezier(.2, .75, .25, 1), box-shadow .35s ease;
      will-change: transform;
    }

    .tour-screen::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 36%, transparent 68%, rgba(255, 255, 255, 0.12));
      z-index: 3;
    }

    .tour-image-layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      animation: subtleZoom 12s ease-in-out infinite;
      opacity: 0;
      will-change: opacity;
      z-index: 1;
      transition: opacity .85s ease;
    }

    .tour-image-layer.is-active {
      opacity: 1;
      z-index: 2;
    }

    .tour-controls {
      position: absolute;
      right: 8px;
      bottom: 8px;
      display: flex;
      gap: 6px;
      z-index: 6;
    }

    .tour-accordion {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 5;
      opacity: 0;
      visibility: hidden;
    }

    .tour-accordion.is-active {
      opacity: 1;
      visibility: visible;
    }

    .tour-strip {
      position: absolute;
      top: 0;
      bottom: 0;
      overflow: hidden;
      transform-style: preserve-3d;
    }

    .tour-strip-face {
      position: absolute;
      inset: 0;
      background-repeat: no-repeat;
      background-size: cover;
      backface-visibility: hidden;
      will-change: transform, opacity, filter;
    }

    .tour-btn {
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.45);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .hero-tour-tile {
      height: 100%;
      min-height: 400px;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
      border-radius: 44px 18px 46px 22px;
      overflow: hidden;
    }

    .hero-tour-tile .tour-screen {
      flex: 1;
      min-height: 300px;
    }

    .media-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .media-grid figure {
      margin: 0;
      border-radius: 12px;
      overflow: hidden;
      min-height: 130px;
      aspect-ratio: 4 / 3;
      border: 1px solid var(--line);
      box-shadow: 0 1px 4px rgba(24, 44, 56, 0.42);
      cursor: zoom-in;
      transition: box-shadow .3s ease-out;
      background: #f4f1e3;
    }

    .media-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: none;
      transition: none;
    }

    @media (hover: hover) and (pointer: fine) {
      .media-grid figure:hover {
        transform: translateY(-2px);
        box-shadow: 0 2px 5px rgba(24, 44, 56, 0.5);
      }

      .media-grid figure:hover img {
        transform: scale(1.045);
        transition: transform .45s ease-out;
      }
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 120;
      display: grid;
      place-items: center;
      padding: 18px;
      background: rgba(10, 12, 18, 0.84);
      backdrop-filter: blur(6px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .3s ease, visibility .3s ease;
    }

    .lightbox.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .lightbox-dialog {
      position: relative;
      width: min(1100px, 96vw);
      max-height: 92vh;
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      border-radius: 12px;
      overflow: hidden;
      background: #0d1018;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
      transform: translateY(16px) scale(0.98);
      transition: transform .28s ease;
    }

    .lightbox.open .lightbox-dialog { transform: translateY(0) scale(1); }

    .lightbox-image-wrap {
      display: grid;
      place-items: center;
      min-height: min(50vh, 560px);
      height: min(84vh, calc(100vh - 170px));
      max-height: calc(100vh - 120px);
      overflow: hidden;
      background: radial-gradient(circle at top, rgba(0, 152, 168, 0.2), rgba(5, 8, 15, 0.9));
      padding: 8px;
    }

    .lightbox-image {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      object-position: center center;
      animation: lightboxImageIn .32s cubic-bezier(.2, .78, .22, 1) both;
    }

    .lightbox-close,
    .lightbox-nav {
      position: absolute;
      border: 1px solid rgba(255, 255, 255, 0.5);
      background: rgba(0, 0, 0, 0.45);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .2s ease, transform .2s ease;
      z-index: 2;
    }

    .lightbox-close {
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      font-size: 1rem;
    }

    .lightbox-nav {
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      font-size: 1.1rem;
    }

    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }

    .lightbox-close:hover,
    .lightbox-nav:hover {
      background: rgba(0, 0, 0, 0.72);
      transform: translateY(-50%) scale(1.04);
    }

    .lightbox-close:hover { transform: scale(1.04); }

    .lightbox-caption {
      margin: 0;
      color: #eaf8fb;
      font-size: 0.92rem;
      text-align: center;
      padding: 10px 14px 14px;
      background: rgba(0, 0, 0, 0.45);
    }

    @keyframes lightboxImageIn {
      from { opacity: 0; transform: scale(0.985); }
      to { opacity: 1; transform: scale(1); }
    }

    .reviews {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .review {
      background: linear-gradient(160deg, #fff8ef, #ffffff 55%, #eefbff);
      border-radius: 12px;
      border: 1px solid var(--line);
      padding: 16px;
    }

    .review .source {
      color: var(--brand);
      font-weight: 800;
      font-size: .82rem;
      letter-spacing: .3px;
      text-transform: uppercase;
    }

    .contact {
      background: var(--section-wave-top-color);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 18px;
      align-items: stretch;
    }

    .panel {
      background: linear-gradient(145deg, #fffdf8, #f0fbfc);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: var(--shadow);
    }

    .list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .list li {
      padding-bottom: 10px;
      border-bottom: 1px dashed rgba(31, 26, 22, 0.16);
    }

    .list li:last-child { border-bottom: 0; padding-bottom: 0; }

    .map-frame {
      border: 0;
      width: 100%;
      min-height: 320px;
      border-radius: 12px;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    }

    .feature,
    .info-item,
    .gallery-category,
    .tour-tile,
    .media-grid figure,
    .review,
    .panel,
    .map-frame,
    .stat {
      border-radius: 10px 14px 10px 14px;
    }

    .back-top {
      position: fixed;
      left: 16px;
      bottom: 20px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(0, 152, 168, 0.28);
      background: rgba(255, 255, 255, 0.92);
      color: #2f5063;
      box-shadow: 0 8px 20px rgba(25, 34, 40, 0.16);
      display: grid;
      place-items: center;
      font-size: 1.25rem;
      z-index: 60;
      cursor: pointer;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px) scale(0.92);
      transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

    .back-top.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      animation: floatingIn .28s ease;
    }

    .back-top.is-scroll-up {
      animation: backTopNudge .35s ease;
    }

    .quick-book {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 60;
      border: 1px solid rgba(22, 140, 58, 0.3);
      border-radius: 999px;
      background: linear-gradient(130deg, #169a45, #23b456 60%, #35c56b);
      color: #fff;
      font-weight: 800;
      font-size: 0.82rem;
      letter-spacing: 0.3px;
      text-transform: uppercase;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px) scale(0.95);
      pointer-events: none;
      transition: transform .2s ease, box-shadow .22s ease, filter .22s ease, opacity .24s ease, visibility .24s ease;
      padding: 4px 12px 4px 8px;
      box-shadow: 0 8px 16px rgba(22, 163, 74, 0.24);
    }

    .quick-book.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .quick-book:hover {
      transform: translateY(-2px);
      filter: saturate(1.04);
      box-shadow: 0 12px 22px rgba(22, 163, 74, 0.28);
    }

    .quick-book i {
      display: inline-grid;
      place-items: center;
      width: 24px;
      height: 24px;
      min-width: 24px;
      border-radius: 50%;
      background: #fff;
      color: #16944b;
      box-shadow: 0 2px 4px rgba(15, 26, 32, 0.18);
    }

    footer {
      --footer-bg-start: rgba(222, 239, 244, 0.95);
      --footer-top-color: var(--footer-bg-start);
      position: relative;
      isolation: isolate;
      padding: 12px 0 22px;
      color: var(--ink-soft);
      font-size: .76rem;
      text-align: center;
      background: var(--footer-top-color);
    }

    footer::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 48px;
      transform: translateY(-98%);
      pointer-events: none;
      z-index: 0;
      background: var(--footer-top-color);
      filter: drop-shadow(0 -4px 6px rgba(48, 90, 108, 0.3));
      -webkit-mask-size: 100% 100%;
      -webkit-mask-repeat: no-repeat;
      mask-size: 100% 100%;
      mask-repeat: no-repeat;
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,72 C110,32 220,34 340,78 C465,124 590,126 720,82 C850,38 980,38 1110,82 C1235,124 1345,122 1440,74 L1440,170 L0,170 Z'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0,72 C110,32 220,34 340,78 C465,124 590,126 720,82 C850,38 980,38 1110,82 C1235,124 1345,122 1440,74 L1440,170 L0,170 Z'/%3E%3C/svg%3E");
    }

    footer .container {
      position: relative;
      z-index: 1;
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .65s ease, transform .65s ease;
      transition-delay: var(--reveal-delay, 0ms);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes subtleZoom {
      0% { transform: scale(1.02); }
      50% { transform: scale(1.08); }
      100% { transform: scale(1.02); }
    }

    @keyframes sheen {
      0% { transform: translateX(-110%); }
      40%, 100% { transform: translateX(120%); }
    }

    @keyframes textSheen {
      0%, 100% { background-position: 0 0, 130% 0; }
      40% { background-position: 0 0, -120% 0; }
    }

    @keyframes floatingIn {
      from { opacity: 0; transform: translateY(10px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes backTopNudge {
      0% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-2px) scale(1.04); }
      100% { transform: translateY(0) scale(1); }
    }

    @keyframes driftWaveA {
      0% { background-position: center top, 0 0; }
      100% { background-position: center top, 820px 0; }
    }

    @keyframes driftWaveB {
      0% { background-position: center top, 0 26px; }
      100% { background-position: center top, -620px 26px; }
    }

    @media (max-width: 980px) {
      .hero-grid,
      .contact-wrap,
      .feature-grid,
      .reviews { grid-template-columns: 1fr 1fr; }

      .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 760px) {
      .header-inner { align-items: flex-start; }
      .logo-brand { max-width: min(68vw, 280px); }
      .menu-toggle { display: inline-flex; }
      .menu {
        display: flex;
        position: absolute;
        top: calc(100% - 1px);
        right: 4vw;
        left: 4vw;
        flex-direction: column;
        align-items: flex-start;
        background: linear-gradient(145deg, #ffffff, #eef9fb);
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 14px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px) scale(0.975);
        transform-origin: top center;
        max-height: 0;
        overflow: hidden;
        transition:
          opacity .34s ease,
          transform .34s cubic-bezier(.22, .78, .24, 1),
          max-height .34s ease,
          visibility .34s ease;
      }
      .menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        max-height: 75vh;
        animation: menuPanelIn .34s cubic-bezier(.2, .78, .22, 1) both;
      }
      .menu.closing {
        opacity: 0;
        visibility: visible;
        pointer-events: none;
        transform: translateY(-16px) scale(0.975);
        max-height: 0;
        animation: menuPanelOut .28s ease both;
      }

      .hero-grid,
      .feature-grid,
      .reviews,
      .contact-wrap,
      .info-banner { grid-template-columns: 1fr; }

      .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }
      .media-grid figure {
        min-height: 0;
        aspect-ratio: 4 / 3;
      }
      .media-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
      }

      .hero { padding-top: 56px; }
      .hero-media {
        min-height: 320px;
        width: 100%;
        margin-right: 0;
      }
      .hero-collage { min-height: 320px; }
      .card-main {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 16px;
      }
      .card-left,
      .card-right-top,
      .collage-shadow {
        display: none;
      }
      .back-top {
        left: 12px;
        bottom: 12px;
        width: 44px;
        height: 44px;
      }
      .quick-book {
        right: 12px;
        bottom: 12px;
      }
      .lightbox-nav {
        width: 42px;
        height: 42px;
      }
      .lightbox {
        padding: 10px;
      }
      .lightbox-dialog {
        width: min(96vw, 700px);
        max-height: 95vh;
      }
      .lightbox-image-wrap {
        min-height: min(52vh, 500px);
        height: min(78vh, calc(100vh - 156px));
        max-height: calc(100vh - 108px);
        padding-inline: 6px;
      }
    }

    @keyframes menuPanelIn {
      from { opacity: 0; transform: translateY(-16px) scale(0.975); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @keyframes menuPanelOut {
      from { opacity: 1; transform: translateY(0) scale(1); }
      to { opacity: 0; transform: translateY(-16px) scale(0.975); }
    }

    @media (min-width: 540px) and (max-width: 760px) {
      .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (prefers-reduced-motion: reduce) {
      *:not(.tour-image-layer) {
        animation: none !important;
        transition: none !important;
      }
      body::before,
      body::after { animation: none !important; }
      .reveal {
        opacity: 1;
        transform: none;
      }
      .tour-image-layer {
        animation: none !important;
        transition: opacity .5s ease !important;
      }
      .menu {
        transition:
          opacity .34s ease !important,
          transform .34s cubic-bezier(.22, .78, .24, 1) !important,
          max-height .34s ease !important,
          visibility .34s ease !important;
      }
      .menu.open {
        animation: menuPanelIn .34s cubic-bezier(.2, .78, .22, 1) both !important;
      }
      .menu.closing {
        animation: menuPanelOut .28s ease both !important;
      }
      .menu-toggle-bar {
        transition: transform .28s cubic-bezier(.22, .78, .24, 1), opacity .2s ease !important;
      }
    }
