/* ── Global ── */

:root {
  --ob-cream: #FFF8F0;
  --ob-warm: #FDF3E3;
  --ob-accent: #D4622A;
  --ob-gold: #F5A623;
  --ob-dark: #1A1209;
  --ob-muted: #7A6B5A;
  --text-color: #1A1209;
  --background-color: #ffffff;
}

/* ── Tipografía ── */

.mascotas-page * {
    font-family: 'Lexend Deca', sans-serif;
}
/* ── Header ── */
/* ── Sobre mi ── */

.shop {
  padding: 6rem 8%;
  background: #ffffff;
}

.shop-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ob-warm);
  min-height: 420px;
}

.shop-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.shop-texto {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.shop-subtitulo {
  display: inline-block;
  background: var(--ob-warm);
  color: var(--ob-accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(212, 98, 42, 0.22);
  width: fit-content;
}

.shop-titulo {
  font-family: 'Lexend Deca', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ob-dark);
  margin: 0;
}

.shop-descripcion2 {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ob-muted);
  max-width: 460px;
  margin: 0;
}

.shop-botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-cv {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1.5px solid #D4622A;
  color: #D4622A;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cv:hover {
  background: #D4622A;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .shop-container {
    grid-template-columns: 1fr;
  }

  .shop {
    padding: 4rem 6%;
  }

  .shop-img,
  .shop-img-wrap {
    min-height: 300px;
  }
}

/* ── Menu de navegador ── */
/* ── Sección ── */

header.header {
  background: #D4622A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  text-decoration: none;
  font-family: 'Lexend Deca', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.logo span {
  color: #FFD08A;
}

ul.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

ul.nav-links a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Lexend Deca', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}

ul.nav-links a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-contact {
  padding: 8px 18px;
  background: #FFD08A;
  color: #7A2E00;
  border-radius: 7px;
  font-family: 'Lexend Deca', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-contact:hover {
  background: #ffffff;
  color: #D4622A;
}

/* ── Servicio ── */
/* ── Sección ── */

.services {
  padding: 4rem 5%;
  background: #F5F0EB;
  text-align: center;
}

.services-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1A1209;
  margin-bottom: 0.75rem;
}

.services-desc {
  font-size: 0.95rem;
  color: #7A6B5A;
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ── Grid 3 Columnas ── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Carta ── */

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: left;
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

/* ── ícono ── */

.service-icon {
  width: 52px;
  height: 52px;
  background: #F5E6D3;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.service-icon i {
  font-size: 1.4rem;
  color: #9B5E1E;
}

/* ── Galeria/Tienda ── */
/* ── Sección ── */

.gallery {
  padding: 3rem 5%;
  background: #F5F0EB;
  font-family: 'Lexend Deca', sans-serif;
}

.gallery-header {
  margin-bottom: 2rem;
}

.gallery-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #1A1209;
  margin-bottom: 0.35rem;
}

.gallery-header p {
  font-size: 0.9rem;
  color: #7A6B5A;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Carta ── */

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1A1209;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}

.card-by {
  font-size: 0.8rem;
  color: #999;
}

.card-by span {
  color: #D4622A;
  font-weight: 500;
}

/* ── RESPONSIVE ── */

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contacto ── */
/* ── Sección ── */

h2.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #1A1209;
}

.contact {
  padding: 5rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  display: grid;
  padding: 35px;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  width: 100%;
  max-width: 1000px;
}

/* ── Tarjetas ── */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  transition: 0.3s ease-in-out;
}

.contact-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.contact-card p {
  font-size: 0.9rem;
  color: #666;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ob-accent);
  margin-top: 0.4rem;
  transition: 0.3s ease-in-out;
}

.contact-link:hover {
  gap: 0.8rem;
}

/* ── Formulario ── */
/* ── Sección ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
  transition: 0.3s ease-in-out;
}

.form-input:focus {
  border: 1px solid var(--text-color);
  box-shadow: 0 0 0 3px rgba(26, 28, 32, 0.08);
}

.form-input::placeholder {
  color: #aaa;
  padding-left: 0.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 92px;
  border-radius: 1rem;
}

.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  border: none;
  background-color: var(--ob-accent);
  color: var(--background-color);
  font-family: 'Lexend Deca', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.form-btn:hover {
  background-color: var(--ob-gold);
  transform: scale(1.03);
}

/* ── Footer ── */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer .left a {
  color: var(--ob-accent);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer .left span {
  font-size: 0.85rem;
  color: var(--ob-muted);
}

.footer .right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer .right a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ob-accent);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: 0.3s ease-in-out;
}

.footer .right a:hover {
  background-color: var(--ob-accent);
  color: var(--background-color);
}

.footer .right a span {
  margin-left: 0;
}

/* ── Responsive ── */

/* ── Tablet (≤ 1024px) ── */

@media (max-width: 1024px) {

  /* Header */

  header.header {
    padding: 0 24px;
  }

  /* Shop */

  .shop {
    padding: 4rem 5%;
  }

  /* Services */

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */

  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px;
  }

  /* Footer */

  .footer {
    padding: 0 24px;
  }
}

/* ── Móvil (≤ 768px) ── */

@media (max-width: 768px) {

  /* Header: oculta links, solo logo + btn */

  ul.nav-links {
    display: none;
  }

  header.header {
    padding: 0 16px;
  }

  /* Shop: columna única */

  .shop-container {
    grid-template-columns: 1fr;
  }

  .shop {
    padding: 3rem 5%;
  }

  .shop-img,
  .shop-img-wrap {
    min-height: 280px;
  }

  .shop-titulo {
    font-size: 1.7rem;
  }

  /* Services: columna única */

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-title {
    font-size: 1.7rem;
  }

  /* Gallery: columna única */

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-header h2 {
    font-size: 1.6rem;
  }

  /* Contact */
  .contact {
    padding: 3rem 5%;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  /* Footer */

  .footer {
    flex-direction: column;
    height: auto;
    padding: 1.5rem 5%;
    gap: 1rem;
    text-align: center;
  }

  .footer .right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Móvil pequeño (≤ 480px) ── */

@media (max-width: 480px) {

  .shop-titulo {
    font-size: 1.4rem;
  }

  .services-title,
  .gallery-header h2 {
    font-size: 1.4rem;
  }

  .btn-contact {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .card img {
    height: 220px;
  }

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