/*
Theme Name: David Nigri
Theme URI: http://localhost:8090
Author: David Nigri
Description: Tema WordPress baseado na aplicacao atual.
Version: 0.1.0
Text Domain: david-nigri
*/

.dn-header {
  transition: all 0.3s ease;
}

.dn-header[data-dn-header-variant="solid"] {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.dn-header[data-dn-header-variant="solid"] [data-dn-header-title] {
  color: hsl(var(--primary));
}

.dn-header[data-dn-header-variant="solid"] .dn-nav-link {
  color: hsl(var(--primary));
}

:root {
  --dn-scroll-offset: 72px;
}

.dn-contact-section {
  padding-top: 9.5rem;
  padding-bottom: 8.5rem;
}

@media (min-width: 768px) {
  .dn-contact-section {
    padding-top: 10.5rem;
    padding-bottom: 9.5rem;
  }
}

body {
  margin: 0;
}

#cookiePanel {
  display: none !important;
}

.dn-area-content .ast-container,
.dn-area-content .wp-block-group,
.dn-area-content .wp-block-columns,
.dn-area-content .wp-block-column {
  max-width: 100%;
  padding: 0;
  margin: 0 0 1.5rem;
}

.dn-area-content .wp-block-group__inner-container {
  max-width: 100%;
  padding: 0;
}

