/* ========================================
   LAKESHORE MEDICAL THERMOGRAPHY
   Clean Minimalist · Emerald + Cream
   ======================================== */

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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf9f6;
  --cream-dark:  #f5f4f0;
  --cream-mid:   #ebe9e3;
  --text-dark:   #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #7a7a7a;
  --white:       #ffffff;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, sans-serif;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--emerald-100);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--emerald-700);
}

.section-title--light {
  color: var(--white);
}

.section-title--light em {
  color: var(--emerald-100);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--emerald-800);
  color: var(--white);
  border-color: var(--emerald-800);
}

.btn--primary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--emerald-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--emerald-800);
  border-color: var(--white);
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.3s var(--ease);
}

.nav.scrolled .nav__logo {
  color: var(--emerald-800);
}

.nav__logo-mark {
  display: flex;
  align-items: center;
  color: var(--emerald-500);
}

.nav__logo-text {
  font-weight: 400;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  color: var(--white);
}

.nav.scrolled .nav__links a {
  color: var(--text-light);
}

.nav.scrolled .nav__links a:hover {
  color: var(--emerald-700);
}

.nav__cta {
  border: 1px solid rgba(255,255,255,0.4) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: all 0.3s var(--ease) !important;
}

.nav__cta:hover {
  background: var(--white) !important;
  color: var(--emerald-800) !important;
  border-color: var(--white) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav.scrolled .nav__cta {
  border-color: var(--emerald-800) !important;
  color: var(--emerald-800) !important;
}

.nav.scrolled .nav__cta:hover {
  background: var(--emerald-800) !important;
  color: var(--white) !important;
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav.scrolled .nav__toggle span {
  background: var(--emerald-800);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--emerald-800);
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: color 0.3s var(--ease);
}

.mobile-menu__link:hover {
  color: var(--emerald-700);
}

.mobile-menu__cta {
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--emerald-700) !important;
  border: 1px solid var(--emerald-700);
  padding: 12px 28px;
  border-radius: 100px;
  margin-top: 8px;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.82) 0%,
    rgba(6, 95, 70, 0.70) 50%,
    rgba(4, 120, 87, 0.60) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
  text-align: center;
}

.hero__greeting {
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.hero__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-100);
  border: 1px solid rgba(209, 250, 229, 0.3);
  padding: 8px 20px;
  border-radius: 100px;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--emerald-100);
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* --- Divider --- */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.divider__line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-mid), transparent);
}

/* --- About --- */
.about {
  padding: 120px 0;
}

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

.about__text .section-title {
  margin-bottom: 28px;
}

.about__text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about__image {
  position: relative;
}

.about__image img {
  border-radius: 8px;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--emerald-100);
  border-radius: 8px;
  z-index: -1;
}

/* --- Services --- */
.services {
  padding: 120px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 32px;
  border-radius: 8px;
  border: 1px solid var(--cream-mid);
  background: var(--white);
  transition: all 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--emerald-100);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 95, 70, 0.08);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  margin-bottom: 24px;
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--emerald-800);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* --- Process --- */
.process {
  padding: 120px 0;
  background: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: var(--cream-mid);
}

.step {
  text-align: center;
}

.step__number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--emerald-100);
  line-height: 1;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step__desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 280px;
  margin: 0 auto;
}

/* --- CTA --- */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

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

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.88) 0%,
    rgba(4, 120, 87, 0.78) 100%
  );
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta__content .section-title {
  margin-bottom: 20px;
}

.cta__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
}

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

.contact__desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: start;
}

.contact__detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact__detail a:hover {
  color: var(--emerald-700);
}

/* Form */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--cream-mid);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--cream-mid);
  border-radius: 8px;
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: 8px;
  color: var(--emerald-800);
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
  color: var(--emerald-600);
}

/* --- Footer --- */
.footer {
  background: var(--emerald-900);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__logo svg {
  color: var(--emerald-400);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__links strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a,
.footer__links span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--emerald-100);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__disclaimer {
  max-width: 480px;
  text-align: right;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about__grid {
    gap: 48px;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer__top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .hero__headline {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about__image {
    order: -1;
  }
  
  .about__image img {
    height: 320px;
  }
  
  .about__image::before {
    display: none;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .process__steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process__steps::before {
    display: none;
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact__form-wrap {
    padding: 28px;
  }
  
  .cta__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta__actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer__disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  
  .about,
  .services,
  .process,
  .contact {
    padding: 80px 0;
  }
  
  .cta {
    padding: 80px 0;
  }
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
