/* Theme name: Sigma Marble
   Description: A custom WordPress theme for Sigma Marble.
   Template: hello-elementor
 */
body {
  font-style: normal !important;
}
:root {
  --ink: #111009;
  --ink-soft: #201e16;
  --ink-2: #17150e;
  --paper: #f7f3ea;
  --paper-2: #efe8d8;
  --paper-3: #e6dcc7;
  --gold: #c19a2e;
  --gold-bright: #d8b24a;
  --gold-deep-1: #937220;
  --gold-soft: #e7d49b;
  --muted: #6f6a5c;
  --muted-d: rgba(247, 243, 234, 0.6);
  --line: rgba(17, 16, 9, 0.13);
  --line-2: rgba(17, 16, 9, 0.07);
  --line-gold: rgba(193, 154, 46, 0.5);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 1300px) {
  .e-con.e-flex > .e-con-inner {
    max-width: 1260px;
  }
}
@media (min-width: 1600px) {
  .e-con.e-flex > .e-con-inner {
    max-width: 1440px;
  }
}
.elementor-button .elementor-button-icon svg {
  width: 8px;
}
.elementor-button .elementor-button-icon svg path {
  stroke: currentColor;
}
.elementor-element:not(.black_text)
  .elementor-counter-number-wrapper
  .elementor-counter-number-suffix {
  color: #937220;
}
.black_text .elementor-counter-number-wrapper .elementor-counter-number-suffix {
  color: #111009;
}
.box_icon .elementor-icon {
  box-shadow: 0px 20px 40px 0px #93722066;
}
.double_color_text .elementor-heading-title span {
  color: #c19a2e;
}
.position-relative {
  position: relative;
}
@media (max-width: 1024px) and (min-width: 991px) {
  .position-relative .elementor-7 .elementor-element.elementor-element-4aea69b {
    height: 40vh !important;
  }
}
.banner_marque_text {
  position: absolute;
  left: 0;
  bottom: 0;
}
/* Material marquee ticker */
.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(247, 243, 234, 0.16);
  background: rgba(17, 16, 9, 0.4);
  position: relative;
  z-index: 5;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: marqueeMove 34s linear infinite;
}
.marquee__track .m-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  padding: 18px clamp(22px, 3vw, 48px) 18px 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--paper);
  white-space: nowrap;
}
.marquee__track .m-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  flex: none;
}
.marquee__track .m-item em {
  font-style: italic;
  color: var(--gold-bright);
}
@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}
.fin-panels {
  display: flex;
  gap: 14px;
  height: clamp(420px, 56vw, 600px);
}
.fin-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  min-width: 64px;
  transition: flex 0.6s var(--ease);
  background: var(--ink);
}
.fin-panel.active {
  flex: 5;
}
.fin-panel image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fin-panel image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fin-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(17, 16, 9, 0.6),
    rgba(17, 16, 9, 0.82)
  );
  transition: background 0.5s var(--ease);
}
.fin-panel .fin-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 34px);
  color: var(--paper);
}
.fin-panel .fin-vert {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: sideways-lr;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 0.4s var(--ease);
  color: white;
  z-index: 10;
}
.fin-panel.active .fin-vert {
  opacity: 0;
}
.fin-panel .fin-no {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-bright);
  letter-spacing: 0.2em;
}
.fin-panel .fin-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-top: 6px;
}
.fin-panel .fin-tag {
  align-self: flex-start;
  white-space: nowrap;
  margin-top: 10px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  padding: 5px 11px;
}
.fin-panel .fin-desc {
  margin: 16px 0 0;
  max-width: 46ch;
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.96rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease) 0.1s,
    transform 0.5s var(--ease) 0.1s;
}
.fin-panel:not(.active) .fin-content > :not(.fin-vert) {
  opacity: 0;
}
.fin-panel.active .fin-desc {
  opacity: 1;
  transform: none;
}
.fin-panel.active::after {
  background: linear-gradient(
    180deg,
    rgba(17, 16, 9, 0.1),
    rgba(17, 16, 9, 0.78)
  );
}
image-slot {
  width: 100%;
  display: block;
  background: var(--paper-2);
}
.fin-panel image-slot {
  background: #1c1a12;
}
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: start;
}
.mat-item {
  position: relative;
}

