@media (max-width: 1200px) {
  .item:nth-child(odd) .contenido {
    padding-left: 60px;
    padding-right: 20px;
  }

  .item:nth-child(even) .contenido {
    padding-left: 60px;
    padding-right: 60px;
  }

  .titulo-principal h2 {
    font-size: 23px;
    text-align: center;
    white-space: normal;
  }

  .contenido p {
    font-size: 17px;
  }

  .contacto {
    gap: 35px;
    padding: 60px;
    overflow: visible;
  }

  .logo-fondo {
    width: 380px;
    left: -95px;
  }

  .contacto-info {
    max-width: 380px;
    font-size: 17px;
  }

  .form-widget-container {
    width: 500px;
  }

  .imagen-item {
    width: 100%;
    height: 250px;
  }

  .item-dorado4 {
    max-height: none;
    align-items: center;
  }

  .item-dorado4 .contenido {
    padding: 30px 45px;
  }

  .item-dorado4 img.img-item4 {
    width: 400px;
    position: static;
    margin: 0;
    padding: 0;
    justify-self: center;
    align-self: center;
  }

  .item-especial {
    max-height: none;
    align-items: center;
  }

  .item-especial .contenido-especial {
    padding: 30px 45px;
  }

  .item-especial img.img-item-especial {
    width: 400px;
    position: static;
    margin: 0;
    padding: 0;
    align-self: center;
  }

  .imagen-item img {
    width: 90%;
    height: auto;
    object-fit: contain;
  }

  .decoracion-header1 {
    height: 380px;
    bottom: -100px;
  }

  .decoracion-header3 {
    height: 300px;
    bottom: -70px;
  }

  .decoracion-header4 {
    height: 220px;
    bottom: -80px;
  }
}

