@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --paper: #fafaf7;
  --paper-2: #f2f1ea;
  --paper-3: #e9e7dd;
  --ink: #101820;
  --ink-2: #33404d;
  --muted: #68727e;
  --petrol: #0e4f5c;
  --petrol-deep: #093844;
  --petrol-ink: #072b34;
  --sky: #7fb6c4;
  --sky-soft: #dcebee;
  --sky-mist: #eef6f7;
  --line: rgba(16, 24, 32, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --night: #0b151d;
  --night-2: #12222d;
  --danger: #b3402e;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-soft: 0 18px 50px -18px rgba(16, 24, 32, 0.18);
  --shadow-lift: 0 30px 80px -30px rgba(16, 24, 32, 0.35);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.font-display,
h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
}

::selection {
  background: var(--petrol);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  max-width: 1440px;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 130px) 0;
}

.section-tight {
  padding: clamp(44px, 6vw, 84px) 0;
}

.section-dark {
  background: var(--night);
  color: #f4f7f8;
}

.section-paper2 {
  background: var(--paper-2);
}

.section-mist {
  background: var(--sky-mist);
}

.bg-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--petrol);
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow.centered::after {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.on-dark .eyebrow,
.section-dark .eyebrow {
  color: var(--sky);
}

.h-display {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.h-1 {
  font-size: clamp(1.5rem, 5.4vw, 3rem);
}

.h-2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.h-3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
}

.section-dark .lead,
.on-dark .lead {
  color: rgba(244, 247, 248, 0.75);
}

.text-muted {
  color: var(--muted);
}

.section-dark .text-muted {
  color: rgba(244, 247, 248, 0.6);
}

.accent {
  color: var(--petrol);
}

.section-dark .accent {
  color: var(--sky);
}

.italic-serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn i {
  font-size: 12px;
  transition: transform 0.35s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--petrol-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-petrol {
  background: var(--petrol);
  color: #fff;
}

.btn-petrol:hover {
  background: var(--petrol-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.on-dark .btn-ghost,
.section-dark .btn-ghost {
  color: #fff;
  border-color: var(--line-dark);
}

.on-dark .btn-ghost:hover,
.section-dark .btn-ghost:hover {
  border-color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--petrol);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.link-arrow:hover {
  gap: 16px;
  color: var(--petrol-deep);
}

.section-dark .link-arrow {
  color: var(--sky);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(16, 24, 32, 0.03);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(16, 24, 32, 0.18);
}

.card-dark {
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  color: #f4f7f8;
}

.card-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.card-mist {
  background: var(--sky-mist);
  border: 1px solid rgba(14, 79, 92, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

.badge-light {
  background: var(--sky-mist);
  border-color: rgba(14, 79, 92, 0.15);
  color: var(--petrol);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.hairline-t {
  border-top: 1px solid var(--line);
}

.hairline-b {
  border-bottom: 1px solid var(--line);
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-mist);
  color: var(--petrol);
  font-size: 18px;
  flex-shrink: 0;
}

.icon-tile.dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky);
}

.sp-slider {
  position: relative;
  overflow: hidden;
}

.sp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}

.sp-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.sp-slide .kenburns {
  animation: none;
}

.sp-slide.is-active .kenburns {
  animation: kenburns 9s var(--ease) forwards;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.sp-dots {
  display: flex;
  gap: 10px;
}

.sp-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.sp-dot.is-active {
  background: #fff;
}

.sp-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 21, 29, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.3s var(--ease);
}

.sp-arrow:hover {
  background: #fff;
  color: var(--ink);
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-cell {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.bento-8 { grid-column: span 8; }
.bento-7 { grid-column: span 7; }
.bento-6 { grid-column: span 6; }
.bento-5 { grid-column: span 5; }
.bento-4 { grid-column: span 4; }
.bento-3 { grid-column: span 3; }
.bento-12 { grid-column: span 12; }

.spec-table,
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table th,
.spec-table td,
.price-table th,
.price-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th,
.price-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}

.spec-table tbody tr,
.price-table tbody tr {
  transition: background 0.25s;
}

.spec-table tbody tr:hover,
.price-table tbody tr:hover {
  background: var(--sky-mist);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  width: 1px;
  background: var(--line);
}

.tl-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 40px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: 11px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--petrol);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}

.accordion-button:hover {
  color: var(--petrol);
}

.accordion-button .acc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}

.accordion-item.is-open .acc-icon {
  transform: rotate(45deg);
  background: var(--petrol);
  color: #fff;
  border-color: var(--petrol);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.accordion-body-inner {
  padding: 0 8px 28px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 760px;
}

.section-dark .accordion-item {
  border-color: var(--line-dark);
}

.section-dark .accordion-button {
  color: #f4f7f8;
}

.section-dark .accordion-body-inner {
  color: rgba(244, 247, 248, 0.7);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--ink-2);
  line-height: 1.7;
}

.tabs-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.5s var(--ease);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.snap-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.snap-row::-webkit-scrollbar {
  display: none;
}

.snap-row > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(14, 79, 92, 0.12);
}

