/* ============ RESET & VARIABLES ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1AA6B5;
  --navy-deep: #147D89;
  --navy-light: #7DD3DE;
  --turquoise-50: #E8F7F9;
  --gold: #C49A3C;
  --gold-light: #D4AF5C;
  --gold-pale: #F5ECD7;
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --gray-100: #F7F7F7;
  --gray-200: #EBEBEB;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --text: #2A2A2A;
  --green: #2E7D4F;
  --green-light: #E8F5EC;
  --red: #C0392B;
  --red-light: #FDEDEB;
  --blue: #2980B9;
  --blue-light: #EBF5FB;
  --orange: #E67E22;
  --orange-light: #FEF5E7;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
  --max-w: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* SiteLync brand */
  --sl-navy: #11121F;
  --sl-gold: #DDB884;
  --sl-gold-shadow: #A98057;
  --sl-cream: #FAF8F3;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 166, 181, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 154, 60, 0.15);
  transition: var(--transition);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; min-height: 80px;
}
.nav-brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.nav-brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }
.nav-brand-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.3px; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--gold); color: var(--navy-deep) !important; padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; transition: var(--transition); border: 2px solid var(--gold); white-space: nowrap; display: inline-block; min-width: fit-content; }
.nav-cta:hover { background: transparent; color: var(--gold) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-inner { padding: 10px 1rem; }
  .nav-brand-name { font-size: 1.05rem; }
  .nav-brand-tag { font-size: 0.55rem; letter-spacing: 2px; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: calc(80px + env(safe-area-inset-top, 0px)); left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 2rem; gap: 1.5rem; transform: translateY(-120%); visibility: hidden; transition: transform var(--transition), visibility var(--transition); border-bottom: 2px solid var(--gold); }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-cta { width: 100%; text-align: center; display: block; padding: 0.8rem 1.5rem; }
}

/* ============ HERO (compact portal) ============ */
.hero {
  position: relative; min-height: 340px; display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden; padding-top: calc(80px + env(safe-area-inset-top, 0px));
}
.hero-carousel {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(20,125,137,0.82) 0%, rgba(26,166,181,0.75) 40%, rgba(125,211,222,0.7) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 3rem 2rem; width: 100%; text-align: center; }
.hero h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--white); line-height: 1.2; margin-bottom: 0.75rem; font-weight: 700; animation: fadeInUp 0.8s ease both; }
.hero h1 em { font-style: normal; color: var(--white); -webkit-text-fill-color: var(--white); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; line-height: 1.6; font-weight: 300; animation: fadeInUp 0.8s 0.15s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============ PORTAL CARDS ============ */
.portal-cards {
  max-width: var(--max-w); margin: -1.5rem auto 3rem; padding: 0 2rem;
  position: relative; z-index: 3;
}
.portal-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem;
}
.portal-card {
  grid-column: span 2;
}
.portal-card {
  background: var(--white); border-radius: 12px; padding: 2rem 1.5rem;
  text-align: center; text-decoration: none; color: var(--text);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
  transition: var(--transition); border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer; display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
/* Last card centered on its row (7 cards in 6-col grid) */
.portal-grid .portal-card:nth-child(7) {
  grid-column: 3 / span 2;
}
.portal-card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale); color: var(--gold);
}
.portal-card-icon svg { width: 32px; height: 32px; }
.portal-card h3 {
  font-family: var(--font-display); font-size: 1.2rem;
  margin-bottom: 0.5rem; color: var(--navy);
}
.portal-card p {
  font-size: 0.9rem; color: var(--gray-600); line-height: 1.5;
}
.portal-card .card-arrow {
  margin-top: auto; padding-top: 1rem; color: var(--navy-deep);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.portal-card:hover .card-arrow { gap: 10px; color: var(--navy); }

/* 8-card grid: 3 effective columns (6-col trick), last 2 centered */
@media (max-width: 768px) {
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-card { grid-column: auto; }
  .portal-grid .portal-card:nth-child(7) { grid-column: auto; }
}
@media (max-width: 500px) {
  .portal-grid { grid-template-columns: 1fr; }
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: calc(7rem + env(safe-area-inset-top, 0px)) 2rem 3rem; text-align: center;
}
.page-header h1 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white); margin-bottom: 0.5rem;
}
.page-header p {
  color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 560px; margin: 0 auto;
}

