:root {
  --rw-ink: #18342b;
  --rw-deep: #102a23;
  --rw-paper: #f5f1e8;
  --rw-mist: #e6eee7;
  --rw-clay: #c66b4a;
  --rw-lime: #c4d66b;
  --rw-line: rgba(24, 52, 43, 0.14);
}

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

body {
  background: var(--rw-paper) !important;
  color: var(--rw-ink);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

header {
  position: relative;
  background: var(--rw-paper) !important;
  border-bottom: 2px solid var(--rw-clay);
}

header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(to right, var(--rw-clay), var(--rw-lime));
  opacity: 0.6;
}

header nav {
  min-height: 88px;
}

@media (min-width: 768px) {
  header nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 132px;
  }

  .nav-links {
    display: flex !important;
  }

  .nav-links.nav-left {
    justify-content: flex-end;
  }

  .nav-links.nav-right {
    justify-content: flex-start;
  }

  .nav-medallion-spacer {
    display: block !important;
    width: 14rem;
  }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--rw-ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo-img {
  width: 6.25rem;
  height: 6.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  header .brand-mark {
    display: none !important;
  }
}

.brand-medallion-row {
  position: relative;
  height: 0;
  z-index: 45;
}

.brand-medallion {
  position: absolute;
  left: 50%;
  top: -104px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  background: var(--rw-paper);
  box-shadow: 0 24px 55px rgba(8, 28, 22, 0.28), 0 0 0 2px var(--rw-clay);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-medallion:hover {
  transform: translateX(-50%) translateY(-6px);
  box-shadow: 0 30px 65px rgba(8, 28, 22, 0.32), 0 0 0 2px var(--rw-clay);
}

.brand-medallion-img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.nav-links li a {
  position: relative;
  padding-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--rw-clay);
  transition: right 0.25s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  right: 0;
}

.bg-gold-gradient {
  background: var(--rw-clay) !important;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--rw-clay);
  color: #fffaf1 !important;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(198, 107, 74, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-pill:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cta-pill svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.cta-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 250, 241, 0.7);
  color: #fffaf1 !important;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cta-pill-outline:hover {
  background: rgba(255, 250, 241, 0.12);
  border-color: #fffaf1;
}

.mosaic-trigger {
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 28, 22, 0.16);
  height: 460px;
}

.mosaic-grid {
  grid-template-rows: 1fr;
}

.mosaic-trigger,
.mosaic-trigger * {
  min-height: 0;
}

.mosaic-overlay {
  background: rgba(16, 42, 35, 0.72);
}

.mosaic-overlay p,
.mosaic-overlay .text-white {
  color: #fffaf1 !important;
}

.image-tint-overlay {
  background: rgba(16, 42, 35, 0.3);
}

.cta-strip {
  background: #fffaf1 !important;
  border-top: 2px solid var(--rw-clay);
  border-bottom: 2px solid var(--rw-clay);
  padding: 2.75rem 1rem;
}

.text-white {
  color: var(--rw-ink) !important;
}

.text-gold,
.text-gold-light,
.text-gray-500 {
  color: var(--rw-clay) !important;
}

.border-gold {
  border-color: var(--rw-clay) !important;
}

.bg-black-100,
.bg-black-200,
.bg-black-500,
.bg-black-300 {
  background-color: var(--rw-paper) !important;
}

.bg-gray-100 {
  background-color: var(--rw-mist) !important;
}

main section:nth-of-type(even) {
  background-color: var(--rw-mist);
}

main h1,
main h2,
main h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--rw-ink) !important;
  letter-spacing: -0.025em;
}

main p {
  color: #496056 !important;
}

#alaprajzok {
  background: var(--rw-deep) !important;
  border: 0 !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

#alaprajzok > div > div {
  border: 0 !important;
  background: transparent !important;
}

#alaprajzok h2,
#alaprajzok > div > div > p {
  color: #fffaf1 !important;
}