.mat-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4.2;
}
.mat-figure image-slot {
  width: 100%;
  height: 100%;
}
.mat-figure image-slot img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.mat-figure .gnum {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 3;
  font-size: 5rem;
  -webkit-text-stroke: 1.3px rgba(247, 243, 234, 0.7);
  color: transparent;
  font-family: var(--serif);
  line-height: 0.8;
  mix-blend-mode: difference;
}
.mat-figure .mat-go {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  transform: translateY(8px);
  opacity: 0;
  transition: 0.4s var(--ease);
}
.mat-figure .mat-go svg {
  width: 16px;
  height: 16px;
}
.mat-item:hover .mat-go {
  opacity: 1;
  transform: translateY(0);
}
.mat-body {
  padding-top: 18px;
}
.mat-body h3 {
  font-size: 1.7rem;
}
.mat-body p {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.mat-body .rule {
  height: 2px;
  width: 34px;
  background: var(--gold);
  margin-top: 14px;
  transition: width 0.45s var(--ease);
}
.mat-item:hover .mat-body .rule {
  width: 80%;
}
.mat-carousel-wrapper .mat-body h3 {
  color: #333;
}
@media (max-width: 760px) {
  .fin-panels {
    flex-direction: column;
    height: auto;
  }
  .fin-panel {
    min-height: 90px;
    height: 90px;
    transition: height 0.55s var(--ease);
  }
  .fin-panel.active {
    height: 380px;
    flex: none;
  }
  .fin-panel .fin-vert {
    writing-mode: horizontal-tb;
    top: auto;
    bottom: 24px;
    left: 28px;
    transform: none;
  }
}
@media (max-width: 1080px) {
  .mat-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
  .mat-item:nth-child(2),
  .mat-item:nth-child(3),
  .mat-item:nth-child(4) {
    transform: none;
  }
  .mat-item:nth-child(2) {
    transform: translateY(40px);
  }
  .mat-item:nth-child(4) {
    transform: translateY(40px);
  }
}
@media (max-width: 480px) {
  .mat-grid {
    grid-template-columns: 1fr;
  }
  .mat-item {
    transform: none !important;
  }
}
@media (min-width: 700px) {
  .masonry-gallery .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
  }

  .masonry-gallery .gallery-item {
    overflow: hidden;
    max-width: unset !important;
  }

  .masonry-gallery .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .masonry-gallery .gallery-item:nth-child(1) {
    grid-row: span 2;
  }

  .masonry-gallery .gallery-item:nth-child(2) {
    grid-row: span 2;
  }

  .masonry-gallery .gallery-item:nth-child(3) {
    grid-row: span 2;
  }

  .masonry-gallery .gallery-item:nth-child(4) {
    grid-row: span 2;
  }

  .masonry-gallery .gallery-item:nth-child(5) {
    grid-row: span 2;
  }

  .masonry-gallery .gallery-item:nth-child(6) {
    grid-row: span 2;
  }
}
.three_head span {
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  text-transform: uppercase;
  color: #f7f3eacc;
}
/* custom-form */
.custom-form .fluentform_wrapper_1 form .ff-t-cell .ff-el-input--label label,
.custom-form .ff-el-group .ff-el-input--label label {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  text-transform: uppercase;
}
.custom-form .fluentform_wrapper_1 form .ff-t-cell .ff-el-input--content input,
.custom-form
  .fluentform_wrapper_1
  form
  .ff-t-cell
  .ff-el-input--content
  select {
  height: 60px;
  width: 100%;
  border: 1px solid#1110091A;
  border-radius: 0px !important;
  background-color: #ffffff;
  color: #111009;
}
.custom-form .ff-el-group .ff-el-form-control {
  height: 156px;
  width: 100%;
  border: 1px solid#1110091A;
  border-radius: 0px !important;
  background-color: #ffffff;
  color: #111009;
}
.ff_submit_btn_wrapper {
  margin-bottom: 0 !important;
}
.custom-form .ff-btn.ff-btn-submit {
  width: 250px;
  height: 57px;
  border: 1px;
}
.three_head .elementor-icon-box-title {
  margin-top: 0px !important;
}

.testimonial-custom .sc-dQlJFm.ldVIes {
  display: none !important;
}
.testimonial-custom .sc-gUSQuE.fDZBhx {
  padding: 30px 0;
}
.testimonial-custom .ti-reviews-container {
  flex-direction: column !important;
}
.testimonial-custom .ti-reviews-container-wrapper {
  padding: 0 10px;
}
/* collection page*/
.mat-body h3 a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 1px;
  color: var(--ink);
}

