/* Pele Nadlan — luxury real estate theme (charcoal + champagne gold) */

:root {
  --pele-gold: #c5a572;
  --pele-gold-bright: #d4b87a;
  --pele-gold-soft: rgba(197, 165, 114, 0.35);
  --pele-charcoal: #141820;
  --pele-charcoal-2: #1f2633;
  --pele-slate: #2a3140;
  --pele-black: #0c0e12;
  --pele-text: #4a4f5c;
  --pele-text-light: #d2d6de;
  --pele-white: #fafafa;
  --pele-off-white: #f5f3ef;
  --pele-panel: rgba(255, 255, 255, 0.96);
  --pele-font: "Assistant", "Segoe UI", Tahoma, Arial, sans-serif;
  --pele-bullet: #8a7d68;
}

body.pele-page {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--pele-font);
  color: var(--pele-text);
  background: var(--pele-charcoal);
  line-height: 1.65;
}

html:has(body.pele-page) {
  overflow-x: clip;
  max-width: 100%;
}

body.pele-page .section--white a,
body.pele-page .legal-page a {
  color: var(--pele-charcoal);
}
@media (hover: hover) and (pointer: fine) {
  body.pele-page .section--white a:hover,
  body.pele-page .legal-page a:hover {
    color: var(--pele-gold-bright);
  }
}

body.pele-page .section--dark a,
body.pele-page .hero-dark a {
  color: var(--pele-white);
}
@media (hover: hover) and (pointer: fine) {
  body.pele-page .section--dark a:hover,
  body.pele-page .hero-dark a:hover {
    color: var(--pele-gold-bright);
  }
}

body.pele-page .accordion__panel a,
body.pele-page .press-list a {
  color: var(--pele-charcoal);
}
@media (hover: hover) and (pointer: fine) {
  body.pele-page .accordion__panel a:hover,
  body.pele-page .press-list a:hover {
    color: var(--pele-gold-bright);
  }
}

body.pele-page .quick-actions__link,
body.pele-page .quick-actions__label {
  color: var(--pele-white);
}

@keyframes pele-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pele-fade-in-up {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes pele-grow {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.reveal { opacity: 1; }
html.js-reveal .reveal { opacity: 0; }
.reveal.is-visible.reveal--fade { animation: pele-fade-in 1.1s ease both; }
.reveal.is-visible.reveal--fade-up { animation: pele-fade-in-up 0.85s ease both; }

.btn--grow:hover,
.btn--grow:focus {
  animation: pele-grow 0.3s ease forwards;
}

.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  direction: ltr;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.shape-divider svg {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1.3px);
  height: 100%;
  margin: 0;
}
.shape-divider--bottom {
  bottom: -1px;
  height: 70px;
}
.shape-divider--bottom svg {
  width: calc(177% + 1.3px);
  height: 70px;
}
.shape-divider--top,
.shape-divider--fan {
  top: 0;
  height: 55px;
}
.shape-divider--split {
  height: 28px;
}

.hero-stack {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.hero-top {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  min-height: 42vh;
  background: var(--pele-charcoal) center 35% / cover no-repeat;
}
.hero-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.2) 0%, rgba(12, 14, 18, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-dark {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--pele-black) center / cover no-repeat;
  background-image: var(--dark-texture);
  margin-top: -1px;
  padding: 3rem 1rem 4rem;
}
.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.78) 0%, rgba(20, 24, 32, 0.92) 100%);
  pointer-events: none;
}
.hero-dark > *:not(.shape-divider) {
  position: relative;
  z-index: 1;
}

.card-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: transparent;
  box-shadow: none;
}

.card-header {
  text-align: center;
  padding: 0 0 0.5rem;
}

.card-header picture {
  position: relative;
  z-index: 5;
  display: block;
  width: 220px;
  max-width: 34%;
  margin: -96px auto 1rem;
}

.card-header__logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: left bottom;
  border-radius: 50%;
  border: 3px solid var(--pele-gold);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 24px var(--pele-gold-soft);
}

