/* ============================================================
   Pellegrino Sensory Research Laboratory — Main Stylesheet
   Design: Modern Scientific | Navy + Amber
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --navy:        #0d2d3e;
  --navy-mid:    #1a4a60;
  --navy-light:  #2a6080;
  --amber:       #e8a030;
  --amber-light: #f0b850;
  --amber-dim:   rgba(232,160,48,0.12);
  --bg:          #f4f6f8;
  --bg-white:    #ffffff;
  --text:        #1a2530;
  --text-light:  #4a5a68;
  --muted:       #7a8a98;
  --border:      #d8e0e8;
  --shadow:      0 2px 16px rgba(13,45,62,0.09);
  --shadow-lg:   0 8px 40px rgba(13,45,62,0.14);
  --radius:      8px;
  --radius-lg:   14px;
  --nav-h:       68px;
  --max:         1180px;
  --transition:  0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--amber); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-light); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* --- Layout Helpers --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 640px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-h);
  border-bottom: 2px solid var(--amber);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--bg-white);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--bg-white);
}

.nav-brand-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.78);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--bg-white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.active {
  color: var(--amber);
  background: var(--amber-dim);
}

.nav-links a.nav-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background: var(--amber-light);
  color: var(--navy);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bg-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (Home Page) --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3d54 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(232,160,48,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(42,96,128,0.3) 0%, transparent 70%);
}

.hero .container { position: relative; z-index: 1; }

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

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-light);
  color: var(--navy);
  border-color: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,48,0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.8);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  background: rgba(255,255,255,0.05);
  padding: 24px;
}

/* --- Stat Bar --- */
.stat-bar {
  background: var(--amber);
  padding: 28px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.75;
  margin-top: 4px;
}

/* --- Content Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-body { padding: 28px; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p { font-size: 0.93rem; color: var(--text-light); }

/* Grid helpers */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* --- Research Section (Home) --- */
.research-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.research-split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --- Approach Banner --- */
.approach-banner {
  background: var(--navy);
  padding: 72px 0;
}

.approach-banner .section-label { color: var(--amber); }
.approach-banner .section-title { color: #ffffff; }
.approach-banner .section-subtitle { color: rgba(255,255,255,0.7); max-width: 700px; }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.approach-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: background var(--transition), border-color var(--transition);
}

.approach-item:hover {
  background: rgba(232,160,48,0.12);
  border-color: var(--amber);
}

.approach-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.approach-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.approach-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

/* --- Team Page --- */
.pi-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.pi-photo {
  position: relative;
  overflow: hidden;
}

.pi-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
  min-height: 360px;
}

.pi-body {
  padding: 48px 48px;
}

.pi-role {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pi-body h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.pi-institution {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.pi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.pi-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  color: var(--text-light);
  transition: all var(--transition);
}

.pi-links a:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
}

.cookbook-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.cookbook-strip img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 120px;
}

