/* ========================================
   Siam Wellness Point - Light Purple Theme
   ======================================== */

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

:root {
  /* Purple palette from old site */
  --purple-deep: #2a1735;
  --purple-dark: #703e8e;
  --purple-mid: #9044eb;
  --purple: #B993D0;
  --purple-light: #a371c1;
  --purple-bright: #d9b8ee; /* readable on dark surfaces */
  --purple-pale: #F8E1FF;
  --purple-muted: #e8dbf0;
  --purple-border: #E0D6FF;
  --purple-shape-border: #cec1d6;

  /* Brand accent */
  --accent: #8A2F4E;
  --accent-light: #b84d73;

  /* Cool accent — climate / air-conditioning message */
  --cool: #3aa6d6;
  --cool-dark: #1f7fa8;
  --cool-border: #bfe3f2;
  --cool-pale-1: #e3f4fb;
  --cool-pale-2: #c7e9f5;

  /* Neutrals — darkened for stronger contrast (senior-friendly readability) */
  --white: #FFFFFF;
  --off-white: #FDFBFF;
  --bg-light: #F5F0FA;
  --bg-subtle: #f2f2f2;
  --text: #171018;
  --text-medium: #3a3140;
  --text-light: #4f4753;
  --text-muted: #6b6472;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(42, 23, 53, 0.06);
  --shadow-md: 0 4px 20px rgba(42, 23, 53, 0.08);
  --shadow-lg: 0 8px 40px rgba(42, 23, 53, 0.1);
  --shadow-xl: 0 16px 60px rgba(42, 23, 53, 0.14);
  --shadow-purple: 0 8px 30px rgba(144, 68, 235, 0.15);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions & easing */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); /* natural deceleration for reveals */
  --ease-in-out-strong: cubic-bezier(0.65, 0, 0.35, 1); /* symmetric morph, e.g. hamburger */

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   DEMO NOTICE
   ======================================== */
.demo-notice {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.demo-notice.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 15, 39, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.demo-notice__panel {
  position: relative;
  width: min(100%, 38rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.demo-notice__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--purple-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-notice h1 {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
}

.demo-notice__panel > p:not(.demo-notice__eyebrow) {
  max-width: 31rem;
  margin: 1.25rem auto 2rem;
  color: var(--text-medium);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

.demo-notice__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.9rem 1.3rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--purple-dark);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.demo-notice__close:hover { background: var(--purple-deep); transform: translateY(-2px); }
.demo-notice__close:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

@media (max-width: 480px) {
  .demo-notice__panel { border-radius: var(--radius-lg); }
  .demo-notice__close { width: 100%; }
}

html {
  scroll-behavior: smooth;
  /* Larger base so every rem-based size scales up for easier reading (60+) */
  font-size: 18px;
}

/* Anchored sections stop just below the fixed navbar when scrolled to */
section[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Consistent, visible keyboard focus across all interactive elements */
:focus-visible {
  outline: 3px solid var(--purple-mid);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.booking-card:focus-visible,
.nav-toggle:focus-visible {
  outline-color: var(--purple);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple-dark);
  color: var(--white);
  border-color: var(--purple-dark);
}
.btn-primary:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
}

/* --- Section Styles --- */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--purple-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(42, 23, 53, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 24px rgba(42, 23, 53, 0.28);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  z-index: 20;
}

.logo-img {
  height: 56px;
  width: auto;
  transition: height var(--transition);
}
.navbar.scrolled .logo-img { height: 46px; }

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

/* Underline that grows from the centre on hover/active */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 1.8rem); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s var(--ease-in-out-strong),
              opacity 0.2s ease;
}

/* Morph the three bars into an X when open */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dimming backdrop behind the mobile drawer (shown only on small screens) */
.nav-backdrop { display: none; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(42, 23, 53, 0.93) 0%, rgba(112, 62, 142, 0.88) 50%, rgba(42, 23, 53, 0.92) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="30" fill="none" stroke="%23B993D020" stroke-width="0.5"/></svg>') repeat;
  background-size: cover, 80px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(185, 147, 208, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2rem;
}

/* --- Standout climate banner: first thing visitors see --- */
.hero-climate {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
  max-width: 620px;
  margin: 0 auto 2.25rem;
  padding: 1.15rem 1.6rem;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid var(--cool-border);
  border-left: 6px solid var(--cool);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(42, 23, 53, 0.35);
  animation: climateIn 0.7s var(--ease-out-expo) both;
}

@keyframes climateIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-climate-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cool-pale-1) 0%, var(--cool-pale-2) 100%);
  color: var(--cool-dark);
  font-size: 1.5rem;
}

