* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #333;
  background-color: #efefef;
}

header {
  background: #2c405c;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 60px;
  display: block;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  flex-wrap: nowrap;
}

.nav a,
.nav a:visited,
.nav a:active {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav a:hover {
  color: #deb34f;
}

.linkedin,
.linkedin:visited,
.linkedin:active {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.linkedin svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.linkedin:hover {
  color: #deb34f;
  transform: scale(1.08);
}

/* ANTIGUO NAV */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-buttons a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-buttons a:hover {
  color: #deb34f;
}

/* CONTACT */
.contact-section {
  max-width: 600px;
  margin: 4rem auto;
  background: white;
  padding: 3rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-section h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #2c405c;
}

.contact-section h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form button {
  background: #deb34f;
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #c9a43d;
}

/* FOOTER */
footer {
  background: white;
  padding: 4rem 2rem;
  color: #233b5d;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-left {
  text-align: left;
  flex: 1 1 300px;
}

.footer-left img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-left p {
  margin: 0;
  max-width: 400px;
  color: #233b5d;
  font-size: 1rem;
}

.footer-right {
  text-align: right;
  flex: 1 1 200px;
}

.footer-button {
  display: inline-block;
  background: #deb34f;
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #233b5d;
}

.footer-bottom a {
  color: #deb34f;
  text-decoration: none;
}

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

/* LINKEDIN SECTION */
.linkedin-feed-section {
  padding: 4rem 2rem;
  background: #ffffff;
}

.linkedin-feed-container {
  max-width: 1200px;
  margin: 0 auto;
}

.linkedin-feed-container h1,
.linkedin-feed-container h2 {
  text-align: center;
  font-size: 2.3rem;
  color: #2c405c;
  margin-bottom: 0.5rem;
}

.linkedin-feed-container p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

/* TRUCO PARA OCULTAR MARCA ELFSIGHT */
.eapps-widget-toolbar,
.eapps-widget-toolbar-link,
a[href*="elfsight.com"],
a[href*="elfsightcdn.com"],
[class*="eapps-widget-toolbar"],
[class*="elfsight-widget-toolbar"],
div[class*="eapps"] a[href*="elfsight"],
div[class*="elfsight"] a[href*="elfsight"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}