﻿:root {
  --bg: #f3eee5;
  --surface: #fffdf9;
  --ink: #232323;
  --muted: #5e5c57;
  --brand: #1f6b5a;
  --brand-strong: #144b3f;
  --accent: #d96f32;
  --line: #d7cfc1;
  --shadow: 0 14px 30px rgba(23, 29, 28, 0.14);
  --mesh-a: rgba(245, 171, 95, 0.45);
  --mesh-b: rgba(93, 166, 143, 0.4);
  --mesh-c: rgba(255, 232, 183, 0.5);
  --header-offset: 102px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 5%, #f7d89f 0%, rgba(247, 216, 159, 0) 40%),
    radial-gradient(circle at 90% 20%, #d8f0e8 0%, rgba(216, 240, 232, 0) 35%), var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.12;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(52, 50, 44, 0.08) 0,
    rgba(52, 50, 44, 0.08) 1px,
    transparent 1px,
    transparent 6px
  );
}

.bg-mesh {
  position: fixed;
  inset: -12%;
  z-index: -5;
  background: radial-gradient(circle at 20% 25%, var(--mesh-a) 0%, transparent 42%),
    radial-gradient(circle at 78% 15%, var(--mesh-b) 0%, transparent 37%),
    radial-gradient(circle at 58% 86%, var(--mesh-c) 0%, transparent 34%);
  filter: blur(16px);
  transform-origin: center;
  animation: meshShift 20s ease-in-out infinite alternate;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image: linear-gradient(rgba(67, 65, 60, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 65, 60, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0, 0, 0, 0.65), transparent 78%);
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -2;
}

.bg-glow-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -150px;
  background: #f2a95a;
  animation: driftA 18s ease-in-out infinite alternate;
}

.bg-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -150px;
  left: -170px;
  background: #84c6b4;
  animation: driftB 22s ease-in-out infinite alternate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem clamp(1rem, 3.5vw, 3rem);
  backdrop-filter: blur(10px);
  background: rgba(243, 238, 229, 0.82);
  border-bottom: 1px solid rgba(94, 92, 87, 0.15);
}

.mpj-logo-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mpj-logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.mpj-logo {
  display: block;
  width: auto;
  height: 42px;
  filter: none;
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

.menu a {
  color: #31302d;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--brand);
  color: #f8fbf7;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: var(--brand-strong);
}

.cta-small {
  padding: 0.58rem 0.95rem;
}

.cta-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(31, 107, 90, 0.35);
  box-shadow: none;
}

.cta-ghost:hover {
  background: rgba(31, 107, 90, 0.09);
}

main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(94, 92, 87, 0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, rgba(255, 253, 249, 0.86), rgba(232, 247, 241, 0.64));
  padding: clamp(1rem, 2vw, 1.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(0.8rem, 2vw, 1.6rem);
  padding-bottom: 3.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  top: -220px;
  right: -180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 111, 50, 0.35) 0%, rgba(217, 111, 50, 0) 68%);
  animation: driftA 15s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -140px;
  width: 320px;
  height: 280px;
  background: radial-gradient(circle, rgba(31, 107, 90, 0.24) 0%, rgba(31, 107, 90, 0) 68%);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 28px rgba(14, 20, 19, 0.2);
  background-image: linear-gradient(180deg, rgba(7, 12, 11, 0.14), rgba(7, 12, 11, 0.56)),
    /* url("https://weinsberg.com/fileadmin/media/mj2024-2025/wohnmobile/carasuite/content/exterieur/kta-weinsberg-2024-2025-carasuite-exterieur-5074.jpg"); */
	url("./img_pictures/principal.jpeg");
  background-size: cover;
  background-position: center;
  animation: heroVisualPan 20s ease-in-out infinite alternate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% -140%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.34) 49%,
    rgba(255, 255, 255, 0) 57%
  );
  transform: rotate(8deg);
  animation: sweep 7s linear infinite;
}

.hero-visual-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  border-radius: 999px;
  padding: 0.36rem 0.66rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 75, 63, 0.24);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  z-index: 1;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.8vw, 4.4rem);
  max-width: 13ch;
}

.hero-copy {
  max-width: 56ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.22rem);
}

.hero-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  margin: 0;
  border: 1px solid rgba(31, 107, 90, 0.35);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  color: var(--brand-strong);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 800;
  padding: 0.35rem 0.62rem;
  box-shadow: 0 6px 18px rgba(20, 75, 63, 0.16);
}

.hero-route {
  position: absolute;
  right: 0.95rem;
  bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(94, 92, 87, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  padding: 0.38rem 0.72rem;
  box-shadow: 0 8px 22px rgba(18, 24, 23, 0.1);
}

.hero-route::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
  margin-right: 0.4rem;
}