.dn-area-content .alignfull,
.dn-area-content .alignwide {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.dn-area-content img {
  height: auto;
}

.dn-area-hero .dn-hero-subtitle,
.dn-page-hero .dn-hero-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-hero-image--frosted {
  filter: blur(18px) saturate(1.12);
  transform: scale(1.06);
}

.dn-hero-glass {
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  background: rgba(255, 255, 255, 0.08);
}

.dn-hero {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .dn-hero-background {
    background-position: 85% center;
  }
}

@media (max-width: 767px) {
  .dn-hero .dn-hero-content {
    transform: translateY(-14px);
  }

  .dn-home-hero .dn-hero-content {
    transform: translateY(-83px);
  }

  .dn-home-hero .dn-home-hero-scroll {
    transform: translateY(-48px);
  }
}

.dn-tax-accordion summary,
.dn-tax-faq summary {
  list-style: none;
}

.dn-tax-accordion summary::-webkit-details-marker,
.dn-tax-faq summary::-webkit-details-marker {
  display: none;
}

.dn-tax-accordion summary i[data-lucide="chevron-down"],
.dn-tax-faq summary i[data-lucide="chevron-down"] {
  transition: transform 0.2s ease;
}

.dn-tax-accordion details[open] summary i[data-lucide="chevron-down"],
.dn-tax-faq details[open] summary i[data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

.dn-tax-accordion details > div {
  padding-bottom: 1.5rem;
}

#pesquisar.modalDialog {
  display: none !important;
}

.pb-6 {
  padding-bottom: 1.5rem;
}


.dn-rich-content {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.75;
}

.dn-rich-content > * + * {
  margin-top: 3rem;
}

.dn-rich-content .wp-block-group,
.dn-rich-content .wp-block-columns,
.dn-rich-content .wp-block-column {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.dn-rich-content > .wp-block-group,
.dn-rich-content > .wp-block-cover,
.dn-rich-content > .wp-block-columns,
.dn-rich-content > figure,
.dn-rich-content > section,
.dn-rich-content > .dn-decisoes {
  margin-top: 3rem;
}

.dn-rich-content > :first-child {
  margin-top: 0;
}

.dn-rich-content h2,
.dn-rich-content h3,
.dn-rich-content h4 {
  font-family: "Playfair Display", serif;
  color: hsl(var(--primary));
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}

.dn-rich-content h2 {
  font-size: 2rem;
}

.dn-rich-content h3 {
  font-size: 1.5rem;
}

.dn-rich-content h4 {
  font-size: 1.25rem;
}

.dn-rich-content h2:first-child,
.dn-rich-content h3:first-child,
.dn-rich-content h4:first-child {
  margin-top: 0;
}

.dn-rich-content p {
  margin: 0 0 1.25rem;
}

.dn-rich-content p:last-child {
  margin-bottom: 0;
}

.dn-rich-content ul,
.dn-rich-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.dn-rich-content ul {
  list-style: disc;
}

.dn-rich-content ol {
  list-style: decimal;
}

.dn-rich-content li {
  margin-bottom: 0.5rem;
}

.dn-rich-content li:last-child {
  margin-bottom: 0;
}

.dn-rich-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-rich-content a:hover {
  color: hsl(var(--secondary));
}

.dn-rich-content .dn-source-link a {
  text-decoration: none;
}

.dn-rich-content .dn-source-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-rich-content .conteudo-pagina .dn-source-link {
  position: absolute;
  bottom: 15px;
  left: 2.5rem;
  margin: 0;
}

.dn-rich-content .wp-block-button__link,
.dn-rich-content a.dn-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--secondary));
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 26px -20px rgba(17, 17, 17, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.dn-rich-content .wp-block-button__link:hover,
.dn-rich-content a.dn-cta-button:hover {
  background: hsl(var(--secondary) / 0.92);
  border-color: hsl(var(--secondary) / 0.92);
  color: hsl(var(--secondary-foreground));
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -22px rgba(17, 17, 17, 0.65);
}

.dn-rich-content .wp-block-button__link:focus-visible,
.dn-rich-content a.dn-cta-button:focus-visible {
  outline: 2px solid hsl(var(--secondary));
  outline-offset: 3px;
}

.dn-rich-content .wp-block-buttons {
  gap: 0.75rem;
}

.dn-rich-content .wp-block-button {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.dn-rich-content .dn-cta-align-right {
  display: flex;
  justify-content: flex-end;
}

.dn-rich-content .dn-cta-align-left {
  display: flex;
  justify-content: flex-start;
}

.dn-rich-content .dn-cta-align-left .wp-block-button {
  justify-content: flex-start;
}

.dn-rich-content .wp-block-buttons {
  justify-content: flex-end;
}

.dn-rich-content .wp-block-buttons.dn-cta-align-left {
  justify-content: flex-start;
}

.dn-rich-content .wp-block-buttons.dn-cta-align-left .wp-block-button {
  justify-content: flex-start;
}

.dn-rich-content figure {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dn-rich-content figure img {
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.45);
}

.dn-rich-content figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.dn-rich-content .alignwide {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.dn-rich-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.dn-rich-content .wp-block-columns {
  gap: 2rem;
}

.dn-rich-content .conteudo-pagina {
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 45px -38px rgba(0, 0, 0, 0.35);
  position: relative;
  padding-bottom: 4rem;
}

.dn-rich-content .conteudo-pagina-bg-2 {
  background: hsl(var(--muted));
  border-color: transparent;
}

.dn-rich-content .dn-terms-heading {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.dn-rich-content .dn-terms-heading:first-child {
  margin-top: 0;
}

.dn-rich-content .dn-terms-heading + p {
  margin-top: 0.75rem;
}

.dn-rich-content .dn-terms-keywords {
  background: hsl(var(--muted));
  border-color: transparent;
}

.dn-rich-content .dn-terms-keyword-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}

.dn-rich-content .dn-terms-keyword-list li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  break-inside: avoid;
}

.dn-rich-content .dn-terms-keyword-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: hsl(var(--secondary));
}

@media (max-width: 768px) {
  .dn-rich-content .dn-terms-keyword-list {
    grid-template-columns: 1fr;
  }
}

.dn-rich-content #contact-strip {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
  overflow: hidden;
}

.dn-rich-content #contact-strip a,
.dn-rich-content #contact-strip a:hover {
  color: inherit;
  text-decoration: none;
}

.dn-rich-content #contact-strip h2,
.dn-rich-content #contact-strip h3,
.dn-rich-content #contact-strip h4 {
  color: inherit;
  margin-top: 0;
}

.dn-rich-content #contact-strip h3 {
  margin-bottom: 0.75rem;
}

.dn-rich-content #contact-strip p {
  margin: 0;
}

#contact-strip {
  scroll-margin-top: var(--dn-scroll-offset);
}

#contact-strip + #videos {
  margin-top: 1px;
}

#page-content {
  scroll-margin-top: var(--dn-scroll-offset);
}

#post-content {
  scroll-margin-top: var(--dn-scroll-offset);
}