.input.is-error,
.select.is-error,
.textarea.is-error {
  border-color: var(--danger);
}

.field-error {
  display: none;
  font-size: 12.5px;
  color: var(--danger);
  font-weight: 500;
}

.field-error.is-visible {
  display: block;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.check-field input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--petrol);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-loader {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.form-loader.is-active {
  display: inline-flex;
}

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--sky-soft);
  border-top-color: var(--petrol);
  animation: spin 0.8s linear infinite;
}

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

.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 15px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.45s var(--ease);
  max-width: 340px;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.toast-success i {
  color: var(--sky);
}

.toast.toast-error {
  background: #5a1f14;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99998;
  width: min(430px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 26px;
  display: none;
  transform: translateY(16px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sunburntpalms-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.sunburntpalms-header.is-scrolled {
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 8px 30px -12px rgba(16, 24, 32, 0.12);
}

.header-topbar {
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 247, 0.6);
}

.header-topbar a {
  color: inherit;
  text-decoration: none;
}

.header-topbar a:hover {
  color: var(--petrol);
}

.nav-link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--petrol);
  transition: width 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--petrol-deep);
}

.nav-link:hover::after {
  width: 100%;
}

.sunburntpalms-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.sunburntpalms-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--paper);
  padding: 110px 28px 40px;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
}

.sunburntpalms-mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link:hover {
  color: var(--petrol);
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: none;
}

.meter {
  height: 6px;
  border-radius: 3px;
  background: var(--paper-3);
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--petrol), var(--sky));
  width: 0;
  transition: width 1.4s var(--ease);
}

.counter-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--petrol);
}

.section-dark .counter-num {
  color: var(--sky);
}

.float-el {
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.pulse-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--sky);
  animation: pulseRing 2s var(--ease) infinite;
}

@keyframes pulseRing {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}

.divider-orn {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--petrol);
}

.divider-orn::before,
.divider-orn::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.map-frame {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.4) contrast(1.05);
  min-height: 380px;
}

.sepia-img {
  filter: sepia(0.45) contrast(0.95);
}

.daynight .dn-scene {
  transition: background 0.8s var(--ease);
}

[data-aos] {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .bento-8, .bento-7, .bento-6, .bento-5, .bento-4, .bento-3 {
    grid-column: span 6;
  }
}

@media (max-width: 860px) {
  .sunburntpalms-burger {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
  .header-contacts-inline {
    display: none;
  }
  .sticky-cta {
    display: block;
  }
}

@media (max-width: 640px) {
  .bento-8, .bento-7, .bento-6, .bento-5, .bento-4, .bento-3 {
    grid-column: span 12;
  }
  .wrap {
    padding: 0 18px;
  }
  .btn {
    padding: 14px 26px;
  }
  .accordion-button {
    padding: 20px 4px;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 20px;
  }
  .toast-wrap {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .toast {
    max-width: none;
  }
  html,body{max-width:100%;overflow-x:hidden}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
