/* ============================================================
   DESIGN&CIA — Clon de designycia.com (reescritura limpia)
   CSS completo + responsive. Fuente Jost local.
   ============================================================ */

/* ---------- Fuente Jost (local) ---------- */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/jost/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost/jost-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost/jost-latin-ext-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  color: #232323;
  background-color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
  word-wrap: break-word;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

a {
  font-style: normal;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.6s;
}

a:hover {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-4, .display-5, .display-7,
span, p, a {
  line-height: 1;
  word-break: break-word;
  word-wrap: break-word;
  font-weight: 400;
}

b, strong {
  font-weight: 700;
}

button {
  background-color: transparent;
  border-color: transparent;
}

/* ---------- Contenedores ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.container-fluid {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  word-wrap: break-word;
}

/* ---------- Tipografía (display-*) ---------- */
.display-1 {
  font-family: 'Jost', sans-serif;
  font-size: 3.6rem;
  line-height: 1.1;
}

.display-2 {
  font-family: 'Jost', sans-serif;
  font-size: 3rem;
  line-height: 1.1;
}

.display-4 {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.display-5 {
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
}

.display-7 {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.mbr-section-title {
  font-style: normal;
  line-height: 1.3;
}

.mbr-section-subtitle {
  line-height: 1.3;
}

.mbr-text {
  font-style: normal;
  line-height: 1.7;
}

.mbr-white {
  color: #ffffff;
}

.mbr-black {
  color: #111111;
}

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

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

/* Tipografía fluida móvil (igual que el original) */
@media (max-width: 992px) {
  .display-1 { font-size: 2.88rem; }
}

@media (max-width: 768px) {
  .display-1 {
    font-size: 2.52rem;
    font-size: calc(1.91rem + (3.6 - 1.91) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc(1.1 * (1.91rem + (3.6 - 1.91) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-2 {
    font-size: 2.4rem;
    font-size: calc(1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20)));
    line-height: calc(1.3 * (1.7rem + (3 - 1.7) * ((100vw - 20rem) / (48 - 20))));
  }
  .display-4 { font-size: 0.8rem; }
  .display-5 { font-size: 1.12rem; }
  .display-7 { font-size: 0.8rem; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary-outline,
.btn-primary-outline:active {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #ffb4da;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus,
.btn-primary-outline.active {
  color: #ff5daf !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.btn-white,
.btn-white:active {
  background-color: #fafafa !important;
  border-color: #fafafa !important;
  color: #7a7a7a !important;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-white:hover,
.btn-white:focus,
.btn-white.active {
  color: #4f4f4f !important;
  background-color: #cfcfcf !important;
  border-color: #cfcfcf !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

.btn-form {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}

/* Icono dentro del botón */
.btn .mbr-iconfont-btn {
  margin-right: 0.5rem;
  font-size: inherit;
  line-height: 1;
}

/* ---------- Menú / Navbar ---------- */
.menu {
  z-index: 1000;
  width: 100%;
  position: relative;
  min-height: 60px;
}

.menu nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-dropdown {
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  min-height: 70px;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  min-height: 70px;
}

.navbar-brand {
  min-height: 70px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0;
  padding: 0;
  transition: all 0.3s;
  word-break: break-word;
  z-index: 1;
}

.navbar-brand .navbar-logo a {
  outline: none;
}

.navbar-brand .navbar-logo img {
  width: auto;
  height: 3.6rem;
  vertical-align: middle;
}

.navbar-brand .navbar-caption {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: inherit !important;
  color: #232323 !important;
  font-weight: 700;
  margin-left: 0.5rem;
}

.text-primary {
  color: #ffb4da !important;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
  flex-basis: auto;
}

ul.navbar-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar-nav .nav-item {
  margin: 0;
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.667em 0.3em;
  margin: 0.667em 1em;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #232323 !important;
  font-weight: 700;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #000000 !important;
}

/* Barra reducida al hacer scroll */
.navbar.navbar-short {
  min-height: 60px;
}

.navbar.navbar-short .container {
  min-height: 60px;
}

.navbar.navbar-short .navbar-brand {
  min-height: 60px;
  padding: 0;
}

.navbar.navbar-short .navbar-brand .navbar-logo img {
  height: 2.5rem !important;
}

/* Hamburguesa */
.navbar-toggler {
  display: none;
  outline: none;
  width: 31px;
  height: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  align-self: center;
  border: none;
  padding: 0;
}

.navbar-toggler .hamburger span {
  position: absolute;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: #000000;
}

.navbar-toggler .hamburger span:nth-child(1) { top: 0; transition: all 0.2s; }
.navbar-toggler .hamburger span:nth-child(2) { top: 8px; transition: all 0.15s; }
.navbar-toggler .hamburger span:nth-child(3) { top: 8px; transition: all 0.15s; }
.navbar-toggler .hamburger span:nth-child(4) { top: 16px; transition: all 0.2s; }

.navbar.opened .hamburger span:nth-child(1) {
  top: 8px; width: 0; opacity: 0; right: 50%; transition: all 0.2s;
}
.navbar.opened .hamburger span:nth-child(2) {
  transform: rotate(45deg); transition: all 0.25s;
}
.navbar.opened .hamburger span:nth-child(3) {
  transform: rotate(-45deg); transition: all 0.25s;
}
.navbar.opened .hamburger span:nth-child(4) {
  top: 8px; width: 0; opacity: 0; right: 50%; transition: all 0.2s;
}

/* ---------- Hero (index) ---------- */
.mbr-fullscreen {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.header6 {
  background-image: url('../images/oveja-2000x1305.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50px;
}

.header6 .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
}

.header6 .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.header6 .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.header6 .mbr-section-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.header6 .mbr-text {
  color: #ffffff;
}

/* ---------- Cabecera de página (content4) ---------- */
.content4 {
  padding-top: 3rem;
  padding-bottom: 0;
  background-color: #fafafa;
}

.content4 .title {
  width: 100%;
  padding: 0 0.75rem;
}

.content4 .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.content4 .title .mbr-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.content4 .mbr-section-subtitle {
  text-align: center;
  margin-bottom: 1.5rem;
}

.content4 .mbr-section-subtitle em {
  font-style: italic;
}

/* ---------- Servicios (page6 — features11) ---------- */
.features10 {
  padding-top: 1rem;
  padding-bottom: 0;
  background-color: #ffffff;
}

.features10 .card {
  margin-bottom: 2rem;
}

.features10 .card:last-child {
  margin-bottom: 0;
}

.features10 .card-wrapper {
  border-radius: 4px;
  background-color: #fafafa;
}

.features10 .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.features10 .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 0.75rem;
}

.features10 .col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 0.75rem;
}

.features10 .col-md {
  flex: 1 1 0%;
  max-width: 100%;
  padding: 0 0.75rem;
}

.features10 .image-wrapper img {
  width: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.features10 .top-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.features10 .card-title {
  color: #000000;
}

.features10 .cost {
  color: #000000;
}

.features10 .mbr-text {
  color: #000000;
}

@media (max-width: 767px) {
  .features10 .card-box {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .features10 .card-box {
    padding-right: 2rem;
    padding-left: 0.75rem;
  }
}

@media (min-width: 992px) {
  .features10 .card-box {
    padding-left: 2rem;
    padding-right: 4rem;
  }
}

/* ---------- Grid de trabajos (page13 — content3) ---------- */
.content3 {
  padding-top: 0;
  padding-bottom: 0;
  background-color: #ffffff;
}

.content3 .row {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem -0.75rem 0;
}

.content3 .item {
  cursor: pointer;
  margin-bottom: 2rem;
  padding: 0 0.75rem;
}

.content3 .item-wrapper {
  position: relative;
  border-radius: 50px;
  background: #fafafa;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  overflow: hidden;
}

.content3 .item-img {
  width: 100%;
}

.content3 .item-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.content3 .item-content {
  padding: 2rem;
}

.content3 .item-title {
  text-align: center;
  color: #232323;
  margin: 0;
}

/* ---------- Galerías (page12/14/15 — gallery1) ---------- */
.gallery1 {
  padding-top: 5rem;
  padding-bottom: 0;
  background-color: #ffffff;
}

.gallery1 .mbr-section-title {
  color: #232323;
  text-align: center;
  margin: 0;
}

.gallery1 .mbr-section-subtitle {
  color: #232323;
  text-align: center;
  margin: 0.5rem 0 0;
}

.gallery1 .row {
  display: flex;
  flex-wrap: wrap;
  margin: 2rem -0.75rem 0;
}

.gallery1 .item {
  cursor: pointer;
  margin-bottom: 2rem;
  padding: 0 0.75rem;
}

.gallery1 .item-wrapper {
  position: relative;
  border-radius: 4px;
  background: #fafafa;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.gallery1 .item-img {
  width: 100%;
  overflow: hidden;
}

.gallery1 .item-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery1 .item-content {
  padding: 2rem;
}

.gallery1 .mbr-text {
  margin-top: 0.75rem;
  color: #232323;
}

/* ---------- Columnas responsive ---------- */
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
}

/* ---------- Testimonial (page16 — testimonials1) ---------- */
.testimonials1 {
  padding-top: 0;
  padding-bottom: 0;
  background-color: #ffffff;
}

.testimonials1 .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.testimonials1 .col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.75rem;
}

.testimonials1 .col-md {
  flex: 1 1 0%;
  max-width: 100%;
  padding: 0 0.75rem;
}

.testimonials1 .image-wrapper img {
  width: 100%;
  object-fit: cover;
  border-radius: 50px;
}

@media (min-width: 992px) {
  .testimonials1 .text-wrapper {
    padding: 2rem;
  }
}

.testimonials1 .mbr-text {
  margin-bottom: 1.5rem;
}

.testimonials1 .name {
  margin: 0 0 0.25rem;
}

@media (max-width: 767px) {
  .testimonials1 .image-wrapper {
    margin-bottom: 2rem;
  }
  .testimonials1 .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------- Botones SUBIR / VOLVER (content8) ---------- */
.content8 {
  padding-top: 30px;
  padding-bottom: 0;
  background-color: #ffffff;
}

.content8 .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.content8 .col-12 {
  padding: 0 0.75rem;
}

.content8 .mbr-section-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.content8 .mbr-section-btn .btn {
  margin: 0;
}

@media (min-width: 768px) {
  .content8 .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------- Formulario (page17 — form1) ---------- */
.form1 {
  padding-top: 15px;
  padding-bottom: 60px;
  background-image: url('../images/contacto-copia-1417x739.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50px;
}

.form1 .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.form1 .col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 0.75rem;
}

.form1 .mbr-section-subtitle {
  color: #ffffff;
}

.form1 label {
  color: #000000;
  margin-bottom: 0.5rem;
  display: inline-block;
}

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

.form1 .form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: #495057;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form1 .form-control:hover,
.form1 .form-control:focus {
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.07) 0px 1px 3px 0px, rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
  border-color: #ffb4da !important;
}

.form1 textarea.form-control {
  min-height: 188px;
  resize: vertical;
}

.form1 .form-control::placeholder {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.form1 .input-group-btn {
  text-align: center;
  margin-top: 1rem;
}

.form1 .alert {
  display: none;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}

.form1 .alert-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.form1 .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

@media (max-width: 991px) {
  .form1 .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .form1 .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .form1 .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.375rem;
  }
  .form1 .row {
    margin-left: -0.375rem;
    margin-right: -0.375rem;
  }
  .form1 .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.375rem;
  }
}

/* ---------- Footer ---------- */
.footer3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #ffffff;
}

.footer3 .media-container-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer3 .social-row {
  width: 100%;
  justify-content: center;
}

.footer3 .social-list {
  padding-left: 0;
  margin-bottom: 0.5rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer3 .soc-item {
  margin: 0 0.5rem;
}

.footer3 .social-list a {
  margin: 0;
  opacity: 0.5;
  transition: 0.2s linear;
}

.footer3 .social-list a:hover {
  opacity: 1;
}

.footer3 .social-list a svg {
  width: 40px;
  height: 40px;
  display: block;
}

.footer3 .row-copirayt {
  width: 100%;
  word-break: break-word;
}

.footer3 .row-copirayt p {
  width: 100%;
  color: #000000;
  text-align: center;
  margin: 0;
}

/* ---------- Responsive menú ---------- */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .navbar.opened .navbar-collapse {
    display: flex;
  }

  .navbar .navbar-collapse {
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0 1rem;
  }

  .navbar.opened {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  }

  ul.navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    justify-content: center;
  }

  .navbar .container {
    min-height: 70px;
  }

  .navbar-brand .navbar-logo img {
    height: 3rem !important;
  }

  .navbar-brand .navbar-caption {
    font-size: 0.9rem;
  }
}