/* =============================================
   Bo'ness Care Home — Global Styles
   ============================================= */

:root {
  --green: #51612F;
  --green-light: #6b7d3e;
  --green-pale: #f0f2eb;
  --green-mid: #d4dbbf;
  --white: #ffffff;
  --off-white: #fafaf8;
  --text: #2a2a2a;
  --text-light: #5a5a5a;
  --text-lighter: #8a8a8a;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 28px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(81,97,47,0.10);
  --shadow-hover: 0 12px 40px rgba(81,97,47,0.18);
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'DM Sans', 'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.15rem; }
p { line-height: 1.75; color: var(--text-light); }

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(81,97,47,0.1);
}
.nav.hero-top { background: transparent; }

.nav__logo {
  display: flex; align-items: center;
}
.nav__logo img { height: 52px; width: auto; border-radius: 10px; object-fit: contain; display: block; }
.nav__logo-text { display: none; }

.nav__links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav__link {
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative; padding-bottom: 3px;
  transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--green);
  transition: width var(--transition);
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover { color: var(--white); }
.nav.scrolled .nav__link { color: var(--text-light); }
.nav.scrolled .nav__link:hover { color: var(--green); }
.nav.scrolled .nav__link.active { color: var(--green); }

.nav__cta {
  background: var(--green); color: var(--white) !important;
  padding: 9px 22px; border-radius: 100px;
  font-size: 0.8rem; letter-spacing: 0.07em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(81,97,47,0.3); }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--transition); }
.nav.scrolled .nav__hamburger span { background: var(--green); }

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

.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  transform: scale(1);
}
.hero__slide.active {
  opacity: 1;
  animation: heroZoom 8s ease-in-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.52) 0%,
    rgba(0,0,0,0.50) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s ease forwards;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; display: block; width: 40px; height: 1px; background: rgba(255,255,255,0.4);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem); line-height: 1.1;
  margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 1s 0.6s ease forwards;
}
.hero__title em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 300;
  color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 2.5rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s ease forwards;
}
.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 1.2s ease forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 100px;
  font-size: 0.875rem; letter-spacing: 0.05em; font-weight: 500;
  cursor: pointer; transition: all var(--transition); border: none;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(81,97,47,0.4); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn--green-outline { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn--green-outline:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.hero__dots {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero__dot {
  width: 28px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.4s ease;
}
.hero__dot.active { background: var(--white); width: 48px; }

.hero__scroll {
  position: absolute; bottom: 2.5rem; right: 3rem; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   SECTIONS & LAYOUT
   ======================================== */
section { position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.section-pad { padding: clamp(5rem, 10vw, 9rem) 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); font-weight: 500; margin-bottom: 1rem;
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--green);
}

.section-header { max-width: 600px; }
.section-header--center { max-width: 680px; margin: 0 auto; text-align: center; }

.divider {
  width: 60px; height: 1px; background: var(--green);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

/* ========================================
   WELCOME / INTRO
   ======================================== */
.welcome {
  background: var(--white);
}
.welcome__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.welcome__text .section-label { margin-bottom: 0.75rem; }
.welcome__text h2 { margin-bottom: 1.25rem; }
.welcome__text p { margin-bottom: 1.5rem; max-width: 480px; }
.welcome__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.stat {
  padding: 1.5rem; border: 1px solid var(--green-mid);
  border-radius: var(--radius); background: var(--off-white);
  transition: all var(--transition);
}
.stat:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.stat__number { font-family: var(--font-serif); font-size: 2.5rem; color: var(--green); line-height: 1; }
.stat__label { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--text-lighter); margin-top: 0.3rem; }

.welcome__image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5;
}
.welcome__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.welcome__image-wrap:hover img { transform: scale(1.04); }
.welcome__badge {
  position: absolute; bottom: 2rem; left: -1.5rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.5rem; box-shadow: var(--shadow-hover);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--green-mid);
}
.welcome__badge-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; }
.welcome__badge-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.5; }
.welcome__badge-text strong { display: block; font-size: 0.9rem; color: var(--text); }
.welcome__badge-text span { font-size: 0.75rem; color: var(--text-lighter); }

/* ========================================
   SVG LINE DECORATIONS
   ======================================== */
.line-deco {
  position: absolute; pointer-events: none; overflow: visible;
}
.line-deco path, .line-deco circle, .line-deco line {
  fill: none; stroke: var(--green); stroke-width: 1;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease;
}
.line-deco.drawn path, .line-deco.drawn circle, .line-deco.drawn line {
  stroke-dashoffset: 0;
}

/* ========================================
   SERVICES
   ======================================== */
.services { background: var(--off-white); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--green-mid); padding: 2.2rem 2rem;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--green); transform: scaleX(0);
  transform-origin: left; transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); border-color: transparent; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card__icon svg { width: 26px; height: 26px; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; }

/* ========================================
   GALLERY
   ======================================== */
