:root {
  --color-navy: #0f2a3d;
  --color-navy-light: #163b52;
  --color-gold: #c9a15a;
  --color-gold-light: #dbbd82;
  --color-gold-text: #8a6633;
  --color-cream: #faf7f2;
  --color-white: #ffffff;
  --color-text: #1f2d36;
  --color-text-light: #5b6b74;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1160px;
  --radius: 6px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
}

/* Accessibility helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero {
    height: auto;
  }
  .hero-sticky {
    position: static;
    height: 70vh;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  margin-top: 8px;
}
.btn-whatsapp:hover {
  background: #1fb956;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  transition: padding var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.logo {
  font-family: var(--font-heading);
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-gold-light);
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--color-gold-light);
}
.btn-nav {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
}

/* Hero */
/* Intro hero (headline + portrait, above the scroll-video hero) */
.intro-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 96px 0;
}
.intro-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.intro-hero-text h1 {
  color: var(--color-white);
  font-size: 2.6rem;
  margin-bottom: 20px;
}
.intro-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 46ch;
}
.intro-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.intro-hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero {
  position: relative;
  height: 100vh;
  color: var(--color-white);
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Text overlays that fade in/out over the hero video at specific
   playback times (driven by JS in script.js). */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 6vw, 96px);
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(15, 42, 61, 0.72) 0%,
    rgba(15, 42, 61, 0.35) 35%,
    rgba(15, 42, 61, 0) 65%
  );
}
.hero-overlay-item {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  right: clamp(24px, 6vw, 96px);
  bottom: clamp(32px, 8vw, 110px);
  max-width: 620px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-overlay-item.is-active {
  opacity: 1;
  transform: translateY(0);
}
.hero-overlay-eyebrow {
  display: inline-block;
  color: var(--color-gold-text);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.hero-overlay-item h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--color-white);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 14px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-overlay-item p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  .hero-overlay-item {
    transition: opacity 0.3s ease;
    transform: none;
  }
}

/* Shared section utilities */
section {
  padding: 88px 0;
}
/* Anchor targets (nav links) land below the sticky header instead of
   underneath it, so the section's top padding stays visible. */
section[id] {
  scroll-margin-top: 100px;
}
.eyebrow {
  display: inline-block;
  color: var(--color-gold-text);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.eyebrow-light {
  color: var(--color-gold-light);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.section-intro {
  max-width: 60ch;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.about-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  margin-top: 80px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* About showcase video */
.showcase-video {
  padding: 0;
  line-height: 0;
}
.showcase-video-el {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

/* Why advisor */
.why-advisor {
  background: var(--color-navy);
  color: var(--color-white);
}
.why-advisor h2 {
  color: var(--color-white);
}
.why-advisor .section-intro {
  color: rgba(255, 255, 255, 0.75);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--color-navy-light);
  padding: 28px;
  border-radius: var(--radius);
  border-top: 3px solid var(--color-gold);
}
.feature-card h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* Process timeline */
.process {
  background: var(--color-white);
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
.timeline li {
  position: relative;
  padding-left: 8px;
}
.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}
.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.timeline p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Properties */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 42, 61, 0.08);
}
.property-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.property-body {
  padding: 20px;
}
.property-type {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.property-body h3 {
  font-size: 1.2rem;
  margin: 6px 0;
}
.property-price {
  color: var(--color-gold-text);
  font-weight: 600;
}
.properties-cta {
  text-align: center;
  margin-top: 40px;
}

/* Why Cyprus */
.why-cyprus {
  background: var(--color-navy);
  color: var(--color-white);
}
.why-cyprus h2 {
  color: var(--color-white);
}
.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 720px;
}
.benefits-list li {
  padding-left: 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}
.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 3px solid var(--color-gold);
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-card footer {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Contact */
.contact {
  background: var(--color-cream);
  padding-bottom: 40px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(15, 42, 61, 0.06);
}
.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.contact-channels {
  list-style: none;
  margin-bottom: 24px;
}
.contact-channels li + li {
  margin-top: 8px;
}
.contact-channels a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.contact-channels a:hover {
  background: var(--color-cream);
  color: var(--color-gold-text);
}
.contact-icon {
  font-size: 1.1rem;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.calendly-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 42, 61, 0.06);
}
.calendly-card-heading {
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: center;
}
.calendly-inline-widget {
  border-radius: var(--radius);
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: linear-gradient(160deg, #1e1e2e, #12121a);
  color: rgba(255, 255, 255, 0.55);
  padding: 80px 0 32px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand-icon {
  font-size: 1.75rem;
}
.footer-brand {
  font-family: var(--font-heading);
  color: #c8beb4;
  font-size: 1.5rem;
  margin: 0;
}
.footer-tagline {
  line-height: 1.7;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-heading {
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.footer-hours-row span:first-child {
  color: rgba(255, 255, 255, 0.5);
}
.footer-hours-row .is-open {
  color: var(--color-white);
  font-weight: 600;
}
.footer-cta {
  display: inline-block;
  margin-top: 24px;
  background: var(--color-white);
  color: #1e1a16;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--transition);
}
.footer-cta:hover {
  transform: scale(1.05);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-legal {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color var(--transition);
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Scroll reveal + sticky header shrink */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.site-header.scrolled .header-inner {
  padding: 12px 24px;
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid,
  .timeline,
  .property-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .intro-hero-image,
  .about-image {
    order: -1;
  }
  /* Below this width the scroll-scrub effect is disabled (script.js) in
     favor of a normal auto-playing looped video, so no scroll-jack height
     is needed here. */
  .hero {
    height: auto;
  }
  .hero-sticky {
    position: static;
    height: 60vh;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .btn-nav {
    margin-left: 0;
  }
  .intro-hero-text h1 {
    font-size: 2rem;
  }
  .feature-grid,
  .timeline,
  .property-grid,
  .testimonial-grid,
  .benefits-list {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
