/* ==========================================================
   Sakan — Landing page
   Rebuilt 1:1 from the Figma "Premium Stays" template.
   Frame size: 1280 x 4888 px. Every element below uses the
   exact x / y / width / height of its Figma layer.
   ========================================================== */

/* ---------- Theme tokens (values taken from the Figma file) ---------- */
[data-theme="dark"] {
  --bg: #23262d;
  --t-para: #f5f5f5;          /* about paragraph, about heading      */
  --t-svc: #ececec;           /* services headings & text            */
  --t-main: #ffffff;          /* section headings, FAQ, testimonials */
  --badge-text: #ffffff;
  --faq-bg: rgba(255, 255, 255, .09);
  --card-bg: rgba(255, 255, 255, .24);
  --avatar-stroke-1: #f0f0f0;
  --avatar-stroke-2: #c6c6c6;
  --g-bg: #ffffff;
  --g-stroke: #eaeaea;
  --dot: rgba(255, 255, 255, .21);
  --dot-active: #ffffff;
  --cta-bg: rgba(255, 255, 255, .10);
  --cta-btn: #ffffff;
  --cta-btn-text: #000000;
  --loc-name: #ffffff;
  --loc-find: rgba(255, 255, 255, .56);
  --loc-line: #ffffff;
  --row3: hidden;             /* 3rd services row only exists in the light frame */
  --pool-grad: 0;             /* extra gradient on the pool card (light frame)   */
}
[data-theme="light"] {
  --bg: #f7f7f7;
  --t-para: #1d1d1d;
  --t-svc: #1d1d1d;
  --t-main: #1d1d1d;
  --badge-text: #2c2c2c;
  --faq-bg: rgba(120, 120, 120, .09);
  --card-bg: rgba(29, 29, 29, .03);
  --avatar-stroke-1: #1d1d1d;
  --avatar-stroke-2: #1d1d1d;
  --g-bg: #1d1d1d;
  --g-stroke: #1d1d1d;
  --dot: rgba(29, 29, 29, .21);
  --dot-active: #1d1d1d;
  --cta-bg: rgba(29, 29, 29, .10);
  --cta-btn: #1d1d1d;
  --cta-btn-text: #ffffff;
  --loc-name: #9e9d9d;
  --loc-find: rgba(29, 29, 29, .56);
  --loc-line: #1d1d1d;
  --row3: visible;
  --pool-grad: .2;
}

:root {
  --accent: #ffa600;
  --icon: #fea500;
  --f-display: "DM Serif Display", "Roslindale Deck Narrow", Georgia, serif; /* closest free match to Roslindale Deck Narrow Bold */
  --f-body: "Manrope", sans-serif;
  --f-label: "Raleway", sans-serif;
}

body { background: var(--bg); }

/* The page is exactly the Figma frame: 1280 x 4888 */
.page {
  position: relative;
  width: 1280px;
  height: 4888px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  transition: background-color .35s ease;
}

/* Every layer is absolutely positioned with its Figma coordinates */
.abs { position: absolute; }
/* Text layers: Figma "vertical align: center" */
.t { position: absolute; display: grid; align-content: center; }
.t--c { text-align: center; justify-items: center; }
.nowrap { white-space: nowrap; }

.ico { position: absolute; color: var(--icon); }
.ico svg { display: block; width: 100%; height: 100%; }

/* ======================= HERO (0,0 – 1280x785) ======================= */
.hero-img { left: 0; top: 0; width: 1280px; height: 785px; object-fit: cover; }
.hero-shade { left: 0; top: 0; width: 1280px; height: 785px; background: rgba(0, 0, 0, .58); }
.hero-glow {
  left: 59px; top: 289px; width: 878px; height: 236px; opacity: .29;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .34) 25.5%, rgba(89, 92, 94, 0) 100%);
}

.logo {
  left: 59px; top: 45px; height: 53px;
  font: 400 40px/53px "Playfair Display SC", serif;
  color: #ffffff;
  white-space: nowrap;
}