#alaprajzok p.text-white {
  color: #fffaf1 !important;
  opacity: 0.78;
}

#ajanlat {
  padding-top: 5rem !important;
  padding-bottom: 2.5rem !important;
  background: var(--rw-paper) !important;
}

.contact-shell {
  position: relative;
  isolation: isolate;
  border-radius: 1.5rem !important;
  box-shadow: 0 24px 70px rgba(24, 52, 43, 0.2);
}

.contact-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(16, 42, 35, 0.94), rgba(16, 42, 35, 0.78) 53%, rgba(16, 42, 35, 0.55));
  content: '';
}

.contact-details {
  padding: 1.25rem;
}

.contact-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--rw-lime) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details h2 {
  max-width: 28rem;
  color: #fffaf1 !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.02;
}

.contact-details > .w-\[250px\] {
  width: 4rem !important;
  height: 0.25rem !important;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  background: var(--rw-lime) !important;
}

.contact-details .contact-icon {
  background: var(--rw-clay) !important;
  flex-shrink: 0;
}

.contact-details .contact-content {
  background: #fffaf1 !important;
}

.contact-details .space-y-4 a,
.contact-details .space-y-4 p.text-white {
  color: var(--rw-ink) !important;
}

.contact-details .space-y-4 p.text-gold {
  color: var(--rw-clay) !important;
  font-weight: 700;
}

.contact-details > p:last-child {
  margin-top: 1.3rem;
  color: #fffaf1 !important;
}

.contact-form {
  border-radius: 1.2rem !important;
  background: #fffaf1 !important;
  box-shadow: 0 18px 40px rgba(8, 28, 22, 0.22);
}

.contact-form h3,
.contact-form p,
.contact-form label,
.contact-form span {
  color: var(--rw-ink) !important;
}

.contact-form input:not([type='radio']):not([type='checkbox']),
.contact-form textarea {
  min-height: 2.75rem;
  border: 1px solid rgba(24, 52, 43, 0.2) !important;
  border-radius: 0.55rem !important;
  background: #f0ede4 !important;
  color: var(--rw-ink) !important;
  transition: border-color 0.2s ease;
}

.contact-form input:not([type='radio']):not([type='checkbox']):hover,
.contact-form textarea:hover {
  border-color: rgba(24, 52, 43, 0.4) !important;
}

.contact-form input:not([type='radio']):not([type='checkbox']):focus,
.contact-form textarea:focus {
  border-color: var(--rw-clay) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #708077 !important;
}

.contact-form .plot-btn,
.contact-form .start-btn {
  border: 1px solid rgba(24, 52, 43, 0.2) !important;
  background: #f0ede4 !important;
  color: var(--rw-ink) !important;
}

.contact-form .plot-btn:hover,
.contact-form .start-btn:hover {
  border-color: var(--rw-clay) !important;
  background: rgba(198, 107, 74, 0.1) !important;
}

.contact-form .plot-btn.bg-gold-gradient,
.contact-form .start-btn.bg-gold-gradient {
  background: var(--rw-clay) !important;
  border-color: var(--rw-clay) !important;
  color: #fffaf1 !important;
}

.contact-form .plot-btn.bg-gold-gradient span,
.contact-form .start-btn.bg-gold-gradient span {
  color: #fffaf1 !important;
}

.contact-form button[type='submit'] {
  min-height: 2.75rem;
  border-radius: 0.6rem !important;
  color: #fffaf1 !important;
}

#alaprajzok h2 {
  max-width: 38rem;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1.05;
}

#alaprajzok > div > div > p {
  max-width: 54rem;
  opacity: 0.78;
  line-height: 1.7;
}

#alaprajzok .flex.flex-col.sm\:flex-row {
  display: inline-flex;
  padding: 0.35rem;
  gap: 0.25rem;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 0.85rem;
  background: rgba(255, 250, 241, 0.07);
}