.card-header__title {
  font-size: clamp(1.6rem, 4.8vw, 2.85rem);
  font-weight: 700;
  color: var(--pele-white);
  margin: 0;
  padding-top: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.card-header__subtitle {
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  font-weight: 400;
  color: var(--pele-gold);
  margin: 0.65rem 0 0;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.quick-actions {
  text-align: center;
  margin-top: 2rem;
  padding: 0.75rem 0;
}

.quick-actions__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.5rem;
  max-width: 36rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.quick-actions__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem;
  text-decoration: none;
  color: var(--pele-white);
  font-size: 1rem;
}
.quick-actions__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--pele-gold);
  color: var(--pele-gold);
  box-shadow: 0 0 14px var(--pele-gold-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .quick-actions__link:hover .quick-actions__icon {
    background: var(--pele-gold);
    color: var(--pele-charcoal);
  }
}
.quick-actions__icon .icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.btn--vcf {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto 0;
  padding: 0.7rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pele-charcoal);
  background: var(--pele-gold);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(197, 165, 114, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .btn--vcf:hover {
    background: var(--pele-gold-bright);
    color: var(--pele-charcoal);
  }
}

.section--dark {
  background: var(--pele-black) center / cover no-repeat;
  background-image: var(--dark-texture);
  position: relative;
  padding: 2rem 1.25rem;
  color: var(--pele-white);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.62);
  pointer-events: none;
}
.section--dark > *:not(.shape-divider) { position: relative; z-index: 1; }
.section--dark .section__title {
  color: var(--pele-gold);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.section--dark p { color: var(--pele-text-light); text-align: center; }
.section--about { padding: 1.5rem clamp(1rem, 6vw, 5rem) 2rem; }

.section--about .quote {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  padding: 0.75rem 1rem;
  border-right: 3px solid var(--pele-gold);
  color: var(--pele-gold-bright);
  font-style: italic;
  text-align: center;
}

.section--white {
  position: relative;
  overflow-x: clip;
  background: var(--pele-off-white);
  color: var(--pele-text);
  padding: 0 0 2.5rem;
}
.section--white__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 0;
}

.rotating-headline__title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--pele-charcoal);
}
.section-divider-line {
  width: 36%;
  height: 2px;
  margin: 0.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--pele-gold), transparent);
}

.photo-carousel__track { height: min(55vw, 520px); perspective: 1200px; }
.photo-carousel__image {
  background: var(--pele-white) center / cover no-repeat;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(20, 24, 32, 0.14);
}
.photo-carousel__arrow {
  background: rgba(20, 24, 32, 0.88);
  color: var(--pele-gold);
  border: 1px solid var(--pele-gold);
}

.accordion__item { border: 1px solid var(--pele-gold); margin-bottom: 0; }
.accordion__trigger {
  background: var(--pele-charcoal-2);
  color: var(--pele-gold);
  font-weight: 600;
}
.accordion__panel {
  background: var(--pele-panel);
  color: var(--pele-charcoal);
}
.accordion__panel li::marker { color: var(--pele-bullet); }

.section--contact { padding: 2.5rem 1.25rem; text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.contact-item a { color: var(--pele-gold-bright); }

.btn--whatsapp-cta {
  background: #25d366;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) and (pointer: fine) {
  .btn--whatsapp-cta:hover { background: #1fb855; }
}

.btn--primary {
  background: var(--pele-charcoal);
  color: var(--pele-white);
  border: 1px solid var(--pele-gold);
  border-radius: 4px;
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
}
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    background: var(--pele-gold);
    color: var(--pele-charcoal);
  }
}

.btn--share {
  background: var(--pele-charcoal);
  color: var(--pele-white);
  border-radius: 4px;
  border: 1px solid var(--pele-gold);
}
@media (hover: hover) and (pointer: fine) {
  .btn--share:hover {
    background: var(--pele-gold);
    color: var(--pele-charcoal);
  }
}

.site-footer {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.85rem;
  color: var(--pele-text-light);
  background: var(--pele-black);
  border-top: 1px solid rgba(197, 165, 114, 0.2);
}

body.pele-page .a11y-fab { background: var(--pele-charcoal); border: 1px solid var(--pele-gold); }

@media (max-width: 767px) {
  .hero-top { min-height: 24vh; }
  .card-header picture {
    max-width: 68%;
    margin-top: -52px;
  }
  .quick-actions__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-carousel__track { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1; }
  .reveal.is-visible.reveal--fade,
  .reveal.is-visible.reveal--fade-up { animation: none; }
}