.nav {
  left: 295px; top: 58px; height: 26px;
  display: flex; gap: 52px;
}
.nav a {
  font: 400 22px/25.408px "EB Garamond", serif;
  letter-spacing: -0.442px;
  color: #ffffff;
  white-space: nowrap;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.btn-book {
  left: 1122px; top: 54px; width: 99px; height: 42px;
  background: #ffffff; box-shadow: inset 0 0 0 1px #ffffff;
  display: grid; place-items: center;
  font: 600 15px/25.408px var(--f-body); letter-spacing: -0.442px;
  color: #23262d; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.btn-book:hover { background: var(--accent); color: #23262d; }

.hero-line { left: 59px; top: 134px; width: 1162px; height: 1px; background: rgba(255, 255, 255, .14); }

.hero-title {
  left: 119px; top: 337px; width: 1042px; height: 31px;
  font: 400 42px/30.026px var(--f-display);
  letter-spacing: 1px; text-transform: capitalize;
  color: #ffffff; white-space: nowrap;
}
.hero-sub {
  left: 159px; top: 398px; width: 961px; height: 39px;
  font: 500 21px/38.452px var(--f-body);
  letter-spacing: 1px; text-transform: capitalize;
  color: #ffffff; opacity: .92; white-space: nowrap;
}
.hero-down { left: 629px; top: 728px; width: 23px; height: 23px; color: #ffffff; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ======================= ABOUT ======================= */
.badge-frame { left: 83px; top: 926px; width: 194px; height: 106px; background: #ffc964; }
.badge-inner { left: 87px; top: 930px; width: 186px; height: 100px; background: var(--bg); }
.badge-cut-t { left: 143px; top: 908px; width: 75px; height: 35px; background: var(--bg); }
.badge-cut-b { left: 143px; top: 1017px; width: 75px; height: 35px; background: var(--bg); }
.badge-num {
  left: 107px; top: 950px; width: 49px; height: 51px;
  font: 700 43.909px/27.392px var(--f-label); color: var(--badge-text);
  text-transform: uppercase; white-space: nowrap;
}
.badge-txt {
  left: 169px; top: 963px; height: 36px;
  font: 400 16.598px/17.799px "Old Standard TT", serif;
  letter-spacing: -0.31px; color: var(--badge-text);
  text-transform: lowercase; white-space: pre;
}

.label {
  font: 400 17px/31.37px var(--f-label);
  letter-spacing: 3px; text-transform: capitalize;
  color: var(--accent); white-space: nowrap; height: 32px;
}
.about-label { left: 333px; top: 909px; }
.about-title {
  left: 333px; top: 954px; width: 288px; height: 126px;
  font: 400 28px/42px var(--f-display); letter-spacing: -0.546px;
  text-transform: capitalize; color: var(--t-para);
}
.about-text {
  left: 677px; top: 885px; width: 519px; height: 220px;
  font: 400 16px/31.37px var(--f-body); color: var(--t-para);
}

/* ---------- 4 feature cards (254 x 373 each) ---------- */
.feature { top: 1263px; width: 254px; height: 373px; overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, var(--shade)); transition: background-color .4s; }
.feature span {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  font: 400 20px/31.37px var(--f-display); color: #ffffff;
}
.feature:hover img { transform: scale(1.08); }
.feature:hover::before { background: rgba(0, 0, 0, calc(var(--shade) + .15)); }
.feature--1 { left: 75px;  --shade: .20; }
.feature--2 { left: 367px; --shade: .20; }
.feature--3 { left: 659px; --shade: .38; }
.feature--4 { left: 951px; --shade: .35; }
.feature--2::after { /* light frame only: linear gradient fill @ 20% */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--pool-grad);
  background: linear-gradient(181deg, rgba(0, 0, 0, .81) 0%, rgba(255, 255, 255, 0) 52%, #000 100%);
}

/* ======================= SERVICES ======================= */
.svc-label {
  left: 80px; top: 1756px; height: 28px;
  font: 400 14.917px/27.527px var(--f-label); letter-spacing: 2.632px;
  text-transform: capitalize; color: var(--accent); white-space: nowrap;
}
.svc-title {
  left: 80px; top: 1802px; width: 265px; height: 74px;
  font: 400 22.815px/36.854px var(--f-display); letter-spacing: -0.479px;
  text-transform: capitalize; color: var(--t-svc);
}
.svc { width: 278px; height: 137px; }
.svc .ico { left: 122px; top: 0; width: 34px; height: 34px; }
.svc .ico--laundry { left: 121px; width: 36px; height: 36px; }
.svc h3 {
  position: absolute; left: 0; top: 41px; width: 278px; height: 32px;
  display: grid; place-items: center;
  font: 400 16px/31.37px var(--f-display); color: var(--t-svc);
}
.svc h3.up { text-transform: uppercase; }
.svc p {
  position: absolute; left: 24px; top: 80px; width: 231px; height: 57px;
  display: grid; align-content: center; text-align: center;
  font: 400 10px/19px var(--f-body); color: var(--t-svc);
}
.svc--row2 h3 { top: 41px; }
.svc--laundry h3 { top: 43px; }
.svc--laundry p { top: 82px; }
.svc--row3 { visibility: var(--row3); }

/* ======================= WHY CHOOSE US ======================= */
.why-img { left: 70px; top: 2491px; width: 471px; height: 438px; object-fit: cover; }
.award { left: 460px; top: 2519px; width: 57px; height: 47px; }
.why-label { left: 590px; top: 2491px; }
.why-title {
  left: 590px; top: 2540px; width: 622px; height: 32px;
  font: 400 28px/31.37px var(--f-display); text-transform: capitalize; color: var(--t-main);
}

.faq { left: 588px; top: 2596px; width: 622px; display: flex; flex-direction: column; gap: 20px; }
.faq-item { position: relative; height: 52px; background: var(--faq-bg); overflow: hidden; transition: height .35s ease, background-color .35s; }
.faq-item.is-open { height: 117px; }
.faq-q {
  position: absolute; left: 0; top: 0; width: 100%; height: 52px; text-align: left;
}
.faq-q span {
  position: absolute; left: 24px; top: 10px; height: 32px;
  display: grid; align-content: center;
  font: 500 15px/31.37px var(--f-body); color: var(--t-main); white-space: nowrap;
}
.faq-q i { position: absolute; left: 566px; top: 15px; width: 23px; height: 23px; color: var(--t-main); transition: transform .3s ease; }
.faq-q i svg { width: 100%; height: 100%; display: block; }
.faq-item.is-open .faq-q i { transform: rotate(-90deg); }
.faq-a {
  position: absolute; left: 24px; top: 51px; width: 558px; height: 44px;
  display: grid; align-content: center;
  font: 400 13px/22px var(--f-body); color: #b6b6b6;
  opacity: 0; transition: opacity .3s ease;
}
.faq-item.is-open .faq-a { opacity: 1; }

/* ======================= TESTIMONIALS ======================= */
.tst-label { left: 80px; top: 3041px; }
.tst-title {
  left: 80px; top: 3090px; height: 32px;
  font: 400 26px/31.37px var(--f-display); text-transform: capitalize; color: var(--t-main); white-space: nowrap;
}
.arrow { top: 3080px; width: 35px; height: 35px; color: var(--t-main); transition: transform .2s ease, color .2s; }
.arrow svg { width: 100%; height: 100%; display: block; }
.arrow:hover { color: var(--accent); transform: scale(1.1); }
.arrow--prev { left: 1115px; }
.arrow--next { left: 1165px; }

.review {
  top: 3146px; width: 542px; height: 229px;
  background: var(--card-bg);
  box-shadow: 18.555px 7.422px 74.221px rgba(0, 0, 0, .16);
  transition: opacity .35s ease, transform .35s ease, background-color .35s;
}
.review--1 { left: 80px; }
.review--2 { left: 658px; }
.review.is-swapping { opacity: 0; transform: translateY(10px); }
.review .avatar {
  position: absolute; left: 19px; top: 28px; width: 74px; height: 74px; border-radius: 50%;
  object-fit: cover;
  border: 1.856px solid var(--avatar-stroke-1);
  box-shadow: 0 7.422px 7.422px rgba(0, 0, 0, .08);
}
.review--2 .avatar { height: 75px; border-width: 2px; border-color: var(--avatar-stroke-2); box-shadow: 0 8px 8px rgba(0, 0, 0, .08); }
.review .name {
  position: absolute; left: 119px; top: 28px; height: 28px;
  font: 700 24.83px/27.833px var(--f-body); color: var(--t-main); white-space: nowrap;
}
.review .meta { position: absolute; left: 119px; top: 63px; height: 28px; display: flex; gap: 6px; align-items: center; white-space: nowrap; color: var(--t-main); }
.review .meta b { font: 400 13.916px/27.833px var(--f-label); }
.review .meta strong { font: 700 14.844px/27.833px var(--f-label); }
.review .stars { position: absolute; left: 119px; top: 99px; display: flex; color: var(--icon); }
.review .stars svg { width: 15.3px; height: 15px; display: block; }
.review .ago {
  position: absolute; left: 206px; top: 94px; height: 21px;
  font: 400 11.133px/27.833px var(--f-body); color: var(--t-main); white-space: nowrap;
  display: grid; align-content: center;
}
.review .quote {
  position: absolute; left: 119px; top: 138px; width: 384px; height: 60px;
  font: 400 14.41px/30px var(--f-label); color: var(--t-main);
}
.review--2 .quote { top: 136px; font: 500 14.41px/30px var(--f-body); }
.review .g {
  position: absolute; left: 479px; top: 20px; width: 43px; height: 43px; border-radius: 21.5px;
  background: var(--g-bg); box-shadow: inset 0 0 0 1px var(--g-stroke);
  display: grid; place-items: center;
}
.review .g svg { width: 22px; height: 22px; }

.dots { left: 590px; top: 3417px; height: 11px; display: flex; gap: 10px; }
.dots button { width: 11px; height: 11px; border-radius: 5.5px; background: var(--dot); transition: width .3s ease, background-color .3s; }
.dots button.is-active { width: 37px; background: var(--dot-active); }

/* ======================= SERVICE AREAS / LOCATION ======================= */
.area-label { left: 80px; top: 3508px; }
.area-title {
  left: 80px; top: 3557px; height: 32px;
  font: 400 26px/31.37px var(--f-display); text-transform: capitalize; color: var(--t-main); white-space: nowrap;
}
.area-text {
  left: 80px; top: 3609px; width: 1120px; height: 54px;
  font: 400 16px/27px var(--f-label); text-transform: lowercase; color: var(--t-main);
}

.loc-line { left: 67px; top: 4161px; width: 1133px; height: 1px; background: var(--loc-line); }
.loc-img { object-fit: cover; cursor: pointer; transition: opacity .45s ease, filter .3s ease; }
.loc-img.is-fading { opacity: 0; }
.loc-img--right { left: 1173px; top: 3845px; width: 663px; height: 467px; }
.loc-img--main  { left: 398px;  top: 3782px; width: 663px; height: 467px; cursor: default; }
.loc-img--left  { left: -344px; top: 4010px; width: 451px; height: 317px; }
.loc-shade { pointer-events: none; background: rgba(0, 0, 0, .2); }
.loc-shade--right { left: 1173px; top: 3845px; width: 663px; height: 467px; }
.loc-shade--left  { left: -344px; top: 4010px; width: 451px; height: 317px; }
.loc-img--right:hover, .loc-img--left:hover { filter: brightness(1.15); }
.loc-name {
  left: 247px; top: 3889px; height: 67px;
  font: 400 48px/19px var(--f-display); color: var(--loc-name); white-space: nowrap;
  transition: opacity .45s ease;
}
.loc-name.is-fading { opacity: 0; }
.loc-mark { left: 304px; top: 4157px; width: 29px; height: 7px; background: var(--loc-line); transition: left .45s ease; }
.loc-find {
  left: 126px; top: 4229px; height: 63px;
  font: 400 26px/31.37px var(--f-display); text-transform: capitalize; color: var(--loc-find); white-space: pre;
}

/* ======================= CALL TO ACTION ======================= */
.cta-box { left: 112px; top: 4446px; width: 1056px; height: 222px; border-radius: 10px; background: var(--cta-bg); }
.cta-text {
  left: 168px; top: 4496px; width: 506px; height: 66px;
  font: 600 16px/33px var(--f-body); color: var(--t-main);
}
.cta-btn {
  left: 776px; top: 4508px; width: 350px; height: 42px;
  background: var(--cta-btn); box-shadow: inset 0 0 0 1px var(--cta-btn);
  display: grid; place-items: center;
  font: 600 15px/25.408px var(--f-body); color: var(--cta-btn-text); white-space: nowrap;
  transition: filter .25s ease, transform .25s ease;
}
.cta-btn:hover { filter: brightness(.9); transform: translateY(-2px); }

/* ======================= FOOTER (same in both themes) ======================= */
.ft-bg { left: 0; top: 4612px; width: 1280px; height: 276px; background: #ffffff; }
.ft-bar { left: 0; top: 4801px; width: 1280px; height: 87px; background: #23262d; }
.ft-logo {
  left: 70px; top: 4680px; height: 53px;
  font: 400 40px/53px "Playfair Display SC", serif; color: #393c42; white-space: nowrap;
}
.ft-link {
  height: 22px; display: grid; align-content: center;
  font: 400 16px/22px var(--f-body); color: #393c42; white-space: nowrap;
}
a.ft-link:hover { color: var(--accent); }
.ft-link--bold { font-weight: 700; }
.ft-dot { width: 4px; height: 4px; background: #393c42; }
.ft-copy {
  left: 70px; top: 4832px; height: 27px;
  font: 400 20px/27px var(--f-body); color: #cfcfcf; white-space: nowrap;
}
.social { top: 4824px; width: 41px; height: 41px; border-radius: 50%; transition: transform .2s ease, filter .2s; }
.social:hover { transform: translateY(-3px); filter: drop-shadow(0 4px 8px rgba(255, 166, 0, .6)); }
.social svg { display: block; width: 41px; height: 41px; }
