/* ============================================================
   Holina Village Cyprus
   Design language: Holina Healing / Holina Clinic style
   Image-led. Short copy. Lots of air.
   ============================================================ */

:root {
  --sage:       #a1bd3b;
  --sage-dark:  #7a9429;
  --sage-mid:   #8faa2e;
  --navy:       #1B2A4A;
  --ink:        #1a2332;
  --grey:       #5a6475;
  --muted:      #8a93a0;
  --border:     #e8ede0;
  --bg:         #f9faf6;
  --white:      #ffffff;

  --top-bar-h:  36px;

  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans:  -apple-system, "Helvetica Neue", Arial, sans-serif;

  --max-w: 1140px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

/* ── TOP INFO BAR ───────────────────────────────────────────── */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--navy);
  height: var(--top-bar-h);
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.02em;
}
.top-bar-contact,
.top-bar-admin { display: flex; align-items: center; gap: 10px; }
.top-bar-label {
  color: rgba(255,255,255,0.38); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 0.65rem;
}
.top-bar a { color: rgba(255,255,255,0.72); transition: color 0.15s; }
.top-bar a:hover { color: var(--sage); }
.top-bar-sep { color: rgba(255,255,255,0.18); margin: 0 4px; }

/* ── Suppress Elementor popup on standalone pages ───────────── */
/* Excludes popup 3751 (exit-intent "Get Help Now") added Jul 2026 — this is
   the one popup we actually want to show sitewide. The outer dialog wrapper
   Elementor creates at runtime doesn't carry the popup's own ID class, only
   its descendant does, so the exclusion has to check for that descendant. */
.elementor-popup-modal:not(:has(.elementor-3751)),
.e-popup:not(:has(.elementor-3751)),
[data-elementor-type="popup"]:not(.elementor-3751) { display: none !important; }

/* Proper centered overlay for popup 3751 — the site's own dialog CSS never
   accounted for a centered modal with backdrop. */
.dialog-widget:has(.elementor-3751) {
  align-items: center !important;
  justify-content: center !important;
  background: rgba(20, 20, 20, 0.55) !important;
}
.dialog-widget:has(.elementor-3751) .dialog-message {
  margin: auto !important;
  max-width: 460px !important;
  width: 92% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  border-radius: 8px !important;
  background: transparent !important;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: var(--top-bar-h); left: 0; right: 0; z-index: 100;
  padding: 0 32px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 46px; height: 46px; flex-shrink: 0;
  background-color: #185878;
  -webkit-mask-image: url('images/holina-village-cyprus-logo.png');
  -webkit-mask-position: center 0%;
  -webkit-mask-size: 155% auto;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('images/holina-village-cyprus-logo.png');
  mask-position: center 0%;
  mask-size: 155% auto;
  mask-repeat: no-repeat;
}
.logo-wordmark { line-height: 1.2; }
.logo-wordmark .logo-name { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy); }
.logo-wordmark .logo-loc  { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sage); }

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink); padding: 8px 16px; border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}
nav a:hover { color: var(--navy); background: var(--bg); }


/* ── DROPDOWN NAV ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  color: var(--ink); padding: 8px 14px; border-radius: 4px;
  background: none; border: none; font-family: var(--font-sans);
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.nav-dropdown-toggle:hover { color: var(--navy); background: var(--bg); }
.dd-chevron { transition: transform .2s var(--ease); flex-shrink: 0; }
.nav-dropdown:hover .dd-chevron,
.nav-dropdown.open   .dd-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 230px; background: var(--white);
  border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  padding: 6px 0; opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open   .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: .875rem; font-weight: 400; color: var(--ink);
  letter-spacing: .01em; transition: background .1s, color .1s;
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--navy); }

.header-cta {
  display: inline-flex; align-items: center;
  background: var(--sage); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  padding: 10px 22px; border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), transform 0.15s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--sage-dark); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.2s; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  padding-top: calc(72px + var(--top-bar-h));
  overflow: hidden;
}
.hero.hero-inner {
  height: auto;
  min-height: 500px;
  padding-bottom: 60px;
}

.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,42,74,0.28) 0%,
    rgba(27,42,74,0.58) 35%,
    rgba(27,42,74,0.58) 65%,
    rgba(27,42,74,0.25) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); background: rgba(161,189,59,0.15);
  border: 1px solid rgba(161,189,59,0.4);
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--sage); color: #fff;
  font-size: 0.925rem; font-weight: 600;
  padding: 14px 28px; border-radius: 4px;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(161,189,59,0.3); }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.925rem; font-weight: 500;
  padding: 14px 28px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.2s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── STRIP — 3 facts ────────────────────────────────────────── */
