@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: 36 33% 97%;
  --foreground: 24 14% 12%;
  --border: 34 25% 86%;
  --card: 35 38% 93%;
  --card-foreground: 24 14% 12%;
  --card-border: 34 25% 84%;
  --sidebar: 35 38% 93%;
  --sidebar-foreground: 24 14% 12%;
  --sidebar-border: 34 25% 84%;
  --sidebar-primary: 25 32% 45%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 35 35% 89%;
  --sidebar-accent-foreground: 24 14% 12%;
  --sidebar-ring: 40 43% 49%;
  --popover: 36 33% 97%;
  --popover-foreground: 24 14% 12%;
  --popover-border: 34 25% 84%;
  --primary: 25 32% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 35 35% 89%;
  --secondary-foreground: 24 14% 12%;
  --muted: 33 20% 72%;
  --muted-foreground: 24 10% 42%;
  --accent: 35 35% 91%;
  --accent-foreground: 24 14% 12%;
  --destructive: 12 56% 32%;
  --destructive-foreground: 0 0% 100%;
  --input: 34 25% 80%;
  --ring: 40 43% 49%;
  --gold: 40 43% 49%;
  --gold-foreground: 0 0% 100%;
  --dark-bg: 220 5% 12%;
  --dark-foreground: 36 33% 97%;
  --light-bg: 36 33% 97%;
  --light-foreground: 24 14% 12%;
  --terracotta: 25 32% 45%;
  --terracotta-foreground: 0 0% 100%;
  --taupe: 33 20% 72%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html,
body,
button,
input,
textarea,
select {
  font-family: "DM Sans", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fran-nav-logo {
  font-family: "Bodoni Moda", "Times New Roman", serif !important;
  letter-spacing: -0.025em;
}

/* Keep the original component structure, but bring its surfaces into Fran's palette. */
[data-testid^="card-service-"] {
  background-color: #f1e8dc !important;
}

[data-testid^="card-service-"] h3,
[data-testid^="card-service-"] p {
  color: #211b17 !important;
}

[data-testid="section-hero"],
[data-testid="section-services"],
[data-testid="section-gallery"],
[data-testid="section-location"] {
  background-color: #faf8f4;
}

[data-testid="section-gallery"] {
  background: #f3ede4;
}

[data-testid="section-footer"] {
  background-color: #1d1e20 !important;
}

@media (max-width: 767px) {
  [data-testid="section-hero"] h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.08;
  }
}

/* Exact resizable-navbar behavior from the supplied reference. */
[data-testid="header"] {
  display: none !important;
}

#fran-resizable-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  width: 100%;
  pointer-events: none;
}

.fran-nav-shell {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1280px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 48px;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transform: translateY(0);
  transition:
    width 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    min-height 620ms cubic-bezier(0.16, 1, 0.3, 1),
    padding 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 420ms ease,
    background-color 420ms ease,
    box-shadow 420ms ease,
    backdrop-filter 420ms ease;
}