/* ============ FORMS ============ */
.page-form {
  max-width: 800px; margin: -2rem auto 3rem; padding: 2.5rem;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08); position: relative; z-index: 3;
}
.form-section-title {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy);
  margin: 2rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.form-section-title:first-child { margin-top: 0; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group label .required { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,60,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Urgency radios */
.urgency-options {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
@media (max-width: 600px) {
  .urgency-options { grid-template-columns: repeat(2, 1fr); }
}
.urgency-option {
  position: relative;
}
.urgency-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.urgency-option label {
  display: flex; flex-direction: column; align-items: center;
  padding: 1rem 0.5rem; border: 2px solid var(--gray-200); border-radius: 8px;
  cursor: pointer; transition: var(--transition); text-align: center;
  text-transform: none; letter-spacing: 0;
}
.urgency-option label .urgency-name {
  font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem;
}
.urgency-option label .urgency-desc {
  font-size: 0.75rem; color: var(--gray-600); font-weight: 400;
}
.urgency-option input[type="radio"]:checked + label {
  border-color: var(--gold); background: var(--gold-pale);
}
.urgency-option.low input[type="radio"]:checked + label { border-color: var(--green); background: var(--green-light); }
.urgency-option.medium input[type="radio"]:checked + label { border-color: var(--blue); background: var(--blue-light); }
.urgency-option.high input[type="radio"]:checked + label { border-color: var(--orange); background: var(--orange-light); }
.urgency-option.emergency input[type="radio"]:checked + label { border-color: var(--red); background: var(--red-light); }

/* File upload */
.upload-area {
  border: 2px dashed var(--gray-200); border-radius: 8px;
  padding: 2rem; text-align: center; color: var(--gray-400);
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}
.upload-area:hover { border-color: var(--gold); color: var(--gold); }
.upload-area.dragover { border-color: var(--gold); background: var(--gold-pale); }
.upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-area svg { width: 32px; height: 32px; margin-bottom: 0.5rem; }
.upload-area p { font-size: 0.85rem; }
.photo-preview {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.photo-preview-item {
  position: relative; width: 80px; height: 80px;
}
.photo-preview-item img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--gray-200);
}
.photo-preview-item .remove-photo {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: var(--white); border: none;
  font-size: 12px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}

/* Submit button */
.btn-submit {
  width: 100%; padding: 1rem; background: var(--gold);
  color: var(--navy-deep); border: none; border-radius: 6px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px;
  transition: var(--transition); margin-top: 1rem;
}
.btn-submit:hover { background: var(--gold-light); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Form states */
.form-error {
  background: var(--red-light); color: var(--red);
  padding: 0.75rem 1rem; border-radius: 6px;
  font-size: 0.85rem; margin-bottom: 1rem;
}
.form-success-screen {
  text-align: center; padding: 3rem 1rem;
}
.form-success-screen .success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem;
}
.form-success-screen h2 {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--navy); margin-bottom: 0.5rem;
}
.form-success-screen .ticket-id {
  font-size: 1.1rem; color: var(--gold); font-weight: 700;
  margin-bottom: 1rem;
}
.form-success-screen p {
  color: var(--gray-600); margin-bottom: 2rem; line-height: 1.6;
}
.form-success-screen .success-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.85rem 1.75rem; border-radius: 4px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 1px;
  transition: var(--transition); border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 0.85rem 1.75rem; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  letter-spacing: 0.5px; transition: var(--transition);
  border: 2px solid var(--gray-200); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ============ ABOUT PAGE SECTIONS ============ */
.services { padding: 5rem 2rem; background: var(--white); }
.services-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-weight: 700; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); max-width: 600px; line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); max-width: 600px; line-height: 1.6; margin-bottom: 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.service-block { padding: 2.5rem; border-radius: 8px; background: var(--cream); border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.service-block::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gold); transition: var(--transition); }
.service-block:hover::before { height: 100%; }
.service-block:hover { border-color: rgba(196,154,60,0.3); }
.service-block h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: 1rem; }
.service-block ul { list-style: none; }
.service-block li { padding: 0.5rem 0; font-size: 0.95rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); display: flex; align-items: flex-start; gap: 10px; }
.service-block li:last-child { border-bottom: none; }
.service-block li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 8px; }
@media (max-width: 700px) { .services-grid { grid-template-columns: 1fr; } }