.hero-climate-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-climate-text strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.25;
}

.hero-climate-text span {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.55;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--purple);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.88);
}

.hero-features i {
  color: var(--purple);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.scroll-indicator a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--purple-pale) 0%, var(--purple-muted) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience {
  position: absolute;
  bottom: -1rem;
  right: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100% - 1rem);
  background: var(--purple-dark);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-purple);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  opacity: 0.9;
  line-height: 1.25;
}

.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; }

.about-text {
  font-size: 1.15rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--purple-pale) 0%, var(--purple-muted) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
  font-size: 1.1rem;
}

.value-item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.value-item p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--purple-border);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--purple-pale) 0%, var(--purple-muted) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--purple-dark);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--purple-border);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-header {
  padding: 1.5rem 1.5rem 1rem;
}

.pricing-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-header i {
  color: var(--purple-dark);
  font-size: 1rem;
}

.pricing-list {
  padding: 0 1.5rem 1.5rem;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(206, 193, 214, 0.45);
  font-size: 1.05rem;
  color: var(--text-medium);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list .price {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 1.15rem;
}

/* ========================================
   BOOKING
   ======================================== */
.booking {
  background: var(--purple-deep);
  color: var(--white);
}

.booking .section-tag { color: var(--purple); }
.booking .section-title { color: var(--white); }
.booking .section-desc { color: rgba(255,255,255,0.82); }

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.booking-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(185, 147, 208, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.booking-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 147, 208, 0.35);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.1);
}

.booking-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(185, 147, 208, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.booking-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.booking-card p {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  flex: 1;
}

.booking-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--purple-bright);
  font-size: 1.02rem;
  font-weight: 600;
  transition: var(--transition);
}

.booking-card:hover .booking-card-link {
  gap: 0.7rem;
}

/* ========================================
   JOB
   ======================================== */
.job {
  background: var(--bg-light);
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--purple-border);
  box-shadow: var(--shadow-sm);
}

.job-content .section-tag { text-align: left; }
.job-content .section-title { text-align: left; }

.job-subtitle {
  font-size: 1.18rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.job-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.job-col h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-col h3 i {
  color: var(--purple-dark);
}

.job-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.job-col li {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.55;
  padding-left: 1.2rem;
  position: relative;
}

.job-cta-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin: 2rem 0 1.5rem;
  max-width: 720px;
}

.job-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--purple-dark);
  border-radius: 50%;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple-pale) 0%, var(--purple-muted) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-dark);
  font-size: 1rem;
}

.contact-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-item a {
  color: var(--accent);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent-light);
}

.contact-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-links .btn-outline {
  color: var(--text);
  border-color: var(--purple-shape-border);
}

.contact-links .btn-outline:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ========================================
   NEWS
   ======================================== */
.news {
  background: var(--bg-light);
}

.news-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--purple-dark);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.news-notice i {
  color: var(--purple-dark);
  font-size: 1.3rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.news-notice p {
  font-size: 1.08rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--purple-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(185, 147, 208, 0.15);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 72px;
  width: auto;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
}

.footer-links li i {
  color: var(--purple);
  width: 16px;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(185, 147, 208, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--purple);
}

/* ========================================
   MODALS
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(23, 12, 30, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.active { display: flex; }

.modal-content {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow: hidden; /* header stays put while the body scrolls */
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.4s var(--ease-out-expo) both;
}