.dn-rich-content .wp-block-embed {
  margin: 3.5rem auto;
  width: 100%;
  max-width: 720px;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.dn-rich-content .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  padding: 10px;
  border: 1px solid #111;
  border-radius: 18px;
  background: #0a0a0a;
  box-shadow: 0 28px 50px -36px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.dn-rich-content .wp-has-aspect-ratio .wp-block-embed__wrapper {
  aspect-ratio: 16 / 9;
}

.dn-rich-content .wp-embed-aspect-4-3 .wp-block-embed__wrapper {
  aspect-ratio: 4 / 3;
}

.dn-rich-content .wp-block-embed__wrapper iframe {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: #0e0e0e;
  box-shadow: 0 14px 36px -28px rgba(0, 0, 0, 0.55);
}

.dn-rich-content .wp-block-embed figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: #6c5a42;
  text-align: center;
}

.dn-video-block {
  margin: 3rem auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  text-align: left;
}

.dn-video-block__title {
  margin: 0 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: hsl(var(--primary));
  line-height: 1.25;
}


.dn-video-block .wp-block-embed {
  margin: 0;
  padding: 0;
  align-self: center;
}


@media (max-width: 768px) {
  .dn-rich-content {
    font-size: 1rem;
  }

  .dn-rich-content > * + * {
    margin-top: 2.5rem;
  }

  .dn-rich-content h2 {
    font-size: 1.75rem;
  }

  .dn-rich-content h3 {
    font-size: 1.35rem;
  }

  .dn-rich-content h4 {
    font-size: 1.15rem;
  }

  .dn-rich-content .conteudo-pagina {
    padding: 1.75rem;
  }

}


.dn-decisoes {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid hsl(var(--border));
  border-radius: 28px;
  padding: 2.75rem;
  box-shadow: 0 24px 50px -40px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.dn-decisoes__intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: hsl(var(--primary));
  margin: 0;
}

.dn-decisoes__intro h2 strong {
  color: hsl(var(--secondary));
  font-weight: 700;
}

.dn-decisoes__intro h3 {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  font-weight: 600;
}

.dn-decisoes__list .ultp-heading-filter,
.dn-decisoes__list .ultp-loading,
.dn-decisoes__list .ultp-loadmore,
.dn-decisoes__list .pagination-block-html {
  display: none;
}

.dn-decisoes__list .ultp-block-items-wrap,
.dn-decisoes__modal .ultp-block-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: dn-decisoes;
}

.dn-decisoes__list .ultp-block-item,
.dn-decisoes__modal .ultp-block-item {
  position: relative;
  padding: 1.25rem 0 1.25rem 3rem;
  border-bottom: 1px solid hsl(var(--border));
}

.dn-decisoes__list .ultp-block-item:last-child,
.dn-decisoes__modal .ultp-block-item:last-child {
  border-bottom: none;
}

.dn-decisoes__list .ultp-block-item::before,
.dn-decisoes__modal .ultp-block-item::before {
  counter-increment: dn-decisoes;
  content: counter(dn-decisoes, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-weight: 700;
  color: hsl(var(--secondary));
  letter-spacing: 0.08em;
}

.dn-decisoes__list .ultp-block-title a,
.dn-decisoes__modal .ultp-block-title a {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: hsl(var(--primary));
  text-decoration: none;
}

.dn-decisoes__list .ultp-block-readmore a,
.dn-decisoes__modal .ultp-block-readmore a {
  font-weight: 600;
  color: hsl(var(--secondary));
}

.dn-decisoes__item--hidden {
  display: none;
}

.dn-decisoes__more {
  margin-top: 1.5rem;
  background: hsl(var(--primary));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
}

.dn-decisoes__more:hover {
  background: hsl(var(--primary) / 0.92);
}

body.dn-modal-open {
  overflow: hidden;
}

.dn-decisoes__modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 60;
}

.dn-decisoes__modal.is-open {
  display: flex;
}


.dn-decisoes__modal-backdrop {
  position: absolute;
  inset: 0;
}

.dn-decisoes__modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: min(920px, 94vw);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dn-decisoes__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

.dn-decisoes__modal-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: hsl(var(--primary));
  margin: 0;
}

.dn-decisoes__modal-close {
  background: hsl(var(--muted));
  border: none;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  color: hsl(var(--primary));
  cursor: pointer;
}

.dn-decisoes__modal-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
}

@media (max-width: 960px) {
  .dn-decisoes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dn-decisoes {
    padding: 2rem;
  }

  .dn-decisoes__intro h2 {
    font-size: 2rem;
  }
}

