/* ──────────────────────────────────────────
   Memorial Medical Building — Styles
   Palette: Midnight Blue (#0d1b2a) + Mint (#7dd3c0)
   Fonts: Cormorant Garamond + Inter
   ────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  color: #0d1b2a;
  background: #fafcfc;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
address { font-style: normal; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 252, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 1px 20px rgba(13, 27, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #0d1b2a;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #7dd3c0;
  border-radius: 50%;
  color: #7dd3c0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
}

/* ── Nav ── */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d1b2a;
  opacity: 0.65;
  transition: opacity 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #7dd3c0;
  transition: width 0.3s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link::after {
  width: 100%;
}

.nav-link--accent {
  color: #7dd3c0;
  opacity: 1;
  font-weight: 500;
}

.nav-link--accent::after {
  background: #7dd3c0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #0d1b2a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

/* ── Hero ── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #fafcfc;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7dd3c0;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #0d1b2a;
  margin-bottom: 28px;
}

.hero-headline--accent {
  color: #7dd3c0;
  font-style: italic;
}

.hero-subheadline {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(13, 27, 42, 0.6);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: #0d1b2a;
  color: #fafcfc;
  border-color: #0d1b2a;
}

.btn--primary:hover {
  background: #7dd3c0;
  border-color: #7dd3c0;
  color: #0d1b2a;
}

.btn--ghost {
  background: transparent;
  color: #0d1b2a;
  border-color: rgba(13, 27, 42, 0.2);
}

.btn--ghost:hover {
  border-color: #7dd3c0;
  color: #0d1b2a;
}

.btn--outline {
  background: transparent;
  color: #0d1b2a;
  border-color: #0d1b2a;
}

.btn--outline:hover {
  background: #0d1b2a;
  color: #fafcfc;
}

.btn--full {
  width: 100%;
}

/* ── Hero Details ── */
.hero-details {
  display: flex;
  gap: 48px;
}

.hero-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-detail-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.4);
}

.hero-detail-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: #0d1b2a;
  line-height: 1.5;
}

.hero-detail-value--link {
  transition: color 0.2s ease;
}

.hero-detail-value--link:hover {
  color: #7dd3c0;
}

/* ── Hero Image ── */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid #7dd3c0;
  z-index: -1;
}

/* ── Section Shared ── */
.section {
  padding: 120px 0;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7dd3c0;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #0d1b2a;
  margin-bottom: 32px;
}

.section-title--center {
  text-align: center;
}

/* ── About ── */
.about {
  background: #fafcfc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(13, 27, 42, 0.65);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.stat {
  flex: 1;
}

.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 300;
  color: #7dd3c0;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(13, 27, 42, 0.5);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  background: rgba(13, 27, 42, 0.1);
  align-self: stretch;
  flex-shrink: 0;
  margin: 8px 0;
}

/* ── Services ── */
.services {
  background: #0d1b2a;
  color: #fafcfc;
}

.services .section-eyebrow {
  color: #7dd3c0;
}

.services .section-title {
  color: #fafcfc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(125, 211, 192, 0.1);
  border: 1px solid rgba(125, 211, 192, 0.1);
  margin-top: 64px;
}

.service-card {
  background: #0d1b2a;
  padding: 48px 36px;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: #122235;
}

.service-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: #7dd3c0;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #fafcfc;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(250, 252, 252, 0.5);
}

/* ── Tenants ── */
.tenants {
  background: #fafcfc;
}

.tenants-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.tenants-text {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(13, 27, 42, 0.65);
  margin-bottom: 36px;
}

.tenants-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 36px;
}

.tenants-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(13, 27, 42, 0.75);
}

.tenants-list-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3c0;
}

.tenants-note {
  font-size: 14px;
  font-style: italic;
  color: rgba(13, 27, 42, 0.45);
  margin-bottom: 32px;
}

/* ── Location ── */
.location {
  background: #f0f5f4;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 64px;
  align-items: start;
}

.location-detail {
  margin-bottom: 36px;
}

.location-detail-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.4);
  margin-bottom: 8px;
}

.location-detail-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #0d1b2a;
  line-height: 1.6;
}

.location-detail-value--link {
  transition: color 0.2s ease;
}

.location-detail-value--link:hover {
  color: #7dd3c0;
}

.location-hours-note {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: rgba(13, 27, 42, 0.4);
  margin-top: 4px;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(13, 27, 42, 0.7);
}

.location-feature svg {
  width: 18px;
  height: 18px;
  color: #7dd3c0;
  flex-shrink: 0;
}

.location-map {
  height: 480px;
  background: #e0e8e6;
  overflow: hidden;
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

/* ── Contact ── */
.contact {
  background: #fafcfc;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(13, 27, 42, 0.65);
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-info-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.4);
}

.contact-info-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #0d1b2a;
  line-height: 1.5;
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13, 27, 42, 0.5);
}

.form-input {
  width: 100%;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #0d1b2a;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(13, 27, 42, 0.15);
  outline: none;
  transition: border-color 0.25s ease;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(13, 27, 42, 0.25);
}

.form-input:focus {
  border-color: #7dd3c0;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d1b2a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 12px;
  color: rgba(13, 27, 42, 0.35);
  text-align: center;
}

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  gap: 16px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: #7dd3c0;
}

.form-success-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #0d1b2a;
}

.form-success-text {
  font-size: 15px;
  color: rgba(13, 27, 42, 0.6);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: #0d1b2a;
  color: #fafcfc;
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 64px;
}

.footer-brand .logo {
  color: #fafcfc;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(250, 252, 252, 0.45);
  max-width: 360px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7dd3c0;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(250, 252, 252, 0.5);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #7dd3c0;
}

.footer-address {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(250, 252, 252, 0.5);
  margin-bottom: 8px;
}

.footer-phone {
  font-size: 14px;
  color: rgba(250, 252, 252, 0.5);
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: #7dd3c0;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 252, 252, 0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(250, 252, 252, 0.3);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }

  .about-grid,
  .tenants-layout,
  .contact-layout,
  .location-grid {
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 252, 252, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-list.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 60px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image-wrapper {
    aspect-ratio: 4/3;
  }

  .hero-image-accent {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-details {
    flex-direction: column;
    gap: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
    margin: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .tenants-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tenants-image {
    order: -1;
  }

  .tenants-list {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-map {
    height: 300px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

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

  .hero-headline {
    font-size: clamp(32px, 8vw, 48px);
  }

  .service-card {
    padding: 36px 28px;
  }
}
