/* CSS Text Document */
body {
	margin:0px auto;
	padding:0px;
	background-color: #e9decc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;

	font-variant: normal;
	text-transform: none;

	text-decoration: none;
}
:root {
      --primary: #E9DECF;
      --primary-dark: #D8C9B5;
      --primary-light: #F5EFE6;
      --accent: #8B7355;
      --text-dark: #2C2C2C;
      --text-light: #5A5A5A;
      --white: #FFFFFF;
      --gradient-primary: linear-gradient(135deg, #E9DECF 0%, #D8C9B5 100%);
      --gradient-secondary: linear-gradient(135deg, #F5EFE6 0%, #E9DECF 100%);
      --gradient-dark: linear-gradient(135deg, #8B7355 0%, #6B5740 100%);
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    }
h3 {
  text-align: center;
}
/* ----- Menú horizontal ----- */
.menu {
  background-color: #e9decc; /* Beige claro */
  border: 2px solid #c68f5e; /* Terracota */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  height: 50px;
  vertical-align: middle;
  color: #492d1c;
}

.menu ul {
  margin: 15px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
   color: #492d1c;
}

.menu li {
  margin: 0 10px 0 10px;


}
header {color:#5a2e2e;width: 95%;margin: 0 auto; }

a:link, a:visited, a:hover, a:active  {
   color: #492d1c;
   text-decoration: underline;
}
h1 {
	color: #492d1c;
	font-size: 22px;
text-align: center;
}
h2 {
	color: #492d1c;
		font-size: 18px;
}
p {
	color: #554b41;
	font-size: 16px;
}
section {
	width: 95%;
	margin: 0 25px;
  background-color: #e9decc;
  height: auto;
  overflow: hidden;
}


.btn:link {
		color: #554b41;
			text-decoration: underline;
}
.btn:visited {
	color: 	#554b41;
	text-decoration: underline;
}
.btn:hover {
	color: 	#554b41;
	text-decoration: underline;
}
.btn:active {
	color: 	#554b41;
		text-decoration: underline;
}
.franja {
	width: 100%;
	height: 20px;
	overflow: hidden;
}
 .text-box {
    width: 55%;
    font-size: 1.1em;
    line-height: 1.6;
	float: left;
		overflow: hidden;
  }
.image-boxjpg {
	width: 45%;
	height: auto;
	float: left;
		overflow: hidden;
}

  .image-boxjpg img {
    max-width: 100%;
	height: auto;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  }
  /* Frase final a todo lo ancho, centrada y con el color del encabezado */
  .inicio-cta{
    text-align: center;
    	color: #492d1c;              /* mismo color que el título */
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 1px;
    margin: 56px 0 40px;
	width: 100%;
	float: left;
  }
  

  /* Contactos */
  .parroquias{ margin-top:60px; }
  .card{
      background-color: #e9decc;; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,.12);
    padding:20px; margin-bottom:22px;
  }
  .card h4{ margin:0 0 8px 0; color:var(--vino-osc); font-size:1.1rem; }
  .dato{ margin:4px 0; font-size:1rem; }
  .dato strong{ color:#000; }

/* Sección de fechas */
  .fechas{
    margin-top:40px;
  }

  .fechas h3{
    color:var(--vino-osc);
    margin-bottom:20px;
    font-size:1.3rem;
  }

  .grupo{
    margin-bottom:30px;
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
  }

  .grupo h4{
    color:var(--vino);
    margin:0 0 10px 0;
  }

  .grupo ul{
    list-style:disc;
    padding-left:20px;
    margin:0 0 10px 0;
  }

  .grupo p{
    margin:6px 0;
  }
  .contiene-cuestio {
          flex: 1;
      min-width: 300px;
      float: left;
      height: auto;
      overflow: hidden;
       border: 2px solid #c68f5e; /* Terracota */
  }
    .cuestionario {
      flex: 1;
      min-width: 300px;
    }
/* Formulario */
    .form-container {
      /*background: var(--white);*/
      border-radius: 15px;
      padding: 30px;
      box-shadow: var(--shadow);
    }

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

    .card-icon {
      width: 50px;
      height: 50px;
      background: var(--gradient-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 20px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-dark);
    }

    input, textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--primary-dark);
      border-radius: 8px;
      font-size: 16px;
      transition: all 0.3s ease;
      background: var(--primary-light);
    }

    input:focus, textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.2);
    }

    textarea {
      min-height: 120px;
      resize: vertical;
    }

    .submit-btn {
      background: var(--gradient-dark);
      color: white;
      border: none;
      padding: 15px 25px;
      border-radius: 50px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 auto;
    }

    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(139, 115, 85, 0.3);
    }

    .mensaje-exito, .mensaje-error {
      padding: 15px;
      border-radius: 8px;
      margin-top: 20px;
      display: none;
      align-items: center;
      gap: 10px;
    }

    .mensaje-exito {
      background: rgba(76, 175, 80, 0.1);
      color: #2e7d32;
      border: 1px solid #4caf50;
    }

    .mensaje-error {
      background: rgba(244, 67, 54, 0.1);
      color: #c62828;
      border: 1px solid #f44336;
    }