/* ============================================================
   Mike Tamayo Coaching — Stylesheet
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333333;
  background: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 400; margin-bottom: 1rem; }

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

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid #1a1a1a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-dark {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

.btn-dark:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
}

.btn-outline {
  background: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

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

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
  transition: color 0.2s;
}

.nav-links a:hover { color: #000000; }

.nav-links .btn {
  font-size: 0.75rem;
  padding: 10px 24px;
}

.nav-links .btn-dark {
  color: #ffffff;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: all 0.25s;
}

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  padding: 24px 32px 32px;
  gap: 20px;
  align-items: flex-start;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 0 24px;
}

.hero-content p {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 200;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-content .hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section--light { background: #f7f7f5; }
.section--pt-sm { padding-top: 32px; }
.section--pb-sm { padding-bottom: 32px; }

hr.section-rule {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 32px;
}
.section--dark {
  background: #1a1a1a;
  color: #ffffff;
}

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1rem;
}

.section--dark .section-label { color: #aaa; }

.text-center { text-align: center; }

/* ── Homepage: Mission section ────────────────────────────── */
.mission-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  margin: 0 auto 2.5rem;
  text-align: left;
}

/* ── Quote / Pull Section ─────────────────────────────────── */
.quote-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 96px 32px;
  text-align: center;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.quote-section blockquote {
  position: relative;
  z-index: 1;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 200;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.quote-section blockquote::before { content: '\201C'; }
.quote-section blockquote::after  { content: '\201D'; }

.quote-section .btn {
  position: relative;
  z-index: 1;
}

.quote-attribution {
  position: relative;
  z-index: 1;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  padding: 38px 32px;
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 1rem;
  font-weight: 300;
}

.cta-banner p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .cta-banner p { color: #aaa; }

.quote-section .cta-banner {
  position: relative;
  z-index: 1;
}

.quote-section .cta-banner h2 { color: #ffffff; }
.quote-section .cta-banner p  { color: rgba(255, 255, 255, 0.8); }

/* ── Bio Layout ───────────────────────────────────────────── */
.bio-grid {
  overflow: hidden;
}

.bio-text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  margin-bottom: 2rem;
  font-weight: 400;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 1.5rem;
}

.bio-text .highlight {
  font-size: 1.15rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  margin: 2rem 0;
}

.bio-photo {
  float: right;
  width: 380px;
  margin: 0 0 32px 48px;
}

.bio-photo img {
  width: 100%;
  object-fit: cover;
}

/* ── Certifications ───────────────────────────────────────── */
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.certification-block {
  overflow: hidden;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  padding: 36px 32px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote::before { content: '\201C'; }
.testimonial-card blockquote::after  { content: '\201D'; }

.testimonial-name {
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

/* ── Services ─────────────────────────────────────────────── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid #e8e8e8;
}

.service-block:last-of-type { border-bottom: none; }

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.service-content h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.service-content p {
  color: #555;
  line-height: 1.9;
}

.service-topics {
  margin-top: 1.5rem;
}

.service-topics li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.service-topics li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #999;
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-center {
  text-align: center;
  padding: 88px 32px;
}

.contact-center p {
  font-size: 1.1rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: #1a1a1a;
  color: #aaaaaa;
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaaaaa;
  transition: color 0.2s;
}

.footer-links a:hover { color: #ffffff; }

.footer-copy {
  font-size: 0.78rem;
  color: #666;
  text-align: right;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .bio-photo {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }
  .nav-links { display: none; }

  .hero { height: 35vh; min-height: 200px; }

  .bio-photo {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 32px;
  }

  .bio-photo img { max-height: 420px; width: 100%; object-fit: cover; }

  .service-block {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }

  .service-block.reverse { direction: ltr; }

  .service-image img { height: 280px; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-copy { text-align: left; }
}

@media (max-width: 480px) {
  .container, .container--narrow { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-logo img { height: 36px; }
}