.cookbook-strip h3 { color: #ffffff; margin-bottom: 8px; }
.cookbook-strip p { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.cookbook-strip .btn { margin-top: 16px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.member-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.member-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.member-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--muted);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}

.member-body { padding: 24px; }
.member-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.member-role {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* --- Publications Page --- */
.pub-list { list-style: none; }

.pub-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 16px;
  border-left: 3px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pub-item:hover {
  border-left-color: var(--amber);
  box-shadow: var(--shadow-lg);
}

.pub-year {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pub-citation {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.6;
}

.pub-citation a {
  color: var(--navy-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pub-citation a:hover { color: var(--amber); }

.pub-type-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.badge-preprint {
  background: rgba(42,96,128,0.12);
  color: var(--navy-light);
}

.badge-journal {
  background: var(--amber-dim);
  color: #a06010;
}

.badge-book {
  background: rgba(92,124,78,0.12);
  color: #4a7a38;
}

.book-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  gap: 0;
}

.book-cover {
  width: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.book-info { padding: 32px; }
.book-info h3 { margin-bottom: 10px; font-size: 1.2rem; }
.book-info p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 16px; }

/* --- Services Page --- */
.services-intro {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

.services-intro p { font-size: 1rem; color: var(--text-light); }
.services-intro-contact p { text-align: right; }
.services-intro-contact a { font-weight: 600; display: block; }

.service-section { margin-bottom: 56px; }

.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.service-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.service-header h2 { font-size: 1.5rem; color: var(--navy); }
.service-header p { font-size: 0.88rem; color: var(--text-light); margin: 4px 0 0; }

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

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card-header {
  background: var(--navy);
  padding: 24px 24px 20px;
  color: #ffffff;
}

.pricing-card-header h3 { font-size: 1.05rem; color: #ffffff; margin-bottom: 4px; }
.pricing-card-desc { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

.pricing-card-body { padding: 24px; flex: 1; }

.pricing-spec {
  font-size: 0.83rem;
  color: var(--text-light);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-spec:last-of-type { border-bottom: none; }

.pricing-spec::before {
  content: '·';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-table { margin-top: 20px; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.price-row:nth-child(odd) { background: var(--bg); }

.price-label { font-weight: 500; color: var(--text); }
.price-value { font-weight: 700; color: var(--navy); }

.price-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--amber-dim);
  border-radius: var(--radius);
  border-left: 3px solid var(--amber);
}

.instrument-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.instrument-table th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 12px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.instrument-table th:first-child { border-radius: var(--radius) 0 0 0; }
.instrument-table th:last-child { border-radius: 0 var(--radius) 0 0; }

.instrument-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.instrument-table tr:last-child td { border-bottom: none; }
.instrument-table tr:hover td { background: var(--bg); }

/* --- Facilities Page --- */
.facility-hero {
  background: var(--navy);
  padding: 72px 0 56px;
}

.facility-hero .section-title { color: #ffffff; }
.facility-hero .section-subtitle { color: rgba(255,255,255,0.72); }
.facility-hero .section-label { color: var(--amber); }

.facility-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.facility-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
}

.facility-stat-num {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.facility-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.facility-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
}

.facility-section-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.facility-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.facility-section-header h2 {
  font-size: 1.2rem;
  color: var(--navy);
}

.facility-section-body { padding: 28px 32px; }

.facility-section-body p { font-size: 0.95rem; color: var(--text-light); }

.facility-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-title { font-size: 1.4rem; margin-bottom: 6px; }
.form-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 32px; }

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group label .req { color: var(--amber); margin-left: 2px; }

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,160,48,0.14);
}

.form-group input::placeholder { color: var(--muted); }

.form-submit {
  width: 100%;
  padding: 13px 24px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.form-submit:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,48,0.4);
}

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-message.success {
  background: rgba(52,168,83,0.1);
  color: #276633;
  border: 1px solid rgba(52,168,83,0.3);
}

.form-message.error {
  background: rgba(234,67,53,0.1);
  color: #c0392b;
  border: 1px solid rgba(234,67,53,0.3);
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
  color: #ffffff;
}

.contact-info-card h3 {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-entry {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-entry-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.contact-entry-value {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}

.contact-entry-value a {
  color: var(--amber);
  font-weight: 500;
}

.contact-entry-value a:hover { color: var(--amber-light); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0 56px;
}

.page-hero .section-label { color: var(--amber); }
.page-hero h1 { color: #ffffff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 600px; font-size: 1.05rem; }

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 2px solid var(--amber);
  padding: 48px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {}

.footer-brand-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: #ffffff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

/* --- Utility --- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

.amber-accent { color: var(--amber); }

.highlight-bar {
  background: var(--amber-dim);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 20px;
  font-size: 0.92rem;
  color: var(--text);
  margin: 24px 0;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 2px solid var(--amber);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-links.open a {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .nav-links.open a.nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .hero-grid,
  .research-split,
  .contact-grid,
  .pi-card,
  .grid-2,
  .grid-2-1 {
    grid-template-columns: 1fr;
  }

  .hero { padding: 64px 0; }
  .hero-visual { display: none; }

  .stat-grid,
  .approach-grid,
  .facility-stats { grid-template-columns: repeat(2, 1fr); }

  .grid-3,
  .team-grid,
  .pricing-grid { grid-template-columns: 1fr 1fr; }

  .pi-photo { min-height: 300px; }

  .book-card { flex-direction: column; }
  .book-cover { width: 100%; height: 200px; }
  .book-cover img { object-position: top center; }

  .services-intro { grid-template-columns: 1fr; }
  .services-intro-contact p { text-align: left; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }

  .stat-grid,
  .approach-grid,
  .facility-stats,
  .grid-3,
  .team-grid,
  .pricing-grid,
  .form-row { grid-template-columns: 1fr; }

  .cookbook-strip { grid-template-columns: 1fr; text-align: center; }
  .cookbook-strip img { margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
