/* ===== JYR Design — Tapicería ===== */
/* Paleta tomada del logo: crema, chocolate y café cálido */
:root {
  --crema:        #f4ede1;
  --crema-suave:  #fbf7ef;
  --beige:        #e7dcc8;
  --chocolate:    #3a2418;
  --cafe:         #6e4a32;
  --cafe-claro:   #a07a55;
  --dorado:       #c6a06b;
  --rojo:         #a83f42;
  --rojo-claro:   #c25b5e;
  --texto:        #4a382c;
  --blanco:       #ffffff;
  --sombra:       0 14px 40px rgba(58, 36, 24, .14);
  --radio:        16px;
  --ancho:        1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--texto);
  background: var(--crema-suave);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--chocolate);
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--crema); }

.section__head { text-align: center; margin-bottom: 56px; }

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--rojo);
  margin-bottom: 10px;
}

.section__title { font-size: clamp(2rem, 4vw, 2.9rem); }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--chocolate);
  color: var(--crema);
  box-shadow: 0 8px 22px rgba(58, 36, 24, .28);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(58, 36, 24, .36); }
.btn--ghost {
  border-color: var(--cafe);
  color: var(--cafe);
}
.btn--ghost:hover { background: var(--cafe); color: var(--crema); transform: translateY(-3px); }
.btn--block { display: block; text-align: center; margin-top: 8px; }

/* ===== Encabezado / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.nav__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--chocolate);
  letter-spacing: .02em;
}
.nav__name em { color: var(--cafe-claro); font-style: italic; font-weight: 600; }

.nav__menu { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__menu a {
  font-size: .95rem;
  font-weight: 400;
  position: relative;
  transition: color .2s;
}
.nav__menu a:not(.nav__cta):hover { color: var(--cafe-claro); }
.nav__menu a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--rojo);
  transition: width .25s ease;
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--rojo);
  color: var(--crema) !important;
  padding: 9px 22px;
  border-radius: 50px;
}
.nav__cta:hover { background: var(--chocolate); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2.5px;
  background: var(--chocolate);
  border-radius: 2px;
  transition: .3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 160, 107, .25), transparent 55%),
    linear-gradient(135deg, var(--crema) 0%, var(--beige) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 120px;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--cafe);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  margin-bottom: 22px;
}
.hero__lead {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 32px;
  color: var(--texto);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual { display: flex; justify-content: center; }
.hero__logo-ring {
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--crema-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sombra);
  position: relative;
  animation: float 5s ease-in-out infinite;
}
.hero__logo-ring::before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px dashed var(--cafe-claro);
  border-radius: 50%;
  opacity: .55;
}
.hero__logo { width: 86%; border-radius: 50%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.hero__wave {
  height: 60px;
  background: var(--crema-suave);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  margin-top: -60px;
  position: relative;
}

/* ===== Tira de valores ===== */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -50px;
  position: relative;
  z-index: 5;
}
.strip__item {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--sombra);
  border-top: 3px solid var(--dorado);
  transition: transform .25s ease;
}
.strip__item:hover { transform: translateY(-8px); }
.strip__icon { color: var(--dorado); font-size: 1.4rem; }
.strip__item h3 { font-size: 1.4rem; margin: 8px 0 6px; }
.strip__item p { font-size: .94rem; }

/* ===== Nosotros ===== */
.about__inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  border-radius: var(--radio);
  background: var(--crema);
  border: 2px solid var(--beige);
  padding: 30px;
  box-shadow: var(--sombra);
}
.about__text p { margin-bottom: 16px; }
.about__text .btn { margin-top: 12px; }
.about__text .section__title { margin-bottom: 22px; }

/* ===== Servicios ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(58, 36, 24, .08);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--beige);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra);
  border-color: var(--rojo);
}
.card__icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { font-size: .95rem; }

/* ===== Horario ===== */
.schedule__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.schedule__note { margin-top: 14px; }
.schedule__list { list-style: none; }
.schedule__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: var(--blanco);
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(58, 36, 24, .07);
  border-left: 4px solid var(--rojo);
}
.schedule__day { font-weight: 600; color: var(--chocolate); }
.schedule__hours { color: var(--cafe); font-weight: 500; }
.schedule__row--closed { border-left-color: #c08a8a; opacity: .85; }
.schedule__row--closed .schedule__hours { color: #a35e5e; }

/* ===== Contacto ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact__icon {
  font-size: 1.3rem;
  background: var(--crema);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--beige);
}
.contact__item h3 { font-size: 1.25rem; margin-bottom: 2px; }
.contact__item p { font-size: .96rem; }
.contact__item a:hover { color: var(--cafe-claro); }
.contact__map {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  min-height: 380px;
  border: 2px solid var(--beige);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ===== Pie ===== */
.footer {
  background: var(--chocolate);
  color: var(--crema);
  padding: 56px 0 28px;
}
.footer__inner { text-align: center; }
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.footer__brand .nav__name { color: var(--crema); }
.footer__brand .nav__name em { color: var(--dorado); }
.footer__logo { width: 46px; height: 46px; border-radius: 50%; }
.footer__tag { color: var(--beige); font-size: .95rem; margin-bottom: 22px; }
.footer__links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.footer__links a { font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--dorado); }
.footer__copy {
  font-size: .82rem;
  color: var(--cafe-claro);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
}

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  z-index: 200;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== Animación de aparición ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 60px; padding-bottom: 90px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__logo-ring { width: 260px; height: 260px; }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .schedule__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr; margin-top: -30px; }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--crema-suave);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--beige);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__menu li { width: 100%; text-align: center; }
  .nav__menu a { display: block; padding: 13px 0; }
  .nav__cta { display: inline-block; margin-top: 8px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
