:root {
  --color-primary: #6b7f5b; /* verde oliva */
  --color-dark: #222;
  --color-light: #f7f7f7;
  --color-text: #444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 50px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
}
.nav:last-child {
  color: var(--color-light);
}

.hero {
  background: var(--color-light);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--color-dark);
}

.hero p {
  margin: 1rem 0 2rem;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: var(--color-light);
}

h2 {
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
}

.services-grid li {
  background: #fff;
  padding: 1rem;
  border-left: 4px solid var(--color-primary);
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  margin-top: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

input,
textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
}

textarea {
  min-height: 120px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  align-self: flex-start;
}

.footer {
  background: #111;
  color: #ccc;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #ccc;
  margin-right: 1rem;
  text-decoration: none;
}

/* ---------- Carrusel ---------- */

.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 4px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* ---------- Hover & interacción ---------- */

.nav a:hover {
  color: var(--color-primary);
}

.btn-primary:hover {
  background: #5c6f4f;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.services-grid li:hover {
  transform: translateY(-3px);
  font-weight: bold;
  transition: 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lang-switch button {
  background: none;
  border: none;
  margin-left: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.lang-switch button:hover {
  color: var(--color-primary);
}

button[data-lang] img {
  width: 35px;
  height: auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

#form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-success {
  color: #2e7d32;
}

.form-error {
  color: #c62828;
}

#house-rules {
  padding: 4rem 1rem;
  background-color: #f7f7f7;
}

#house-rules h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.rules-list {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 1.2rem;
}

.rules-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

#surroundings {
  padding: 4rem 1rem;
}

#surroundings h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#faq {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

#faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#faq details {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  padding: 1rem 1.2rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
}

#faq summary {
  font-weight: 600;
  cursor: pointer;
}

#faq details[open] {
  background-color: #f9f9f9;
}

#reviews {
  padding: 4rem 1rem;
  background-color: #f7f7f7;
  text-align: center;
}

#reviews p {
  max-width: 700px;
  margin: 1rem auto 0 auto;
  line-height: 1.6;
}

.map iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
}