.dn-contact-form form {
  display: grid;
  gap: 16px;
}

.dn-contact-form form p {
  margin: 0;
  display: grid;
  gap: 12px;
}

.dn-contact-form form p br {
  display: none;
}

.dn-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.dn-contact-form input,
.dn-contact-form select,
.dn-contact-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(15, 15, 15, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: #1f2933;
  box-shadow: 0 8px 24px rgba(15, 15, 15, 0.05);
}

.dn-contact-form select.dn-select-placeholder {
  color: #6b7280;
}

.dn-contact-form input::placeholder,
.dn-contact-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.dn-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.dn-toast {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 24px));
  min-width: min(280px, calc(100vw - 24px));
  background: #241212;
  color: #ffffff;
  padding: 12px 40px 12px 16px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: pre-line;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dn-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dn-toast:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.36);
}

.dn-toast__message {
  margin: 0;
}

.dn-toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #f0d9d9;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  pointer-events: auto;
}

.dn-toast__close:hover {
  opacity: 1;
}

.dn-toast__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: #a46900;
  opacity: 0.8;
  transform-origin: left;
  transform: scaleX(1);
}

.dn-toast.is-visible .dn-toast__progress {
  animation: dn-toast-progress var(--dn-toast-duration, 5000ms) linear forwards;
}

@keyframes dn-toast-progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.dn-contact-form input:focus,
.dn-contact-form select:focus,
.dn-contact-form textarea:focus {
  outline: none;
  border-color: rgba(164, 105, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(164, 105, 0, 0.15);
}

.dn-contact-form label,
.dn-contact-form .wpcf7-form-control-wrap > label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 600;
}

.dn-contact-form input[type="submit"],
.dn-contact-form button {
  background: #220000;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dn-contact-form input[type="submit"]:hover,
.dn-contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.24);
  background: #3a0000;
}

.dn-contact-form input[type="submit"]:focus-visible,
.dn-contact-form button:focus-visible {
  outline: 2px solid rgba(164, 105, 0, 0.5);
  outline-offset: 2px;
}

.dn-tax-landing .dn-chat-tooltip {
  position: absolute;
  top: 50%;
  right: 100%;
  bottom: auto;
  left: auto;
  margin-right: 24px;
  transform: translateY(-50%);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #290001;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.dn-tax-landing .dn-chat-toggle {
  width: 66px;
  height: 64px;
  padding: 0;
  border-radius: 9999px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   MOBILE NAVIGATION - REFINED ELEGANCE
   ======================================== */

/* Desktop nav */
.dn-nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .dn-nav-desktop {
    display: flex;
  }
}

/* ========================================
   MOBILE TOGGLE BUTTON
   ======================================== */
.dn-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.dn-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.dn-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.dn-mobile-toggle--solid,
.dn-header[data-dn-header-variant="solid"] .dn-mobile-toggle {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow:
    0 0 0 0.5px rgba(15, 23, 42, 0.03),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

.dn-mobile-toggle--solid:hover,
.dn-header[data-dn-header-variant="solid"] .dn-mobile-toggle:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow:
    0 0 0 0.5px rgba(15, 23, 42, 0.05),
    0 1px 3px rgba(15, 23, 42, 0.08);
}

/* ========================================
   OVERLAY BACKDROP
   ======================================== */
.dn-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(34, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dn-mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   MOBILE MENU CONTAINER
   ======================================== */
.dn-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.dn-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(380px, 88vw);
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.dn-mobile-menu.is-open {
  pointer-events: auto;
}

.dn-mobile-menu.is-open .dn-mobile-menu__panel {
  transform: translateX(0);
}

/* Refined cream background with subtle texture */
.dn-mobile-menu__background {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fdfcfb 0%, #f7f5f2 100%);
  z-index: 0;
}

.dn-mobile-menu__background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(164, 105, 0, 0.012) 3px,
      rgba(164, 105, 0, 0.012) 6px
    );
  opacity: 0.6;
}

.dn-mobile-menu__background::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #a46900 50%, transparent);
  opacity: 0.3;
}

/* ========================================
   MENU CONTENT
   ======================================== */
.dn-mobile-menu__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
  justify-content: center;
}