.strip {
  background: var(--navy);
  padding: 36px 0;
}
.strip-inner {
  display: grid; grid-template-columns: repeat(3, 1fr);
  divide-color: rgba(255,255,255,0.12);
  text-align: center;
}
.strip-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.strip-item:last-child { border-right: none; }
.strip-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 400;
  color: var(--sage); margin-bottom: 4px;
}
.strip-item span { font-size: 0.85rem; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; }

/* ── INTRO ──────────────────────────────────────────────────── */
.intro {
  padding: 100px 0;
  text-align: center;
}
.intro .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 20px; display: block;
}
.intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; color: var(--navy);
  max-width: 640px; margin: 0 auto 20px;
  line-height: 1.25;
}
.intro p {
  font-size: 1rem; color: var(--grey);
  max-width: 560px; margin: 0 auto 36px;
  line-height: 1.75;
}
.btn-outline {
  display: inline-flex;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--navy); border: 1.5px solid var(--navy);
  padding: 12px 28px; border-radius: 4px;
  transition: all 0.2s var(--ease);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ── SPLIT — image + short copy ────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 480px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.split-img:hover img { transform: scale(1.03); }

.split-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 44px 56px;
  background: var(--bg);
}
.split-body .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px; display: block;
}
.split-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 18px;
}
.split-body p { font-size: 0.95rem; color: var(--grey); line-height: 1.75; margin-bottom: 28px; }
.btn-sage {
  display: inline-flex; align-items: center;
  background: var(--sage); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  padding: 12px 24px; border-radius: 4px;
  align-self: flex-start;
  transition: all 0.2s var(--ease);
}
.btn-sage:hover { background: var(--sage-dark); }

/* ── PHOTO GRID ─────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 6px;
}
.photo-grid .p1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.photo-grid .p2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.photo-grid .p3 { grid-column: 9 / 13; grid-row: 1 / 2; }
.photo-grid .p4 { grid-column: 6 / 10; grid-row: 2 / 3; }
.photo-grid .p5 { grid-column: 10 / 13; grid-row: 2 / 3; }

.photo-grid .cell { overflow: hidden; }
.photo-grid .cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.photo-grid .cell:hover img { transform: scale(1.04); }

/* ── QUOTE ──────────────────────────────────────────────────── */
.quote-section {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.92);
  max-width: 760px; margin: 0 auto 24px;
  line-height: 1.5;
}
.quote-section cite {
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sage); font-style: normal; font-weight: 600;
}

/* ── PILLARS ────────────────────────────────────────────────── */
.pillars { padding: 100px 0; position: relative; z-index: 1; background: var(--bg); }
.pillars-head { text-align: center; margin-bottom: 56px; }
.pillars-head .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px; display: block;
}
.pillars-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; color: var(--navy);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border: 2px solid var(--border); border-radius: 8px; overflow: hidden;
}
.pillar {
  padding: 40px 32px;
  background: var(--white);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: var(--bg); }
.pillar-num {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 400;
  color: var(--sage); opacity: 0.5; margin-bottom: 12px; line-height: 1;
}
.pillar h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.pillar p { font-size: 0.875rem; color: var(--grey); line-height: 1.65; }

/* ── UCLAN ──────────────────────────────────────────────────── */
.uclan {
  padding: 80px 0; background: var(--bg);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.uclan-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.uclan-text h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--navy);
  max-width: 520px; line-height: 1.3; margin-bottom: 10px;
}
.uclan-text p { font-size: 0.9rem; color: var(--grey); max-width: 480px; }
.uclan-logo { flex-shrink: 0; opacity: 0.7; }
.uclan-logo img { height: 60px; width: auto; }

/* ── FORM ───────────────────────────────────────────────────── */
.form-section { padding: 100px 0; }
.form-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.form-left .eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px; display: block;
}
.form-left h2 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--navy);
  line-height: 1.25; margin-bottom: 16px;
}
.form-left p { font-size: 0.9rem; color: var(--grey); line-height: 1.75; margin-bottom: 24px; }
.form-contact { font-size: 0.875rem; color: var(--grey); }
.form-contact a { color: var(--sage-dark); font-weight: 600; }