/*  */
.portfolio-hero {
  background: linear-gradient(135deg, #000000 0%, #1a1508 60%, #2b2210 100%);
  min-height: 500px;
}
.portfolio-hero__eyebrow {
  color: #d8b24a;
  letter-spacing: 2px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
}
.portfolio-hero__eyebrow-line {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: #c19a2e;
}
.portfolio-hero__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  color: #fff;
}
.portfolio-hero__title-accent {
  color: #d8b24a;
}
@media (max-width: 768px) {
  .portfolio-hero {
    background: linear-gradient(135deg, #000000 0%, #1a1508 60%, #2b2210 100%);
    min-height: 350px;
  }
}

/* review page */

.blog-banner,
.single-banner {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, #000000 0%, #1a1508 60%, #2b2210 100%);
  margin-top: 80px;
  margin-bottom: 60px;
}
.blog-banner p,
.single-banner .single-meta {
  color: rgb(255 255 255 / 50%);
}
.blog-banner h1,
.single-banner h1 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #d8b24a;
}
.single-post .featured-image {
  max-height: 400px;
}
.single-post .featured-image img {
  height: auto;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.blog-listing {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 35px;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #888;
  margin-bottom: 15px;
}

.blog-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content h3 a {
  color: #111;
  text-decoration: none;
}

.blog-content p {
  line-height: 1.8;
  color: #666;
}

.read-more {
  margin-top: 20px;
  padding: 12px 22px;
  background: #111009;
  color: #fff;
  border-radius: 0px;
  text-decoration: none;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.read-more:hover {
  background: #c19a2e;
  color: #111009;
}
.page-id-918 .blog-banner h1 {
  margin-top: 60px;
}
.pagination {
  margin-top: 60px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 12px 18px;
  margin: 0 5px;
  border-radius: 8px;
  background: #f3f3f3;
  text-decoration: none;
}

.pagination .current {
  background: #000;
  color: #fff;
}

.featured-image {
  margin-bottom: 40px;
}

.featured-image img {
  width: 100%;
  border-radius: 15px;
}

.post-content {
  font-size: 18px;
  line-height: 1.9;
}

.post-content h2,
.post-content h3 {
  margin-top: 40px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.post-navigation a {
  text-decoration: none;
  padding: 14px 20px;
  background: #111;
  color: #fff;
  border-radius: 8px;
}

.post-tags {
  margin: 40px 0;
}

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@media (max-width: 767px) {
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }
}
.swiper.mat-swiper {
  padding-bottom: 80px;
  margin-bottom: 60px;
}
footer .elementor-icon-box-description a {
  color: #f7f3eaa3;
}
footer .elementor-icon-box-description a:hover {
  color: #c19a2e;
}

/* ─── Popup Form (Fluent Forms #1) ────────────────────────────────────────── */
.ff1-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 16, 9, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.ff1-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ff1-popup-box {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line-gold);
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(17, 16, 9, 0.35);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.ff1-popup-overlay.is-open .ff1-popup-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.ff1-popup-media {
  flex: 0 0 42%;
  overflow: hidden;
  border-radius: 14px 0 0 14px;
}

.ff1-popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ff1-popup-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 40px 32px 32px;
}

.ff1-popup-heading {
  margin-bottom: 20px;
}

.ff1-popup-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
}

.ff1-popup-subtitle {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.75;
}

.ff1-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  line-height: 1;
  color: var(--ink) !important;
  background: unset !important;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
  z-index: 5;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.ff1-popup-form .ff-el-form-control {
  font-family: var(--sans);
}

body.ff1-popup-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .ff1-popup-box {
    flex-direction: column;
    max-width: 480px;
    max-height: 80vh;
  }

  .ff1-popup-media {
    flex: 0 0 auto;
    height: 160px;
    border-radius: 14px 14px 0 0;
    position: sticky;
    top: 0;
    z-index: 3;
  }
  .ff1-popup-close {
    color: white !important;
  }
}

@media (max-width: 600px) {
  .ff1-popup-content {
    padding: 32px 20px 24px;
  }
}
.review_wraper .elementor-widget-image-box {
  margin-top: auto !important;
}
@media (min-width: 992px) {
  .work_gallery {
    column-count: 3;
    column-gap: 10px;
  }
  .work_gallery .gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    max-width: unset !important;
    padding: 0;
  }
}
