/* ============ Reset & Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FBF7F2;
  --bg-alt: #F2E8DB;
  --peach: #E7B58D;
  --peach-dark: #C4854F;
  --dark: #241C15;
  --dark-2: #362A20;
  --muted: #6E6259;
  --line: #E5D7C6;
  --white: #FFFFFF;
  --bg-alt-deep: #EAD9BE;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow--light { color: var(--peach); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--dark);
  color: var(--bg);
}
.btn--primary:hover { background: var(--peach-dark); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

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

.btn--beige {
  background: var(--bg-alt);
  color: var(--dark);
  border-color: transparent;
}
.btn--beige:hover { background: var(--peach); }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(36, 28, 21, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}
.navbar.is-scrolled {
  background: rgba(36, 28, 21, 0.98);
}

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  height: 108px;
  width: 100%;
  padding: 0 32px;
}

.navbar__logo {
  position: absolute;
  top: 15px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.navbar__logo img { height: 78px; width: auto; }
.navbar__logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.25);
}
.navbar__logo-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(251,247,242,0.75);
  letter-spacing: 0.02em;
}

.navbar__links {
  display: flex;
  gap: 38px;
  font-size: 15.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.navbar__links a {
  color: rgba(251, 247, 242, 0.82);
  position: relative;
  padding-bottom: 6px;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--peach);
  transition: width 0.25s ease;
}
.navbar__links a:hover { color: var(--peach); }
.navbar__links a:hover::after { width: 100%; }

.navbar__cta {
  background: var(--peach);
  color: var(--dark);
  border-color: transparent;
  font-size: 14.5px;
  padding: 12px 26px;
}
.navbar__cta:hover { background: var(--white); color: var(--dark); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  width: 22px; height: 1.5px; background: var(--bg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: center 42%;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.6%, -1.1%); }
}

/* Simulated water motion: soft moving light bands over the lower (sea) half of the image */
.hero__shimmer {
  position: absolute;
  left: -20%; right: -20%;
  bottom: 0; height: 46%;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 244, 225, 0) 0px,
    rgba(255, 244, 225, 0.16) 40px,
    rgba(255, 244, 225, 0) 90px,
    rgba(255, 244, 225, 0) 160px
  );
  mix-blend-mode: overlay;
  opacity: 0.55;
  animation: shimmerMove 9s linear infinite;
  pointer-events: none;
}
.hero__shimmer--slow {
  height: 38%;
  opacity: 0.3;
  animation-duration: 15s;
  animation-direction: reverse;
  background: repeating-linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0.14) 26px,
    rgba(255, 255, 255, 0) 70px,
    rgba(255, 255, 255, 0) 130px
  );
}
@keyframes shimmerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(160px); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,0.35) 0%, rgba(20,14,8,0.35) 40%, rgba(20,14,8,0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-top: 92px;
  max-width: 640px;
  margin-left: auto;
  margin-right: 5vw;
  text-align: left;
}

.hero__content .eyebrow {
  text-align: left;
  letter-spacing: 0.08em;
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em { color: var(--peach); font-style: italic; }

.hero__lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 100%;
  margin-bottom: 40px;
}

.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  z-index: 1;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 24px; }
  100% { opacity: 0; top: 8px; }
}

/* ============ Sections ============ */
.section { padding: 120px 0; }
.section--alt {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/market-bg-texture.jpg') center/cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.section--alt .container {
  position: relative;
  z-index: 1;
}
.section--dark {
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/dashboard-bg-texture.jpg') center/cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.section--dark .container {
  position: relative;
  z-index: 1;
}

.section__head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 20px;
}
.section--dark h2 { color: var(--white); }

.section__lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  text-align: justify;
  text-justify: inter-word;
}
.section__lead--light { color: rgba(251,247,242,0.72); }

