/* ============================================================
   AI Correcto — aicorrecto.com
   Brand stylesheet
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #404040;
  background: #fff;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* --- Colours --- */
:root {
  --blue:        #2E6DA4;
  --teal:        #1A5C6B;
  --teal-dark:   #1A3A4A;
  --body:        #404040;
  --sub:         #595959;
  --light-blue:  #EEF4FB;
  --divider:     #C5D8ED;
  --green:       #27AE60;
  --white:       #FFFFFF;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.section--light { background: var(--light-blue); }
.section--teal  { background: var(--teal); color: var(--white); }
.section--dark  { background: var(--teal-dark); color: var(--white); }

.section__headline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 24px;
}

.section--teal  .section__headline,
.section--dark  .section__headline { color: var(--white); }

.section__body { font-size: 1.05rem; color: var(--body); max-width: 720px; }
.section--teal .section__body,
.section--dark .section__body { color: rgba(255,255,255,0.9); }

.section__body p + p { margin-top: 16px; }

.text-centre { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 40px 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }

.btn--teal {
  background: var(--teal);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--teal);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  height: 80px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo img {
  height: 70px;
  width: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0;
  background: var(--white);
}

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

.hero__headline {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--body);
  margin-bottom: 16px;
}

.hero__support {
  font-size: 0.95rem;
  color: var(--sub);
  margin-bottom: 32px;
}

.hero__image img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  max-height: 480px;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem .section__body { max-width: 760px; }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution .section__body { max-width: 760px; }

/* ============================================================
   RULES GRID
   ============================================================ */
.rules__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.rule-card {
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  padding: 24px;
}

.rule-card__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}

.rule-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.rule-card__desc {
  font-size: 0.95rem;
  color: var(--body);
}

.rules__cta {
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--sub);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */
.who__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.who__col {
  font-size: 1.05rem;
  color: var(--body);
}

.who__not {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--sub);
  text-align: center;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.about__photo img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}

.about__caption {
  font-size: 0.85rem;
  color: var(--sub);
  margin-top: 8px;
  text-align: center;
}

.about__text p + p { margin-top: 16px; }

.about__legal {
  font-size: 0.85rem;
  color: var(--sub);
  margin-top: 24px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__placeholder {
  font-size: 1.1rem;
  color: var(--sub);
  font-style: italic;
  text-align: center;
  margin-top: 24px;
}

/* Testimonial card (for future use) */
.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card__stars {
  color: #F5A623;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--body);
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sub);
}

/* ============================================================
   FINAL BUY
   ============================================================ */
.buy__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin: 16px auto 32px;
  max-width: 600px;
  text-align: center;
}

.buy__small {
  margin-top: 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.buy__small a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer__logo img {
  height: 70px;
  width: auto;
}

.footer__centre {
  text-align: center;
  font-size: 0.85rem;
}

.footer__right {
  text-align: right;
  font-size: 0.85rem;
}

.footer__right a { color: rgba(255,255,255,0.75); }
.footer__right a:hover { color: var(--white); }

.footer__small {
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
  .hero__headline { font-size: 2rem; }

  .rules__grid { grid-template-columns: 1fr; }
  .who__cols { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 320px; }

  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__logo { display: flex; justify-content: center; }
  .footer__right { text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .section__headline { font-size: 1.6rem; }
  .hero__headline { font-size: 1.7rem; }
  .btn { width: 100%; text-align: center; }
  .nav__logo img { height: 58px; }
}
