/* ============================================================
   FINNS Resort — landing replica
   Measured against finnsresort.com @1440px
   ============================================================ */
:root {
  --ink: #000;
  --paper: #fff;
  --mist: #f3f3f3;
  --line: #d9d9d9;
  --container: 1140px;
  --wide: 1380px;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: 87px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; }

p { margin: 0; }

a { color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 194px;
  height: 60px;
  padding: 20px 30px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: #1a1a1a; }
.btn:active { transform: translateY(1px); }
.btn--block { display: flex; width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 87px;
  background: var(--paper);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__finns { width: 124px; height: 67px; object-fit: contain; }
.site-header__mirah { width: 235px; height: 40px; object-fit: contain; }
.site-header__x {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  padding: 100px 20px;
  text-align: center;
}
.hero__logo {
  width: 200px;
  height: 107px;
  object-fit: contain;
  margin: 0 auto;
}
.hero__title {
  margin-top: 20px;
  font-size: 145px;
  line-height: 145px;
  letter-spacing: normal;
}

/* ---------- split (become part) ---------- */
.split {
  background: var(--mist);
  padding: 100px 0;
}
.split__inner {
  display: grid;
  grid-template-columns: 669px 631px;
  gap: 80px;
  align-items: center;
  min-height: 484px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}
.split__media img {
  width: 100%;
  height: 376px;
  object-fit: cover;
}
.split__body { text-align: center; }
.split__body h2 {
  font-size: 45px;
  line-height: 45px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.split__body p {
  margin-top: 30px;
  font-size: 20px;
  line-height: 30px;
}
.split__body p + p { margin-top: 15px; }
.split__body .btn { margin-top: 70px; }

/* ---------- intro ---------- */
.intro {
  padding: 100px 20px;
  text-align: center;
}
.intro__title {
  font-size: 55px;
  line-height: 55px;
}
.intro__text {
  max-width: 1200px;
  margin: 50px auto 0;
  font-size: 16px;
  line-height: 24px;
}
.intro__text p { margin-bottom: 14px; }
.intro__text a { text-decoration: underline; }
.intro .btn { margin-top: 50px; }

/* ---------- owner's club ---------- */
.club {
  background: var(--mist);
  padding: 100px 0;
}
.club__inner {
  display: grid;
  grid-template-columns: 690px 660px;
  gap: 40px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}
.club__body { text-align: center; }
.club__body h2 {
  margin-bottom: 36px;
  font-size: 45px;
  line-height: 45px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.club__body p {
  margin-top: 14px;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
}
.club__body p.club__benefit {
  margin-top: 64px;
  font-family: var(--font-head);
  font-size: 35px;
  font-weight: 700;
  line-height: 42px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.club__body .btn { margin-top: 50px; }

.club__carousel {
  position: relative;
  width: 100%;
  height: 435px;
  overflow: hidden;
}
.club__track {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
}
.club__slide { flex: 0 0 100%; height: 435px; }
.club__slide img { width: 100%; height: 100%; object-fit: cover; }
.club__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.club__nav--prev { left: 16px; }
.club__nav--next { right: 16px; }
.club__vertical {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #fff;
  white-space: nowrap;
  mix-blend-mode: difference;
  pointer-events: none;
}

/* ---------- destination ---------- */
.destination {
  padding: 100px 0;
  text-align: center;
}
.destination__title {
  padding: 0 20px;
  font-size: 45px;
  line-height: 45px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.destination__text {
  max-width: var(--container);
  margin: 50px auto 0;
  font-size: 16px;
  line-height: 24px;
}
.destination__text p + p { margin-top: 15px; }
.destination .btn { margin-top: 64px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 60px;
}
.gallery__cell { aspect-ratio: 284 / 189; overflow: hidden; }
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- enquiry form ---------- */
.enquiry {
  background: var(--mist);
  padding: 100px 20px;
}
.enquiry__inner { max-width: var(--container); margin: 0 auto; }

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.form textarea {
  height: 96px;
  padding: 10px 12px;
  resize: vertical;
}
.form__full { grid-column: 1 / -1; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: #000; }

.form__fieldset {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}
.form__fieldset legend {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 14px;
}
.form__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  cursor: pointer;
}
.form__radio input { width: 14px; height: 14px; margin: 0; accent-color: #000; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 22px;
  cursor: pointer;
}
.form__consent input { width: 14px; height: 14px; margin: 4px 0 0; accent-color: #000; }

.form .btn--block { margin-top: 24px; }

.form__note {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}
.form__note.is-error { color: #b00020; }
.form__note.is-ok { color: #0a7d33; }

/* ---------- contact ---------- */
.contact {
  padding: 180px 20px 200px;
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.contact__block {
  width: 560px;
  max-width: 100%;
  text-align: center;
}
.contact__title {
  font-size: 45px;
  line-height: 45px;
  text-transform: uppercase;
  letter-spacing: normal;
}
.contact__address {
  margin-top: 18px;
  font-size: 16px;
  line-height: 24px;
}
.contact__icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
}
.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
}
.contact__icon svg { width: 26px; height: 26px; }
.contact__icon:hover { opacity: .6; }

/* ---------- newsletter ---------- */
.newsletter {
  background: var(--mist);
  padding: 100px 20px;
  text-align: center;
}
.newsletter h2 {
  font-size: 30px;
  line-height: 30px;
}
.newsletter .btn { margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer {
  padding: 20px 20px 20px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
}
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__sites {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.site-footer__copy {
  margin-top: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 30px; height: 30px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1400px) {
  .split__inner { grid-template-columns: minmax(0, 669fr) minmax(0, 631fr); gap: 60px; padding: 0 20px; }
  .club__inner { grid-template-columns: minmax(0, 690fr) minmax(0, 660fr); padding: 0 20px; }
}

@media (max-width: 1100px) {
  .hero__title { font-size: 110px; line-height: 110px; }
  .split__inner { grid-template-columns: 1fr; gap: 40px; }
  .split__media img { height: auto; aspect-ratio: 669 / 376; }
  .club__inner { grid-template-columns: 1fr; gap: 40px; }
  .club__carousel, .club__slide { height: auto; aspect-ratio: 660 / 435; }
  .club__slide img { height: 100%; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  body { padding-top: 72px; }
  .site-header { height: 72px; }
  .site-header__inner { gap: 28px; }
  .site-header__finns { width: 92px; height: 50px; }
  .site-header__mirah { width: 160px; height: 27px; }
  .hero { padding: 60px 20px; }
  .hero__logo { width: 160px; height: auto; }
  .hero__title { font-size: clamp(52px, 12vw, 96px); line-height: .98; letter-spacing: normal; }
  .split, .club, .destination, .enquiry, .contact, .newsletter { padding-top: 64px; padding-bottom: 64px; }
  .split__body h2, .club__body h2, .destination__title, .contact__title { font-size: 32px; line-height: 36px; }
  .club__body p.club__benefit { font-size: 24px; line-height: 30px; margin-top: 32px; }
  .split__body p, .club__body p { font-size: 17px; line-height: 26px; }
  .intro { padding: 64px 20px; }
  .intro__title { font-size: 38px; line-height: 42px; }
  .intro__text { margin-top: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: 1fr; }
  .contact__title { font-size: 34px; }
  .newsletter h2 { font-size: 22px; line-height: 30px; }
  .site-footer__links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(44px, 14vw, 64px); }
  .btn { width: 100%; }
  .contact__icons { gap: 20px; }
}
/* ============================================================
   Elementor-style entrance animations (measured from donor:
   .animated 1.25s / .animated-slow 2s, visibility hidden → visible)
   ============================================================ */
[data-anim] { visibility: hidden; }
[data-anim].is-anim {
  visibility: visible;
  animation-duration: 2s;
  animation-fill-mode: both;
  animation-timing-function: ease;
}
[data-anim="fadeInUp"].is-anim { animation-name: fadeInUp; }
[data-anim="fadeInDown"].is-anim { animation-name: fadeInDown; }
[data-anim="fadeInLeft"].is-anim { animation-name: fadeInLeft; }
[data-anim="fadeInRight"].is-anim { animation-name: fadeInRight; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -100%, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-100%, 0, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(100%, 0, 0); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] { visibility: visible !important; animation: none !important; }
}

/* ============================================================
   Video play button + lightbox (donor: YouTube pMMOcqkdXnI)
   ============================================================ */
.split__media { position: relative; }
.split__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.split__play:hover { background: rgba(255, 255, 255, .35); transform: translate(-50%, -50%) scale(1.06); }
.split__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin: -10px 0 0 -4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .88);
}
.video-modal[hidden] { display: none; }
.video-modal__dialog {
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
}
.video-modal__frame, .video-modal__frame iframe { width: 100%; height: 100%; }
.video-modal__frame iframe { border: 0; display: block; }
.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ============================================================
   Manager card — reusable block for the other four projects
   (name / role / photo slot)
   ============================================================ */
.manager {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  text-align: left;
}
.manager__photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mist);
}
.manager__name { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.3; }
.manager__role { margin: 4px 0 0; font-size: 15px; line-height: 1.4; }
.manager__links { margin-top: 10px; display: flex; gap: 14px; font-size: 15px; }
.manager__links a { text-decoration: none; border-bottom: 1px solid currentColor; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#contact { scroll-margin-top: 110px; }