.hero-route span {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.hero-route span + span::before {
  content: "/";
  color: var(--accent);
  margin: 0 0.28rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.85rem;
}

.hero-metrics article {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(215, 207, 193, 0.7);
  border-radius: 16px;
  padding: 0.9rem;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease;
}

.hero-metrics article:hover {
  transform: translateY(-3px);
}

.metric-value {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.panel,
.pricing,
.extras,
.testimonials,
.faq,
.contact {
  margin-top: 2.2rem;
}

.panel {
  border: 1px solid rgba(94, 92, 87, 0.14);
  background: var(--surface);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.panel-text p + p {
  margin-top: 0.8rem;
}

.panel-text h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: #31302d;
}

.check-list li::before {
  content: " + ";
  color: var(--brand);
  font-weight: 800;
}

.panel-media {
  min-height: 340px;
  border-radius: 18px;
  background-image: linear-gradient(rgba(26, 25, 22, 0.14), rgba(26, 25, 22, 0.14)),
    url("https://images.unsplash.com/photo-1545239351-1141bd82e8a6?auto=format&fit=crop&w=1200&q=80");
  background-position: center;
  background-size: cover;
  animation: mediaZoom 18s ease-in-out infinite alternate;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.35rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.extras-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid rgba(94, 92, 87, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
  padding: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.extras .card {
  background: linear-gradient(165deg, rgba(255, 253, 249, 0.96), rgba(239, 248, 244, 0.88));
}

.gallery {
  margin-top: 2.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 185px 185px;
  gap: 0.7rem;
}

.shot {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(94, 92, 87, 0.16);
  background-size: cover;
  background-position: center;
}

.shot-1 {
  grid-column: span 2;
  background-image: url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1200&q=80");
}

.shot-2 {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  /* Imagen anterior:
     https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&w=900&q=80 */
  background-image: url("./img_pictures/shot-2.jpeg");
}

.shot-3 {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80");
}

.shot-4 {
  background-image: url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=900&q=80");
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.price-card {
  border: 1px solid rgba(94, 92, 87, 0.16);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 253, 249, 0.9);
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.price {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-card p:not(.price) {
  color: var(--muted);
}

.featured {
  background: linear-gradient(160deg, rgba(31, 107, 90, 0.12), rgba(31, 107, 90, 0.02));
  border-color: rgba(31, 107, 90, 0.35);
}

.pill {
  margin-bottom: 0.55rem;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

blockquote {
  margin: 0;
  padding: 1rem;
  border-left: 5px solid var(--accent);
  background: rgba(255, 253, 249, 0.86);
  border-radius: 12px;
}

blockquote cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.6rem;
}

details {
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(94, 92, 87, 0.15);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.contact {
  border: 1px solid rgba(94, 92, 87, 0.16);
  background: linear-gradient(165deg, rgba(255, 253, 249, 1), rgba(241, 250, 247, 0.9));
  border-radius: 24px;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.contact h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
}

.contact p {
  color: var(--muted);
  max-width: 63ch;
}

.cta-lg {
  margin-top: 1rem;
  min-height: 52px;
  padding-inline: 1.45rem;
}

.site-footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(94, 92, 87, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--brand);
  font-weight: 700;
}

.floating-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #14b671;
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 182, 113, 0.45);
  z-index: 30;
  animation: waPulse 2.8s ease-in-out infinite;
}

.floating-wa svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes meshShift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.5%, 1.2%, 0);
  }
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(16px, -12px, 0);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-18px, 14px, 0);
  }
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(20, 182, 113, 0.45);
  }
  50% {
    box-shadow: 0 10px 28px rgba(20, 182, 113, 0.62);
  }
}

@keyframes mediaZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 108%;
  }
}

@keyframes heroVisualPan {
  from {
    background-position: 48% 45%;
  }
  to {
    background-position: 58% 58%;
  }
}

@keyframes sweep {
  from {
    transform: translateX(-55%) rotate(8deg);
  }
  to {
    transform: translateX(55%) rotate(8deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(94, 92, 87, 0.16);
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
  }

  .menu a {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(94, 92, 87, 0.13);
  }

  .menu a:last-child {
    border-bottom: 0;
  }

  .menu.is-open {
    display: flex;
  }

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

  .hero-content {
    padding-bottom: 1.2rem;
  }

  .hero-visual {
    min-height: 290px;
  }

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

  .hero-badge,
  .hero-route {
    display: none;
  }

  .panel-media {
    min-height: 270px;
  }

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

  .extras-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 88px;
  }

  .site-header .cta-small {
    display: none;
  }

  .mpj-logo {
    height: 32px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 240px;
  }

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

  .extras-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 170px);
  }

  .shot-1,
  .shot-2,
  .shot-3,
  .shot-4 {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