.form-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 40px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 4px;
  font-size: 0.9rem; font-family: var(--font-sans); color: var(--ink);
  background: var(--white); transition: border-color 0.15s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(161,189,59,0.12);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--sage); color: #fff;
  border: none; border-radius: 4px;
  font-size: 0.95rem; font-weight: 600; font-family: var(--font-sans);
  cursor: pointer; transition: all 0.2s var(--ease); margin-top: 4px;
  letter-spacing: 0.01em;
}
.form-submit:hover { background: var(--sage-dark); }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { }
.footer-brand img {
  height: 58px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  margin-bottom: 16px;
}
.footer-brand-rule {
  display: block;
  width: 36px; height: 2px;
  background: var(--sage);
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.875rem; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 290px;
  margin-bottom: 28px;
}
.footer-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px; transition: color 0.15s;
}
.footer-contact a:hover { color: var(--sage); }
.footer-contact a::before { content: '→'; color: var(--sage); font-size: 0.8rem; }

.footer-col h5 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--sage); }
.footer-holina-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}
.footer-holina-badge a { color: rgba(255,255,255,0.35); transition: color 0.15s; }
.footer-holina-badge a:hover { color: var(--sage); }

/* ── Sticky Mobile Bar ──────────────────────────────────────── */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 10px 16px; gap: 8px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; grid-template-rows: auto; }
  .split.reverse { direction: ltr; }
  .split-img { height: 380px; }
  .split-body { padding: 56px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--border); }
  .form-inner { grid-template-columns: 1fr; gap: 48px; }
}


/* ── Gravity Forms brand overrides ────────────────────────── */
.gform_wrapper.gravity-theme {
  --gf-ctrl-border-color: var(--border);
  --gf-ctrl-border-color-focus: var(--sage);
  --gf-ctrl-bg-color: var(--white);
  --gf-btn-bg-color: var(--sage);
  --gf-btn-bg-color-hover: var(--sage-dark);
}
.hcy-gf-wrap, .hcc-form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.hcy-gf-wrap .gform_wrapper, .hcc-form-wrap .gform_wrapper { margin: 0; }
.hcy-gf-wrap .gform_body,
.hcy-gf-wrap .gform_footer,
.hcc-form-wrap .gform_body,
.hcc-form-wrap .gform_footer { padding: 0; }
.hcy-gf-wrap .gfield { margin-bottom: 14px; }
.hcy-gf-wrap .gfield_label { font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; margin-bottom: 5px; }
.hcy-gf-wrap input[type="text"],
.hcy-gf-wrap input[type="email"],
.hcy-gf-wrap input[type="tel"],
.hcy-gf-wrap input[type="number"],
.hcy-gf-wrap select,
.hcy-gf-wrap textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border) !important;
  border-radius: 4px !important;
  font-size: .9rem; font-family: var(--font-sans);
  color: var(--ink); background: var(--white);
  transition: border-color .15s; appearance: none;
  box-shadow: none !important;
}
.hcy-gf-wrap input:focus,
.hcy-gf-wrap select:focus,
.hcy-gf-wrap textarea:focus {
  outline: none !important;
  border-color: var(--sage) !important;
  box-shadow: 0 0 0 3px rgba(161,189,59,.12) !important;
}
.hcy-gf-wrap textarea { min-height: 90px; resize: vertical; }
.hcy-gf-wrap .gform_button,
.hcy-gf-wrap .gform_next_button,
.hcy-gf-wrap input[type="submit"] {
  width: 100%; padding: 14px;
  background: var(--sage) !important; color: #fff !important;
  border: none !important; border-radius: 4px !important;
  font-size: .95rem; font-weight: 600; font-family: var(--font-sans);
  cursor: pointer; transition: background .2s var(--ease);
  letter-spacing: .01em; margin-top: 4px;
}
.hcy-gf-wrap .gform_button:hover,
.hcy-gf-wrap .gform_next_button:hover,
.hcy-gf-wrap input[type="submit"]:hover { background: var(--sage-dark) !important; }

