:root {
  --hdsf-navy: #22264b;
  --hdsf-deep-navy: #282657;
  --hdsf-red: #f20d0d;
  --hdsf-white: #fff;
  --hdsf-cream: #f9f7f6;
  --hdsf-muted: #4b5563;
  --hdsf-border: #e5e7eb;
  --hdsf-black: #0a0d09;
  --hdsf-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hdsf-home {
  margin: 0;
  background: var(--hdsf-white);
  color: #111827;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
}

body.hdsf-home a {
  color: inherit;
  text-decoration: none;
}

body.hdsf-home img {
  display: block;
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--hdsf-navy);
}

.hdsf-home main {
  padding-top: 91px;
}

.nav-shell {
  width: min(100%, 1440px);
  min-height: 91px;
  margin: 0 auto;
  padding: 16px 120px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.logo-link {
  flex: 0 0 auto;
}

.logo-link img {
  width: 77px;
  height: 59px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #f9fafb;
  font-size: 16px;
  white-space: nowrap;
}

.nav-links .is-active {
  font-weight: 700;
}

.nav-search {
  width: 300px;
  margin-left: auto;
  padding: 8px 12px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fafafa;
  border-radius: 4px;
}

.nav-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hdsf-muted);
  font: inherit;
}

.nav-search button,
.mobile-icon-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-icon-button,
.mobile-menu {
  display: none;
}

.hero-section {
  position: relative;
  height: 900px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 80px 120px;
  text-align: center;
  color: var(--hdsf-white);
}

.hero-section picture {
  position: absolute;
  inset: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.review-pill {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 8px 24px;
  border: 1px solid rgba(233, 235, 233, 0.1);
  border-radius: 128px;
  background: rgba(233, 235, 233, 0.1);
  backdrop-filter: blur(6.9px);
  font-size: 18px;
}

.stars {
  color: #facc15;
  letter-spacing: 0;
}

.hero-content h1 {
  margin: 0;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.hero-content p {
  margin: 0 0 40px;
  font-size: 16px;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.button-primary {
  padding: 16px 32px;
  background: var(--hdsf-red);
  color: var(--hdsf-white);
  font-size: 18px;
}

.button-small {
  padding: 8px 16px;
  background: var(--hdsf-red);
  color: var(--hdsf-white);
  font-size: 14px;
}

.trust-strip {
  min-height: 76px;
  padding: 24px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--hdsf-cream);
  color: var(--hdsf-navy);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.trust-strip img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.section {
  padding: 80px 120px;
}

.section-heading {
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--hdsf-black);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

.section-heading p {
  margin: 0;
  color: #525252;
  font-size: 16px;
}

.island-grid,
.charter-grid,
.review-grid,
.blog-grid {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
}

.island-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.island-card {
  position: relative;
  height: 359px;
  overflow: hidden;
  border-radius: 8px;
  background: #efefef;
}

.island-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000);
}

.island-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.island-card:hover img {
  transform: scale(1.04);
}

.island-card span {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--hdsf-white);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.charter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.charter-card,
.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hdsf-cream);
}

.blog-card {
  border: 1px solid var(--hdsf-border);
}

.charter-media,
.blog-media {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: #efefef;
}

.charter-media img,
.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.is-private {
  background: #eff6ff;
  color: #155dfc;
}

.is-share {
  background: #f0fdf4;
  color: #00a63e;
}

.charter-body {
  padding: 16px;
}

.charter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.charter-meta em {
  color: var(--hdsf-muted);
  font-style: normal;
  font-weight: 400;
}

.charter-card h3 {
  margin: 8px 0 16px;
  font-size: 20px;
  line-height: 1.4;
}

.charter-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.charter-footer small {
  display: block;
  color: var(--hdsf-muted);
  font-size: 12px;
}

.charter-footer strong {
  margin-right: 4px;
  font-size: 20px;
}

.charter-footer span {
  color: var(--hdsf-muted);
  font-size: 12px;
}

.reviews-section {
  background: var(--hdsf-white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 24px;
  border: 1px solid var(--hdsf-border);
  border-radius: 8px;
  background: var(--hdsf-white);
}

.review-card time {
  float: right;
  color: var(--hdsf-muted);
  font-size: 12px;
}

.review-card h3 {
  clear: both;
  margin: 16px 0 8px;
  font-size: 16px;
}

.review-card p {
  margin: 0;
  color: var(--hdsf-muted);
  font-size: 14px;
}

.review-thumbs {
  display: flex;
  gap: 8px;
  margin: 16px 0 24px;
}

.review-thumbs img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ff6467;
  font-weight: 600;
}

.review-author small {
  display: block;
  color: var(--hdsf-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--hdsf-white);
}

.blog-media {
  height: 209px;
}

.blog-body {
  padding: 24px;
}

.blog-body time,
.blog-body p {
  color: var(--hdsf-muted);
  font-size: 14px;
}

.blog-body h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.4;
}

.blog-body a {
  color: var(--hdsf-red);
  font-weight: 700;
  text-decoration: underline;
}

.view-all {
  display: table;
  margin: 40px auto 0;
  font-weight: 700;
}

.cta-section {
  padding: 64px 120px 120px;
}

