*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface-white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

/* Signature Pedra Split-Box Architectural Button */
.pedra-btn {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border-dark);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.pedra-btn__label {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
}

.pedra-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  border-left: 1px solid var(--border-dark);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.pedra-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.pedra-btn:hover .pedra-btn__icon {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.pedra-btn--light {
  border-color: var(--border-light);
  color: #ffffff;
}

.pedra-btn--light .pedra-btn__icon {
  border-left-color: var(--border-light);
}

.pedra-btn--light:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.pedra-btn--light:hover .pedra-btn__icon {
  border-left-color: rgba(46, 49, 44, 0.25);
}

/* Eyebrow */
.pedra-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.pedra-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(18, 28, 26, 0.72);
  backdrop-filter: blur(4px);
}

.site-header--solid {
  position: relative;
  background: #172321;
}

.site-header__logo-box {
  background: #e8e9e8;
  width: 180px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .site-header__logo-box {
    width: 124px;
    height: 70px;
  }
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}

.site-nav__dropdown:hover .site-nav__submenu,
.site-nav__dropdown:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hero Slider Progress Bars */
.hero__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero__bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  border: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero__bar.is-active {
  background: #ffffff;
}

/* Cards */
.product-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  color: #ffffff;
  background-color: #1c1f1d;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 13, 0.86) 0%, rgba(12, 14, 13, 0.45) 36%, rgba(12, 14, 13, 0.05) 68%);
}

/* Service Card */
.service-card {
  position: relative;
  overflow: hidden;
  height: 460px;
  background-color: #1c1f1d;
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.04);
}

.service-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 14, 13, 0.68) 0%, rgba(12, 14, 13, 0.12) 45%, rgba(12, 14, 13, 0.0) 100%);
}

/* Gallery Card */
.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 387 / 274;
  display: block;
  background: #e6e6e6;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* Splide overrides */
.splide__pagination { display: none !important; }
.splide__arrows { display: none !important; }

/* Mobile menu details */
details.mobile-nav > summary {
  list-style: none;
}
details.mobile-nav > summary::-webkit-details-marker {
  display: none;
}
