/* ==========================================================================
   1. VARIABLES, REINICIO Y ESTILOS BASE
   ========================================================================== */
:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --accent: #c11c3a;
  --gray: #f4f4f4;
  --font-main: 'Helvetica', 'Arial', sans-serif;
  --font-headings: 'Helvetica', 'Arial', sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.page-content {
  flex: 1;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 1rem 2rem;
  box-sizing: border-box;
}
/* ==========================================================================
   2. CABECERA Y NAVEGACIÓN
   ========================================================================== */
.header {
  background-color: var(--white);
  padding: 0.8rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 600;
}

.logo-img {
  max-height: 70px;
  width: auto;
}

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

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-contact {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #a81832;
  color: var(--white);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--black);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

/* ==========================================================================
   3. SECCIÓN HERO
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--white);
  text-align: left;
}

.skyline {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 15%;
  left: 2%;
  right: 2%;
  max-width: 700px;
  color: var(--black);
  background-color: rgba(245, 233, 212, 0.65);
  text-align: left;
  padding: 1.5rem;
  border-radius: 8px;
}

.hero-text h1 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
  line-height: 1.1;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 0.3rem;
}

/* ==========================================================================
   2. CABECERA Y NAVEGACIÓN
   ========================================================================== */
.header {
  background-color: var(--white);
  padding: 0.8rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 600;
}

.logo-img {
  max-height: 70px;
  width: auto;
}

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

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-contact {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #a81832;
  color: var(--white);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--black);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

/* ==========================================================================
   3. SECCIÓN HERO
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--white);
  text-align: left;
}

.skyline {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  top: 15%;
  left: 2%;
  right: 2%;
  max-width: 700px;
  color: var(--black);
  background-color: rgba(245, 233, 212, 0.65);
  text-align: left;
  padding: 1.5rem;
  border-radius: 8px;
}

.hero-text h1 {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0;
  line-height: 1.1;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 0.3rem;
}

/* ==========================================================================
   4. SECCIÓN MISSION
   ========================================================================== */
.mission {
  background: var(--white);
  padding: 4rem 0;
  text-align: left;
}

.mission-title {
  font-family: var(--font-headings);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--black);
}

.mission-text {
  max-width: 900px;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}


/* ==========================================================================
   5. SECCIÓN CONTACTO Y FORMULARIO
   ========================================================================== */
.contact {
  background: var(--gray);
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  background-image: linear-gradient(rgba(193, 28, 58, 0.7), rgba(193, 28, 58, 0.9)),
    url('https://storage.googleapis.com/img_meltemi/SITI/societari/mistraladv/bg-contact.jpeg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.contact-info h3 {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Campos de Formulario Nativo */
.contact-form-container {
  width: 100%;
}


.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--black);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  box-sizing: border-box;
  background-color: #fff;
  color: #333;
}

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

.btn-submit {
  background-color: var(--accent);
  color: #fff;
  font-weight: bold;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #a81832;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  margin: 0 4px;
}

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

/* ==========================================================================
   7. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    gap: 1rem;
    align-items: center;
  }

  .nav-menu.show {
    display: flex;
  }

.logo-img {
    max-height: 50px;
  }

  .skyline {
    height: 350px;
  }

  .hero-text {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    background-color: rgba(245, 233, 212, 0.9);
    margin: 0;
    padding: 1.5rem 1.2rem;
    border-radius: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn-submit {
    width: 100%;
  }
}