/* Header with label */
.dn-mobile-menu__header {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(-10px);
  animation: dn-fade-in-down 400ms cubic-bezier(0.4, 0, 0.2, 1) 100ms forwards;
}

@keyframes dn-fade-in-down {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dn-mobile-menu__label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(34, 0, 0, 0.35);
  margin-bottom: 8px;
}

.dn-mobile-menu__decoration {
  width: 32px;
  height: 2px;
  background: #a46900;
  opacity: 0.5;
}

/* ========================================
   NAVIGATION LINKS - ELEGANT SERIF
   ======================================== */
.dn-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.dn-mobile-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  text-decoration: none;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateX(-20px);
  animation: dn-slide-in-left 400ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dn-mobile-link:nth-child(1) { animation-delay: 150ms; }
.dn-mobile-link:nth-child(2) { animation-delay: 200ms; }
.dn-mobile-link:nth-child(3) { animation-delay: 250ms; }
.dn-mobile-link:nth-child(4) { animation-delay: 300ms; }
.dn-mobile-link:nth-child(5) { animation-delay: 350ms; }

@keyframes dn-slide-in-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Number styling - subtle accent */
.dn-mobile-link__number {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(164, 105, 0, 0.4);
  flex-shrink: 0;
  min-width: 24px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text styling - refined serif */
.dn-mobile-link__text {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #220000;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Decorative line */
.dn-mobile-link__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #a46900;
  border-radius: 6px 0 0 6px;
  transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state - elegant emphasis */
.dn-mobile-link:hover {
  background: rgba(164, 105, 0, 0.06);
  border-color: rgba(164, 105, 0, 0.15);
  padding-left: 20px;
}

.dn-mobile-link:hover .dn-mobile-link__text {
  color: #a46900;
}

.dn-mobile-link:hover .dn-mobile-link__number {
  color: #a46900;
  opacity: 0.8;
}

.dn-mobile-link:hover .dn-mobile-link__line {
  width: 3px;
}

/* ========================================
   CTA BUTTON - PROMINENT GOLD
   ======================================== */
.dn-mobile-cta {
  margin: 0 0 24px;
  opacity: 0;
  transform: translateY(10px);
  animation: dn-fade-in-up 400ms cubic-bezier(0.4, 0, 0.2, 1) 400ms forwards;
}

@keyframes dn-fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dn-mobile-cta__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #a46900 0%, #c89336 100%);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(164, 105, 0, 0.2);
  box-shadow:
    0 0 0 1px rgba(164, 105, 0, 0.15),
    0 4px 12px rgba(164, 105, 0, 0.15);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dn-mobile-cta__button svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dn-mobile-cta__button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(164, 105, 0, 0.2),
    0 6px 16px rgba(164, 105, 0, 0.2);
}

.dn-mobile-cta__button:hover svg {
  transform: translateX(3px);
}

.dn-mobile-cta__button:active {
  transform: translateY(0);
}

/* ========================================
   CONTACT SECTION - MINIMAL
   ======================================== */
.dn-mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(10px);
  animation: dn-fade-in-up 400ms cubic-bezier(0.4, 0, 0.2, 1) 450ms forwards;
}

.dn-mobile-contact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: rgba(34, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dn-mobile-contact__item:hover {
  color: #220000;
  transform: translateX(2px);
}

.dn-mobile-contact__item i {
  width: 15px;
  height: 15px;
  color: rgba(164, 105, 0, 0.6);
  flex-shrink: 0;
}

/* ========================================
   CLOSE BUTTON - REFINED
   ======================================== */
.dn-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(34, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(34, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  opacity: 0;
  animation: dn-fade-in 300ms cubic-bezier(0.4, 0, 0.2, 1) 100ms forwards;
}

@keyframes dn-fade-in {
  to { opacity: 1; }
}

.dn-mobile-close:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(164, 105, 0, 0.2);
  color: #a46900;
  transform: rotate(90deg);
}

.dn-mobile-close:active {
  transform: rotate(90deg) scale(0.95);
}

.dn-mobile-close svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   UTILITY
   ======================================== */
.dn-mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .dn-mobile-toggle,
  .dn-mobile-menu,
  .dn-mobile-overlay {
    display: none !important;
  }
}

/* Hide reCAPTCHA badge that overlaps the chat widget. */
.grecaptcha-badge {
  display: none !important;
}
