/* Timeshare Advisors Group - Main Stylesheet */
/* Brand colors: Navy #00123d, Cream #e9d9c0, Light cream #f5ede1, Gray #606d87 */

:root {
  --navy: #00123d;
  --navy-light: #021b44;
  --navy-hover: #001a4f;
  --cream: #e9d9c0;
  --cream-light: #f5ede1;
  --gray: #606d87;
  --gray-light: #a0aabb;
  --white: #ffffff;
  --green: #2d8a4e;
  --red: #c43c3c;
  --shadow: 0 2px 8px rgba(0,18,61,0.08);
  --shadow-md: 0 4px 16px rgba(0,18,61,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #333;
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === Top Bar === */
.topbar {
  background: var(--navy);
  color: var(--cream-light);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: var(--cream-light); }
.topbar .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar .badge { display: flex; align-items: center; gap: 6px; }

/* === Header === */
.header {
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.header .logo img { height: 56px; width: auto; }
.header nav { display: flex; align-items: center; gap: 24px; }
.header nav a { color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.header nav a:hover { color: var(--gray); text-decoration: none; }
.header .nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: #246d3e; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-hover); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-cream { background: var(--cream); color: var(--navy); }
.btn-cream:hover { background: #d9c9b0; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; }
.hero .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 30px; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; opacity: 0.85; }
.hero-badge .icon { font-size: 1.5rem; }

/* === Sections === */
.section { padding: 64px 0; }
.section-alt { background: var(--cream-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }
.section-navy h3 { color: var(--white); }

.section-tag { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; max-width: 600px; margin: 0 auto 3rem; color: var(--gray); font-size: 1.1rem; }

/* === Cards === */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: #555; }

/* === Process Steps === */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.step { text-align: center; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--gray); }

/* === Guarantee Banner === */
.guarantee-banner {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
}
.guarantee-banner h3 { color: var(--navy); margin-bottom: 0.5rem; }
.guarantee-banner p { color: #444; }

/* === Stats === */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat .num { font-size: 2.5rem; font-weight: 700; color: var(--navy); }
.stat .label { color: var(--gray); font-size: 0.95rem; }

/* === Guide Cards === */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.guide-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.guide-card .guide-body { padding: 24px; }
.guide-card h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.15rem; }
.guide-card p { color: var(--gray); font-size: 0.95rem; }

/* === CTA Section === */
.cta-section { text-align: center; padding: 64px 0; }
.cta-section .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* === Comparison Table === */
.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.comparison-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid #e0e0e0; }
.comparison-table tr:nth-child(even) { background: var(--cream-light); }

/* === FAQ === */
.faq-item { border: 1px solid #e0e0e0; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 24px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--white); }
.faq-question:hover { background: var(--cream-light); }
.faq-question .arrow { transition: transform 0.2s; font-size: 1.2rem; }
.faq-question.active .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 24px; }
.faq-answer.open { max-height: 500px; padding: 0 24px 18px; color: #555; }

/* === Contact Form === */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,18,61,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { width: auto; margin-top: 5px; }
.form-check label { font-weight: 400; font-size: 0.9rem; color: #555; }

.contact-grid { display: grid; grid-template-columns: 1fr 350px; gap: 40px; }
.contact-info { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.contact-info h3 { color: var(--white); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1rem; opacity: 0.9; }
.contact-info a { color: var(--cream); }

/* === Footer === */
.footer {
  background: var(--navy);
  color: var(--cream-light);
  padding: 48px 0 24px;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { color: var(--cream-light); opacity: 0.8; font-size: 0.9rem; }
.footer ul li a:hover { opacity: 1; text-decoration: underline; }
.footer .footer-logo { margin-bottom: 1rem; }
.footer .footer-logo img { height: 50px; filter: brightness(0) invert(1); }
.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer .footer-bottom a { color: var(--cream-light); }

/* === Article === */
.article { max-width: 800px; margin: 0 auto; }
.article h2 { margin-top: 2rem; }
.article p { margin-bottom: 1rem; color: #444; }
.article ul, .article ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 4px solid var(--cream);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: var(--cream-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article .warning {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1.5rem 0;
}
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article table th { background: var(--navy); color: var(--white); padding: 10px; text-align: left; }
.article table td { padding: 10px; border-bottom: 1px solid #e0e0e0; }

.breadcrumb { padding: 16px 0; font-size: 0.9rem; color: var(--gray); }
.breadcrumb a { color: var(--gray); }

/* === State Grid === */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.state-grid a {
  padding: 10px 16px;
  background: var(--cream-light);
  border-radius: var(--radius);
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.state-grid a:hover { background: var(--cream); text-decoration: none; }

/* === Testimonial === */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.testimonial .stars { color: #f5a623; font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial .quote { font-size: 1.1rem; color: #444; margin-bottom: 1rem; font-style: italic; }
.testimonial .author { font-weight: 600; color: var(--navy); }
.testimonial .location { color: var(--gray); font-size: 0.9rem; }

/* === Fee Table === */
.fee-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.fee-table th { background: var(--navy); color: var(--white); padding: 12px; text-align: left; }
.fee-table td { padding: 12px; border-bottom: 1px solid #e0e0e0; }
.fee-table .fee-name { font-weight: 600; color: var(--navy); }
.fee-table .fee-amount { font-weight: 700; color: var(--green); }
.fee-table .hidden-truth { color: var(--red); font-size: 0.9rem; }

/* === Responsive === */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); gap: 16px; }
  .header nav.open { display: flex; }
  .header .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .topbar .container { flex-direction: column; gap: 8px; }
  .topbar .topbar-right { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-badges { gap: 16px; }
}

@media (max-width: 480px) {
  .hero .btns { flex-direction: column; }
  .hero .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
}