#alaprajzok .flex.flex-col.sm\:flex-row button {
  width: auto !important;
  border: 0 !important;
  border-radius: 0.55rem !important;
  padding: 0.7rem 1.15rem !important;
  color: #fffaf1 !important;
  background: transparent !important;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

#alaprajzok .flex.flex-col.sm\:flex-row button:hover,
#alaprajzok .flex.flex-col.sm\:flex-row button.bg-gold-gradient {
  background: var(--rw-lime) !important;
  color: var(--rw-deep) !important;
}

.faq-item {
  border-radius: 0.85rem;
}

.faq-question.bg-black-100 {
  background: #fffaf1 !important;
  border: 1px solid rgba(24, 52, 43, 0.12) !important;
  border-radius: 0.85rem !important;
  padding: 1.15rem 1.5rem !important;
  box-shadow: 0 6px 18px rgba(8, 28, 22, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-question.bg-black-100:hover {
  border-color: rgba(198, 107, 74, 0.45) !important;
  box-shadow: 0 10px 24px rgba(198, 107, 74, 0.16);
}

.faq-question h3 {
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  padding-right: 1rem;
}

.faq-arrow {
  color: var(--rw-clay) !important;
  flex-shrink: 0;
}

.faq-item .faq-answer.bg-gray-100 {
  background: #f0ede4 !important;
  border: 1px solid rgba(24, 52, 43, 0.1) !important;
  border-top: 0 !important;
  border-radius: 0 0 0.85rem 0.85rem !important;
  margin-top: -1px;
}

.faq-item .faq-answer p {
  color: #4b5f55 !important;
  font-style: normal !important;
}

.floorplan-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 52, 43, 0.14) !important;
  border-radius: 1rem !important;
  background: #fffaf1 !important;
  box-shadow: 0 12px 28px rgba(8, 28, 22, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floorplan-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 38px rgba(8, 28, 22, 0.3);
}

.floorplan-item > div:first-child {
  padding: 0.45rem;
  background: #e2e9df;
}

.floorplan-item > div:first-child > div:first-child {
  border-radius: 0.7rem;
  overflow: hidden;
}

.floorplan-item > div:first-child > div:first-child img {
  transition: transform 0.5s ease;
}

.floorplan-item:hover > div:first-child > div:first-child img {
  transform: scale(1.06);
}

.floorplan-item > div:first-child > div:nth-child(2) {
  width: 5.5rem !important;
  height: 5.5rem !important;
  right: 1rem !important;
  bottom: 1rem !important;
  border: 3px solid #fffaf1 !important;
  border-radius: 0.7rem !important;
  box-shadow: 0 8px 18px rgba(8, 28, 22, 0.25);
}

.floorplan-item > .p-3 {
  min-height: 7.5rem;
  padding: 1.15rem 1.25rem !important;
  text-align: left !important;
  background: #fffaf1;
}

.floorplan-item > .p-3 p:first-child {
  margin-bottom: 0.45rem;
  color: var(--rw-ink) !important;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem !important;
}

.floorplan-item > .p-3 > p:first-of-type {
  display: block !important;
  visibility: visible !important;
  min-height: 1.5rem;
  color: var(--rw-ink) !important;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
}

.floorplan-item > .p-3 p:nth-child(2) {
  color: var(--rw-clay) !important;
  font-size: 0.67rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.floorplan-item > .p-3 p:nth-child(3) {
  color: #60736a !important;
  font-size: 0.72rem !important;
}

.hero-panel {
  position: relative;
  isolation: isolate;
  border-radius: 1.5rem !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  box-shadow: 0 24px 70px rgba(24, 52, 43, 0.18);
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(16, 42, 35, 0.88), rgba(16, 42, 35, 0.35) 58%, rgba(16, 42, 35, 0.08));
  content: '';
}

.hero-panel h1,
.hero-panel p,
.hero-panel .text-white {
  color: #fffaf1 !important;
}

.hero-panel a.border-white {
  border-color: #fffaf1 !important;
  color: #fffaf1 !important;
}

.hero-feature-strip {
  border-top: 1px solid rgba(255, 250, 241, 0.22);
  padding-top: 1.1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fffaf1 !important;
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.92;
}

.hero-feature-item svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--rw-lime);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .benefit-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefit-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
}