#fran-resizable-navbar.is-compact .fran-nav-shell {
  width: min(800px, calc(100% - 48px));
  min-height: 60px;
  padding: 0 24px;
  transform: translateY(20px);
  border-color: rgb(177 138 82 / 14%);
  border-radius: 9999px;
  background: rgb(250 248 244 / 84%);
  box-shadow:
    0 0 24px rgb(34 42 53 / 6%),
    0 1px 1px rgb(0 0 0 / 5%),
    0 16px 48px rgb(47 48 55 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fran-nav-logo {
  position: relative;
  z-index: 2;
  color: #211b17;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.fran-nav-links {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

.fran-nav-links a {
  position: relative;
  padding: 9px 14px;
  color: rgb(33 27 23 / 65%);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  pointer-events: auto;
  transition: color 180ms ease, background-color 180ms ease;
}

.fran-nav-links a:hover {
  color: #211b17;
  background: #f1e8dc;
}

.fran-nav-cta {
  position: relative;
  z-index: 2;
  padding: 10px 22px;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 9999px;
  background: hsl(var(--gold));
  box-shadow: 0 8px 22px rgb(177 138 82 / 20%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fran-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(177 138 82 / 28%);
}

.fran-slide-button {
  position: relative !important;
  display: inline-flex !important;
  min-width: 220px;
  min-height: 52px;
  padding-right: 58px !important;
  padding-left: 58px !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 180ms ease !important;
}

.fran-slide-button .fran-button-label {
  display: inline-block;
  transform: translateX(-10px);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fran-slide-button .fran-button-icon {
  position: absolute;
  top: 50%;
  left: calc(100% - 46px);
  z-index: 2;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: hsl(var(--gold));
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(33 27 23 / 10%);
  transform: translateY(-50%);
  transition:
    left 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 200ms ease,
    box-shadow 200ms ease;
}

.fran-slide-button .fran-button-icon svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.fran-slide-button:hover .fran-button-label {
  transform: translateX(12px);
}

.fran-slide-button:hover {
  color: #fff !important;
  border-color: #211b17 !important;
  background-color: #211b17 !important;
  box-shadow: 0 12px 28px rgb(33 27 23 / 20%) !important;
}

.fran-slide-button:hover .fran-button-icon {
  left: 7px;
  color: #211b17;
  background-color: #f8f4ee;
  box-shadow: 0 4px 12px rgb(33 27 23 / 14%);
}

.fran-slide-button:active {
  color: #fff !important;
  border-color: #8f6d3a !important;
  background-color: #8f6d3a !important;
  box-shadow: 0 5px 14px rgb(143 109 58 / 24%) !important;
  transform: scale(0.98);
}

.fran-slide-button:active .fran-button-icon {
  color: #8f6d3a;
  background-color: #fff;
  transform: translateY(-50%) scale(0.94);
}

.fran-floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
  border: 0;
  border-radius: 9999px;
  background: #25d366;
  box-shadow:
    0 10px 28px rgb(37 211 102 / 34%),
    0 4px 12px rgb(33 27 23 / 16%);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.fran-floating-whatsapp:hover {
  color: #fff;
  background: #1ebe5d;
  box-shadow:
    0 14px 34px rgb(37 211 102 / 42%),
    0 6px 16px rgb(33 27 23 / 18%);
  transform: translateY(-4px) scale(1.04);
}

.fran-floating-whatsapp:active {
  background: #18a94f;
  transform: translateY(-1px) scale(0.96);
}

.fran-floating-whatsapp svg {
  display: block;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  flex: 0 0 auto;
  transform: none !important;
}

[data-testid^="button-service-"].fran-slide-button {
  width: 100%;
  min-width: 0;
}

.fran-custom-service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: 38px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgb(177 138 82 / 35%);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgb(177 138 82 / 34%), transparent 42%),
    linear-gradient(145deg, #2b231e 0%, #171412 100%);
  box-shadow: 0 18px 46px rgb(33 27 23 / 16%);
}

.fran-custom-service-card::before,
.fran-custom-service-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 9999px;
  pointer-events: none;
}

.fran-custom-service-card::before {
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
}

.fran-custom-service-card::after {
  top: -45px;
  right: -25px;
  width: 145px;
  height: 145px;
}

.fran-custom-service-content {
  position: relative;
  z-index: 1;
}

.fran-custom-service-eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  color: #e3c792;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgb(227 199 146 / 24%);
  border-radius: 9999px;
  background: rgb(227 199 146 / 8%);
}

.fran-custom-service-card h3 {
  max-width: 430px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.fran-custom-service-card p {
  max-width: 460px;
  margin-bottom: 30px;
  color: rgb(255 255 255 / 68%);
  line-height: 1.65;
}

.fran-custom-service-card .fran-custom-service-link {
  position: relative;
  z-index: 1;
  display: block;
}

.fran-custom-service-card .fran-slide-button:hover {
  color: #211b17 !important;
  border-color: #f8f4ee !important;
  background-color: #f8f4ee !important;
}

.fran-custom-service-card .fran-slide-button:active {
  color: #fff !important;
  border-color: #8f6d3a !important;
  background-color: #8f6d3a !important;
}

.fran-nav-toggle,
.fran-mobile-menu {
  display: none;
}

@media (max-width: 1023px) {
  [data-testid="section-about"] .relative.order-2 {
    order: 0 !important;
  }

  [data-testid="section-about"] .order-1 {
    order: 1 !important;
  }

  .fran-nav-shell {
    width: calc(100% - 24px);
    min-height: 64px;
    padding: 0 20px;
  }

  #fran-resizable-navbar.is-compact .fran-nav-shell {
    width: calc(100% - 32px);
    min-height: 58px;
    padding: 0 18px;
    transform: translateY(12px);
    border-radius: 1.5rem;
  }

  .fran-nav-links,
  .fran-nav-shell > .fran-nav-cta {
    display: none;
  }

  .fran-nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #211b17;
    border-radius: 9999px;
  }

  .fran-nav-toggle svg {
    width: 24px;
    height: 24px;
  }

  .fran-mobile-menu {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: flex;
    padding: 18px;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top;
    border: 1px solid rgb(177 138 82 / 14%);
    border-radius: 1.25rem;
    background: rgb(250 248 244 / 97%);
    box-shadow: 0 18px 48px rgb(33 27 23 / 14%);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .fran-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .fran-mobile-menu a {
    padding: 11px 12px;
    color: rgb(33 27 23 / 75%);
    font-size: 0.95rem;
    border-radius: 0.75rem;
  }

  .fran-mobile-menu a:hover {
    color: #211b17;
    background: #f1e8dc;
  }

  .fran-mobile-menu .fran-nav-cta {
    margin-top: 8px;
    color: white;
    text-align: center;
  }

  .fran-slide-button {
    width: min(100%, 300px);
    min-width: 0;
  }

  .fran-floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .fran-custom-service-card {
    min-height: 430px;
    padding: 30px 24px;
  }

}