/* ============================================================
   GAINESVILLE HEALTH & REHABILITATION CENTER
   pages.css — Page-Specific Styles
   ============================================================ */

/* ── HOME: Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(138,155,176,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(138,155,176,0.05) 0%, transparent 60%),
    linear-gradient(135deg, #0d1117 0%, #1a1e24 40%, #1f2530 100%);
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--steel) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-line {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--steel), transparent);
  opacity: 0.4;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--steel);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero-title em { font-style: normal; color: var(--steel-light); }
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease 0.25s both;
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  max-width: 480px;
  animation: fadeUp 0.8s ease 0.35s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-phone {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  animation: fadeUp 0.8s ease 0.55s both;
}
.hero-phone a {
  color: var(--steel-light);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}
.hero-phone a:hover { color: var(--white); }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--steel), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ── HOME: Promise Strip ────────────────────────────────────── */
.promise-strip { background: var(--charcoal-mid); padding: 5rem 2rem; }
.promise-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.promise-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  font-weight: 300;
  line-height: 1.5;
  position: relative;
  padding-left: 2rem;
}
.promise-quote::before {
  content: '"';
  position: absolute;
  left: -0.5rem; top: -0.5rem;
  font-size: 8rem;
  color: var(--steel);
  opacity: 0.2;
  font-family: var(--font-serif);
  line-height: 1;
}
.promise-text {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ── HOME: Services Grid ────────────────────────────────────── */
.services-section { background: var(--grey-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--grey-light);
}
.service-card {
  background: var(--white);
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  z-index: 1;
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--steel);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── HOME: Why Choose Us ────────────────────────────────────── */
.why-section { background: var(--charcoal); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: rgba(138,155,176,0.15);
}
.why-card {
  background: var(--charcoal-mid);
  padding: 3rem;
  transition: background 0.3s;
}
.why-card:hover { background: var(--charcoal-light); }
.why-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(138,155,176,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.why-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}
.why-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-weight: 300;
}

/* ── ABOUT: Mission Cards ───────────────────────────────────── */
.mission-section { background: var(--grey-soft); }
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.mission-card {
  background: var(--white);
  padding: 3rem;
  border-top: 2px solid var(--steel);
}
.mission-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.mission-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

/* ── ABOUT: Values ──────────────────────────────────────────── */
.values-section { background: var(--charcoal); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3rem;
  background: rgba(138,155,176,0.1);
}
.value-card {
  background: var(--charcoal-mid);
  padding: 2.5rem;
  transition: background 0.3s;
}
.value-card:hover { background: var(--charcoal-light); }
.value-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.value-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

/* ── SERVICES: Full Service Cards ───────────────────────────── */
.service-full {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border: 1px solid var(--grey-light);
  margin-bottom: 1.5px;
  transition: box-shadow 0.3s;
}
.service-full:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.service-num-col {
  background: var(--charcoal);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-num-large {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(138,155,176,0.2);
  line-height: 1;
}
.service-tag {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
}
.service-body-col {
  background: var(--white);
  padding: 3rem;
}
.service-body-col h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.service-body-col p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
}
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.service-feature {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dark);
  background: var(--grey-soft);
  padding: 0.35rem 0.9rem;
  font-weight: 500;
}

/* ── SERVICES: Therapy Cards ────────────────────────────────── */
.therapy-section { background: var(--charcoal); }
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(138,155,176,0.1);
  margin-top: 3rem;
}
.therapy-card {
  background: var(--charcoal-mid);
  padding: 2.5rem;
  transition: background 0.3s;
}
.therapy-card:hover { background: var(--charcoal-light); }
.therapy-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.therapy-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 300;
}
.therapy-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: rgba(138,155,176,0.12);
  margin-bottom: 1rem;
}

/* ── CAREERS: Benefits ──────────────────────────────────────── */
.benefits-section { background: var(--grey-soft); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-top: 2px solid var(--steel);
}
.benefit-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.benefit-text {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CAREERS: Positions ─────────────────────────────────────── */
.positions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--grey-light);
  margin-top: 3rem;
}
.position-card {
  background: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  cursor: pointer;
}
.position-card:hover { background: var(--grey-soft); }
.position-dept {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.position-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--charcoal);
}
.position-type {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin-top: 0.3rem;
  font-weight: 300;
}
.position-arrow { color: var(--steel); font-size: 1.2rem; margin-left: 1rem; }

/* ── CAREERS: Application Form ──────────────────────────────── */
.form-section { background: var(--charcoal-mid); }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.form-info h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.form-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.form-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.form-info-item .dot {
  width: 6px; height: 6px;
  background: var(--steel);
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.form-info-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 300;
}
.form-info-direct {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(138,155,176,0.15);
}
.form-info-direct .label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}
.form-info-direct a { color: rgba(255,255,255,0.6); font-size: 0.9rem; text-decoration: none; }
.form-info-direct a:hover { color: var(--steel-light); }

.app-form { background: var(--charcoal); padding: 3rem; }

/* File upload */
.file-upload-area {
  border: 1px dashed rgba(138,155,176,0.3);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--charcoal-light);
  position: relative;
}
.file-upload-area:hover { border-color: var(--steel); background: rgba(138,155,176,0.05); }
.file-upload-area input {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%;
}
.file-upload-icon { font-size: 1.5rem; color: var(--steel); margin-bottom: 0.5rem; }
.file-upload-text { font-size: 0.85rem; color: rgba(255,255,255,0.5); font-weight: 300; }
.file-upload-text strong { color: var(--steel-light); }
.file-name { margin-top: 0.75rem; font-size: 0.8rem; color: var(--steel-light); display: none; }

/* ── CONTACT: Info ──────────────────────────────────────────── */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-block { margin-bottom: 2.5rem; }
.contact-info-block h4 {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
  font-weight: 500;
}
.contact-info-block p,
.contact-info-block address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
}
.contact-info-block a { color: var(--charcoal); text-decoration: none; }
.contact-info-block a:hover { color: var(--steel-dark); }
.contact-divider { height: 1px; background: var(--grey-light); margin: 2rem 0; }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 300;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.hours-row .day { font-weight: 500; color: var(--charcoal); }
.hours-note { font-size: 0.8rem; color: var(--steel-dark); margin-top: 0.75rem; font-style: italic; }

.map-embed {
  width: 100%; height: 320px;
  border: 0;
  margin-top: 2.5rem;
  filter: grayscale(20%);
}

/* ── CONTACT: Form Section ──────────────────────────────────── */
.contact-form-section { background: var(--charcoal-mid); }
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.form-side-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.form-side-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  font-weight: 300;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(138,155,176,0.07);
  border-left: 2px solid var(--steel);
}
.quick-link .ql-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.quick-link .ql-val { font-size: 0.95rem; color: var(--white); }
.quick-link a { text-decoration: none; color: var(--white); transition: color 0.2s; }
.quick-link a:hover { color: var(--steel-light); }

.contact-form-box { background: var(--charcoal); padding: 3rem; }

/* ── Responsive: Page Specific ──────────────────────────────── */
@media (max-width: 900px) {
  .promise-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .service-full { grid-template-columns: 1fr; }
  .service-num-col { padding: 1.5rem 2rem; flex-direction: row; align-items: center; gap: 1rem; }
  .therapy-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .positions-grid { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-main { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .therapy-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