/* Previous button — outline style */
.hcy-gf-wrap .gform_previous_button {
  padding: 14px; background: transparent !important;
  color: var(--navy) !important; border: 1.5px solid var(--border) !important;
  border-radius: 4px !important; font-size: .95rem; font-weight: 600;
  font-family: var(--font-sans); cursor: pointer; transition: border-color .2s, background .2s;
  letter-spacing: .01em; margin-top: 4px;
}
.hcy-gf-wrap .gform_previous_button:hover {
  border-color: var(--navy) !important; background: rgba(8,58,71,.05) !important;
}
.hcy-gf-wrap .gform_confirmation_message { color: var(--sage-dark); font-weight: 600; padding: 16px 0; }
.hcy-gf-wrap .validation_error { border-color: #c0392b; background: #fdf0ee; color: #c0392b; padding: 10px 14px; border-radius: 4px; font-size: .85rem; margin-bottom: 12px; }
.hcy-gf-wrap .gfield_validation_message,
.hcy-gf-wrap .validation_message { color: #c0392b; font-size: .78rem; margin-top: 4px; }
.hcy-gf-wrap .gfield--has-validation-error input,
.hcy-gf-wrap .gfield--has-validation-error select { border-color: #c0392b !important; }
/* Progress bar (multi-step) */
.hcy-gf-wrap .gf_progressbar_percentage { background: var(--sage) !important; }
.hcy-gf-wrap .gf_step_active .gf_step_label { color: var(--navy); font-weight: 600; }


/* Force GF input height — prevents giant boxes on multi-step forms */
.hcy-gf-wrap input[type="text"],
.hcy-gf-wrap input[type="email"],
.hcy-gf-wrap input[type="tel"],
.hcy-gf-wrap input[type="number"],
.hcc-form-wrap input[type="text"],
.hcc-form-wrap input[type="email"],
.hcc-form-wrap input[type="tel"],
.hcc-form-wrap input[type="number"],
.hcc-form-wrap select {
  height: 46px !important;
  min-height: unset !important;
  max-height: 46px !important;
}
.hcy-gf-wrap textarea,
.hcc-form-wrap textarea { height: 90px !important; min-height: 90px !important; max-height: 200px !important; }
.hcy-gf-wrap .gfield,
.hcc-form-wrap .gfield { margin-bottom: 14px !important; }
.hcc-form-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }

@media (max-width: 768px) {
  .top-bar { display: none; }
  :root { --top-bar-h: 0px; }
  .site-header { padding: 0 20px; }
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: calc(72px + var(--top-bar-h)); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 20px 80px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 99; gap: 2px;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  nav.open a { padding: 12px 16px; width: 100%; border-radius: 4px; }
  nav.open .nav-dropdown { width: 100%; }
  nav.open .nav-dropdown-toggle {
    padding: 4px 16px 4px; font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); background: none; cursor: default;
    border-radius: 0; pointer-events: none;
  }
  nav.open .dd-chevron { display: none; }
  nav.open .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none;
    border: none; border-radius: 0;
    padding: 0 0 8px; min-width: 0; background: transparent;
  }
  nav.open .nav-dropdown-menu a { padding: 9px 16px 9px 28px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .hero { padding-top: 72px; }
  .hero h1 { font-size: 2.1rem; }

  .strip-inner { grid-template-columns: 1fr; gap: 0; }
  .strip-item { padding: 20px 32px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .strip-item:last-child { border-bottom: none; }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .photo-grid .p1 { grid-column: 1 / 3; grid-row: 1; }
  .photo-grid .p2 { grid-column: 1 / 2; grid-row: 2; }
  .photo-grid .p3 { grid-column: 2 / 3; grid-row: 2; }
  .photo-grid .p4 { grid-column: 1 / 2; grid-row: 3; }
  .photo-grid .p5 { grid-column: 2 / 3; grid-row: 3; }

  .split-body { padding: 36px 24px; justify-content: flex-start; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }

  .hcy-prog-grid { grid-template-columns: 1fr !important; }

  .uclan-inner { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mobile-bar { display: flex; }
}

/* ── ELEMENTOR BUTTON FIX ── */
.elementor-widget-button { text-align: center; }
.elementor-widget-button .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 180px !important;
  max-width: 340px !important;
  height: auto !important;
  min-height: unset !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  font-size: 0.925rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  background-color: var(--sage) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.elementor-widget-button .elementor-button:hover {
  background-color: var(--sage-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(161,189,59,0.3) !important;
}
.elementor-widget-button .elementor-button-content-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* ── STANDARD CTA SECTION ── */
.hcy-cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.hcy-cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}
.hcy-cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hcy-cta-section .btn-primary {
  padding: 16px 36px;
  font-size: 1rem;
}
.hcy-cta-section .cta-subtext {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
  letter-spacing: 0.04em;
}


/* ── Blog top-level nav link ── */
.nav-top-link {
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  color: var(--ink); padding: 8px 14px; border-radius: 4px;
  text-decoration: none; white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-top-link:hover { color: var(--navy); background: var(--bg); }

@media (max-width: 960px) {
  nav.open .nav-top-link {
    display: block; width: 100%; padding: 9px 16px 9px 28px;
    font-size: .875rem; font-weight: 500; color: var(--ink);
    border-radius: 4px; text-decoration: none;
  }
  nav.open .nav-top-link:hover { background: var(--bg); color: var(--navy); }
}

/* ── Blog/Single-post footer full-width fix ── */
.site-footer { width:100% !important; max-width:none !important; box-sizing:border-box !important; }
