:root {
  --anthrazit: #545454;
  --beige: #e6dcc7;
  --terracotta: #c5724e;
  --turkis: #3494ba;
  --hellblau: #bfd5d9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--anthrazit);
  background-color: #ffffff;
  line-height: 1.6;
}

/* NAVBAR */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--turkis);
  color: white;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-left a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: lowercase;
}

.nav-left a:hover {
  text-decoration: underline;
}

.nav-brand {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  margin-left: 1rem;
  padding-left: 1rem;
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.lang-btn.active {
  opacity: 1;
}

.lang-icon {
  width: 25px;
  height: 25px;
  display: block;
}



/* HERO */

.hero {
  min-height: 80vh;  /* slider grande */
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.4)
    ),
    url("slider.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #202020;

  display: flex;
  align-items: center;       /* centrado vertical */
  justify-content: center;
  text-align: center;
  color: white;
  padding: 4rem 1rem 3rem;
  margin-top: 48px;          /* altura del header */
}

.hero-inner {
  max-width: 600px;
  transform: translateY(-10%); /* lo sube un poco para parecerse a la captura */
}

.hero-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  margin: 0 auto 25rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--turkis);
  border: none;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--hellblau);
}

.btn-primary2 {
  display: inline-block;
  background-color: var(--hellblau);
  border: none;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-primary2 {
  display: inline-block;
  background-color: var(--hellblau);
  border: none;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
}

/* botón del hero centrado debajo del logo */
.hero-cta {
  margin-top: 0.5rem;
}

/* SECTIONS */

main {
  background-color: var(--beige);
}

section {
  padding: 3rem 1.5rem;
  line-height: 2.5;
}

/* contenedor de texto centrado y legible */
.content {
  max-width: 900px;
  margin: 0 auto;
}

/* TITLES Y TEXTO */

h2.section-title {
  text-transform: lowercase;
  margin-bottom: 0.4rem;
  font-size: 1.9rem;
  border-bottom: 2px solid var(--terracotta);
  display: inline-block;
  padding-bottom: 0.3rem;
  color: var(--turkis);
}

.section-subtitle {
  margin-top: 0.1rem;
  margin-bottom: 1.8rem;
  color: var(--turkis);
  font-size: 1.05rem;
  font-weight: 500;
}

p + p {
  margin-top: 1rem;
}

/* SECTION COLORS */
.section-beige {
  background: var(--beige);
  padding: 4rem 1.5rem;
}

.section-hellblau {
  background: var(--hellblau);
  padding: 4rem 1.5rem;
}

.section-turkis {
  background: var(--turkis);
  color: white;
  padding: 6rem 1.5rem;
  text-align: center;
}

/* CONTACT SECTION */
.contact-center {
  text-align: center;
}

.contact-logo {
  width: 120px;
  margin-bottom: 2rem;
}

.contact-title {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-lines {
  font-size: 0.95rem;
}

.contact-lines a {
  color: white;
  text-decoration: none;
}

.contact-lines a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 700px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero {
    padding: 4rem 1.2rem 3rem;
    min-height: 70vh;
  }

  .hero-inner {
    transform: translateY(-5%);
  }
}

/* CONTACT FORM */

.contact-form {
  max-width: 520px;
  margin: 0;
  text-align: left;
}

.form-row {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 3px;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.contact-submit {
  margin-top: 0.5rem;
}

/* === Fila con 2 campos: NAME / PHONE === */
.form-row-inline {
  display: flex;
  gap: 1rem;
}

.form-row-inline .form-field {
  flex: 1;
}

/* en móviles hacemos que no quede demasiado pegado */
@media (max-width: 700px) {
  .contact-form {
    width: 100%;
  }

  /* si en móvil los quieres también en 1 sola columna, dejamos esto;
     si los quieres en 2 siempre, BORRA este bloque */
  .form-row-inline {
    flex-direction: column;
  }
}


/* CONTENEDOR CONTACTO */

.contact-wrapper {
  text-align: center;
}

.contact-logo-container {
  margin-bottom: 2rem;
}

.contact-columns {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 1.5rem; /* separación uniforme respecto al logo */
}

/* lado izquierdo: datos de contacto */
.contact-left {
  text-align: left;
  max-width: 250px;
  /* IMPORTANTE: sin padding-top aquí */
}

/* lado derecho: formulario */
.contact-right {
  flex: 1;
  max-width: 450px;
}


/* móvil */
@media (max-width: 800px) {
  .contact-columns {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  .contact-left {
    margin: 0 auto;
    text-align: center;
    padding-top: 0;   /* en móvil ya no hace falta bajar nada */
  }

  .contact-right {
    margin: 0 auto;
  }
}
