/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; color: #333; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1e73be; }

/* === Layout === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }
.center { text-align: center; }
section { padding: 3rem 0; }

/* === Header === */
.site-header { background: #fff; border-bottom: 1px solid #ddd; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .5rem 1rem; }
.logo img { height: 50px; width: auto; }
.menu-checkbox { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid #ccc; padding: .25rem .5rem; font-size: 1.25rem; cursor: pointer; border-radius: 4px; }
.main-nav ul { list-style: none; }
.main-nav > ul { display: flex; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .75rem; text-decoration: none; color: #333; font-size: .9rem; }
.main-nav a:hover { color: #1e73be; }
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #ddd; min-width: 200px; z-index: 10; flex-direction: column; }
.has-dropdown:hover .dropdown { display: flex; }
.dropdown a { padding: .5rem 1rem; font-size: .85rem; }
.dropdown a:hover { background: #f5f5f5; }

/* === Hero === */
.hero { position: relative; background-size: cover; background-position: center; min-height: 400px; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.hero-content { position: relative; z-index: 1; padding: 2rem; }
.hero h1 { font-size: 2.5rem; margin-bottom: .5rem; }
.hero p { font-size: 1.25rem; }

/* === Buttons === */
.btn { display: inline-block; background: #1e73be; color: #fff; padding: .75rem 1.5rem; text-decoration: none; border-radius: 4px; font-weight: 600; }
.btn:hover { background: #155a96; }

/* === Cards === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card h3 { margin-bottom: .5rem; }

/* === Icon Grid === */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.icon-item img { width: 64px; height: 64px; margin: 0 auto 1rem; }
.icon-item h4 { margin-bottom: .5rem; }
.icon-item p { font-size: .85rem; color: #555; }

/* === Gallery === */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 2px; }

/* === Testimonials === */
.testimonials { background: #f9f9f9; }
.testimonial-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial { padding: 1.25rem; border-left: 3px solid #1e73be; background: #fff; }
.testimonial p { font-style: italic; margin-bottom: .5rem; }
.testimonial cite { font-size: .85rem; color: #666; }

/* === Trial CTA === */
.trial-cta { background: #1e73be; color: #fff; }
.trial-cta a { color: #fff; }
.trial-cta .btn { background: #fff; color: #1e73be; }
.trial-cta .btn:hover { background: #e8e8e8; }

/* === Contact CTA === */
.contact-cta { background: #222; color: #fff; }
.contact-cta a { color: #fff; }
.contact-cta .btn { background: #1e73be; color: #fff; }

/* === Footer === */
.site-footer { background: #111; color: #ccc; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .25rem; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }

/* === Content Pages === */
.page-header { background: #f5f5f5; padding: 3rem 0; text-align: center; }
.page-header h1 { font-size: 2rem; }
.page-content { padding: 3rem 0; }
.page-content h2 { margin: 2rem 0 1rem; }
.page-content p { margin-bottom: 1rem; }
.page-content img { margin: 1.5rem 0; border-radius: 4px; }

/* === Two-Column === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin: 2rem 0; }
.two-col img { border-radius: 4px; }

/* === Instructors === */
.instructor-section { margin-bottom: 2rem; }
.instructor-section h3 { border-bottom: 2px solid #1e73be; padding-bottom: .5rem; margin-bottom: 1rem; }
.instructor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.instructor-card { padding: 1rem; border: 1px solid #eee; border-radius: 4px; }
.instructor-card strong { display: block; }
.instructor-card span { font-size: .85rem; color: #666; }

/* === Schedule === */
.schedule-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.schedule-table th, .schedule-table td { border: 1px solid #ddd; padding: .75rem; text-align: left; }
.schedule-table th { background: #1e73be; color: #fff; }
.schedule-table tr:nth-child(even) { background: #f9f9f9; }

/* === Rates === */
.rate-card { border: 2px solid #1e73be; border-radius: 8px; padding: 2rem; text-align: center; max-width: 400px; margin: 1rem; }
.rate-card .price { font-size: 2.5rem; font-weight: 700; color: #1e73be; }
.rate-card .period { color: #666; }
.rates-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 2rem 0; }

/* === Trial Form === */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"] { width: 100%; padding: .6rem .75rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.form-field input:focus { outline: 2px solid #1e73be; border-color: #1e73be; }
.form-field--checkbox label { display: flex; gap: .5rem; align-items: flex-start; font-weight: normal; }
.form-field--checkbox input { margin-top: .2rem; flex-shrink: 0; }
.form-optional { font-weight: normal; color: #666; font-size: .85rem; }
.form-success { background: #e6f4ea; border: 1px solid #a0d4aa; color: #1a5c28; padding: 1rem 1.25rem; border-radius: 4px; margin-bottom: 1.5rem; }
.form-error   { background: #fdecea; border: 1px solid #f4a9a8; color: #7a1a19; padding: 1rem 1.25rem; border-radius: 4px; margin-bottom: 1.5rem; }

/* === Video === */
.video-container { max-width: 800px; margin: 2rem auto; }
video { width: 100%; border-radius: 4px; }

/* === Map === */
.map-link { display: block; margin: 1.5rem auto; max-width: 768px; text-decoration: none; }
.map-static { width: 100%; border-radius: 4px; }
.map-link span { display: block; margin-top: .5rem; color: #1e73be; font-weight: 600; }

/* === Mobile === */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #ddd; }
  .menu-checkbox:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; }
  .dropdown { position: static; border: none; display: none; padding-left: 1rem; }
  .has-dropdown:hover .dropdown { display: flex; }
  .hero h1 { font-size: 1.75rem; }
  .two-col { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