.about-section { padding: 5rem 2rem; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); position: relative; overflow: hidden; }
.about-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(196,154,60,0.08); }
.about-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content .section-label { color: var(--gold); }
.about-content .section-title { color: var(--white); }
.about-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.about-credentials { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.credential { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 0.75rem 1.25rem; }
.credential-icon { color: var(--gold); flex-shrink: 0; }
.credential span { color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; }
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.about-stat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 2rem; text-align: center; transition: var(--transition); }
.about-stat-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(196,154,60,0.2); }
.about-stat-number { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.about-stat-text { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1.5px; }
@media (max-width: 800px) { .about-inner { grid-template-columns: 1fr; } .about-visual { grid-template-columns: repeat(2, 1fr); display: grid; } }

.testimonial { padding: 5rem 2rem; background: var(--cream); text-align: center; }
.testimonial-inner { max-width: 700px; margin: 0 auto; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.75rem); color: var(--navy); line-height: 1.5; margin-bottom: 1.5rem; position: relative; }
.testimonial-quote::before { content: '\201C'; font-family: var(--font-display); font-size: 5rem; color: var(--gold); opacity: 0.3; line-height: 1; display: block; margin-bottom: -1rem; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 1rem; }
.testimonial-role { color: var(--gray-600); font-size: 0.9rem; margin-top: 0.25rem; }

/* FAQ */
.faq { padding: 5rem 2rem; background: var(--white); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; padding: 1.25rem 0; background: none; border: none;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600;
  color: var(--navy); text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s ease; color: var(--gold); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.95rem; color: var(--gray-600); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.25rem; }

/* CTA Banner */
.cta-banner { padding: 5rem 2rem; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%); text-align: center; position: relative; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(196,154,60,0.08) 0%, transparent 60%); }
.cta-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary { border-color: var(--gold); }
.cta-actions .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.3); }
.cta-actions .btn-secondary:hover { border-color: var(--white); }

/* ============ AI CHATBOT ============ */
.chatbot-toggle {
  position: fixed; bottom: 24px; right: 92px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--navy); color: var(--gold); font-size: 24px;
  cursor: pointer; box-shadow: 0 4px 20px rgba(10,80,90,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chatbot-toggle:hover { background: var(--navy-light); transform: scale(1.05); }
.chatbot-panel {
  display: none; position: fixed; bottom: 92px; right: 24px; z-index: 901;
  width: 380px; max-width: calc(100vw - 48px); max-height: 500px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  flex-direction: column; overflow: hidden;
}
.chatbot-panel.open { display: flex; }
.chatbot-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: var(--navy); color: var(--white);
  border-radius: 16px 16px 0 0;
}
.chatbot-head-title { font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.chatbot-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.25rem; cursor: pointer; padding: 4px; }
.chatbot-close:hover { color: var(--white); }
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px; max-height: 340px;
}
.chatbot-msg {
  padding: 10px 14px; border-radius: 12px; font-size: 0.9rem;
  line-height: 1.5; max-width: 85%; word-break: break-word;
}
.chatbot-msg.bot { background: var(--gray-100); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chatbot-msg.user { background: var(--navy); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chatbot-msg.typing { color: var(--gray-400); font-style: italic; }
.chatbot-input-row {
  display: flex; gap: 8px; padding: 0.75rem 1rem;
  border-top: 1px solid var(--gray-200); background: var(--gray-100);
}
.chatbot-input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 24px; font-family: var(--font-body); font-size: 0.9rem;
  outline: none; background: var(--white); color: var(--text);
}
.chatbot-input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(196,154,60,0.15); }
.chatbot-send {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--gold); color: var(--navy-deep); font-size: 16px;
  font-weight: 900; cursor: pointer; flex-shrink: 0;
  transition: var(--transition);
}
.chatbot-send:hover { background: var(--gold-light); }
.chatbot-send:disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ FEE BREAKDOWN ============ */
.fee-breakdown {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}
.fee-row + .fee-row {
  border-top: 1px solid var(--gray-200);
}
.fee-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  border-top: 2px solid var(--gold) !important;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}
.fee-total span:last-child {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* ============ PAYMENT METHOD SELECTION ============ */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 500px) {
  .payment-methods { grid-template-columns: 1fr; }
}
.payment-method-option {
  position: relative;
}
.payment-method-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.payment-method-card {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.payment-method-card:hover {
  border-color: var(--gold-light);
}
.payment-method-option input[type="radio"]:checked + .payment-method-card {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.payment-method-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.payment-method-header svg {
  flex-shrink: 0;
  color: var(--gold);
}
.payment-method-fee {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}
.payment-method-total {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  min-height: 1.5em;
}
.payment-method-recommended {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.5rem;
}

/* ============ STAR RATING ============ */
.star-rating {
  display: flex;
  gap: 6px;
  margin-top: 0.4rem;
}
.star-rating .star {
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--gray-200);
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating .star:hover { transform: scale(1.15); }
.star-rating .star.active { color: var(--gold); }
.star-rating .star.hover { color: var(--gold-light); }

/* ============ HOA DOCS TOGGLE ============ */
.hoa-docs-toggle {
  display: flex; gap: 1rem; margin-top: 0.4rem;
}
.toggle-option {
  display: flex; align-items: center; cursor: pointer;
}
.toggle-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.toggle-label {
  display: inline-block; padding: 0.6rem 1.5rem;
  border: 2px solid var(--gray-200); border-radius: 6px;
  font-weight: 600; font-size: 0.9rem; color: var(--gray-600);
  transition: var(--transition); cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.toggle-option input[type="radio"]:checked + .toggle-label {
  border-color: var(--gold); background: var(--gold-pale); color: var(--navy);
}

/* ============ ARC INFO BOX ============ */
.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--blue-light);
  border: 1px solid rgba(41,128,185,0.2);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-800);
  line-height: 1.6;
}
.info-box svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