.benefit-col {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}

.benefit-col::after {
  content: '';
  position: absolute;
  top: 0.1rem;
  right: -0.75rem;
  bottom: 0.1rem;
  width: 1px;
  background: var(--rw-line);
  display: none;
}

@media (min-width: 1024px) {
  .benefit-col:not(:last-child)::after {
    display: block;
  }
}

.benefit-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--rw-mist);
  color: var(--rw-clay);
  margin-bottom: 0.85rem;
}

.benefit-col-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.benefit-col h3 {
  font-size: 0.92rem !important;
  margin-bottom: 0.3rem;
}

.benefit-col p {
  font-size: 0.78rem !important;
  color: #60736a !important;
  font-style: normal !important;
  line-height: 1.5;
}

.section-eyebrow {
  color: var(--rw-clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.6rem;
}

.doodle-accent {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--rw-clay);
  transform: rotate(-3deg);
  display: inline-block;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.feature-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: #fffaf1;
  box-shadow: 0 6px 16px rgba(8, 28, 22, 0.1);
  color: var(--rw-clay);
  flex-shrink: 0;
}

.feature-row-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature-row h3 {
  font-size: 1.05rem !important;
  margin-bottom: 0.3rem;
}

.feature-row p {
  font-size: 0.85rem !important;
  font-style: normal !important;
  line-height: 1.55;
}

a.bg-gold-gradient,
button.bg-gold-gradient {
  border-radius: 0.65rem !important;
  box-shadow: 0 10px 22px rgba(198, 107, 74, 0.22);
}

#mobile-menu {
  background: var(--rw-deep) !important;
}

#mobile-menu .brand-mark,
#mobile-menu .text-white {
  color: #fffaf1 !important;
}

.mobile-menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.16);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-close-btn:hover {
  background: rgba(255, 250, 241, 0.16);
  border-color: rgba(255, 250, 241, 0.3);
  transform: rotate(90deg);
}

#mobile-menu-overlay {
  background: rgba(16, 42, 35, 0.55) !important;
}

/* Zoom effect for reference images. */
.image-zoom {
  transition: transform 0.5s ease;
}

.image-zoom:hover {
  transform: scale(1.1);
}

.reference-card {
  background: #fffaf1;
  border: 1px solid rgba(24, 52, 43, 0.12);
  box-shadow: 0 14px 32px rgba(8, 28, 22, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(198, 107, 74, 0.24);
}

.reference-card-media {
  margin: 0.6rem 0.6rem 0;
  border-radius: 0.85rem;
  overflow: hidden;
}

.reference-card h3 {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--rw-ink) !important;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--rw-clay);
}

.reference-card p {
  color: #60736a !important;
}

.CookieDeclaration {
  display: none;
}

@media (max-width: 767px) {
  header nav {
    min-height: 92px;
  }

  .brand-mark {
    font-size: 1.05rem;
    gap: 0.7rem;
  }

  .brand-logo-img {
    width: 4rem;
    height: 4rem;
  }

  .hero-panel {
    min-height: 540px;
    border-radius: 1rem !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    width: calc(100% + 2rem) !important;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .hero-feature-strip {
    display: none;
  }

  .mosaic-trigger {
    height: 340px;
  }

  #alaprajzok .flex.flex-col.sm\:flex-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }

  #alaprajzok .flex.flex-col.sm\:flex-row button {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .contact-shell {
    border-radius: 1rem !important;
  }

  .contact-form {
    padding: 1.5rem !important;
  }
}