/* =============================================
   Coordination Rehabilitation Plus — Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1a2e45;
  --teal:       #2a7f7f;
  --teal-light: #3aa0a0;
  --cream:      #f7f5f0;
  --white:      #ffffff;
  --gray-100:   #f0eeea;
  --gray-300:   #c8c4bc;
  --gray-500:   #8a8680;
  --gray-700:   #4a4844;
  --text:       #2c2a28;
  --shadow-sm:  0 2px 8px rgba(26,46,69,0.08);
  --shadow-md:  0 6px 24px rgba(26,46,69,0.12);
  --shadow-lg:  0 16px 48px rgba(26,46,69,0.15);
  --radius:     6px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--gray { background: var(--cream); }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline-dark:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

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

.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar__logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.navbar__logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.navbar__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--teal); }
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }

.navbar__cta {
  font-size: 14px;
  padding: 10px 22px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2035 55%, #163342 100%);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(42,127,127,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(42,127,127,0.10) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: block;
  margin-bottom: 18px;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero__title em {
  font-style: italic;
  color: var(--teal-light);
}

.hero__text {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-group {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.hero__stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 28px;
  backdrop-filter: blur(12px);
  transition: transform var(--transition);
}
.hero__stat-card:hover { transform: translateY(-3px); }
.hero__stat-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  color: var(--teal-light);
  margin-bottom: 4px;
}
.hero__stat-card p { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ── SECTION TITLES ── */
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-intro { font-size: 17px; color: var(--gray-500); max-width: 560px; line-height: 1.8; }

.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin: 0 auto; }

/* ── CARDS ── */
.card-grid { display: grid; gap: 28px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 36px 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(42,127,127,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p  { font-size: 15px; color: var(--gray-500); line-height: 1.75; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

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

.footer__brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}
.footer__brand-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.footer__brand-desc { font-size: 14px; line-height: 1.8; max-width: 280px; }

.footer__col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--teal-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
}

/* ── PAGE BANNER ── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2035 100%);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(42,127,127,0.15) 0%, transparent 70%);
}
.page-banner__inner { position: relative; z-index: 1; }
.page-banner__tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 14px; }
.page-banner h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 5vw, 50px); color: var(--white); }

/* ── CONTACT FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group--full { grid-column: 1 / -1; }

label { font-size: 13px; font-weight: 500; color: var(--gray-700); letter-spacing: 0.04em; }

input, textarea, select {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,127,127,0.12);
}
textarea { min-height: 130px; resize: vertical; }

/* ── INFO BOX ── */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}
.info-box h3 { font-size: 18px; margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.info-item-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; }
.info-item-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.info-item-text span { font-size: 14px; color: var(--gray-500); }

/* ── TEAM / ABOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col--reverse .two-col__visual { order: -1; }

.two-col__visual-box {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.two-col__visual-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 30% 30%, rgba(255,255,255,0.1), transparent);
}
.two-col__visual-box span {
  font-size: 72px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.value-list { list-style: none; margin-top: 24px; }
.value-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
  color: var(--gray-700);
}
.value-list li:last-child { border-bottom: none; }
.value-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__visual  { display: none; }
  .card-grid--3  { grid-template-columns: 1fr 1fr; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .two-col       { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse .two-col__visual { order: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section   { padding: 64px 0; }
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .navbar__links, .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
}
