/* FUENTES */
/* === FUENTE + ESTILO GLOBAL === */
body {
  font-family: 'Lora', serif;
  margin: 0;
  background: url('img/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #111;
  line-height: 1.7;
  position: relative;
  z-index: 0;
}
/* Estilo general botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px 5px;
  background-color: #1a8a8a;
  color: white;
  font-family: 'Lora', serif;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #157575;
  transform: translateY(-2px);
}

/* Contenedor centrado */
section#cita {
  max-width: 800px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

/* RESPONSIVE: Para pantallas menores a 600px */
@media (max-width: 600px) {
  .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 10px auto;
    font-size: 1.1rem;
  }

  section#cita h2 {
    font-size: 1.8em;
  }

  section#cita p {
    font-size: 1rem;
  }
}

/* === DEGRADADOS SUAVES EN body === */
body::before,
body::after {
  content: '';
  position: fixed;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}

body::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

body::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

/* TÍTULOS */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #1a3c6e;
  margin-bottom: 0.5em;
  text-align: center;
}

h2 {
  font-size: 2em;
  margin-top: 80px;
}

/* HEADER CON DEGRADADO INFERIOR */
header {
  position: relative;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,0.3) 100%),
              url('img/fondo.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.overlay {
  background: rgba(255, 255, 255, 0.8); /* fondo claro para header */
  padding: 60px 20px;
  border-radius: 10px;
}

header h1 {
  font-size: 3em;
  color: #1a3c6e;
}

header p {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 30px;
}

.btn {
  background-color: #1a3c6e;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #122949;
}

.btn-whatsapp {
  background-color: #25d366;
}

section {
  padding: 60px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}

#sobre-mi .contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

#sobre-mi img {
  width: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.servicio h3 {
  color: #1a3c6e;
  margin-bottom: 10px;
}

.servicio p {
  color: #222;
  font-weight: 300;
}


.flecha-abajo {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  animation: bounce 2s infinite;
  z-index: 2;
}

.flecha-abajo a {
  color: #fff;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.titulo-servicios {
  font-family: 'Playfair Display', serif;
  font-size: 2.4em;
  text-align: center;
  color: #1a3c6e;
  margin-bottom: 60px;
}

.servicios-elegantes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.tarjeta-servicio {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-left: 5px solid #2db6a3;
  padding: 30px 25px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.tarjeta-servicio:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.servicio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.servicio-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  color: #2db6a3;
  margin: 0;
}

.icono {
  font-size: 2em;
  color: #2db6a3;
}

.tarjeta-servicio p {
  font-size: 0.95em;
  line-height: 1.7;
  color: #222;
}
footer {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  padding: 60px 30px 30px;
  color: #1a3c6e;
  font-family: 'Lora', serif;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 280px;
}

.footer-col h3, .footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.footer-col p {
  margin: 8px 0;
  font-size: 1em;
  color: #1a3c6e;
}

.footer-col a {
  color: #1a3c6e;
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  text-decoration: underline;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 12px;
  background-color: #25d366;
  padding: 10px 22px;
  color: white;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ea955;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  font-family: 'Lora', serif;
  color: #1a3c6e;
}

input, button {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
}

input:focus {
  outline: 2px solid #2c7a7b;
}

button.btn {
  background-color: #2c7a7b;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button.btn:hover {
  background-color: #1b4e4f;
}