/* ============ CTA PROPOSAL BANNER (Index) ============ */
.proposal-banner {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
}
.proposal-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,154,60,0.08) 0%, transparent 60%);
}
.proposal-banner-inner {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto;
}
.proposal-banner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.proposal-banner-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.proposal-banner .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ============ HERO EMAIL LINK ============ */
.hero-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.4);
  transition: var(--transition);
  animation: fadeInUp 0.8s 0.3s ease both;
}
.hero-email:hover { color: var(--cream); text-decoration-color: rgba(255,255,255,0.7); }
.hero-email svg { flex-shrink: 0; }

/* ============ SITELYNC MARKETING PANEL ============ */
.sitelync-panel {
  margin-top: 2.5rem; padding: 2rem 1.75rem;
  background: var(--cream); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--navy);
  border-radius: 8px; text-align: left;
}
.sitelync-panel-title {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--navy); margin-bottom: 0.5rem;
}
.sitelync-panel p {
  font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem;
}
.sitelync-panel-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.7rem 1.5rem; border-radius: 4px;
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--transition); border: 2px solid var(--gold);
}
.sitelync-panel-cta:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.sitelync-panel-hint {
  font-size: 0.85rem !important; color: var(--gray-400) !important;
  font-style: italic; margin-top: 0.75rem; margin-bottom: 0 !important;
}

/* ============ SITELYNC HEADER STRIP ============ */
.sl-header-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--sl-navy); height: 36px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; cursor: pointer; text-decoration: none;
}
.sl-header-strip img { width: 24px; height: 24px; border-radius: 50%; margin-right: 10px; flex-shrink: 0; }
.sl-header-strip-text { color: #fff; font-size: 13px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-header-strip-cta { color: var(--sl-gold); font-weight: 700; margin-left: auto; padding-left: 16px; font-size: 13px; white-space: nowrap; }
@media (max-width: 640px) {
  .sl-header-strip-text span.sl-full { display: none; }
  .sl-header-strip-text span.sl-short { display: inline; }
}
@media (min-width: 641px) {
  .sl-header-strip-text span.sl-short { display: none; }
}
/* Push nav and hero down to account for header strip */
.nav { top: 36px !important; }
.hero { padding-top: calc(80px + 36px + env(safe-area-inset-top, 0px)) !important; }
.page-header { padding-top: calc(7rem + 36px + env(safe-area-inset-top, 0px)) !important; }
@media (max-width: 900px) {
  .nav-links { top: calc(80px + 36px + env(safe-area-inset-top, 0px)) !important; }
}

/* ============ SITELYNC NAV PARTNERSHIP ============ */
.nav-partnership { display: flex; align-items: center; gap: 8px; margin-left: 2px; }
.nav-partnership-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.25); }
.nav-partnership-text { font-size: 11px; color: rgba(255,255,255,0.5); white-space: nowrap; }
.nav-partnership img { width: 28px; height: 28px; border-radius: 50%; }
@media (max-width: 900px) { .nav-partnership { display: none; } }