.cta-panel {
  position: relative;
  width: min(100%, var(--hdsf-max));
  min-height: 290px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--hdsf-deep-navy);
  color: var(--hdsf-white);
  text-align: center;
}

.cta-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
}

.cta-panel > div {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  margin: 0 0 8px;
  font-size: 56px;
  line-height: 1.1;
}

.cta-panel p {
  margin: 0 0 40px;
}

.site-footer {
  padding: 64px 120px 40px;
  background: #fafafa;
}

.footer-top {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.footer-logo img {
  width: 80px;
  height: 61px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 98px;
}

.footer-links h2 {
  margin: 0 0 16px;
  color: var(--hdsf-muted);
  font-size: 14px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  margin-top: 8px;
  color: var(--hdsf-muted);
}

.footer-bottom {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hdsf-border);
  border-radius: 12px;
  background: #f5f5f5;
  color: #111827;
  font-weight: 700;
}

.footer-bottom p {
  margin: 0;
  color: var(--hdsf-muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav-shell,
  .section,
  .site-footer,
  .cta-section,
  .trust-strip {
    padding-left: 40px;
    padding-right: 40px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-search {
    width: 230px;
  }

  .hero-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .charter-grid,
  .blog-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 0;
    z-index: 1000;
    padding: 0;
    background: var(--hdsf-navy);
  }

  .hdsf-home main {
    padding-top: 56px;
  }

  .nav-shell {
    min-height: 56px;
    padding: 12px 16px;
    background: var(--hdsf-navy);
  }

  .nav-shell > .logo-link img {
    width: 42px;
    height: 32px;
  }

  .nav-shell {
    gap: 12px;
  }

  .nav-links,
  .nav-search {
    display: none;
  }

  .mobile-icon-button {
    position: relative;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    margin-left: auto;
    padding: 0;
    color: #fff;
  }

  .mobile-icon-button + .mobile-icon-button {
    margin-left: 12px;
  }

  .mobile-search-button span,
  .mobile-search-button span::after {
    position: absolute;
    display: block;
    content: "";
  }

  .mobile-search-button span {
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 999px;
  }

  .mobile-search-button span::after {
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: center;
  }

  .mobile-menu-button span,
  .mobile-menu-button span::before,
  .mobile-menu-button span::after {
    position: absolute;
    display: block;
    width: 20px;
    height: 2px;
    content: "";
    background: #fff;
    border-radius: 999px;
  }

  .mobile-menu-button span::before {
    top: -7px;
  }

  .mobile-menu-button span::after {
    top: 7px;
  }

  .mobile-menu-is-open .mobile-menu-button span {
    background: transparent;
  }

  .mobile-menu-is-open .mobile-menu-button span::before,
  .mobile-menu-is-open .mobile-menu-button span::after {
    top: 0;
    width: 24px;
  }

  .mobile-menu-is-open .mobile-menu-button span::before {
    transform: rotate(45deg);
  }

  .mobile-menu-is-open .mobile-menu-button span::after {
    transform: rotate(-45deg);
  }

  .mobile-menu-is-open .mobile-search-button {
    display: none;
  }

  .mobile-menu-is-open .mobile-menu-button {
    margin-left: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    overflow-y: auto;
    padding: 36px 55px 80px;
    background: var(--hdsf-navy);
    color: #fff;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 20px;
    line-height: 1.4;
  }

  .mobile-menu-links a {
    color: #f9fafb;
  }

  .mobile-menu-links .is-active {
    font-weight: 700;
  }

  .hero-section {
    height: 805px;
    align-items: center;
    justify-content: flex-end;
    padding: 64px 16px;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-position: center center;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.43);
  }

  .hero-content {
    gap: 16px;
  }

  .review-pill {
    max-width: 100%;
    gap: 12px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .review-pill .stars {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .hero-content p {
    width: 100%;
    margin-bottom: 40px;
    font-size: 14px;
  }

  .button-primary {
    font-size: 18px;
  }

  .trust-strip {
    min-height: auto;
    padding: 24px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
  }

  .trust-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .trust-strip img {
    width: 24px;
    height: 24px;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .island-grid,
  .charter-grid,
  .review-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .island-card {
    height: 359px;
  }

  .charter-grid {
    gap: 24px;
  }

  .charter-meta {
    font-size: 12px;
  }

  .charter-card h3 {
    font-size: 16px;
  }

  .charter-footer strong {
    font-size: 16px;
  }

  .review-grid,
  .blog-grid {
    gap: 24px;
  }

  .review-card {
    padding: 16px;
  }

  .blog-media {
    height: 209px;
  }

  .blog-body {
    padding: 24px;
  }

  .blog-body h3 {
    font-size: 16px;
  }

  .cta-section {
    padding: 64px 16px;
  }

  .cta-panel {
    min-height: 678px;
    padding: 80px 24px;
  }

  .cta-panel h2 {
    width: 198px;
    margin-left: auto;
    margin-right: auto;
    font-size: 32px;
  }

  .cta-panel p {
    font-size: 14px;
  }

  .site-footer {
    padding: 48px 16px 24px;
  }

  .footer-top {
    margin-bottom: 48px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-logo img {
    width: 80px;
    height: 61px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links h2 {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .footer-links a {
    margin-top: 4px;
    font-size: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}
