<!doctype html>
<html lang="es">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <title>Mi Página Básica</title>
  <link rel="stylesheet" href="styles.css" />
</head>
<body>
  <header class="site-header">
    <h1>Mi Página Básica</h1>
    <nav>
      <a href="#inicio">Inicio</a>
      <a href="#servicios">Servicios</a>
      <a href="#contacto">Contacto</a>
    </nav>
  </header>

  <main>
    <section id="inicio" class="hero">
      <h2>Bienvenido</h2>
      <p>Esta es una página de ejemplo, simple y responsive.</p>
      <button id="cta">Contáctame</button>
    </section>

    <section id="servicios" class="cards">
      <article class="card">
        <h3>Servicio 1</h3>
        <p>Descripción breve del servicio 1.</p>
      </article>
      <article class="card">
        <h3>Servicio 2</h3>
        <p>Descripción breve del servicio 2.</p>
      </article>
      <article class="card">
        <h3>Servicio 3</h3>
        <p>Descripción breve del servicio 3.</p>
      </article>
    </section>

    <section id="contacto" class="contact">
      <h2>Contacto</h2>
      <form id="contactForm">
        <label>
          Nombre
          <input type="text" name="name" required />
        </label>
        <label>
          Email
          <input type="email" name="email" required />
        </label>
        <label>
          Mensaje
          <textarea name="message" rows="4" required></textarea>
        </label>
        <button type="submit">Enviar</button>
      </form>
      <div id="formMessage" aria-live="polite"></div>
    </section>
  </main>

  <footer class="site-footer">
    <small>© <span id="year"></span> Mi Página Básica</small>
  </footer>

  <script src="script.js"></script>
</body>
</html>

