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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  background: #e5e5e7;
  padding: 40px 20px;
}

/* MACOS WINDOW */
.mac-window {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05);
  background: #fff;
}

.mac-titlebar {
  height: 42px;
  background: #ececec;
  border-bottom: 1px solid #d8d8d8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.red { background: #ff5f57; }
.mac-dot.yellow { background: #febc2e; }
.mac-dot.green { background: #28c840; }

.mac-url {
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: #888;
  background: #fff;
  padding: 4px 16px;
  border-radius: 6px;
}

.mac-content { max-height: 90vh; overflow-y: auto; position: relative; }

#backToTop {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #c9a27a;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 50;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* HERO */
.hero {
  position: relative;
  min-height: 640px;
  margin-top: -90px;
  color: #fff;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45));
}
.hero-slide.active { opacity: 1; }

.navbar, .hero-content, .hero-dots { position: relative; z-index: 2; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  backdrop-filter: blur(6px);
  background: rgba(20,20,20,.55);
  transition: background .3s;
}

.navbar ul { display: flex; gap: 36px; align-items: center; }

.navbar a { opacity: 1; color: #eee; transition: color .2s; }
.navbar a:hover, .navbar a.active { color: #c9a27a; }

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  letter-spacing: 2px;
  border: 1px solid #fff;
  padding: 4px 14px;
  color: #fff;
}

.search-icon { font-size: 15px; }

.hero-content {
  text-align: center;
  margin-top: 130px;
}

.hero-content h1 {
  font-size: 64px;
  letter-spacing: 10px;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
}
.dot.active { background: #fff; }

/* ABOUT */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: 90px 60px;
  background: #f4f4f2;
  flex-wrap: wrap;
}

.about-image img {
  width: 320px;
  height: 340px;
  object-fit: cover;
  filter: sepia(15%);
}

.about-text { max-width: 420px; }

.about-text h2 {
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-text p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 28px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #c9a27a;
  color: #c9a27a;
  padding: 10px 26px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: .5px;
  transition: all .2s;
}
.btn-outline:hover { background: #c9a27a; color: #fff; }

/* GALLERY GRID */
.gallery { padding: 60px; background: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .5s ease, box-shadow .5s ease;
}
.gallery-grid img:hover { transform: scale(1.04); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

.gallery-grid img.tall { grid-row: span 2; }

/* BLOG */
.blog {
  padding: 80px 60px;
  background: #fff;
}

.blog h2 {
  text-align: center;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}

.card .date {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 10px;
}

.card p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* TESTIMONIAL */
.testimonial {
  background: #f4f4f2;
  text-align: center;
  padding: 80px 40px;
  position: relative;
}

.testimonial-track { position: relative; max-width: 700px; margin: 0 auto; min-height: 140px; }
.testimonial-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.testimonial-slide.active { opacity: 1; pointer-events: auto; }
.testimonial-slide blockquote {
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.5;
}

.testimonial .author {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #555;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 28px;
  color: #c9a27a;
  cursor: pointer;
}
.arrow.left { left: 60px; }
.arrow.right { right: 60px; }

/* FOOTER */
.footer {
  background: #1c1c1c;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.footer h4 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: #c9a27a;
  margin-bottom: 16px;
  font-weight: 400;
}

.footer h2 {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.navbar.scrolled {
  background: rgba(20,20,20,.85);
}
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.navbar.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar.open .hamburger span:nth-child(2) { opacity: 0; }
.navbar.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.social { display: flex; justify-content: center; gap: 24px; }
.social a { color: #fff; transition: color .3s, transform .3s; display: flex; }
.social a:hover { color: #c9a27a; transform: translateY(-3px); }

.card { transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); }
.card img { transition: transform .5s ease; }
.card:hover img { transform: scale(1.05); }

/* SCROLL REVEAL */
[data-animate] {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate].in-view { opacity: 1; transform: translate(0,0); }

.hero-content h1 { animation: heroIn 1.2s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */

/* Tablets */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about { padding: 70px 40px; }
}

/* Móviles grandes / phablets */
@media (max-width: 768px) {
  body { padding: 16px 8px; }
  .navbar { height: auto; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 14px 20px; position: sticky; top: 0; }
  .hamburger { display: flex; order: 1; z-index: 2; }
  .logo { order: 2; z-index: 2; }
  .nav-left, .nav-right {
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: center;
    background: rgba(20,20,20,.97);
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height .3s ease;
  }
  .nav-left li, .nav-right li { padding: 0; }
  .nav-right { order: 4; }
  .navbar.open .nav-left { max-height: 100px; padding: 6px 0; }
  .navbar.open .nav-right { max-height: 100px; padding: 6px 0; }
  .navbar.open .nav-left li, .navbar.open .nav-right li { padding: 4px 0; }
  .hero { margin-top: 0; min-height: 520px; }
  .hero-content { margin-top: 60px; }
  .hero-content h1 { font-size: 40px; letter-spacing: 6px; }
  .gallery { padding: 30px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .gallery-grid img.tall { grid-row: span 1; }
  .blog-cards { grid-template-columns: 1fr; }
  .about { flex-direction: column; text-align: center; padding: 60px 24px; gap: 40px; }
  .about-image img { width: 100%; max-width: 320px; height: auto; }
  .testimonial-slide blockquote { font-size: 20px; }
  .arrow.left { left: 12px; }
  .arrow.right { right: 12px; }
}

/* Móviles pequeños: iPhone 12/16, Galaxy S25, etc. */
@media (max-width: 480px) {
  .mac-window { border-radius: 8px; }
  .mac-titlebar { height: 34px; }
  .logo { font-size: 20px; padding: 3px 10px; }
  .navbar a { font-size: 11px; letter-spacing: 1px; }
  .hero-content h1 { font-size: 30px; letter-spacing: 3px; }
  .hero { min-height: 440px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .blog { padding: 50px 20px; }
  .footer h2 { font-size: 22px; word-break: break-word; }
  #backToTop { width: 38px; height: 38px; right: 20px; bottom: 20px; }
}