.gallery { background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem; margin-top: 3.5rem;
}
.gallery__item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  background: var(--green-pale);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; min-height: 220px; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item__overlay {
  position: absolute; inset: 0; background: rgba(81,97,47,0);
  display: flex; align-items: flex-end; padding: 1.5rem;
  transition: background var(--transition);
}
.gallery__item:hover .gallery__item__overlay { background: rgba(81,97,47,0.4); }
.gallery__item__label {
  color: var(--white); font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.gallery__item:hover .gallery__item__label { opacity: 1; transform: translateY(0); }

/* ========================================
   TESTIMONIALS / CARE PHILOSOPHY
   ======================================== */
.philosophy { background: var(--green); color: var(--white); overflow: hidden; }
.philosophy__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.philosophy__text .section-label { color: rgba(255,255,255,0.6); }
.philosophy__text .section-label::before { background: rgba(255,255,255,0.4); }
.philosophy__text h2 { color: var(--white); margin-bottom: 1.5rem; }
.philosophy__text p { color: rgba(255,255,255,0.75); max-width: 460px; margin-bottom: 1.5rem; }
.philosophy__list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.philosophy__list-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.philosophy__list-item__icon {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.philosophy__list-item__icon svg { width: 14px; height: 14px; stroke: var(--white); fill: none; stroke-width: 2; }
.philosophy__list-item p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; }
.philosophy__list-item strong { color: var(--white); display: block; margin-bottom: 2px; }

.philosophy__image-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4;
}
.philosophy__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.philosophy__image-deco {
  position: absolute; inset: -20px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: calc(var(--radius-lg) + 20px);
  pointer-events: none;
}

/* ========================================
   TEAM / CONTACT STRIP
   ======================================== */
.contact-strip {
  background: var(--green-pale);
}
.contact-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.contact-strip__text h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.contact-strip__text p { max-width: 500px; font-size: 0.95rem; }
.contact-strip__info {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-item__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 1.5; }
.contact-item strong { display: block; font-size: 0.8rem; color: var(--text-lighter); letter-spacing: 0.05em; text-transform: uppercase; }
.contact-item span { font-size: 0.95rem; color: var(--text); }

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #1e2412; color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p { font-size: 0.875rem; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer__brand-name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); }

.footer__col h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col ul li a { font-size: 0.875rem; transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer__bottom a { transition: color var(--transition); }
.footer__bottom a:hover { color: var(--white); }

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  padding: 140px 0 80px; text-align: center;
  background: var(--green-pale); position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' stroke='%2351612F' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.page-hero h1 { color: var(--green); margin-bottom: 1rem; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 0.8rem; color: var(--text-lighter);
}
.page-hero .breadcrumb a { color: var(--green); }
.page-hero .breadcrumb span { color: var(--green-mid); }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.about-story__images {
  position: relative;
}
.about-story__img-main {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
}
.about-story__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-story__img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 55%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  border: 4px solid var(--white); box-shadow: var(--shadow-hover);
}
.about-story__img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-values { background: var(--off-white); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem;
}
.value-card {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--green-mid); transition: all var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--green); }
.value-card__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-card__icon svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; }

/* ========================================
   SERVICES PAGE
   ======================================== */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 5vw, 6rem);
  align-items: center; padding: 4rem 0;
  border-bottom: 1px solid var(--green-mid);
}
.service-detail:last-child { border-bottom: none; }
.service-detail--reverse { direction: rtl; }
.service-detail--reverse > * { direction: ltr; }
.service-detail__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.service-detail__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-detail:hover .service-detail__image img { transform: scale(1.03); }
.service-detail__text h2 { margin-bottom: 1rem; }
.service-detail__text p { margin-bottom: 1.25rem; }
.service-detail__text ul { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.service-detail__text ul li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text-light);
}
.service-detail__text ul li::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green); flex-shrink: 0;
}

/* ========================================
   FACILITIES / GALLERY PAGE
   ======================================== */
.facilities-intro__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.room-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem;
}
.room-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--green-mid); transition: all var(--transition);
  background: var(--white);
}
.room-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }
.room-card__image { aspect-ratio: 4/3; overflow: hidden; }
.room-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.room-card:hover .room-card__image img { transform: scale(1.06); }
.room-card__body { padding: 1.5rem; }
.room-card__body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.room-card__body p { font-size: 0.85rem; }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-main { background: var(--white); }
.contact-main__inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; border: 1px solid var(--green-mid);
  border-radius: var(--radius); transition: all var(--transition);
}
.contact-info-item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.contact-info-item__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item__icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.5; }
.contact-info-item h4 { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-lighter); margin-bottom: 0.3rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.95rem; color: var(--text); margin: 0; }
.contact-info-item a:hover { color: var(--green); }

.contact-form {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--green-mid);
}
.contact-form h3 { margin-bottom: 0.5rem; }
.contact-form > p { font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-lighter); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--green-mid);
  border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.925rem;
  color: var(--text); transition: all var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(81,97,47,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--green); color: var(--white);
  border: none; border-radius: 100px; font-size: 0.9rem; letter-spacing: 0.06em;
  font-family: var(--font-sans); cursor: pointer; transition: all var(--transition);
}
.form-submit:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(81,97,47,0.3); }

/* ========================================
   ANIMATIONS & SCROLL EFFECTS
   ======================================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome__inner, .philosophy__inner, .facilities-intro__inner,
  .about-story__inner, .service-detail, .contact-main__inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .service-detail--reverse { direction: ltr; }
  .about-story__img-secondary { display: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 72px;
    z-index: 1001;
    min-height: calc(100vh - 72px);
    background: var(--white) !important;
    backdrop-filter: blur(20px);
    padding: 3rem 2rem; gap: 1.5rem; align-items: flex-start;
    border-top: 1px solid var(--green-mid);
  }
  .nav__links.open .nav__link { color: var(--text); font-size: 1.1rem; }
  .nav__links.open .nav__cta { font-size: 0.9rem; padding: 12px 28px; }
  .nav.menu-open {
    background: var(--white) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(81,97,47,0.1);
  }
  .nav.menu-open .nav__hamburger span { background: var(--green); }

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .services__grid { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .welcome__badge { left: 0; right: 1rem; width: fit-content; }
}
