/* ======================================================
   MOBILE.CSS — SOLO AJUSTES CELULAR / TABLET
   Carga con: <link rel="stylesheet" href="mobile.css" media="screen and (max-width: 768px)">
====================================================== */

@media screen and (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }

  section {
    padding: 60px 16px !important;
  }

  /* TOP BAR */
  .top-bar {
    font-size: 12px;
    padding: 8px 10px;
    line-height: 1.3;
  }

  header,
  .site-header {
    background: #f0dcee !important;
    box-shadow: none !important;     /* opcional: quita la línea/sombra */
    border-bottom: none !important;  /* opcional */
  }

  /* HERO solo celular */
  .hero {
    background: #f0dcee !important;
    background-image: none !important;
  }

}

  .logo {
    font-size: 20px !important;
    line-height: 1.1;
    max-width: 180px;
  }

  nav {
    display: none !important;
  }

  nav ul {
    display: none !important;
  }

  .site-header .btn,
  header .btn {
    padding: 9px 14px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }

  /* HERO */
  .hero {
    min-height: 72vh !important;
    padding: 0 14px !important;
    background-position: center center !important;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 34px !important;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 14px !important;
    line-height: 1.45;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .hero .btn {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }

  /* TITULOS */
  .section-title {
    margin-bottom: 28px !important;
  }

  .section-title h2 {
    font-size: 28px !important;
    line-height: 1.2;
  }

  .section-title span {
    margin-top: 12px !important;
  }

  /* SERVICIOS */
  .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 100%;
    width: 100%;
  }

  .service-card {
    padding: 16px 10px !important;
    border-radius: 16px !important;
  }

  .service-card img {
    width: 84px !important;
    height: 84px !important;
    margin-bottom: 10px !important;
    border-radius: 50%;
    object-fit: cover;
  }

  .service-card h3 {
    font-size: 13px !important;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .btn-ver-mas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 12px !important;
    padding: 8px 10px !important;
    margin-top: 6px !important;
    text-align: center;
  }

  /* ABOUT */
  .about-modern {
    padding: 40px 12px !important;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .about-grid > img,
  .about-grid img {
    width: 100%;
    height: 220px !important;
    object-fit: cover;
    border-radius: 14px !important;
  }

  .about-text {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  .about-text h2 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .about-text p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 10px !important;
  }

  .about-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .about-actions .btn {
    width: 100%;
    text-align: center;
    padding: 10px 14px !important;
  }

  /* MODAL ABOUT */
  .about-modal-box {
    width: 94% !important;
    max-height: 86vh !important;
    margin: 4vh auto 0 !important;
    padding: 14px 12px 12px !important;
    border-radius: 14px !important;
  }

  .about-modal-box h3 {
    font-size: 18px !important;
    line-height: 1.25;
    margin-right: 28px;
  }

  .about-modal-content p,
  .about-favs li {
    font-size: 13px !important;
    line-height: 1.5;
  }

  .about-favs ul {
    columns: 1 !important;
    padding-left: 16px !important;
  }

  .about-modal-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  /* GALERÍA PRINCIPAL */
  .gallery-modern {
    padding: 50px 12px !important;
  }

  /* Importante: tus <img> están directos dentro de .gallery-grid (no .gallery-item) */
  .gallery-grid {
    columns: unset !important;
    column-gap: unset !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100%;
    padding: 0 !important;
  }

  .gallery-grid img {
    width: 100% !important;
    height: 170px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 12px !important;
    display: block;
  }

  /* POSTS (portfolio) */
  .gallery-portfolio {
    padding: 50px 12px !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 100%;
  }

  .portfolio-grid img,
  .portfolio-grid video {
    height: 220px !important;
    border-radius: 12px !important;
  }

  /* REVIEWS */
  .reviews-modern {
    padding: 50px 12px !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .review-card {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .review-card p {
    font-size: 13px !important;
    line-height: 1.5;
  }

  /* FOOTER */
  .footer-soft {
    padding-top: 45px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 14px 26px !important;
    text-align: center;
  }

  .footer-col h4 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }

  .footer-col p,
  .footer-col a {
    font-size: 13px !important;
    line-height: 1.45;
    word-break: break-word;
  }

  .footer-map-soft {
    padding: 0 12px 20px !important;
  }

  .footer-map-soft h3 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }

  .footer-map-soft iframe {
    width: 100% !important;
    height: 200px !important;
    border-radius: 12px !important;
  }

  .footer-bottom-soft {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 16px 12px !important;
    text-align: center;
  }

  .footer-bottom-soft p {
    font-size: 12px !important;
  }

  .footer-social-soft {
    display: flex;
    gap: 8px;
    justify-content: center;
  }

  .footer-social-soft a {
    margin-left: 0 !important;
  }

  /* WHATSAPP FLOTANTE */
  .wa-circle {
    width: 52px !important;
    height: 52px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 10000;
  }

  .wa-circle img,
  .wa-circle svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* MODALES GENERALES */
  .modal-overlay {
    padding: 10px;
    align-items: center !important;
    justify-content: center !important;
  }

  .modal-box {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    border-radius: 14px !important;
    padding: 16px !important;
    margin: 0 !important;
  }

  .modal-close {
    top: 8px !important;
    right: 10px !important;
    font-size: 24px !important;
  }

  .modal-box h2 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
    padding-right: 24px;
  }

  .modal-box label {
    font-size: 13px !important;
    margin-top: 10px !important;
  }

  .modal-box input,
  .modal-box select {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  /* Evita zoom en iPhone */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* INFO SERVICIO */
  #service-info p {
    font-size: 13px;
    margin: 4px 0;
  }

  /* HORARIOS */
  .time-slots {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .time-slot {
    padding: 9px 4px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    text-align: center;
    white-space: nowrap;
  }

  .schedule-header {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
  }

  .schedule-label,
  .schedule-date {
    font-size: 12px !important;
    line-height: 1.2;
  }

  .confirm-btn {
    width: 100% !important;
    margin-top: 14px !important;
    padding: 12px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
}

/* Extra pequeño (iPhone SE / Android chicos) */
@media screen and (max-width: 380px) {
  .logo {
    font-size: 18px !important;
    max-width: 150px;
  }

  .hero h1 {
    font-size: 30px !important;
  }

  .services-grid {
    gap: 10px !important;
  }

  .service-card {
    padding: 12px 8px !important;
  }

  .service-card img {
    width: 72px !important;
    height: 72px !important;
  }

  .service-card h3 {
    font-size: 12px !important;
  }

  .btn-ver-mas {
    font-size: 11px !important;
    padding: 7px 8px !important;
  }

  .time-slot {
    font-size: 11px !important;
    padding: 8px 2px !important;
  }
}