.modal-large { max-width: 820px; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Sticky header --- */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--purple-border);
  background: var(--off-white);
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--text);
  margin: 0;
}

.modal-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.modal-close:hover {
  background: var(--purple-dark);
  color: var(--white);
  transform: rotate(90deg);
}

/* --- Scrollable body --- */
.modal-body {
  padding: 1.6rem 1.75rem 2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.modal-body > h3:first-child { margin-top: 0; }

.modal-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.15rem;
  margin-bottom: 0.4rem;
}

.modal-body p {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 0.7rem;
}

.modal-body a {
  color: var(--accent);
  font-weight: 500;
  word-break: break-word;
}

.modal-body a:hover {
  color: var(--accent-light);
}

.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
  background: var(--purple-muted);
  border-radius: 4px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image { max-width: 400px; margin: 0 auto; }
  .about-content .section-tag,
  .about-content .section-title { text-align: center; }
  .about-text { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-toggle { display: flex; }

  /* Let hero grow with content instead of clipping on small screens */
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero-climate {
    gap: 0.9rem;
    padding: 1rem 1.15rem;
  }
  .hero-climate-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .hero-climate-text strong { font-size: 1.2rem; }
  .hero-climate-text span { font-size: 1rem; }

  /* Keep the experience badge inside the image on small screens */
  .nav-logo-text { font-size: 1.15rem; }
  .logo-img { height: 48px; }

  .about-experience {
    right: 0.5rem;
    bottom: -0.75rem;
    padding: 0.7rem 1rem;
    gap: 0.5rem;
  }
  .exp-number { font-size: 1.65rem; }
  .exp-text { font-size: 0.78rem; }

  /* --- Mobile navigation drawer --- */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 84%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, var(--purple-deep) 0%, #1c0f26 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 5rem 1.4rem 2rem;
    visibility: hidden;
    overflow-y: auto;
    box-shadow: -10px 0 44px rgba(0, 0, 0, 0.45);
    transition: right 0.5s var(--ease-out-expo), visibility 0.5s;
  }

  .nav-menu.active {
    right: 0;
    visibility: visible;
  }

  /* Staggered link reveal when the drawer opens */
  .nav-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.4s ease, transform 0.45s var(--ease-out-expo);
  }
  .nav-menu.active li { opacity: 1; transform: translateX(0); }
  .nav-menu.active li:nth-child(1) { transition-delay: 0.06s; }
  .nav-menu.active li:nth-child(2) { transition-delay: 0.12s; }
  .nav-menu.active li:nth-child(3) { transition-delay: 0.18s; }
  .nav-menu.active li:nth-child(4) { transition-delay: 0.24s; }
  .nav-menu.active li:nth-child(5) { transition-delay: 0.30s; }
  .nav-menu.active li:nth-child(6) { transition-delay: 0.36s; }
  .nav-menu.active li:nth-child(7) { transition-delay: 0.42s; }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }
  .nav-link::after { display: none; } /* underline replaced by left accent in drawer */
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--purple);
    color: var(--white);
  }

  /* Dimming backdrop */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(20, 10, 26, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }
  .nav-backdrop.active { opacity: 1; visibility: visible; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .services-grid,
  .pricing-grid,
  .booking-grid { grid-template-columns: 1fr; }

  .job-card { padding: 2rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Modal becomes a bottom sheet on phones */
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    animation: modalSheetIn 0.45s var(--ease-out-expo) both;
  }
  @keyframes modalSheetIn {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
  }
  .modal-header { padding: 1.1rem 1.25rem; }
  .modal-header h2 { font-size: 1.3rem; }
  .modal-body { padding: 1.25rem 1.25rem 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .hero-climate {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .contact-links { flex-direction: column; }

  .contact-links .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced motion: respect user preference --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-dark);
}