/* ============ Why Us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-card {
  background: var(--bg-alt);
  padding: 44px 36px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.why-card:hover {
  background: var(--bg-alt-deep);
}
.why-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--peach-dark);
  margin-bottom: 18px;
  transition: color 0.3s ease;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 0;
  transition: margin-bottom 0.35s ease;
}
.why-card:hover h3 {
  margin-bottom: 12px;
}
.why-card p {
  color: var(--muted);
  font-size: 15px;
  text-align: justify;
  text-justify: inter-word;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.why-card:hover p {
  max-height: 140px;
  opacity: 1;
}
/* ============ Market ============ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.market-card__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 2px;
}
.market-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.market-card:hover .market-card__img img { transform: scale(1.05); }
.market-card h3 { font-size: 21px; margin-bottom: 10px; }
.market-card p {
  color: var(--muted);
  font-size: 14.5px;
  text-align: justify;
  text-justify: inter-word;
}

/* ============ Services ============ */
.service-intro {
  background: var(--dark);
  color: var(--bg);
  padding: 48px 44px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.service-intro h3 {
  font-size: 24px;
  color: var(--peach);
  margin-bottom: 12px;
}
.service-intro p {
  color: rgba(251,247,242,0.78);
  font-size: 16px;
  max-width: none;
  text-align: justify;
  text-justify: inter-word;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(36, 28, 21, 0.1);
}
.service-card__icon {
  font-size: 18px;
  color: var(--peach-dark);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card p {
  color: var(--muted);
  font-size: 15px;
  text-align: justify;
  text-justify: inter-word;
}

/* ============ Dashboard ============ */
.dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.dashboard__text .btn { margin-top: 12px; }
.dashboard__cta {
  white-space: normal;
  text-align: center;
  max-width: 340px;
  line-height: 1.35;
}

.dashboard__mock {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 24px;
}
.dashboard__mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.dashboard__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.dashboard__mock-title {
  margin-left: 8px;
  font-size: 12.5px;
  color: rgba(251,247,242,0.5);
}
.dashboard__kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.kpi__label { font-size: 11.5px; color: rgba(251,247,242,0.5); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.kpi__value { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 22px); color: var(--white); white-space: nowrap; }
.kpi__delta { font-size: 12px; font-weight: 500; }
.kpi__delta--up { color: #8FBF9F; }
.kpi__delta--down { color: #D89A8A; }

.dashboard__chart { margin-bottom: 8px; }
.dashboard__chart svg { width: 100%; height: auto; overflow: visible; }

.chart__axis { stroke: rgba(251,247,242,0.35); stroke-width: 1; }
.chart__ticks-y line, .chart__ticks-x line {
  stroke: rgba(251,247,242,0.08);
  stroke-width: 1;
}
.chart__ticks-y text {
  font-family: var(--font-body);
  font-size: 10px;
  fill: rgba(251,247,242,0.5);
  text-anchor: end;
}
.chart__ticks-x text {
  font-family: var(--font-body);
  font-size: 10px;
  fill: rgba(251,247,242,0.5);
  text-anchor: middle;
}
.chart__axis-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  fill: rgba(251,247,242,0.65);
  letter-spacing: 0.03em;
}

.chart__line {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart__line--adr { stroke: var(--peach); }
.chart__line--occ { stroke: #8FBF9F; }
.chart__line--revpar { stroke: #E39A7A; }
.chart__line--rev { stroke: #9AB9D9; }
.chart__line--goppar { stroke: #C98FD0; }

.chart__legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 18px 0 4px;
  padding: 0;
}
.chart__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(251,247,242,0.7);
}
.chart__swatch {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.chart__swatch--adr { background: var(--peach); }
.chart__swatch--occ { background: #8FBF9F; }
.chart__swatch--revpar { background: #E39A7A; }
.chart__swatch--rev { background: #9AB9D9; }
.chart__swatch--goppar { background: #C98FD0; }

.dashboard__note {
  font-size: 12px;
  color: rgba(251,247,242,0.4);
  text-align: right;
}

/* ============ CTA ============ */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(3px) saturate(0.75) brightness(0.92);
  transform: scale(1.03);
}
.cta__overlay {
  position: absolute; inset: 0;
  background: rgba(24, 17, 11, 0.82);
}
.cta__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
  text-align: left;
}
.cta h2 { color: var(--white); font-size: clamp(30px, 4vw, 42px); margin-bottom: 20px; }
.cta__lead { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 36px; text-align: justify; text-justify: inter-word; }
.cta__email {
  color: var(--peach);
  font-weight: 600;
  border-bottom: 1px solid rgba(231,181,141,0.5);
}
.cta__email:hover { border-bottom-color: var(--peach); }

/* ============ Legal Pages ============ */
.legal-hero {
  padding: 168px 0 56px;
  background: var(--bg-alt);
}
.legal-back {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--peach-dark);
}
.legal-back:hover { color: var(--dark); }
.legal-hero h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.legal-hero p { color: var(--muted); font-size: 15px; }

.legal-content { padding: 72px 0 120px; }
.legal-content .container { max-width: 780px; }
.legal-content h2 { font-size: 23px; margin: 44px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 17px; margin: 26px 0 10px; }
.legal-content p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
}
.legal-content ul { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 14px 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--peach-dark); border-bottom: 1px solid rgba(196,133,79,0.4); }
.legal-content a:hover { color: var(--dark); }
.legal-content strong { color: var(--dark); }

/* ============ Footer ============ */
.footer { position: relative; background: var(--dark); color: rgba(251,247,242,0.7); padding: 80px 0 0; overflow: hidden; }
.footer__watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.footer__watermark img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.07;
  mix-blend-mode: luminosity;
}
.footer .footer__grid,
.footer .footer__bottom {
  position: relative;
  z-index: 1;
}
.footer .container {
  max-width: 1440px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.footer__brand { text-align: left; }
.footer__brand-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.footer__logo { height: 58px; }
.footer__divider { width: 1px; height: 32px; background: rgba(255,255,255,0.25); }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(251,247,242,0.7);
}
.footer__brand p { font-size: 14px; max-width: 280px; color: rgba(251,247,242,0.55); margin-bottom: 22px; }
.footer__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer__icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--peach);
}
.footer__icon svg { width: 100%; height: 100%; display: block; }
.footer__address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(251,247,242,0.55);
}
.footer__meta a {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(251,247,242,0.65);
}
.footer__meta a:hover { color: var(--peach); }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--peach);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  margin-bottom: 12px;
  color: rgba(251,247,242,0.65);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  padding: 26px 0;
  font-size: 13px;
  color: rgba(251,247,242,0.4);
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .section { padding: 80px 0; }
  .why-grid, .market-grid, .services-grid { grid-template-columns: 1fr; }
  .dashboard__kpis { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .service-intro { padding: 32px 26px; }
  .chart__axis-label--y { display: none; }
  .container { padding: 0 22px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__content {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 22px;
    padding-right: 22px;
  }
  .navbar__logo-tagline { display: none; }
  .navbar__logo img { height: 42px; }
  .navbar__logo { left: 16px; top: 24px; }

  .navbar__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 108px; left: 0; right: 0;
    background: var(--dark);
    padding: 24px 22px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navbar__cta.is-open {
    display: flex;
    position: absolute;
    top: calc(108px + 232px);
    left: 22px; right: 22px;
    width: auto;
  }
  .navbar__toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .navbar__toggle.is-active span:nth-child(2) { opacity: 0; }
  .navbar__toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