/* ============ SITELYNC HERO CARD (Pay Dues / Proposal) ============ */
.sl-hero-card {
  background: linear-gradient(135deg, var(--sl-navy) 0%, #1a1b2e 100%);
  padding: 32px; border-radius: 12px; border-bottom: 2px solid var(--sl-gold);
  display: flex; align-items: center; gap: 28px; margin-bottom: 2rem;
}
.sl-hero-card img { width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0; }
.sl-hero-card-body { flex: 1; }
.sl-hero-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
.sl-hero-card p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1rem; }
.sl-hero-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sl-gold); color: var(--sl-navy); padding: 0.7rem 1.5rem;
  border-radius: 4px; font-weight: 700; font-size: 0.85rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
}
.sl-hero-card-cta:hover { background: #e8c89a; transform: translateY(-2px); }
.sl-hero-card-hint { font-size: 0.85rem; color: rgba(255,255,255,0.4); font-style: italic; margin-left: 1rem; }
@media (max-width: 640px) {
  .sl-hero-card { flex-direction: column; text-align: center; padding: 24px; }
  .sl-hero-card img { width: 64px; height: 64px; }
  .sl-hero-card-cta { width: 100%; justify-content: center; }
  .sl-hero-card-hint { margin-left: 0; margin-top: 0.5rem; display: block; }
}

/* ============ SITELYNC FORM TOP BANNER ============ */
.sl-form-banner {
  background: var(--sl-cream); border-left: 4px solid var(--sl-gold);
  padding: 16px 20px; border-radius: 6px; margin-bottom: 2rem;
  display: flex; align-items: center; gap: 14px;
}
.sl-form-banner img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.sl-form-banner p { font-size: 0.9rem; color: var(--sl-navy); line-height: 1.6; margin: 0; }
.sl-form-banner a { color: var(--sl-gold-shadow); font-weight: 700; text-decoration: none; }
.sl-form-banner a:hover { text-decoration: underline; }

/* ============ SITELYNC FLOATING WIDGET ============ */
.sl-widget-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; border: none; padding: 0;
  background: var(--sl-navy); cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition); overflow: hidden;
}
.sl-widget-btn img { width: 100%; height: 100%; border-radius: 50%; }
.sl-widget-btn.dismissed { width: 32px; height: 32px; bottom: 16px; right: 16px; opacity: 0.7; }
@keyframes slPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.sl-widget-btn:not(.dismissed) { animation: slPulse 600ms ease 0s 1; }
.sl-widget-card {
  position: fixed; bottom: 24px; right: 24px; z-index: 51;
  width: 320px; max-width: calc(100vw - 48px);
  background: var(--sl-navy); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  padding: 20px; display: none;
}
.sl-widget-card.open { display: block; }
.sl-widget-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sl-widget-card-head img { width: 48px; height: 48px; border-radius: 50%; }
.sl-widget-card-head span { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.sl-widget-card-close { position: absolute; top: 12px; right: 12px; background: none; border: none; color: rgba(255,255,255,0.4); font-size: 18px; cursor: pointer; }
.sl-widget-card p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 14px; }
.sl-widget-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sl-gold); color: var(--sl-navy); padding: 0.6rem 1.25rem;
  border-radius: 4px; font-weight: 700; font-size: 0.8rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition);
}
.sl-widget-card-cta:hover { background: #e8c89a; }

/* ============ SITELYNC FOOTER PANEL ============ */
.sl-footer {
  background: var(--sl-navy); padding: 48px 24px; border-top: 2px solid var(--sl-gold);
}
.sl-footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.sl-footer img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem; }
.sl-footer p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }
.sl-footer h4 { color: var(--sl-gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 700; }
.sl-footer ul { list-style: none; }
.sl-footer li { margin-bottom: 0.6rem; }
.sl-footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.sl-footer a:hover { color: var(--sl-gold); }
.sl-footer-cta { color: var(--sl-gold) !important; font-weight: 700; margin-top: 0.5rem; display: inline-block; }
@media (max-width: 700px) { .sl-footer-inner { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); padding: 4rem 2rem 2rem; border-top: 2px solid var(--gold); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-brand-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); font-weight: 600; margin-bottom: 1rem; display: block; }
.footer p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 700; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max-w); margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