@media (max-width: 900px) {
  body {
    padding: 60px 40px;
  }

  .seccion1 {
    min-height: 500px;
  }

  .logo {
    width: 320px;
  }

  .item:nth-child(odd) .contenido,
  .item:nth-child(even) .contenido {
    padding: 40px;
  }

  .titulo-principal h2 {
    font-size: 22px;
    text-align: center;
    white-space: normal;
  }

  .contenido p {
    font-size: 16px;
  }

  .imagen-item {
    object-fit: contain;
  }

  .contacto {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 40px;
    overflow: visible;
  }

  .logo-fondo {
    width: 300px;
    left: -40px;
    top: 0;
  }

  .contacto-info {
    width: 100%;
    max-width: 500px;
    text-align: center;
    font-size: 16px;
  }

  .form-widget-container {
    width: 100%;
    max-width: 560px;
    padding: 22px;
  }

  .item-dorado4 {
    max-height: none;
    align-items: center;
  }

  .item-dorado4 .contenido {
    padding: 30px;
  }

  .item-dorado4 img.img-item4 {
    width: 340px;
    position: static;
    margin: 0 auto;
    padding: 0;
    justify-self: center;
    align-self: center;
  }

  .item-especial {
    max-height: none;
    align-items: center;
  }

  .item-especial .contenido-especial {
    padding: 30px;
  }

  .item-especial img.img-item-especial {
    position: static;
    margin: 0 auto;
    padding: 0;
    justify-self: center;
    align-self: center;
  }

  .decoracion-header1 {
    height: 320px;
    bottom: -100px;
  }

  .decoracion-header3 {
    height: 250px;
    bottom: -60px;
  }

  .decoracion-header4 {
    height: 180px;
    bottom: -60px;
  }

  .historia {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .historia-galeria {
    display: none;
  }

  .titulo-principal {
    align-items: center;
    text-align: center;
  }

  .historia h3,
  .historia h1,
  .historia p {
    text-align: center;
  }

  .historia .boton-oscuro {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding: 40px 20px;
  }

  .seccion1 {
    min-height: 380px;
  }

  .logo {
    width: 250px;
  }

  .seccion2 {
    margin-top: -60px;
    padding-top: 60px;
  }

  .item,
  .item:nth-child(even) {
    display: flex;
    flex-direction: column;
  }

  .item:nth-child(odd) {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .item:nth-child(odd) .contenido,
  .item:nth-child(even) .contenido {
    width: 100%;
    order: 1;
    padding: 45px 8%;
  }

  .imagen-item,
  .item:nth-child(even) .imagen-item {
    width: 100%;
    height: auto;
    max-height: 390px;
    order: 2;
    object-fit: contain;
  }

  .titulo-principal {
    gap: 9px;
    justify-content: center;
  }

  .titulo-principal img {
    width: 12%;
    min-width: 26px;
  }

  .titulo-principal h2 {
    font-size: 21px;
    text-align: center;
  }

  .contenido p {
    font-size: 15px;
  }

  .contacto {
    padding: 40px 20px;
    gap: 30px;
    overflow: visible;
  }

  .logo-fondo {
    width: 220px;
    left: -20px;
    top: 0;
  }

  .contacto-info {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    text-align: center;
  }

  .form-widget-container {
    width: 100%;
    padding: 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 14px;
  }

  .form-group label {
    font-size: 11px;
  }

  input:not([type="checkbox"]),
  textarea {
    font-size: 11px;
  }

  textarea {
    height: 100px;
  }

  .form-checkbox {
    align-items: flex-start;
  }

  .form-checkbox label {
    font-size: 10px;
  }

  .form-submit button {
    width: 100%;
  }

  .item-dorado4,
  .item-especial {
    display: grid;
    grid-template-columns: 1fr;
    max-height: none;
    justify-items: center;
    align-items: center;
  }

  .item-dorado4 .contenido,
  .item-especial .contenido-especial {
    width: 100%;
    order: 1;
    padding: 35px 8%;
  }

  .item-dorado4 img.img-item4,
  .item-especial img.img-item-especial {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: static;
    margin: 0;
    padding: 0;
    order: 2;
    justify-self: center;
    align-self: center;
  }

  .decoracion-header1,
  .decoracion-header2,
  .decoracion-header3,
  .decoracion-header4 {
    display: none;
  }
}


/* NAVBAR MÓVIL */

@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .navbar-container {
    position: relative;
    width: 100%;
    min-height: 55px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 20px;
  }

  .navbar-brand {
    position: absolute;
    top: 0;
    left: 20px;
    z-index: 1002;
  }

  .navbar-brand img {
    display: block;
    width: 125px;
    height: auto;
  }

  .navbar-toggler {
    position: absolute;
    top: 0;
    right: 20px;
    display: flex;
    width: 70px;
    height: 50px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    background: rgba(20, 20, 20, .30);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9px;
    cursor: pointer;
    z-index: 1003;
    transition: background .3s ease, border-color .3s ease;
  }

  .navbar-toggler:hover {
    background: rgba(30, 30, 30, .55);
  }

  .navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: #bdbdbd;
    border-radius: 5px;
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
  }

  .navbar-toggler.activo span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .navbar-toggler.activo span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggler.activo span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .navbar-menu {
    position: absolute;
    top: 65px;
    left: 50%;
    width: calc(100% - 40px);
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, .90);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: opacity .35s ease, max-height .45s ease, visibility .35s ease;
  }

  .navbar-menu.activo {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    padding: 28px 0 32px;
  }

  .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0;
    color: #fff !important;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: .3px;
    transition: color .2s ease, transform .2s ease;
  }

  .nav-link:hover {
    color: #fff !important;
    transform: scale(1.04);
  }
}

@media (max-width: 700px) {
  .item,
  .item:nth-child(even) {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .navbar {
    top: 15px;
  }

  .navbar-container {
    padding: 0 15px;
  }

  .navbar-brand {
    left: 15px;
  }

  .navbar-brand img {
    width: 105px;
  }

  .navbar-toggler {
    right: 15px;
    width: 62px;
    height: 46px;
  }

  .navbar-toggler span {
    width: 25px;
    height: 2.5px;
  }

  .navbar-menu {
    top: 60px;
    width: calc(100% - 30px);
  }

  .navbar-menu.activo {
    padding: 25px 0 28px;
  }

  .navbar-nav {
    gap: 23px;
  }

  .nav-link {
    font-size: 15px;
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .navbar {
    top: 25px;
  }

  .navbar-container {
    padding: 0 20px;
  }

  .navbar-brand {
    left: 20px;
  }

  .navbar-brand img {
    width: 160px;
  }

  .navbar-nav {
    gap: 25px;
  }

  .nav-link {
    padding: 10px 8px;
    font-size: 13px;
  }

  .nav-link:hover {
    font-size: 14px;
  }
}
